@solibo/solibo-ui 0.2.9 → 0.2.11

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 (88) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/assets/index10.css +1 -1
  3. package/dist/assets/index11.css +1 -1
  4. package/dist/assets/index12.css +1 -1
  5. package/dist/assets/index13.css +1 -1
  6. package/dist/assets/index14.css +1 -1
  7. package/dist/assets/index15.css +1 -1
  8. package/dist/assets/index16.css +1 -1
  9. package/dist/assets/index17.css +1 -1
  10. package/dist/assets/index18.css +1 -0
  11. package/dist/assets/index4.css +1 -1
  12. package/dist/assets/index5.css +1 -1
  13. package/dist/assets/index6.css +1 -1
  14. package/dist/assets/index7.css +1 -1
  15. package/dist/assets/index8.css +0 -1
  16. package/dist/assets/index9.css +1 -0
  17. package/dist/classix-5H4IWnMA.cjs +2 -0
  18. package/dist/classix-5H4IWnMA.cjs.map +1 -0
  19. package/dist/classix-DG18itHa.js +9 -0
  20. package/dist/classix-DG18itHa.js.map +1 -0
  21. package/dist/components/accordion/index.cjs +1 -1
  22. package/dist/components/accordion/index.cjs.map +1 -1
  23. package/dist/components/accordion/index.js +30 -12
  24. package/dist/components/accordion/index.js.map +1 -1
  25. package/dist/components/aside/index.cjs +1 -1
  26. package/dist/components/aside/index.cjs.map +1 -1
  27. package/dist/components/aside/index.js +10 -10
  28. package/dist/components/aside/index.js.map +1 -1
  29. package/dist/components/banner/index.cjs +1 -1
  30. package/dist/components/banner/index.cjs.map +1 -1
  31. package/dist/components/banner/index.js +12 -12
  32. package/dist/components/branding/index.cjs +1 -1
  33. package/dist/components/branding/index.cjs.map +1 -1
  34. package/dist/components/branding/index.js +3 -3
  35. package/dist/components/button/index.cjs +1 -1
  36. package/dist/components/button/index.cjs.map +1 -1
  37. package/dist/components/button/index.js +33 -25
  38. package/dist/components/button/index.js.map +1 -1
  39. package/dist/components/card/index.cjs +2 -0
  40. package/dist/components/card/index.cjs.map +1 -0
  41. package/dist/components/card/index.js +32 -0
  42. package/dist/components/card/index.js.map +1 -0
  43. package/dist/components/component/index.cjs +1 -1
  44. package/dist/components/component/index.js +2 -2
  45. package/dist/components/dialog/index.cjs +1 -1
  46. package/dist/components/dialog/index.cjs.map +1 -1
  47. package/dist/components/dialog/index.js +51 -24
  48. package/dist/components/dialog/index.js.map +1 -1
  49. package/dist/components/dropdown/index.cjs +1 -1
  50. package/dist/components/dropdown/index.js +2 -2
  51. package/dist/components/editor/index.cjs +57 -3
  52. package/dist/components/editor/index.cjs.map +1 -1
  53. package/dist/components/editor/index.js +11257 -984
  54. package/dist/components/editor/index.js.map +1 -1
  55. package/dist/components/figure/index.cjs +1 -1
  56. package/dist/components/figure/index.js +2 -2
  57. package/dist/components/header/index.cjs +1 -1
  58. package/dist/components/header/index.cjs.map +1 -1
  59. package/dist/components/header/index.js +3 -3
  60. package/dist/components/header/index.js.map +1 -1
  61. package/dist/components/icon/index.cjs +1 -1
  62. package/dist/components/icon/index.cjs.map +1 -1
  63. package/dist/components/icon/index.js +20 -19
  64. package/dist/components/icon/index.js.map +1 -1
  65. package/dist/components/input/index.cjs +1 -1
  66. package/dist/components/input/index.cjs.map +1 -1
  67. package/dist/components/input/index.js +3 -3
  68. package/dist/components/link/index.cjs +1 -1
  69. package/dist/components/link/index.cjs.map +1 -1
  70. package/dist/components/link/index.js +10 -10
  71. package/dist/components/list/index.cjs +1 -1
  72. package/dist/components/list/index.cjs.map +1 -1
  73. package/dist/components/list/index.js +4 -4
  74. package/dist/components/nav/index.cjs +1 -1
  75. package/dist/components/nav/index.cjs.map +1 -1
  76. package/dist/components/nav/index.js +2 -2
  77. package/dist/index.cjs +1 -1
  78. package/dist/index.d.ts +25 -3
  79. package/dist/index.js +32 -29
  80. package/dist/index.js.map +1 -1
  81. package/dist/jsx-runtime-BJcCX4ED.cjs +23 -0
  82. package/dist/jsx-runtime-BJcCX4ED.cjs.map +1 -0
  83. package/dist/{jsx-runtime-CgJvvRaT.js → jsx-runtime-CDbhiqmm.js} +110 -112
  84. package/dist/jsx-runtime-CDbhiqmm.js.map +1 -0
  85. package/package.json +5 -5
  86. package/dist/jsx-runtime-CgJvvRaT.js.map +0 -1
  87. package/dist/jsx-runtime-wx6f5G-9.cjs +0 -23
  88. package/dist/jsx-runtime-wx6f5G-9.cjs.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const t=require("../../jsx-runtime-wx6f5G-9.cjs"),r="_figure_b0otf_1",s={figure:r},u=({caption:i,children:e})=>t.jsxRuntimeExports.jsxs("figure",{className:s.figure,children:[e&&e,i&&t.jsxRuntimeExports.jsx("figcaption",{children:"caption"})]});exports.Figure=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index5.css');const t=require("../../jsx-runtime-BJcCX4ED.cjs"),r="_figure_b0otf_1",s={figure:r},u=({caption:i,children:e})=>t.jsxRuntimeExports.jsxs("figure",{className:s.figure,children:[e&&e,i&&t.jsxRuntimeExports.jsx("figcaption",{children:"caption"})]});exports.Figure=u;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { j as s } from "../../jsx-runtime-CgJvvRaT.js";
2
- import '../../assets/index6.css';const i = "_figure_b0otf_1", t = {
1
+ import { j as s } from "../../jsx-runtime-CDbhiqmm.js";
2
+ import '../../assets/index5.css';const i = "_figure_b0otf_1", t = {
3
3
  figure: i
4
4
  }, f = ({ caption: e, children: r }) => /* @__PURE__ */ s.jsxs("figure", { className: t.figure, children: [
5
5
  r && r,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index5.css');const r=require("../../jsx-runtime-wx6f5G-9.cjs"),t="_header_1xswd_1",d={header:t},a=(s,e)=>{switch(s){case 1:return r.jsxRuntimeExports.jsx("h1",{children:e});case 2:return r.jsxRuntimeExports.jsx("h2",{children:e});case 3:return r.jsxRuntimeExports.jsx("h3",{children:e});default:return null}},c=({size:s=1,title:e="Header",subtitle:n})=>r.jsxRuntimeExports.jsxs("header",{className:d.header,children:[a(s,e),n&&r.jsxRuntimeExports.jsx("p",{children:n})]});exports.Header=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index12.css');const r=require("../../jsx-runtime-BJcCX4ED.cjs"),t="_header_1xswd_1",d={header:t},c=(s,e)=>{switch(s){case 1:return r.jsxRuntimeExports.jsx("h1",{children:e});case 2:return r.jsxRuntimeExports.jsx("h2",{children:e});case 3:return r.jsxRuntimeExports.jsx("h3",{children:e});default:return null}},x=({size:s=1,title:e="Header",subHeader:n})=>r.jsxRuntimeExports.jsxs("header",{className:d.header,children:[c(s,e),n&&r.jsxRuntimeExports.jsx("p",{children:n})]});exports.Header=x;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type HeaderProps = {\n size: 1 | 2 | 3,\n title: string,\n subtitle?: string,\n};\n\nconst renderHeading = (size: HeaderProps['size'], title: string) => {\n switch (size) {\n case 1:\n return <h1>{title}</h1>;\n case 2:\n return <h2>{title}</h2>;\n case 3:\n return <h3>{title}</h3>;\n default:\n return null;\n }\n};\n\nexport const Header = ({size = 1, title = 'Header', subtitle }: HeaderProps) => {\n return (\n <header className={styles.header}>\n {renderHeading(size, title)}\n {subtitle && <p>{subtitle}</p>}\n </header>\n );\n};\n"],"names":["renderHeading","size","title","jsx","Header","subtitle","jsxs","styles"],"mappings":"mKAQMA,EAAgB,CAACC,EAA2BC,IAAkB,CAClE,OAAQD,EAAA,CACN,IAAK,GACH,OAAOE,EAAAA,kBAAAA,IAAC,MAAI,SAAAD,CAAA,CAAM,EACpB,IAAK,GACH,OAAOC,EAAAA,kBAAAA,IAAC,MAAI,SAAAD,CAAA,CAAM,EACpB,IAAK,GACH,OAAOC,EAAAA,kBAAAA,IAAC,MAAI,SAAAD,CAAA,CAAM,EACpB,QACE,OAAO,IAAA,CAEb,EAEaE,EAAS,CAAC,CAAC,KAAAH,EAAO,EAAG,MAAAC,EAAQ,SAAU,SAAAG,KAEhDC,EAAAA,kBAAAA,KAAC,SAAA,CAAO,UAAWC,EAAO,OACvB,SAAA,CAAAP,EAAcC,EAAMC,CAAK,EACzBG,GAAYF,EAAAA,kBAAAA,IAAC,IAAA,CAAG,SAAAE,CAAA,CAAS,CAAA,EAC5B"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type HeaderProps = {\n size: 1 | 2 | 3,\n title: string,\n subHeader?: string,\n};\n\nconst renderHeading = (size: HeaderProps['size'], title: string) => {\n switch (size) {\n case 1:\n return <h1>{title}</h1>;\n case 2:\n return <h2>{title}</h2>;\n case 3:\n return <h3>{title}</h3>;\n default:\n return null;\n }\n};\n\n\nexport const Header = ({size = 1, title = 'Header', subHeader }: HeaderProps) => {\n return (\n <header className={styles.header}>\n {renderHeading(size, title)}\n {subHeader && <p>{subHeader}</p>}\n </header>\n );\n};\n"],"names":["renderHeading","size","title","jsx","Header","subHeader","jsxs","styles"],"mappings":"mKAQMA,EAAgB,CAACC,EAA2BC,IAAkB,CAClE,OAAQD,EAAA,CACN,IAAK,GACH,OAAOE,EAAAA,kBAAAA,IAAC,MAAI,SAAAD,CAAA,CAAM,EACpB,IAAK,GACH,OAAOC,EAAAA,kBAAAA,IAAC,MAAI,SAAAD,CAAA,CAAM,EACpB,IAAK,GACH,OAAOC,EAAAA,kBAAAA,IAAC,MAAI,SAAAD,CAAA,CAAM,EACpB,QACE,OAAO,IAAA,CAEb,EAGaE,EAAS,CAAC,CAAC,KAAAH,EAAO,EAAG,MAAAC,EAAQ,SAAU,UAAAG,KAEhDC,EAAAA,kBAAAA,KAAC,SAAA,CAAO,UAAWC,EAAO,OACvB,SAAA,CAAAP,EAAcC,EAAMC,CAAK,EACzBG,GAAaF,EAAAA,kBAAAA,IAAC,IAAA,CAAG,SAAAE,CAAA,CAAU,CAAA,EAC9B"}
@@ -1,5 +1,5 @@
1
- import { j as r } from "../../jsx-runtime-CgJvvRaT.js";
2
- import '../../assets/index5.css';const d = "_header_1xswd_1", a = {
1
+ import { j as r } from "../../jsx-runtime-CDbhiqmm.js";
2
+ import '../../assets/index12.css';const d = "_header_1xswd_1", a = {
3
3
  header: d
4
4
  }, c = (s, e) => {
5
5
  switch (s) {
@@ -12,7 +12,7 @@ import '../../assets/index5.css';const d = "_header_1xswd_1", a = {
12
12
  default:
13
13
  return null;
14
14
  }
15
- }, t = ({ size: s = 1, title: e = "Header", subtitle: n }) => /* @__PURE__ */ r.jsxs("header", { className: a.header, children: [
15
+ }, t = ({ size: s = 1, title: e = "Header", subHeader: n }) => /* @__PURE__ */ r.jsxs("header", { className: a.header, children: [
16
16
  c(s, e),
17
17
  n && /* @__PURE__ */ r.jsx("p", { children: n })
18
18
  ] });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type HeaderProps = {\n size: 1 | 2 | 3,\n title: string,\n subtitle?: string,\n};\n\nconst renderHeading = (size: HeaderProps['size'], title: string) => {\n switch (size) {\n case 1:\n return <h1>{title}</h1>;\n case 2:\n return <h2>{title}</h2>;\n case 3:\n return <h3>{title}</h3>;\n default:\n return null;\n }\n};\n\nexport const Header = ({size = 1, title = 'Header', subtitle }: HeaderProps) => {\n return (\n <header className={styles.header}>\n {renderHeading(size, title)}\n {subtitle && <p>{subtitle}</p>}\n </header>\n );\n};\n"],"names":["renderHeading","size","title","jsx","Header","subtitle","jsxs","styles"],"mappings":";;;GAQMA,IAAgB,CAACC,GAA2BC,MAAkB;AAClE,UAAQD,GAAA;AAAA,IACN,KAAK;AACH,aAAOE,gBAAAA,EAAAA,IAAC,QAAI,UAAAD,EAAA,CAAM;AAAA,IACpB,KAAK;AACH,aAAOC,gBAAAA,EAAAA,IAAC,QAAI,UAAAD,EAAA,CAAM;AAAA,IACpB,KAAK;AACH,aAAOC,gBAAAA,EAAAA,IAAC,QAAI,UAAAD,EAAA,CAAM;AAAA,IACpB;AACE,aAAO;AAAA,EAAA;AAEb,GAEaE,IAAS,CAAC,EAAC,MAAAH,IAAO,GAAG,OAAAC,IAAQ,UAAU,UAAAG,QAEhDC,gBAAAA,EAAAA,KAAC,UAAA,EAAO,WAAWC,EAAO,QACvB,UAAA;AAAA,EAAAP,EAAcC,GAAMC,CAAK;AAAA,EACzBG,KAAYF,gBAAAA,EAAAA,IAAC,KAAA,EAAG,UAAAE,EAAA,CAAS;AAAA,GAC5B;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type HeaderProps = {\n size: 1 | 2 | 3,\n title: string,\n subHeader?: string,\n};\n\nconst renderHeading = (size: HeaderProps['size'], title: string) => {\n switch (size) {\n case 1:\n return <h1>{title}</h1>;\n case 2:\n return <h2>{title}</h2>;\n case 3:\n return <h3>{title}</h3>;\n default:\n return null;\n }\n};\n\n\nexport const Header = ({size = 1, title = 'Header', subHeader }: HeaderProps) => {\n return (\n <header className={styles.header}>\n {renderHeading(size, title)}\n {subHeader && <p>{subHeader}</p>}\n </header>\n );\n};\n"],"names":["renderHeading","size","title","jsx","Header","subHeader","jsxs","styles"],"mappings":";;;GAQMA,IAAgB,CAACC,GAA2BC,MAAkB;AAClE,UAAQD,GAAA;AAAA,IACN,KAAK;AACH,aAAOE,gBAAAA,EAAAA,IAAC,QAAI,UAAAD,EAAA,CAAM;AAAA,IACpB,KAAK;AACH,aAAOC,gBAAAA,EAAAA,IAAC,QAAI,UAAAD,EAAA,CAAM;AAAA,IACpB,KAAK;AACH,aAAOC,gBAAAA,EAAAA,IAAC,QAAI,UAAAD,EAAA,CAAM;AAAA,IACpB;AACE,aAAO;AAAA,EAAA;AAEb,GAGaE,IAAS,CAAC,EAAC,MAAAH,IAAO,GAAG,OAAAC,IAAQ,UAAU,WAAAG,QAEhDC,gBAAAA,EAAAA,KAAC,UAAA,EAAO,WAAWC,EAAO,QACvB,UAAA;AAAA,EAAAP,EAAcC,GAAMC,CAAK;AAAA,EACzBG,KAAaF,gBAAAA,EAAAA,IAAC,KAAA,EAAG,UAAAE,EAAA,CAAU;AAAA,GAC9B;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index17.css');const t=require("../../jsx-runtime-wx6f5G-9.cjs"),l=require("classix");function r(s){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='${s}' /%3E%3C/svg%3E%0A")`}const o={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"},h="_icon_1mjc4_1",u="_small_1mjc4_8",d="_medium_1mjc4_13",_="_large_1mjc4_18",p="_dialog_1mjc4_27",g="_white_1mjc4_31",j="_wrapper_1mjc4_35",e={icon:h,small:u,medium:d,large:_,default:"_default_1mjc4_23",dialog:p,white:g,wrapper:j},v={medium:e.medium,large:e.large,small:e.small},x={default:e.default,dialog:e.dialog,white:e.white},w=({name:s="home",size:n="medium",variant:m="default"})=>{const c={maskImage:r(o[s].toString())},i=({children:a})=>m==="dialog"?t.jsxRuntimeExports.jsx("span",{className:e.wrapper,"data-testid":"wrapper",children:a}):t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:a});return t.jsxRuntimeExports.jsx(i,{children:t.jsxRuntimeExports.jsx("span",{className:l(v[n],e.icon,x[m]),style:c})})},Z=()=>Object.keys(o);exports.Icon=w;exports.Icons=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index18.css');const t=require("../../jsx-runtime-BJcCX4ED.cjs"),r=require("../../classix-5H4IWnMA.cjs");function u(s){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='${s}' /%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"},c="_icon_u4umi_1",h="_small_u4umi_8",d="_medium_u4umi_13",_="_large_u4umi_18",p="_dialog_u4umi_27",g="_white_u4umi_31",v="_wrapper_u4umi_35",e={icon:c,small:h,medium:d,large:_,default:"_default_u4umi_23",dialog:p,white:g,wrapper:v},x={medium:e.medium,large:e.large,small:e.small},w={default:e.default,dialog:e.dialog,white:e.white},j=({name:s="home",size:o="medium",variant:m="default"})=>{const n={maskImage:u(i[s].toString())},l=({children:a})=>m==="dialog"?t.jsxRuntimeExports.jsx("span",{className:e.wrapper,"data-testid":"wrapper",children:a}):t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:a});return t.jsxRuntimeExports.jsx(l,{children:t.jsxRuntimeExports.jsx("span",{className:r.t(x[o],e.icon,w[m]),style:n})})},M=()=>Object.keys(i);exports.Icon=j;exports.Icons=M;
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};\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":"uJAAO,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,+EACV,0OCNMC,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,kBAAAA,IAAC,OAAA,CACC,UAAWT,EAAO,QAClB,cAAY,UAEX,SAAAQ,CAAA,CAAA,wDAGA,SAAAA,EAAS,EAGhB,+BACGD,EAAA,CACC,SAAAE,EAAAA,kBAAAA,IAAC,OAAA,CACC,UAAWC,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) {\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":"0KAAO,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,kBAAAA,IAAC,OAAA,CACC,UAAWT,EAAO,QAClB,cAAY,UAEX,SAAAQ,CAAA,CAAA,wDAGA,SAAAA,EAAS,EAGhB,+BACGD,EAAA,CACC,SAAAE,EAAAA,kBAAAA,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,6 +1,6 @@
1
- import { j as a } from "../../jsx-runtime-CgJvvRaT.js";
2
- import i from "classix";
3
- import '../../assets/index17.css';function r(e) {
1
+ import { j as a } from "../../jsx-runtime-CDbhiqmm.js";
2
+ import { t as r } from "../../classix-DG18itHa.js";
3
+ import '../../assets/index18.css';function c(e) {
4
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")`;
5
5
  }
6
6
  const o = {
@@ -10,27 +10,28 @@ const o = {
10
10
  italic: "M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803",
11
11
  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
12
  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",
13
- 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"
14
- }, h = "_icon_1mjc4_1", d = "_small_1mjc4_8", _ = "_medium_1mjc4_13", p = "_large_1mjc4_18", g = "_dialog_1mjc4_27", v = "_white_1mjc4_31", u = "_wrapper_1mjc4_35", m = {
13
+ 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",
14
+ 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 = {
15
16
  icon: h,
16
- small: d,
17
- medium: _,
18
- large: p,
19
- default: "_default_1mjc4_23",
20
- dialog: g,
21
- white: v,
22
- wrapper: u
23
- }, j = {
17
+ small: u,
18
+ medium: d,
19
+ large: _,
20
+ default: "_default_u4umi_23",
21
+ dialog: p,
22
+ white: g,
23
+ wrapper: v
24
+ }, w = {
24
25
  medium: m.medium,
25
26
  large: m.large,
26
27
  small: m.small
27
- }, w = {
28
+ }, x = {
28
29
  default: m.default,
29
30
  dialog: m.dialog,
30
31
  white: m.white
31
- }, f = ({ name: e = "home", size: c = "medium", variant: t = "default" }) => {
32
+ }, f = ({ name: e = "home", size: i = "medium", variant: t = "default" }) => {
32
33
  const l = {
33
- maskImage: r(o[e].toString())
34
+ maskImage: c(o[e].toString())
34
35
  }, n = ({ children: s }) => t === "dialog" ? /* @__PURE__ */ a.jsx(
35
36
  "span",
36
37
  {
@@ -42,13 +43,13 @@ const o = {
42
43
  return /* @__PURE__ */ a.jsx(n, { children: /* @__PURE__ */ a.jsx(
43
44
  "span",
44
45
  {
45
- className: i(j[c], m.icon, w[t]),
46
+ className: r(w[i], m.icon, x[t]),
46
47
  style: l
47
48
  }
48
49
  ) });
49
- }, M = () => Object.keys(o);
50
+ }, j = () => Object.keys(o);
50
51
  export {
51
52
  f as Icon,
52
- M as Icons
53
+ j as Icons
53
54
  };
54
55
  //# 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};\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":";;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;AACV;;;;;;;;;GCNMC,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,GAG1CI,IAAU,CAAC,EAAE,UAAAC,EAAA,MACjBH,MAAY,WACVI,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWT,EAAO;AAAA,MAClB,eAAY;AAAA,MAEX,UAAAQ;AAAA,IAAA;AAAA,EAAA,wCAGA,UAAAA,GAAS;AAGhB,+BACGD,GAAA,EACC,UAAAE,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAGX,EAAMK,CAAI,GAAGJ,EAAO,MAAMC,EAASI,CAAO,CAAC;AAAA,MACzD,OAAOC;AAAA,IAAA;AAAA,EAAA,GAEX;AAEJ,GAEaK,IAAQ,MACZ,OAAO,KAAKb,CAAS;"}
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","Wrapper","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,GAG1CI,IAAU,CAAC,EAAE,UAAAC,EAAA,MACjBH,MAAY,WACVI,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWT,EAAO;AAAA,MAClB,eAAY;AAAA,MAEX,UAAAQ;AAAA,IAAA;AAAA,EAAA,wCAGA,UAAAA,GAAS;AAGhB,+BACGD,GAAA,EACC,UAAAE,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAGX,EAAMK,CAAI,GAAGJ,EAAO,MAAMC,EAASI,CAAO,CAAC;AAAA,MACzD,OAAOC;AAAA,IAAA;AAAA,EAAA,GAEX;AAEJ,GAEaK,IAAQ,MACZ,OAAO,KAAKb,CAAS;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const i=require("../../jsx-runtime-wx6f5G-9.cjs"),o=require("classix"),c=require("react"),p="_input_1qkbh_1",a={input:p},l=c.forwardRef(({className:t,disabled:e=!1,placeholder:n,type:s="text",...r},u)=>i.jsxRuntimeExports.jsx("input",{ref:u,className:o(a.input,t),disabled:e,placeholder:n,type:s,...r}));exports.Input=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index7.css');const i=require("../../jsx-runtime-BJcCX4ED.cjs"),o=require("../../classix-5H4IWnMA.cjs"),c=require("react"),p="_input_1qkbh_1",a={input:p},l=c.forwardRef(({className:t,disabled:e=!1,placeholder:s,type:n="text",...r},u)=>i.jsxRuntimeExports.jsx("input",{ref:u,className:o.t(a.input,t),disabled:e,placeholder:s,type:n,...r}));exports.Input=l;
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 placeholder?: string;\n type?: 'text' | 'password' | 'search' | 'number';\n};\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n ({ className, disabled = false, placeholder, type = 'text', ...props }, ref) => {\n return (\n <input\n ref={ref}\n className={cx(styles.input, className)}\n disabled={disabled}\n placeholder={placeholder}\n type={type}\n {...props}\n />\n );\n }\n);\n"],"names":["Input","forwardRef","className","disabled","placeholder","type","props","ref","jsx","cx","styles"],"mappings":"yMAWaA,EAAQC,EAAAA,WACnB,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAW,GAAO,YAAAC,EAAa,KAAAC,EAAO,OAAQ,GAAGC,CAAA,EAASC,IAEpEC,EAAAA,kBAAAA,IAAC,QAAA,CACC,IAAAD,EACA,UAAWE,EAAGC,EAAO,MAAOR,CAAS,EACrC,SAAAC,EACA,YAAAC,EACA,KAAAC,EACC,GAAGC,CAAA,CAAA,CAIZ"}
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 placeholder?: string;\n type?: 'text' | 'password' | 'search' | 'number';\n};\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n ({ className, disabled = false, placeholder, type = 'text', ...props }, ref) => {\n return (\n <input\n ref={ref}\n className={cx(styles.input, className)}\n disabled={disabled}\n placeholder={placeholder}\n type={type}\n {...props}\n />\n );\n }\n);\n"],"names":["Input","forwardRef","className","disabled","placeholder","type","props","ref","jsx","cx","styles"],"mappings":"4NAWaA,EAAQC,EAAAA,WACnB,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAW,GAAO,YAAAC,EAAa,KAAAC,EAAO,OAAQ,GAAGC,CAAA,EAASC,IAEpEC,EAAAA,kBAAAA,IAAC,QAAA,CACC,IAAAD,EACA,UAAWE,EAAAA,EAAGC,EAAO,MAAOR,CAAS,EACrC,SAAAC,EACA,YAAAC,EACA,KAAAC,EACC,GAAGC,CAAA,CAAA,CAIZ"}
@@ -1,7 +1,7 @@
1
- import { j as i } from "../../jsx-runtime-CgJvvRaT.js";
2
- import e from "classix";
1
+ import { j as i } from "../../jsx-runtime-CDbhiqmm.js";
2
+ import { t as e } from "../../classix-DG18itHa.js";
3
3
  import { forwardRef as m } from "react";
4
- import '../../assets/index8.css';const u = "_input_1qkbh_1", f = {
4
+ import '../../assets/index7.css';const u = "_input_1qkbh_1", f = {
5
5
  input: u
6
6
  }, j = m(
7
7
  ({ className: t, disabled: o = !1, placeholder: r, type: s = "text", ...n }, p) => /* @__PURE__ */ i.jsx(
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index4.css');const r=require("../../jsx-runtime-wx6f5G-9.cjs"),o=require("classix"),c="_link_ci6no_1",l={link:c},u=({children:e,className:n,to:t="#",label:s,...i})=>r.jsxRuntimeExports.jsx("a",{className:o(n,l.link),href:t,...i,children:e||s});exports.Link=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index4.css');const r=require("../../jsx-runtime-BJcCX4ED.cjs"),l=require("../../classix-5H4IWnMA.cjs"),o="_link_hn9kh_1",c={link:o},u=({children:e,className:n,to:s="#",label:t,...i})=>r.jsxRuntimeExports.jsx("a",{className:l.t(n,c.link),href:s,...i,children:e||t});exports.Link=u;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/link/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {\n children?: React.ReactNode;\n className?: string;\n label?: string;\n to?: string;\n};\n\nexport const Link = ({ children, className, to = '#', label, ...props }: LinkProps) => {\n return (\n <a\n className={cx(className, styles.link)}\n href={to}\n {...props}\n >\n {children ? children : label}\n </a>\n );\n};\n"],"names":["Link","children","className","to","label","props","jsx","cx","styles"],"mappings":"oLAWaA,EAAO,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAAC,EAAK,IAAK,MAAAC,EAAO,GAAGC,KAE5DC,EAAAA,kBAAAA,IAAC,IAAA,CACC,UAAWC,EAAGL,EAAWM,EAAO,IAAI,EACpC,KAAML,EACL,GAAGE,EAEH,YAAsBD,CAAA,CAAA"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/link/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {\n children?: React.ReactNode;\n className?: string;\n label?: string;\n to?: string;\n};\n\nexport const Link = ({ children, className, to = '#', label, ...props }: LinkProps) => {\n return (\n <a\n className={cx(className, styles.link)}\n href={to}\n {...props}\n >\n {children ? children : label}\n </a>\n );\n};\n"],"names":["Link","children","className","to","label","props","jsx","cx","styles"],"mappings":"uMAWaA,EAAO,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAAC,EAAK,IAAK,MAAAC,EAAO,GAAGC,KAE5DC,EAAAA,kBAAAA,IAAC,IAAA,CACC,UAAWC,EAAAA,EAAGL,EAAWM,EAAO,IAAI,EACpC,KAAML,EACL,GAAGE,EAEH,YAAsBD,CAAA,CAAA"}
@@ -1,17 +1,17 @@
1
- import { j as r } from "../../jsx-runtime-CgJvvRaT.js";
2
- import c from "classix";
3
- import '../../assets/index4.css';const e = "_link_ci6no_1", l = {
4
- link: e
5
- }, x = ({ children: n, className: s, to: o = "#", label: t, ...i }) => /* @__PURE__ */ r.jsx(
1
+ import { j as i } from "../../jsx-runtime-CDbhiqmm.js";
2
+ import { t as e } from "../../classix-DG18itHa.js";
3
+ import '../../assets/index4.css';const k = "_link_hn9kh_1", l = {
4
+ link: k
5
+ }, c = ({ children: n, className: s, to: t = "#", label: o, ...r }) => /* @__PURE__ */ i.jsx(
6
6
  "a",
7
7
  {
8
- className: c(s, l.link),
9
- href: o,
10
- ...i,
11
- children: n || t
8
+ className: e(s, l.link),
9
+ href: t,
10
+ ...r,
11
+ children: n || o
12
12
  }
13
13
  );
14
14
  export {
15
- x as Link
15
+ c as Link
16
16
  };
17
17
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const e=require("../../jsx-runtime-wx6f5G-9.cjs"),i=require("classix"),r="_list_1f3ya_1",l={list:r},n=({children:t,className:s})=>e.jsxRuntimeExports.jsx("ul",{className:i(s,l.list),children:t});exports.List=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const e=require("../../jsx-runtime-BJcCX4ED.cjs"),i=require("../../classix-5H4IWnMA.cjs"),l="_list_1f3ya_1",r={list:l},n=({children:s,className:t})=>e.jsxRuntimeExports.jsx("ul",{className:i.t(t,r.list),children:s});exports.List=n;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/list/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type ListProps = {\n children?: React.ReactNode;\n className?: string;\n};\n\nexport const List = ({ children, className }: ListProps) => {\n return <ul className={cx(className, styles.list)}>{children}</ul>;\n};\n"],"names":["List","children","className","jsx","cx","styles"],"mappings":"oLASaA,EAAO,CAAC,CAAE,SAAAC,EAAU,UAAAC,KACxBC,EAAAA,kBAAAA,IAAC,MAAG,UAAWC,EAAGF,EAAWG,EAAO,IAAI,EAAI,SAAAJ,EAAS"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/list/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type ListProps = {\n children?: React.ReactNode;\n className?: string;\n};\n\nexport const List = ({ children, className }: ListProps) => {\n return <ul className={cx(className, styles.list)}>{children}</ul>;\n};\n"],"names":["List","children","className","jsx","cx","styles"],"mappings":"uMASaA,EAAO,CAAC,CAAE,SAAAC,EAAU,UAAAC,KACxBC,EAAAA,kBAAAA,IAAC,MAAG,UAAWC,EAAAA,EAAGF,EAAWG,EAAO,IAAI,EAAI,SAAAJ,EAAS"}
@@ -1,9 +1,9 @@
1
- import { j as o } from "../../jsx-runtime-CgJvvRaT.js";
2
- import i from "classix";
1
+ import { j as o } from "../../jsx-runtime-CDbhiqmm.js";
2
+ import { t as i } from "../../classix-DG18itHa.js";
3
3
  import '../../assets/index3.css';const r = "_list_1f3ya_1", l = {
4
4
  list: r
5
- }, e = ({ children: s, className: t }) => /* @__PURE__ */ o.jsx("ul", { className: i(t, l.list), children: s });
5
+ }, n = ({ children: s, className: t }) => /* @__PURE__ */ o.jsx("ul", { className: i(t, l.list), children: s });
6
6
  export {
7
- e as List
7
+ n as List
8
8
  };
9
9
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index2.css');const a=require("../../jsx-runtime-wx6f5G-9.cjs"),r=require("classix"),s="_nav_1uwvt_1",i="_horizontal_1uwvt_11",o={nav:s,horizontal:i},c=({animation:t,children:e,horizontal:n=!1})=>a.jsxRuntimeExports.jsx("nav",{className:r(t&&t,n&&o.horizontal,o.nav),"data-orientation":n?"horizontal":"vertical",children:e});exports.Nav=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index2.css');const e=require("../../jsx-runtime-BJcCX4ED.cjs"),s=require("../../classix-5H4IWnMA.cjs"),r="_nav_1uwvt_1",i="_horizontal_1uwvt_11",o={nav:r,horizontal:i},l=({animation:t,children:a,horizontal:n=!1})=>e.jsxRuntimeExports.jsx("nav",{className:s.t(t&&t,n&&o.horizontal,o.nav),"data-orientation":n?"horizontal":"vertical",children:a});exports.Nav=l;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/nav/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '../../styles/animations';\nimport styles from './styles.module.css';\n\nexport type NavProps = {\n animation?: AnimationName;\n children?: React.ReactNode;\n horizontal?: boolean;\n};\n\nexport const Nav = ({ animation, children, horizontal = false }: NavProps) => {\n return (\n <nav\n className={cx(animation && animation, horizontal && styles.horizontal, styles.nav)}\n data-orientation={horizontal ? 'horizontal' : 'vertical'}\n >\n {children}\n </nav>\n );\n};\n"],"names":["Nav","animation","children","horizontal","jsx","cx","styles"],"mappings":"wNAWaA,EAAM,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,WAAAC,EAAa,MAEpDC,EAAAA,kBAAAA,IAAC,MAAA,CACC,UAAWC,EAAGJ,GAAaA,EAAWE,GAAcG,EAAO,WAAYA,EAAO,GAAG,EACjF,mBAAkBH,EAAa,aAAe,WAE7C,SAAAD,CAAA,CAAA"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/nav/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '../../styles/animations';\nimport styles from './styles.module.css';\n\nexport type NavProps = {\n animation?: AnimationName;\n children?: React.ReactNode;\n horizontal?: boolean;\n};\n\nexport const Nav = ({ animation, children, horizontal = false }: NavProps) => {\n return (\n <nav\n className={cx(animation && animation, horizontal && styles.horizontal, styles.nav)}\n data-orientation={horizontal ? 'horizontal' : 'vertical'}\n >\n {children}\n </nav>\n );\n};\n"],"names":["Nav","animation","children","horizontal","jsx","cx","styles"],"mappings":"2OAWaA,EAAM,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,WAAAC,EAAa,MAEpDC,EAAAA,kBAAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,EAAGJ,GAAaA,EAAWE,GAAcG,EAAO,WAAYA,EAAO,GAAG,EACjF,mBAAkBH,EAAa,aAAe,WAE7C,SAAAD,CAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { j as r } from "../../jsx-runtime-CgJvvRaT.js";
2
- import s from "classix";
1
+ import { j as r } from "../../jsx-runtime-CDbhiqmm.js";
2
+ import { t as s } from "../../classix-DG18itHa.js";
3
3
  import '../../assets/index2.css';const v = "_nav_1uwvt_1", e = "_horizontal_1uwvt_11", a = {
4
4
  nav: v,
5
5
  horizontal: e
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const n=require("./components/accordion/index.cjs"),e=require("./components/aside/index.cjs"),o=require("./components/banner/index.cjs"),i=require("./components/branding/index.cjs"),r=require("./components/button/index.cjs"),t=require("./components/dialog/index.cjs"),c=require("./components/dropdown/index.cjs"),s=require("./components/editor/index.cjs"),d=require("./components/figure/index.cjs"),_=require("./components/header/index.cjs"),u=require("./components/icon/index.cjs"),p=require("./components/input/index.cjs"),a=require("./components/link/index.cjs"),m=require("./components/list/index.cjs"),q=require("./components/nav/index.cjs");exports.Accordion=n.Accordion;exports.Aside=e.Aside;exports.Banner=o.Banner;exports.Branding=i.Branding;exports.Button=r.Button;exports.Dialog=t.Dialog;exports.Dropdown=c.Dropdown;exports.Editor=s.Editor;exports.Figure=d.Figure;exports.Header=_.Header;exports.Icon=u.Icon;exports.Input=p.Input;exports.Link=a.Link;exports.List=m.List;exports.Nav=q.Nav;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const n=require("./components/accordion/index.cjs"),e=require("./components/aside/index.cjs"),o=require("./components/banner/index.cjs"),r=require("./components/branding/index.cjs"),i=require("./components/button/index.cjs"),t=require("./components/card/index.cjs"),c=require("./components/dialog/index.cjs"),d=require("./components/dropdown/index.cjs"),s=require("./components/editor/index.cjs"),_=require("./components/figure/index.cjs"),u=require("./components/header/index.cjs"),p=require("./components/icon/index.cjs"),a=require("./components/input/index.cjs"),m=require("./components/link/index.cjs"),q=require("./components/list/index.cjs"),x=require("./components/nav/index.cjs");exports.Accordion=n.Accordion;exports.AccordionGroup=n.AccordionGroup;exports.Aside=e.Aside;exports.Banner=o.Banner;exports.Branding=r.Branding;exports.Button=i.Button;exports.Card=t.Card;exports.Dialog=c.Dialog;exports.Dropdown=d.Dropdown;exports.Editor=s.Editor;exports.Figure=_.Figure;exports.Header=u.Header;exports.Icon=p.Icon;exports.Input=a.Input;exports.Link=m.Link;exports.List=q.List;exports.Nav=x.Nav;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -6,6 +6,13 @@ import { RefAttributes } from 'react';
6
6
 
7
7
  export declare const Accordion: ({ children, icon, label, open }: AccordionProps) => JSX.Element;
8
8
 
9
+ export declare function AccordionGroup({ children, className }: AccordionGroupProps): JSX.Element;
10
+
11
+ declare type AccordionGroupProps = {
12
+ children: React.ReactNode;
13
+ className?: string;
14
+ };
15
+
9
16
  declare type AccordionProps = {
10
17
  children: React.ReactNode;
11
18
  icon?: IconName;
@@ -47,7 +54,7 @@ declare const brandingSVG: {
47
54
  logo: string;
48
55
  };
49
56
 
50
- export declare const Button: ({ children, className, disabled, label, title, type, variant, ...props }: ButtonProps) => JSX.Element;
57
+ export declare const Button: ({ children, className, disabled, label, title, icon, iconOnly, type, variant, ...props }: ButtonProps) => JSX.Element;
51
58
 
52
59
  declare type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
53
60
  children?: React.ReactNode;
@@ -55,10 +62,23 @@ declare type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
55
62
  disabled?: boolean;
56
63
  label?: string;
57
64
  title?: string;
65
+ iconOnly?: boolean;
66
+ icon?: IconName;
58
67
  variant?: keyof typeof variants_3;
59
68
  type?: 'button' | 'submit' | 'reset';
60
69
  };
61
70
 
71
+ export declare const Card: ({ ...props }: CardProps) => JSX.Element;
72
+
73
+ declare type CardProps = {
74
+ image?: React.ReactNode;
75
+ headerText?: string;
76
+ subHeaderText?: string;
77
+ contentText?: string;
78
+ children: React.ReactNode;
79
+ onClick?: () => void;
80
+ };
81
+
62
82
  export declare const Dialog: ({ button, children, message, title, ...props }: DialogProps) => JSX.Element;
63
83
 
64
84
  declare type DialogProps = React.DialogHTMLAttributes<HTMLDialogElement> & {
@@ -90,12 +110,12 @@ declare type FigureProps = {
90
110
  children?: React.ReactNode;
91
111
  };
92
112
 
93
- export declare const Header: ({ size, title, subtitle }: HeaderProps) => JSX.Element;
113
+ export declare const Header: ({ size, title, subHeader }: HeaderProps) => JSX.Element;
94
114
 
95
115
  declare type HeaderProps = {
96
116
  size: 1 | 2 | 3;
97
117
  title: string;
98
- subtitle?: string;
118
+ subHeader?: string;
99
119
  };
100
120
 
101
121
  export declare const Icon: ({ name, size, variant }: IconProps) => JSX.Element;
@@ -110,6 +130,7 @@ declare const iconPaths: {
110
130
  link: string;
111
131
  list: string;
112
132
  search: string;
133
+ x: string;
113
134
  };
114
135
 
115
136
  declare type IconProps = {
@@ -167,6 +188,7 @@ declare const variants_2: {
167
188
 
168
189
  declare const variants_3: {
169
190
  default: string;
191
+ destructive: string;
170
192
  minimal: string;
171
193
  primary: string;
172
194
  secondary: string;
package/dist/index.js CHANGED
@@ -1,33 +1,36 @@
1
- import { Accordion as e } from "./components/accordion/index.js";
2
- import { Aside as p } from "./components/aside/index.js";
3
- import { Banner as m } from "./components/banner/index.js";
4
- import { Branding as n } from "./components/branding/index.js";
5
- import { Button as d } from "./components/button/index.js";
6
- import { Dialog as c } from "./components/dialog/index.js";
7
- import { Dropdown as u } from "./components/dropdown/index.js";
8
- import { Editor as s } from "./components/editor/index.js";
9
- import { Figure as D } from "./components/figure/index.js";
10
- import { Header as L } from "./components/header/index.js";
11
- import { Icon as l } from "./components/icon/index.js";
12
- import { Input as w } from "./components/input/index.js";
13
- import { Link as F } from "./components/link/index.js";
14
- import { List as N } from "./components/list/index.js";
15
- import { Nav as h } from "./components/nav/index.js";
1
+ import { Accordion as e, AccordionGroup as t } from "./components/accordion/index.js";
2
+ import { Aside as f } from "./components/aside/index.js";
3
+ import { Banner as x } from "./components/banner/index.js";
4
+ import { Branding as i } from "./components/branding/index.js";
5
+ import { Button as a } from "./components/button/index.js";
6
+ import { Card as u } from "./components/card/index.js";
7
+ import { Dialog as A } from "./components/dialog/index.js";
8
+ import { Dropdown as s } from "./components/dropdown/index.js";
9
+ import { Editor as I } from "./components/editor/index.js";
10
+ import { Figure as k } from "./components/figure/index.js";
11
+ import { Header as v } from "./components/header/index.js";
12
+ import { Icon as C } from "./components/icon/index.js";
13
+ import { Input as F } from "./components/input/index.js";
14
+ import { Link as H } from "./components/link/index.js";
15
+ import { List as b } from "./components/list/index.js";
16
+ import { Nav as j } from "./components/nav/index.js";
16
17
  import './assets/index.css';export {
17
18
  e as Accordion,
18
- p as Aside,
19
- m as Banner,
20
- n as Branding,
21
- d as Button,
22
- c as Dialog,
23
- u as Dropdown,
24
- s as Editor,
25
- D as Figure,
26
- L as Header,
27
- l as Icon,
28
- w as Input,
29
- F as Link,
30
- N as List,
31
- h as Nav
19
+ t as AccordionGroup,
20
+ f as Aside,
21
+ x as Banner,
22
+ i as Branding,
23
+ a as Button,
24
+ u as Card,
25
+ A as Dialog,
26
+ s as Dropdown,
27
+ I as Editor,
28
+ k as Figure,
29
+ v as Header,
30
+ C as Icon,
31
+ F as Input,
32
+ H as Link,
33
+ b as List,
34
+ j as Nav
32
35
  };
33
36
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -0,0 +1,23 @@
1
+ "use strict";const Q=require("react");var S={exports:{}},m={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var I;function K(){if(I)return m;I=1;var l=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function c(i,o,s){var f=null;if(s!==void 0&&(f=""+s),o.key!==void 0&&(f=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:l,type:i,key:f,ref:o!==void 0?o:null,props:s}}return m.Fragment=_,m.jsx=c,m.jsxs=c,m}var E={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var $;function ee(){return $||($=1,process.env.NODE_ENV!=="production"&&function(){function l(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===B?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case v:return"Fragment";case W:return"Profiler";case M:return"StrictMode";case q:return"Suspense";case G:return"SuspenseList";case X:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case L:return"Portal";case V:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case z:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case J:return r=e.displayName||null,r!==null?r:l(e.type)||"Memo";case p:r=e._payload,e=e._init;try{return l(e(r))}catch{}}return null}function _(e){return""+e}function c(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function i(e){if(e===v)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===p)return"<...>";try{var r=l(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=T.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function f(e){if(g.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function d(e,r){function t(){x||(x=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function F(){var e=l(this.type);return h[e]||(h[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function D(e,r,t,n,b,O){var a=t.ref;return e={$$typeof:j,type:e,key:r,props:t,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:F}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:O}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,t,n,b,O){var a=r.children;if(a!==void 0)if(n)if(H(a)){for(n=0;n<a.length;n++)w(a[n]);Object.freeze&&Object.freeze(a)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(a);if(g.call(r,"key")){a=l(e);var u=Object.keys(r).filter(function(Z){return Z!=="key"});n=0<u.length?"{key: someKey, "+u.join(": ..., ")+": ...}":"{key: someKey}",Y[a+n]||(u=0<u.length?"{"+u.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
+ let props = %s;
19
+ <%s {...props} />
20
+ React keys must be passed directly to JSX without using spread:
21
+ let props = %s;
22
+ <%s key={someKey} {...props} />`,n,a,u,a),Y[a+n]=!0)}if(a=null,t!==void 0&&(c(t),a=""+t),f(r)&&(c(r.key),a=""+r.key),"key"in r){t={};for(var A in r)A!=="key"&&(t[A]=r[A])}else t=r;return a&&d(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),D(e,a,t,o(),b,O)}function w(e){y(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===p&&(e._payload.status==="fulfilled"?y(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function y(e){return typeof e=="object"&&e!==null&&e.$$typeof===j}var R=Q,j=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),V=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),B=Symbol.for("react.client.reference"),T=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,g=Object.prototype.hasOwnProperty,H=Array.isArray,k=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var x,h={},N=R.react_stack_bottom_frame.bind(R,s)(),C=k(i(s)),Y={};E.Fragment=v,E.jsx=function(e,r,t){var n=1e4>T.recentlyCreatedOwnerStacks++;return P(e,r,t,!1,n?Error("react-stack-top-frame"):N,n?k(i(e)):C)},E.jsxs=function(e,r,t){var n=1e4>T.recentlyCreatedOwnerStacks++;return P(e,r,t,!0,n?Error("react-stack-top-frame"):N,n?k(i(e)):C)}}()),E}process.env.NODE_ENV==="production"?S.exports=K():S.exports=ee();var re=S.exports;exports.jsxRuntimeExports=re;
23
+ //# sourceMappingURL=jsx-runtime-BJcCX4ED.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsx-runtime-BJcCX4ED.cjs","sources":["../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","owner","debugStack","debugTask","refProp","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1"],"mappings":";;;;;;;;wCAWA,IAAIA,EAAqB,OAAO,IAAI,4BAA4B,EAC9DC,EAAsB,OAAO,IAAI,gBAAgB,EACnD,SAASC,EAAQC,EAAMC,EAAQC,EAAU,CACvC,IAAIC,EAAM,KAGV,GAFWD,IAAX,SAAwBC,EAAM,GAAKD,GACxBD,EAAO,MAAlB,SAA0BE,EAAM,GAAKF,EAAO,KACxC,QAASA,EAAQ,CACnBC,EAAW,CAAA,EACX,QAASE,KAAYH,EACTG,IAAV,QAAuBF,EAASE,CAAQ,EAAIH,EAAOG,CAAQ,EACjE,MAASF,EAAWD,EAClB,OAAAA,EAASC,EAAS,IACX,CACL,SAAUL,EACV,KAAMG,EACN,IAAKG,EACL,IAAgBF,IAAX,OAAoBA,EAAS,KAClC,MAAOC,CACX,CACA,CACA,OAAAG,EAAA,SAAmBP,EACnBO,EAAA,IAAcN,EACdM,EAAA,KAAeN;;;;;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