@solibo/solibo-ui 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/components/_dropzone/index.cjs +1 -1
- package/dist/components/_dropzone/index.cjs.map +1 -1
- package/dist/components/_dropzone/index.js +45 -21
- package/dist/components/_dropzone/index.js.map +1 -1
- package/dist/components/_messages/index.cjs +1 -1
- package/dist/components/_messages/index.js +5 -5
- package/dist/components/figure/index.cjs +1 -1
- package/dist/components/figure/index.js +11 -11
- package/dist/components/header/index.cjs +1 -1
- package/dist/components/header/index.js +9 -9
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +8 -8
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.js +3 -3
- package/dist/components/message/index.cjs +1 -1
- package/dist/components/message/index.js +3 -3
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +15 -15
- package/dist/components/textarea/index.cjs +1 -1
- package/dist/components/textarea/index.cjs.map +1 -1
- package/dist/components/textarea/index.js +30 -16
- package/dist/components/textarea/index.js.map +1 -1
- package/dist/{icons-LUDXnYZb.cjs → icons-C1LZmPn1.cjs} +2 -2
- package/dist/{icons-LUDXnYZb.cjs.map → icons-C1LZmPn1.cjs.map} +1 -1
- package/dist/{icons-S3H6wxpA.js → icons-fH5mEW6T.js} +2 -1
- package/dist/{icons-S3H6wxpA.js.map → icons-fH5mEW6T.js.map} +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/styles.module-BBfw-M3O.cjs +2 -0
- package/dist/styles.module-BBfw-M3O.cjs.map +1 -0
- package/dist/styles.module-BUHdj3im.js +10 -0
- package/dist/styles.module-BUHdj3im.js.map +1 -0
- package/package.json +1 -1
- package/dist/styles.module-Cr05rVxs.cjs +0 -2
- package/dist/styles.module-Cr05rVxs.cjs.map +0 -1
- package/dist/styles.module-Dep_cSM2.js +0 -10
- package/dist/styles.module-Dep_cSM2.js.map +0 -1
package/dist/assets/index20.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._nav_8nmuv_1 a{display:block}._horizontal_8nmuv_7 a,._horizontal_8nmuv_7 li{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._tabs_8nmuv_17{@extend .horizontal;border-bottom:var(--border-width) solid var(--color-border-primary);display:flex;gap:var(--unit)}._tabs_8nmuv_17 a,._tabs_8nmuv_17 li{color:var(--color-grey-dark);font-weight:var(--font-weight-semibold);padding:var(--unit-tiny) var(--unit-micro) var(--unit-small) var(--unit-micro);text-decoration:none}._tabs_8nmuv_17 a[aria-current=page],._tabs_8nmuv_17 li[aria-current=page]{color:var(--color-electric-violet);border-bottom:var(--border-width) solid var(--color-electric-violet)}._pills_8nmuv_38{@extend .horizontal;background-color:var(--color-translucent);-webkit-backdrop-filter:blur(var(--unit-small));backdrop-filter:blur(var(--unit-small));border-radius:var(--border-radius-large);border:var(--border-width-heavy) solid var(--color-white);box-shadow:var(--shadow-big);display:flex;margin:0 auto;position:-webkit-sticky;position:sticky;top:var(--unit);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:1}._pills_8nmuv_38:before{content:"";background:var(--color-electric-violet);border-radius:var(--border-radius-large);inset-block:0;left:anchor(left);position-anchor:--current;position:absolute;transition:left var(--transition-duration) var(--transition-timing-function),width var(--transition-duration) var(--transition-timing-function);width:anchor-size(width);z-index:0}._pills_8nmuv_38 a{border-radius:var(--unit);color:var(--color-primary);display:inline-block;font-weight:var(--font-weight-bold);padding:var(--unit);position:relative;text-decoration:none;text-overflow:ellipsis;transition:color var(--transition-duration) var(--transition-timing-function),padding var(--transition-duration) var(--transition-timing-function);white-space:nowrap;z-index:2}._pills_8nmuv_38 a[aria-current=page]{anchor-name:--current;color:var(--color-white)}._pills_8nmuv_38 a[aria-current=page]:hover{color:var(--color-white)}@supports not (position-anchor: --x){._pills_8nmuv_38:before{content:""}._pills_8nmuv_38 [aria-current=page]:before{background:var(--color-electric-violet);content:"";position:absolute;transition:all var(--transition-duration) linear;z-index:-1}}@media (width <= 1024px){._pills_8nmuv_38 a{padding:var(--unit-small)}}
|
package/dist/assets/index23.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._messages_2wxws_1{border-bottom:var(--border-width) solid var(--color-neutral-light);border-top:var(--border-width) solid var(--color-neutral-light);display:grid;gap:var(--unit);margin:0 var(--negative-unit);padding:var(--unit) 0}
|
package/dist/assets/index24.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._message_bo202_1{background-color:var(--color-neutral-light);box-shadow:var(--shadow);padding:var(--unit);white-space:pre-wrap}._message_bo202_1[data-type=default]{border-radius:0 var(--unit) var(--unit) 0;margin-right:auto;max-width:90%}._message_bo202_1[data-type=user]{align-self:end;background-color:var(--color-purple-light);border-radius:var(--unit) 0 0 var(--unit);margin-left:auto;max-width:90%}._message_bo202_1[data-type=system]{align-items:center;background-color:var(--color-neutral);border-radius:var(--unit);display:flex;gap:var(--unit);color:var(--color-text-secondary)}
|
package/dist/assets/index26.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._dropzone_1uxat_1{background-color:var(--color-white);border:1px dashed var(--color-border);border-radius:var(--border-radius);color:var(--color-primary);padding:var(--unit);text-align:center;transition:background-color var(--transition-duration) var(--transition-timing-function)}._dropzone_1uxat_1 label{cursor:pointer}._dropzone_1uxat_1 label span{margin-bottom:var(--unit)}._dropzone_1uxat_1._dragging_1uxat_18{background-color:var(--color-purple-light)}._dropzone_1uxat_1._minimal_1uxat_22{border:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}._dropzone_1uxat_1._minimal_1uxat_22 button{display:none}
|
package/dist/assets/index3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._label_jvcm8_1{display:block}._label_jvcm8_1 div{overflow-y:auto}._textarea_jvcm8_9{font-size:var(--font-size);overflow:hidden;width:100%}
|
package/dist/assets/index31.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._figure_1i6w9_1{display:inline-block;margin:0;padding:0}._figure_1i6w9_1 figcaption{display:none;visibility:hidden}._figure_1i6w9_1 img{background-color:var(--color-neutral);border-radius:var(--border-radius);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:100%}._figure_1i6w9_1 img:before{background-color:var(--color-fallback);content:"";display:block;height:var(--unit-large);-webkit-mask:var(--icon);mask:var(--icon);width:var(--unit-large)}._figure_1i6w9_1 input[type=file]{display:none}._offset_1i6w9_33 img{position:relative;left:var(--offset-left, auto);right:var(--offset-right, auto);width:calc(100% + calc(2 * var(--unit)))}
|
package/dist/assets/index34.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._list_xxfvt_1{display:flex;flex-direction:column;gap:var(--unit);list-style-type:none;-webkit-margin-before:0;margin-block-start:0}._list_xxfvt_1 li{list-style:none;padding-left:0}._columns_xxfvt_14{display:grid;grid-template-columns:1fr 1fr}@media (width <= 960px){._columns_xxfvt_14{grid-template-columns:1fr}}
|
package/dist/assets/index6.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
body,html{background-color:var(--color-wild-sand);box-sizing:border-box;align-items:center;margin:0;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.
|
|
1
|
+
body,html{background-color:var(--color-wild-sand);box-sizing:border-box;align-items:center;margin:0;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._layout_ccypy_12{margin:auto;opacity:1;transition:opacity var(--transition-duration) var(--transition-timing-function),width var(--transition-duration) var(--transition-timing-function);width:100%}._layout_ccypy_12[data-public]{padding:0 0 0 var(--unit-large)}._layout_ccypy_12._home_ccypy_24{-moz-column-gap:var(--unit-large);column-gap:var(--unit-large);display:grid;grid-template-columns:1fr calc(20 * var(--unit));width:calc(64 * var(--unit))}._layout_ccypy_12._home_ccypy_24>div{width:100%}._layout_ccypy_12._home_ccypy_24>div>article{margin:calc(3 * var(--unit)) auto;max-width:calc(40 * var(--unit));width:100%}._layout_ccypy_12._home_ccypy_24>div>article nav{margin:var(--unit) 0}._layout_ccypy_12._home_ccypy_24 aside{padding-top:calc(var(--unit) * 6);height:100vh}._layout_ccypy_12._home_ccypy_24 aside>div:first-of-type{max-height:100%;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:none}._layout_ccypy_12._home_ccypy_24 aside>div:first-of-type::-webkit-scrollbar{display:none}._layout_ccypy_12._home_ccypy_24 aside figure{min-width:calc(18 * var(--unit))}._layout_ccypy_12 form{max-width:calc(40 * var(--unit))}._layout_ccypy_12 ol,._layout_ccypy_12 ul{display:grid;gap:var(--unit)}@media (width > 1280px){._layout_ccypy_12._home_ccypy_24{-moz-column-gap:calc(4 * var(--unit));column-gap:calc(4 * var(--unit))}}@media (width <= 960px){body{background:var(--color-wild-sand)}._layout_ccypy_12._home_ccypy_24{grid-template-columns:1fr;grid-template-rows:auto auto;row-gap:var(--unit);padding-left:var(--unit);padding-right:var(--unit)}._layout_ccypy_12._home_ccypy_24>aside{background-color:transparent;min-height:auto;padding-top:0}._layout_ccypy_12._home_ccypy_24>aside figure{display:none}._layout_ccypy_12._home_ccypy_24>article{margin-bottom:calc(var(--unit) * 3);margin-top:calc(var(--unit) * 3);max-width:100vw}}#beta:after{background:#fff;bottom:0;content:"";pointer-events:none;position:fixed;right:0;top:0;width:max(0px,calc((100vw - calc(64 * var(--unit))) / 2));z-index:-1}#beta{position:relative;z-index:0}
|
package/dist/assets/index8.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._header_1mwd2_1{color:var(--color-text-primary);font-weight:var(--font-weight-bold);margin:var(--unit) 0}._header_1mwd2_1>*{display:block}._header_1mwd2_1 h1{font-size:var(--font-size-h1)}._header_1mwd2_1 h2,._header_1mwd2_1 sup{font-size:var(--font-size-h2)}._header_1mwd2_1 h3{font-size:var(--font-size-h3)}._header_1mwd2_1 sub{font-weight:var(--font-weight-normal);margin-top:var(--negative-unit)}._header_1mwd2_1 sup{margin-bottom:var(--negative-unit)}._header_1mwd2_1 sub,._header_1mwd2_1 sup{color:var(--color-text-secondary)}@media (width >= 960px){._jumbo_1mwd2_39{margin:calc(var(--unit) * 3) 0}._jumbo_1mwd2_39 h1{font-size:calc(var(--unit) * 4);letter-spacing:-2.4px;line-height:1.2em}}
|
package/dist/assets/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_4fv7u_1:has(input[type=radio]),._container_4fv7u_1:has(input[type=checkbox]){align-items:center;display:flex;flex-direction:row-reverse;gap:var(--unit);justify-content:start}._input_4fv7u_10{border:var(--border);border-radius:var(--border-radius);box-shadow:var(--shadow);color:var(--color-text-primary);font-size:var(--font-size);padding:var(--unit);transition:border var(--transition-duration) var(--transition-timing-function)}._input_4fv7u_10::-moz-placeholder{color:var(--color-placeholder-text)}._input_4fv7u_10::placeholder{color:var(--color-placeholder-text)}._input_4fv7u_10[type=datetime-local]{border:var(--border);border-radius:var(--border-radius);padding:var(--unit)}._input_4fv7u_10[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-dark);border:solid var(--unit-tiny) var(--color-dark);padding:0;height:var(--unit);width:var(--unit)}._input_4fv7u_10[type=radio]:checked{background-color:var(--color-white);border-color:var(--color-electric-violet)}._label_4fv7u_44{display:block}._required_4fv7u_48:after{content:"*";color:var(--color-mahogany);font-size:calc(var(--unit) * 1.5);position:relative;left:var(--unit-tiny);top:var(--unit-tiny)}input[type=text][placeholder="+47"]{margin-right:var(--unit-small);width:calc(5 * var(--unit))}input[type=text][placeholder="+47"]+input[type=tel]{width:calc(100% - (5 * var(--unit) + var(--unit-small)))}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index26.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index26.css');const t=require("react/jsx-runtime"),z=require("../../classix-5H4IWnMA.cjs"),f=require("react"),y=require("../button/index.cjs"),b=require("../icon/index.cjs"),q="_dropzone_1uxat_1",v="_dragging_1uxat_18",R="_minimal_1uxat_22",c={dropzone:q,dragging:v,minimal:R},S=({accepts:g,label:p="Select files",multiple:l=!1,onChange:n,variant:u="default",...m})=>{const i=f.useRef(null),[x,r]=f.useState(!1),s=e=>{e.preventDefault(),e.stopPropagation()},_=e=>{s(e),r(!1);const a=Array.from(e.dataTransfer.files??[]);if(a.length===0)return;const D=l?a:a.slice(0,1),o=i.current;if(!o)return;const d=new DataTransfer;for(const j of D)d.items.add(j);o.files=d.files,n==null||n({target:o,currentTarget:o})};return t.jsx("div",{className:z.t(c.dropzone,c[u],x&&c.dragging),onDragEnter:e=>{s(e),r(!0)},onDragOver:e=>{s(e),r(!0)},onDragLeave:e=>{s(e),r(!1)},onDrop:_,...m,"data-cy":"Dropzone",children:t.jsxs("label",{children:[t.jsx("input",{accept:g,hidden:!0,multiple:l,onChange:n,ref:i,type:"file"}),t.jsx(b.Icon,{name:"upload",size:u==="minimal"?"medium":"large"}),t.jsx("br",{}),t.jsx(y.Button,{onClick:()=>{var e;return(e=i.current)==null?void 0:e.click()},type:"button",children:p})]})})};exports.Dropzone=S;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/_dropzone/index.tsx"],"sourcesContent":["import { useRef } from 'react';\n\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport styles from './styles.module.css';\n\nexport type DropzoneProps = {\n accepts?: string;\n label: string;\n multiple?: boolean;\n onChange?: React.ChangeEventHandler<HTMLInputElement>;\n};\n\nexport const Dropzone = ({\n accepts,\n label = 'Select files',\n multiple = false,\n onChange,\n ...props\n}: DropzoneProps) => {\n const inputRef = useRef<HTMLInputElement>(null);\n\n return (\n <div\n className={styles.dropzone}\n {...props}\n >\n <label>\n <input\n accept={accepts}\n hidden\n multiple={multiple}\n onChange={onChange}\n ref={inputRef}\n type='file'\n />\n <Icon\n name='upload'\n size='large'\n />\n <br />\n <Button\n onClick={() => inputRef.current?.click()}\n type={'button'}\n >\n {label}\n </Button>\n </label>\n </div>\n );\n};\n"],"names":["Dropzone","accepts","label","multiple","onChange","props","inputRef","useRef","jsx","styles","dropzone","
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/_dropzone/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { useRef, useState } from 'react';\n\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport styles from './styles.module.css';\n\nexport type DropzoneProps = {\n accepts?: string;\n label: string;\n multiple?: boolean;\n onChange?: React.ChangeEventHandler<HTMLInputElement>;\n variant?: 'default' | 'minimal';\n};\n\nexport const Dropzone = ({\n accepts,\n label = 'Select files',\n multiple = false,\n onChange,\n variant = 'default',\n ...props\n}: DropzoneProps) => {\n const inputRef = useRef<HTMLInputElement>(null);\n const [isDragging, setIsDragging] = useState(false);\n\n const prevent = (e: React.DragEvent) => {\n e.preventDefault();\n e.stopPropagation();\n };\n\n const handleDrop = (e: React.DragEvent<HTMLDivElement>) => {\n prevent(e);\n setIsDragging(false);\n\n const files = Array.from(e.dataTransfer.files ?? []);\n if (files.length === 0) return;\n\n const selected = multiple ? files : files.slice(0, 1);\n\n const input = inputRef.current;\n if (!input) return;\n\n const dt = new DataTransfer();\n for (const f of selected) dt.items.add(f);\n\n input.files = dt.files;\n\n onChange?.({ target: input, currentTarget: input } as React.ChangeEvent<HTMLInputElement>);\n };\n\n return (\n <div\n className={cx(styles.dropzone, styles[variant], isDragging && styles.dragging)}\n onDragEnter={(e) => {\n prevent(e);\n setIsDragging(true);\n }}\n onDragOver={(e) => {\n prevent(e);\n setIsDragging(true);\n }}\n onDragLeave={(e) => {\n prevent(e);\n setIsDragging(false);\n }}\n onDrop={handleDrop}\n {...props}\n >\n <label>\n <input\n accept={accepts}\n hidden\n multiple={multiple}\n onChange={onChange}\n ref={inputRef}\n type='file'\n />\n <Icon\n name='upload'\n size={variant === 'minimal' ? 'medium' : 'large'}\n />\n <br />\n <Button\n onClick={() => inputRef.current?.click()}\n type={'button'}\n >\n {label}\n </Button>\n </label>\n </div>\n );\n};\n"],"names":["Dropzone","accepts","label","multiple","onChange","variant","props","inputRef","useRef","isDragging","setIsDragging","useState","prevent","e","preventDefault","stopPropagation","handleDrop","files","Array","from","dataTransfer","length","selected","slice","input","current","dt","DataTransfer","f","items","add","target","currentTarget","jsx","cx","styles","dropzone","dragging","Icon","Button","click"],"mappings":"uVAeaA,EAAWA,CAAC,CACvBC,QAAAA,EACAC,MAAAA,EAAQ,eACRC,SAAAA,EAAW,GACXC,SAAAA,EACAC,QAAAA,EAAU,UACV,GAAGC,CACU,IAAM,CACnB,MAAMC,EAAWC,EAAAA,OAAyB,IAAI,EACxC,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,EAAK,EAE5CC,EAAWC,GAAuB,CACtCA,EAAEC,eAAAA,EACFD,EAAEE,gBAAAA,CACJ,EAEMC,EAAcH,GAAuC,CACzDD,EAAQC,CAAC,EACTH,EAAc,EAAK,EAEnB,MAAMO,EAAQC,MAAMC,KAAKN,EAAEO,aAAaH,OAAS,EAAE,EACnD,GAAIA,EAAMI,SAAW,EAAG,OAExB,MAAMC,EAAWnB,EAAWc,EAAQA,EAAMM,MAAM,EAAG,CAAC,EAE9CC,EAAQjB,EAASkB,QACvB,GAAI,CAACD,EAAO,OAEZ,MAAME,EAAK,IAAIC,aACf,UAAWC,KAAKN,EAAUI,EAAGG,MAAMC,IAAIF,CAAC,EAExCJ,EAAMP,MAAQS,EAAGT,MAEjBb,GAAAA,MAAAA,EAAW,CAAE2B,OAAQP,EAAOQ,cAAeR,CAAAA,EAC7C,EAEA,OACES,EAAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,EAAGC,EAAOC,SAAUD,EAAO9B,CAAO,EAAGI,GAAc0B,EAAOE,QAAQ,EAC7E,YAAcxB,GAAM,CAClBD,EAAQC,CAAC,EACTH,EAAc,EAAI,CACpB,EACA,WAAaG,GAAM,CACjBD,EAAQC,CAAC,EACTH,EAAc,EAAI,CACpB,EACA,YAAcG,GAAM,CAClBD,EAAQC,CAAC,EACTH,EAAc,EAAK,CACrB,EACA,OAAQM,EACR,GAAIV,EAAM,UAAA,WAEV,gBAAC,QAAA,CACC,SAAA,CAAA2B,EAAAA,IAAC,QAAA,CACC,OAAQhC,EACR,OAAM,GACN,SAAAE,EACA,SAAAC,EACA,IAAKG,EACL,KAAK,MAAA,CAAM,EAEb0B,MAACK,EAAAA,MACC,KAAK,SACL,KAAMjC,IAAY,UAAY,SAAW,QAAQ,QAElD,KAAA,EAAE,EACH4B,EAAAA,IAACM,EAAAA,OAAA,CACC,QAAS,IAAA,OAAMhC,OAAAA,EAAAA,EAASkB,UAATlB,YAAAA,EAAkBiC,SACjC,KAAM,SAELtC,SAAAA,CAAAA,CACH,CAAA,CAAA,CACF,CAAA,CACF,CAEJ"}
|
|
@@ -1,28 +1,52 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsx as r, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { t as y } from "../../classix-DG18itHa.js";
|
|
3
|
+
import { useRef as v, useState as b } from "react";
|
|
4
|
+
import { Button as T } from "../button/index.js";
|
|
5
|
+
import { Icon as j } from "../icon/index.js";
|
|
6
|
+
import '../../assets/index26.css';const k = "_dropzone_1uxat_1", I = "_dragging_1uxat_18", R = "_minimal_1uxat_22", l = {
|
|
7
|
+
dropzone: k,
|
|
8
|
+
dragging: I,
|
|
9
|
+
minimal: R
|
|
10
|
+
}, E = ({
|
|
11
|
+
accepts: p,
|
|
12
|
+
label: m = "Select files",
|
|
10
13
|
multiple: c = !1,
|
|
11
|
-
onChange:
|
|
12
|
-
|
|
14
|
+
onChange: t,
|
|
15
|
+
variant: f = "default",
|
|
16
|
+
...u
|
|
13
17
|
}) => {
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
const i = v(null), [g, n] = b(!1), o = (e) => {
|
|
19
|
+
e.preventDefault(), e.stopPropagation();
|
|
20
|
+
}, D = (e) => {
|
|
21
|
+
o(e), n(!1);
|
|
22
|
+
const a = Array.from(e.dataTransfer.files ?? []);
|
|
23
|
+
if (a.length === 0) return;
|
|
24
|
+
const _ = c ? a : a.slice(0, 1), s = i.current;
|
|
25
|
+
if (!s) return;
|
|
26
|
+
const d = new DataTransfer();
|
|
27
|
+
for (const z of _) d.items.add(z);
|
|
28
|
+
s.files = d.files, t == null || t({
|
|
29
|
+
target: s,
|
|
30
|
+
currentTarget: s
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
return /* @__PURE__ */ r("div", { className: y(l.dropzone, l[f], g && l.dragging), onDragEnter: (e) => {
|
|
34
|
+
o(e), n(!0);
|
|
35
|
+
}, onDragOver: (e) => {
|
|
36
|
+
o(e), n(!0);
|
|
37
|
+
}, onDragLeave: (e) => {
|
|
38
|
+
o(e), n(!1);
|
|
39
|
+
}, onDrop: D, ...u, "data-cy": "Dropzone", children: /* @__PURE__ */ x("label", { children: [
|
|
40
|
+
/* @__PURE__ */ r("input", { accept: p, hidden: !0, multiple: c, onChange: t, ref: i, type: "file" }),
|
|
41
|
+
/* @__PURE__ */ r(j, { name: "upload", size: f === "minimal" ? "medium" : "large" }),
|
|
42
|
+
/* @__PURE__ */ r("br", {}),
|
|
43
|
+
/* @__PURE__ */ r(T, { onClick: () => {
|
|
44
|
+
var e;
|
|
45
|
+
return (e = i.current) == null ? void 0 : e.click();
|
|
46
|
+
}, type: "button", children: m })
|
|
23
47
|
] }) });
|
|
24
48
|
};
|
|
25
49
|
export {
|
|
26
|
-
|
|
50
|
+
E as Dropzone
|
|
27
51
|
};
|
|
28
52
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/_dropzone/index.tsx"],"sourcesContent":["import { useRef } from 'react';\n\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport styles from './styles.module.css';\n\nexport type DropzoneProps = {\n accepts?: string;\n label: string;\n multiple?: boolean;\n onChange?: React.ChangeEventHandler<HTMLInputElement>;\n};\n\nexport const Dropzone = ({\n accepts,\n label = 'Select files',\n multiple = false,\n onChange,\n ...props\n}: DropzoneProps) => {\n const inputRef = useRef<HTMLInputElement>(null);\n\n return (\n <div\n className={styles.dropzone}\n {...props}\n >\n <label>\n <input\n accept={accepts}\n hidden\n multiple={multiple}\n onChange={onChange}\n ref={inputRef}\n type='file'\n />\n <Icon\n name='upload'\n size='large'\n />\n <br />\n <Button\n onClick={() => inputRef.current?.click()}\n type={'button'}\n >\n {label}\n </Button>\n </label>\n </div>\n );\n};\n"],"names":["Dropzone","accepts","label","multiple","onChange","props","inputRef","useRef","jsx","styles","dropzone","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/_dropzone/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { useRef, useState } from 'react';\n\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport styles from './styles.module.css';\n\nexport type DropzoneProps = {\n accepts?: string;\n label: string;\n multiple?: boolean;\n onChange?: React.ChangeEventHandler<HTMLInputElement>;\n variant?: 'default' | 'minimal';\n};\n\nexport const Dropzone = ({\n accepts,\n label = 'Select files',\n multiple = false,\n onChange,\n variant = 'default',\n ...props\n}: DropzoneProps) => {\n const inputRef = useRef<HTMLInputElement>(null);\n const [isDragging, setIsDragging] = useState(false);\n\n const prevent = (e: React.DragEvent) => {\n e.preventDefault();\n e.stopPropagation();\n };\n\n const handleDrop = (e: React.DragEvent<HTMLDivElement>) => {\n prevent(e);\n setIsDragging(false);\n\n const files = Array.from(e.dataTransfer.files ?? []);\n if (files.length === 0) return;\n\n const selected = multiple ? files : files.slice(0, 1);\n\n const input = inputRef.current;\n if (!input) return;\n\n const dt = new DataTransfer();\n for (const f of selected) dt.items.add(f);\n\n input.files = dt.files;\n\n onChange?.({ target: input, currentTarget: input } as React.ChangeEvent<HTMLInputElement>);\n };\n\n return (\n <div\n className={cx(styles.dropzone, styles[variant], isDragging && styles.dragging)}\n onDragEnter={(e) => {\n prevent(e);\n setIsDragging(true);\n }}\n onDragOver={(e) => {\n prevent(e);\n setIsDragging(true);\n }}\n onDragLeave={(e) => {\n prevent(e);\n setIsDragging(false);\n }}\n onDrop={handleDrop}\n {...props}\n >\n <label>\n <input\n accept={accepts}\n hidden\n multiple={multiple}\n onChange={onChange}\n ref={inputRef}\n type='file'\n />\n <Icon\n name='upload'\n size={variant === 'minimal' ? 'medium' : 'large'}\n />\n <br />\n <Button\n onClick={() => inputRef.current?.click()}\n type={'button'}\n >\n {label}\n </Button>\n </label>\n </div>\n );\n};\n"],"names":["Dropzone","accepts","label","multiple","onChange","variant","props","inputRef","useRef","isDragging","setIsDragging","useState","prevent","e","preventDefault","stopPropagation","handleDrop","files","Array","from","dataTransfer","length","selected","slice","input","current","dt","DataTransfer","f","items","add","target","currentTarget","jsx","cx","styles","dropzone","dragging","Icon","Button","click"],"mappings":";;;;;;;;;GAeaA,IAAWA,CAAC;AAAA,EACvBC,SAAAA;AAAAA,EACAC,OAAAA,IAAQ;AAAA,EACRC,UAAAA,IAAW;AAAA,EACXC,UAAAA;AAAAA,EACAC,SAAAA,IAAU;AAAA,EACV,GAAGC;AACU,MAAM;AACnB,QAAMC,IAAWC,EAAyB,IAAI,GACxC,CAACC,GAAYC,CAAa,IAAIC,EAAS,EAAK,GAE5CC,IAAUA,CAACC,MAAuB;AACtCA,MAAEC,eAAAA,GACFD,EAAEE,gBAAAA;AAAAA,EACJ,GAEMC,IAAaA,CAACH,MAAuC;AACzDD,IAAAA,EAAQC,CAAC,GACTH,EAAc,EAAK;AAEnB,UAAMO,IAAQC,MAAMC,KAAKN,EAAEO,aAAaH,SAAS,EAAE;AACnD,QAAIA,EAAMI,WAAW,EAAG;AAExB,UAAMC,IAAWnB,IAAWc,IAAQA,EAAMM,MAAM,GAAG,CAAC,GAE9CC,IAAQjB,EAASkB;AACvB,QAAI,CAACD,EAAO;AAEZ,UAAME,IAAK,IAAIC,aAAAA;AACf,eAAWC,KAAKN,EAAUI,CAAAA,EAAGG,MAAMC,IAAIF,CAAC;AAExCJ,IAAAA,EAAMP,QAAQS,EAAGT,OAEjBb,KAAAA,QAAAA,EAAW;AAAA,MAAE2B,QAAQP;AAAAA,MAAOQ,eAAeR;AAAAA,IAAAA;AAAAA,EAC7C;AAEA,SACE,gBAAAS,EAAC,OAAA,EACC,WAAWC,EAAGC,EAAOC,UAAUD,EAAO9B,CAAO,GAAGI,KAAc0B,EAAOE,QAAQ,GAC7E,aAAcxB,CAAAA,MAAM;AAClBD,IAAAA,EAAQC,CAAC,GACTH,EAAc,EAAI;AAAA,EACpB,GACA,YAAaG,CAAAA,MAAM;AACjBD,IAAAA,EAAQC,CAAC,GACTH,EAAc,EAAI;AAAA,EACpB,GACA,aAAcG,CAAAA,MAAM;AAClBD,IAAAA,EAAQC,CAAC,GACTH,EAAc,EAAK;AAAA,EACrB,GACA,QAAQM,GACR,GAAIV,GAAM,WAAA,YAEV,4BAAC,SAAA,EACC,UAAA;AAAA,IAAA,gBAAA2B,EAAC,SAAA,EACC,QAAQhC,GACR,QAAM,IACN,UAAAE,GACA,UAAAC,GACA,KAAKG,GACL,MAAK,OAAA,CAAM;AAAA,IAEb,gBAAA0B,EAACK,KACC,MAAK,UACL,MAAMjC,MAAY,YAAY,WAAW,SAAQ;AAAA,sBAElD,MAAA,EAAE;AAAA,IACH,gBAAA4B,EAACM,GAAA,EACC,SAAS,MAAA;;AAAMhC,cAAAA,IAAAA,EAASkB,YAATlB,gBAAAA,EAAkBiC;AAAAA,OACjC,MAAM,UAELtC,UAAAA,EAAAA,CACH;AAAA,EAAA,EAAA,CACF,EAAA,CACF;AAEJ;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index23.css');const t=require("react/jsx-runtime"),n=require("../message/index.cjs"),a="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index23.css');const t=require("react/jsx-runtime"),n=require("../message/index.cjs"),a="_messages_2wxws_1",r={messages:a},c=({messages:s})=>s.length?t.jsx("div",{className:r.messages,"data-cy":"Messages",children:s.map(e=>t.jsx(n.Message,{...e},e.id))}):null;exports.Messages=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Message as
|
|
3
|
-
import '../../assets/index23.css';const
|
|
4
|
-
messages:
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Message as a } from "../message/index.js";
|
|
3
|
+
import '../../assets/index23.css';const r = "_messages_2wxws_1", m = {
|
|
4
|
+
messages: r
|
|
5
5
|
}, c = ({
|
|
6
6
|
messages: s
|
|
7
|
-
}) => s.length ? /* @__PURE__ */
|
|
7
|
+
}) => s.length ? /* @__PURE__ */ t("div", { className: m.messages, "data-cy": "Messages", children: s.map((e) => /* @__PURE__ */ t(a, { ...e }, e.id)) }) : null;
|
|
8
8
|
export {
|
|
9
9
|
c as Messages
|
|
10
10
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const s=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),c=require("../../icons-C1LZmPn1.cjs"),n="_figure_1i6w9_1",f="_offset_1i6w9_33",t={figure:n,offset:f},u=({children:r,label:i,offset:e})=>s.jsxs("figure",{className:o.t(t.figure,e&&t.offset),style:{"--icon":c.iconSVG("image"),...e&&{[`--offset-${e}`]:"var(--offset)"}},"data-cy":"Figure",children:[r,i&&s.jsx("figcaption",{children:i})]});exports.Figure=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { t } from "../../classix-DG18itHa.js";
|
|
3
|
-
import { i as c } from "../../icons-
|
|
4
|
-
import '../../assets/index31.css';const g = "
|
|
3
|
+
import { i as c } from "../../icons-fH5mEW6T.js";
|
|
4
|
+
import '../../assets/index31.css';const g = "_figure_1i6w9_1", n = "_offset_1i6w9_33", e = {
|
|
5
5
|
figure: g,
|
|
6
6
|
offset: n
|
|
7
7
|
}, _ = ({
|
|
8
|
-
children:
|
|
9
|
-
label:
|
|
10
|
-
offset:
|
|
11
|
-
}) => /* @__PURE__ */
|
|
8
|
+
children: f,
|
|
9
|
+
label: o,
|
|
10
|
+
offset: i
|
|
11
|
+
}) => /* @__PURE__ */ r("figure", { className: t(e.figure, i && e.offset), style: {
|
|
12
12
|
"--icon": c("image"),
|
|
13
|
-
...
|
|
14
|
-
[`--offset-${
|
|
13
|
+
...i && {
|
|
14
|
+
[`--offset-${i}`]: "var(--offset)"
|
|
15
15
|
}
|
|
16
16
|
}, "data-cy": "Figure", children: [
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
f,
|
|
18
|
+
o && /* @__PURE__ */ s("figcaption", { children: o })
|
|
19
19
|
] });
|
|
20
20
|
export {
|
|
21
21
|
_ as Figure
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const r=require("react/jsx-runtime"),s=require("../../classix-5H4IWnMA.cjs"),d="_header_1mwd2_1",o="_jumbo_1mwd2_39",e={header:d,jumbo:o},u={default:e.default,jumbo:e.jumbo},c=({children:t,variant:a="default"})=>r.jsx("header",{className:s.t(e.header,u[a]),"data-cy":"Header",children:t});exports.Header=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { t as r } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/index8.css';const
|
|
4
|
-
header:
|
|
5
|
-
jumbo:
|
|
3
|
+
import '../../assets/index8.css';const d = "_header_1mwd2_1", m = "_jumbo_1mwd2_39", e = {
|
|
4
|
+
header: d,
|
|
5
|
+
jumbo: m
|
|
6
6
|
}, s = {
|
|
7
7
|
default: e.default,
|
|
8
8
|
jumbo: e.jumbo
|
|
9
|
-
},
|
|
10
|
-
children:
|
|
11
|
-
variant:
|
|
12
|
-
}) => /* @__PURE__ */
|
|
9
|
+
}, n = ({
|
|
10
|
+
children: a,
|
|
11
|
+
variant: t = "default"
|
|
12
|
+
}) => /* @__PURE__ */ o("header", { className: r(e.header, s[t]), "data-cy": "Header", children: a });
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
n as Header
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index32.css');const i=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),t=require("../../icons-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index32.css');const i=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),t=require("../../icons-C1LZmPn1.cjs"),l="_icon_or5bf_1",m="_small_or5bf_8",_="_medium_or5bf_13",g="_large_or5bf_18",u="_danger_or5bf_23",d="_primary_or5bf_31",f="_white_or5bf_35",e={icon:l,small:m,medium:_,large:g,danger:u,default:"_default_or5bf_27",primary:d,white:f,"gap-right":"_gap-right_or5bf_39","gap-left":"_gap-left_or5bf_43"},b={large:e.large,medium:e.medium,small:e.small},p={danger:e.danger,default:e.default,primary:e.primary,white:e.white},y=({gap:n="none",name:o,size:r="medium",variant:s="default"})=>{const a={maskImage:t.embedSVG(t.iconPaths[o].toString())};return i.jsx("span",{className:c.t(n!=="none"&&e[`gap-${n}`],b[r],e.icon,p[s]),style:a})},h=()=>Object.keys(t.iconPaths);exports.Icon=y;exports.Icons=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { t as i } from "../../classix-DG18itHa.js";
|
|
3
|
-
import { e as _, a as t } from "../../icons-
|
|
3
|
+
import { e as _, a as t } from "../../icons-fH5mEW6T.js";
|
|
4
4
|
import '../../assets/index32.css';const l = "_icon_or5bf_1", c = "_small_or5bf_8", f = "_medium_or5bf_13", g = "_large_or5bf_18", d = "_danger_or5bf_23", p = "_primary_or5bf_31", u = "_white_or5bf_35", e = {
|
|
5
5
|
icon: l,
|
|
6
6
|
small: c,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),a=require("react"),N=require("../../utils-D_TJ8wDc.cjs"),s=require("../../styles.module-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),a=require("react"),N=require("../../utils-D_TJ8wDc.cjs"),s=require("../../styles.module-BBfw-M3O.cjs"),C=a.forwardRef(({className:S,defaultCountryCode:r="+47",disabled:i=!1,label:h,placeholder:m,type:n="text",...e},g)=>{const[c,x]=a.useState(""),[l,d]=a.useState(""),{onChange:p,value:v,...y}=e,{touched:j,onBlur:f}=N.useTouched(v==="");a.useEffect(()=>{if(typeof e.onChange=="function"&&n==="tel"){const u={name:e.name,value:l?(c||r).split(" ").join("")+l.split(" ").join(""):void 0};e.onChange({target:u,currentTarget:u})}},[c,l]),a.useEffect(()=>{n==="tel"&&!e.value&&(d(""),x(""))},[e.value,n]);const q=t.jsxs(t.Fragment,{children:[t.jsx("input",{disabled:i,hidden:!0,onChange:p,pattern:void 0,placeholder:m,ref:g,type:n,value:v}),t.jsx("input",{type:"text",className:s.inputStyles.input,disabled:i,maxLength:5,onChange:u=>x(u.target.value),placeholder:r,value:c}),t.jsx("input",{type:"tel",className:o.t(s.inputStyles.input,j&&"touched"),disabled:i,maxLength:14,name:void 0,onChange:u=>d(u.target.value),onBlur:f,pattern:e.pattern,value:l,...y})]});return t.jsxs("label",{className:s.inputStyles.container,children:[h&&t.jsx("span",{className:o.t(s.inputStyles.label,e.required&&s.inputStyles.required),children:h}),n==="tel"?q:t.jsx("input",{ref:g,className:o.t(s.inputStyles.input,S,j&&"touched"),disabled:i,onBlur:f,placeholder:m,type:n,...e})]})});exports.Input=C;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as x, Fragment as P, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { t as c } from "../../classix-DG18itHa.js";
|
|
3
3
|
import { forwardRef as S, useState as N, useEffect as C } from "react";
|
|
4
4
|
import { u as T } from "../../utils-DXIJVVzz.js";
|
|
5
|
-
import { i as a } from "../../styles.module-
|
|
5
|
+
import { i as a } from "../../styles.module-BUHdj3im.js";
|
|
6
6
|
const b = S(({
|
|
7
7
|
className: j,
|
|
8
8
|
defaultCountryCode: l = "+47",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const c=require("react/jsx-runtime"),y=require("../../classix-5H4IWnMA.cjs"),u="_layout_ccypy_12",l="_home_ccypy_24",t={layout:u,home:l},n=({children:o,isLoading:e=!1,feature:s="home",...a})=>c.jsx("main",{className:y.t(t.layout,t[s],e&&"is-loading"),...a,"data-cy":"Layout",children:o});exports.Layout=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { t as
|
|
3
|
-
import '../../assets/index6.css';const
|
|
4
|
-
layout:
|
|
5
|
-
home:
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { t as m } from "../../classix-DG18itHa.js";
|
|
3
|
+
import '../../assets/index6.css';const e = "_layout_ccypy_12", l = "_home_ccypy_24", o = {
|
|
4
|
+
layout: e,
|
|
5
|
+
home: l
|
|
6
6
|
}, u = ({
|
|
7
7
|
children: t,
|
|
8
8
|
isLoading: a = !1,
|
|
9
|
-
feature:
|
|
10
|
-
...
|
|
11
|
-
}) => /* @__PURE__ */
|
|
9
|
+
feature: y = "home",
|
|
10
|
+
...s
|
|
11
|
+
}) => /* @__PURE__ */ c("main", { className: m(o.layout, o[y], a && "is-loading"), ...s, "data-cy": "Layout", children: t });
|
|
12
12
|
export {
|
|
13
13
|
u as Layout
|
|
14
14
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index34.css');const n=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index34.css');const n=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),s=require("react"),m="_list_xxfvt_1",y="_columns_xxfvt_14",i={list:m,columns:y},x=({children:r,className:l,twoColumns:o})=>{const c=s.Children.toArray(r).map((t,e)=>{if(s.isValidElement(t)&&t.type==="li")return t;const a=s.isValidElement(t)?t.key:e;return n.jsx("li",{"data-cy":"List",children:t},a??e)});return n.jsx("ul",{className:u.t(l,i.list,o&&i.columns),"data-cy":"List",children:c})};exports.List=x;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { t as c } from "../../classix-DG18itHa.js";
|
|
3
3
|
import s from "react";
|
|
4
|
-
import '../../assets/index34.css';const u = "
|
|
4
|
+
import '../../assets/index34.css';const u = "_list_xxfvt_1", p = "_columns_xxfvt_14", r = {
|
|
5
5
|
list: u,
|
|
6
6
|
columns: p
|
|
7
|
-
},
|
|
7
|
+
}, d = ({
|
|
8
8
|
children: n,
|
|
9
9
|
className: m,
|
|
10
10
|
twoColumns: i
|
|
@@ -18,6 +18,6 @@ import '../../assets/index34.css';const u = "_list_18s1o_1", p = "_columns_18s1o
|
|
|
18
18
|
return /* @__PURE__ */ o("ul", { className: c(m, r.list, i && r.columns), "data-cy": "List", children: l });
|
|
19
19
|
};
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
d as List
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index24.css');const s=require("react/jsx-runtime"),n=require("../icon/index.cjs"),o="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index24.css');const s=require("react/jsx-runtime"),n=require("../icon/index.cjs"),o="_message_bo202_1",c={message:o},i=({content:t,id:a,type:e="default"})=>s.jsxs("div",{className:c.message,"data-id":a,"data-type":e,"data-cy":"Message",children:[e=="system"&&s.jsx(n.Icon,{name:"info"}),t]});exports.Message=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as t, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as o } from "../icon/index.js";
|
|
3
|
-
import '../../assets/index24.css';const
|
|
4
|
-
message:
|
|
3
|
+
import '../../assets/index24.css';const n = "_message_bo202_1", r = {
|
|
4
|
+
message: n
|
|
5
5
|
}, g = ({
|
|
6
6
|
content: e,
|
|
7
7
|
id: a,
|
|
8
8
|
type: s = "default"
|
|
9
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
9
|
+
}) => /* @__PURE__ */ t("div", { className: r.message, "data-id": a, "data-type": s, "data-cy": "Message", children: [
|
|
10
10
|
s == "system" && /* @__PURE__ */ m(o, { name: "info" }),
|
|
11
11
|
e
|
|
12
12
|
] });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index20.css');const o=require("react/jsx-runtime"),e=require("../../classix-5H4IWnMA.cjs"),i="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index20.css');const o=require("react/jsx-runtime"),e=require("../../classix-5H4IWnMA.cjs"),i="_nav_8nmuv_1",r="_horizontal_8nmuv_7",c="_tabs_8nmuv_17",v="_pills_8nmuv_38",t={nav:i,horizontal:r,tabs:c,pills:v},u={default:t.default,pills:t.pills,tabs:t.tabs},_=({animation:a,children:n,horizontal:s=!1,variant:l="default"})=>o.jsx("nav",{className:e.t(a&&a,s&&t.horizontal,t.nav,u[l]),"data-orientation":s?"horizontal":"vertical","data-cy":"Nav",children:n});exports.Nav=_;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { t as r } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/index20.css';const i = "
|
|
3
|
+
import '../../assets/index20.css';const i = "_nav_8nmuv_1", v = "_horizontal_8nmuv_7", _ = "_tabs_8nmuv_17", c = "_pills_8nmuv_38", t = {
|
|
4
4
|
nav: i,
|
|
5
|
-
horizontal:
|
|
6
|
-
tabs:
|
|
7
|
-
pills:
|
|
8
|
-
},
|
|
9
|
-
default:
|
|
10
|
-
pills:
|
|
11
|
-
tabs:
|
|
12
|
-
},
|
|
13
|
-
animation:
|
|
14
|
-
children:
|
|
5
|
+
horizontal: v,
|
|
6
|
+
tabs: _,
|
|
7
|
+
pills: c
|
|
8
|
+
}, e = {
|
|
9
|
+
default: t.default,
|
|
10
|
+
pills: t.pills,
|
|
11
|
+
tabs: t.tabs
|
|
12
|
+
}, u = ({
|
|
13
|
+
animation: a,
|
|
14
|
+
children: n,
|
|
15
15
|
horizontal: s = !1,
|
|
16
|
-
variant:
|
|
17
|
-
}) => /* @__PURE__ */
|
|
16
|
+
variant: l = "default"
|
|
17
|
+
}) => /* @__PURE__ */ o("nav", { className: r(a && a, s && t.horizontal, t.nav, e[l]), "data-orientation": s ? "horizontal" : "vertical", "data-cy": "Nav", children: n });
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
u as Nav
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const l=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),s=require("react"),y=require("../../utils-D_TJ8wDc.cjs"),i=require("../../styles.module-BBfw-M3O.cjs"),j="_label_jvcm8_1",m="_textarea_jvcm8_9",o={label:j,textarea:m},v=({label:r,maxHeight:x="calc(15 * var(--unit))",...e})=>{const{touched:h,onBlur:d}=y.useTouched(e.value===""),n=s.useRef(null),[g,a]=s.useState("auto");s.useEffect(()=>{var t;e.value===""?a("auto"):a(`${(t=n.current)==null?void 0:t.scrollHeight}px`)},[e.value]);const f=t=>{var u;t.target.value?a(`${(u=n.current)==null?void 0:u.scrollHeight}px`):a("auto"),e.onChange&&e.onChange(t)};return l.jsxs("label",{"data-cy":"Textarea",children:[r&&l.jsx("span",{className:c.t(o.label,e.required&&i.inputStyles.required),children:r}),l.jsx("div",{style:{maxHeight:x},children:l.jsx("textarea",{className:c.t(i.inputStyles.input,o.textarea,h&&"touched"),onBlur:d,onChange:f,ref:n,style:{minHeight:g},...e})})]})};exports.Textarea=v;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/textarea/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport { useTouched } from '@/utils.ts';\n\nimport inputStyles from '../input/styles.module.css';\nimport styles from './styles.module.css';\n\nexport type TextareaProps = React.ComponentPropsWithoutRef<'textarea'> & {\n disabled?: boolean;\n label?: string;\n placeholder?: string;\n};\n\nexport const Textarea = ({
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/textarea/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { ChangeEvent, useEffect, useRef, useState } from 'react';\n\nimport { useTouched } from '@/utils.ts';\n\nimport inputStyles from '../input/styles.module.css';\nimport styles from './styles.module.css';\n\nexport type TextareaProps = React.ComponentPropsWithoutRef<'textarea'> & {\n disabled?: boolean;\n label?: string;\n maxHeight?: string;\n placeholder?: string;\n};\n\nexport const Textarea = ({\n label,\n maxHeight = 'calc(15 * var(--unit))',\n ...props\n}: TextareaProps) => {\n const { touched, onBlur } = useTouched(props.value === '');\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n const [parentHeight, setParentHeight] = useState('auto');\n\n useEffect(() => {\n if (props.value === '') {\n setParentHeight('auto');\n } else {\n setParentHeight(`${textAreaRef.current?.scrollHeight}px`);\n }\n }, [props.value]);\n\n const onChangeHandler = (event: ChangeEvent<HTMLTextAreaElement>) => {\n if (event.target.value) {\n setParentHeight(`${textAreaRef.current?.scrollHeight}px`);\n } else {\n setParentHeight('auto');\n }\n\n if (props.onChange) {\n props.onChange(event);\n }\n };\n\n return (\n <label>\n {label && (\n <span className={cx(styles.label, props.required && inputStyles.required)}>{label}</span>\n )}\n <div\n style={{\n maxHeight: maxHeight,\n }}\n >\n <textarea\n className={cx(inputStyles.input, styles.textarea, touched && 'touched')}\n onBlur={onBlur}\n onChange={onChangeHandler}\n ref={textAreaRef}\n style={{\n minHeight: parentHeight,\n }}\n {...props}\n ></textarea>\n </div>\n </label>\n );\n};\n"],"names":["Textarea","label","maxHeight","props","touched","onBlur","useTouched","value","textAreaRef","useRef","parentHeight","setParentHeight","useState","useEffect","current","scrollHeight","onChangeHandler","event","target","onChange","jsxs","jsx","cx","styles","required","inputStyles","input","textarea","minHeight"],"mappings":"oUAeaA,EAAWA,CAAC,CACvBC,MAAAA,EACAC,UAAAA,EAAY,yBACZ,GAAGC,CACU,IAAM,CACnB,KAAM,CAAEC,QAAAA,EAASC,OAAAA,CAAAA,EAAWC,aAAWH,EAAMI,QAAU,EAAE,EACnDC,EAAcC,EAAAA,OAA4B,IAAI,EAC9C,CAACC,EAAcC,CAAe,EAAIC,EAAAA,SAAS,MAAM,EAEvDC,EAAAA,UAAU,IAAM,OACVV,EAAMI,QAAU,GAClBI,EAAgB,MAAM,EAEtBA,EAAgB,IAAGH,EAAAA,EAAYM,UAAZN,YAAAA,EAAqBO,YAAY,IAAI,CAE5D,EAAG,CAACZ,EAAMI,KAAK,CAAC,EAEhB,MAAMS,EAAmBC,GAA4C,OAC/DA,EAAMC,OAAOX,MACfI,EAAgB,IAAGH,EAAAA,EAAYM,UAAZN,YAAAA,EAAqBO,YAAY,IAAI,EAExDJ,EAAgB,MAAM,EAGpBR,EAAMgB,UACRhB,EAAMgB,SAASF,CAAK,CAExB,EAEA,OACEG,EAAAA,KAAC,QAAA,CAAK,UAAA,WACHnB,SAAAA,CAAAA,GACCoB,EAAAA,IAAC,OAAA,CAAK,UAAWC,EAAAA,EAAGC,EAAOtB,MAAOE,EAAMqB,UAAYC,EAAAA,YAAYD,QAAQ,EAAIvB,SAAAA,CAAAA,CAAM,EAEpFoB,MAAC,OACC,MAAO,CACLnB,UAAAA,CAAAA,EAGF,SAAAmB,EAAAA,IAAC,WAAA,CACC,UAAWC,IAAGG,EAAAA,YAAYC,MAAOH,EAAOI,SAAUvB,GAAW,SAAS,EACtE,OAAAC,EACA,SAAUW,EACV,IAAKR,EACL,MAAO,CACLoB,UAAWlB,CAAAA,EAEb,GAAIP,CAAAA,CACL,CAAA,CACH,CAAA,EACF,CAEJ"}
|
|
@@ -1,24 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { t as o } from "../../classix-DG18itHa.js";
|
|
3
|
+
import { useRef as g, useState as v, useEffect as H } from "react";
|
|
4
|
+
import { u as _ } from "../../utils-DXIJVVzz.js";
|
|
5
|
+
import { i as s } from "../../styles.module-BUHdj3im.js";
|
|
6
|
+
import '../../assets/index3.css';const y = "_label_jvcm8_1", b = "_textarea_jvcm8_9", u = {
|
|
7
|
+
label: y,
|
|
8
|
+
textarea: b
|
|
9
|
+
}, R = ({
|
|
10
|
+
label: n,
|
|
11
|
+
maxHeight: i = "calc(15 * var(--unit))",
|
|
10
12
|
...e
|
|
11
13
|
}) => {
|
|
12
14
|
const {
|
|
13
|
-
touched:
|
|
14
|
-
onBlur:
|
|
15
|
-
} =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
touched: h,
|
|
16
|
+
onBlur: m
|
|
17
|
+
} = _(e.value === ""), r = g(null), [f, a] = v("auto");
|
|
18
|
+
H(() => {
|
|
19
|
+
var t;
|
|
20
|
+
e.value === "" ? a("auto") : a(`${(t = r.current) == null ? void 0 : t.scrollHeight}px`);
|
|
21
|
+
}, [e.value]);
|
|
22
|
+
const x = (t) => {
|
|
23
|
+
var c;
|
|
24
|
+
t.target.value ? a(`${(c = r.current) == null ? void 0 : c.scrollHeight}px`) : a("auto"), e.onChange && e.onChange(t);
|
|
25
|
+
};
|
|
26
|
+
return /* @__PURE__ */ d("label", { "data-cy": "Textarea", children: [
|
|
27
|
+
n && /* @__PURE__ */ l("span", { className: o(u.label, e.required && s.required), children: n }),
|
|
28
|
+
/* @__PURE__ */ l("div", { style: {
|
|
29
|
+
maxHeight: i
|
|
30
|
+
}, children: /* @__PURE__ */ l("textarea", { className: o(s.input, u.textarea, h && "touched"), onBlur: m, onChange: x, ref: r, style: {
|
|
31
|
+
minHeight: f
|
|
32
|
+
}, ...e }) })
|
|
19
33
|
] });
|
|
20
34
|
};
|
|
21
35
|
export {
|
|
22
|
-
|
|
36
|
+
R as Textarea
|
|
23
37
|
};
|
|
24
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/textarea/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport { useTouched } from '@/utils.ts';\n\nimport inputStyles from '../input/styles.module.css';\nimport styles from './styles.module.css';\n\nexport type TextareaProps = React.ComponentPropsWithoutRef<'textarea'> & {\n disabled?: boolean;\n label?: string;\n placeholder?: string;\n};\n\nexport const Textarea = ({
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/textarea/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { ChangeEvent, useEffect, useRef, useState } from 'react';\n\nimport { useTouched } from '@/utils.ts';\n\nimport inputStyles from '../input/styles.module.css';\nimport styles from './styles.module.css';\n\nexport type TextareaProps = React.ComponentPropsWithoutRef<'textarea'> & {\n disabled?: boolean;\n label?: string;\n maxHeight?: string;\n placeholder?: string;\n};\n\nexport const Textarea = ({\n label,\n maxHeight = 'calc(15 * var(--unit))',\n ...props\n}: TextareaProps) => {\n const { touched, onBlur } = useTouched(props.value === '');\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n const [parentHeight, setParentHeight] = useState('auto');\n\n useEffect(() => {\n if (props.value === '') {\n setParentHeight('auto');\n } else {\n setParentHeight(`${textAreaRef.current?.scrollHeight}px`);\n }\n }, [props.value]);\n\n const onChangeHandler = (event: ChangeEvent<HTMLTextAreaElement>) => {\n if (event.target.value) {\n setParentHeight(`${textAreaRef.current?.scrollHeight}px`);\n } else {\n setParentHeight('auto');\n }\n\n if (props.onChange) {\n props.onChange(event);\n }\n };\n\n return (\n <label>\n {label && (\n <span className={cx(styles.label, props.required && inputStyles.required)}>{label}</span>\n )}\n <div\n style={{\n maxHeight: maxHeight,\n }}\n >\n <textarea\n className={cx(inputStyles.input, styles.textarea, touched && 'touched')}\n onBlur={onBlur}\n onChange={onChangeHandler}\n ref={textAreaRef}\n style={{\n minHeight: parentHeight,\n }}\n {...props}\n ></textarea>\n </div>\n </label>\n );\n};\n"],"names":["Textarea","label","maxHeight","props","touched","onBlur","useTouched","value","textAreaRef","useRef","parentHeight","setParentHeight","useState","useEffect","current","scrollHeight","onChangeHandler","event","target","onChange","jsxs","jsx","cx","styles","required","inputStyles","input","textarea","minHeight"],"mappings":";;;;;;;;GAeaA,IAAWA,CAAC;AAAA,EACvBC,OAAAA;AAAAA,EACAC,WAAAA,IAAY;AAAA,EACZ,GAAGC;AACU,MAAM;AACnB,QAAM;AAAA,IAAEC,SAAAA;AAAAA,IAASC,QAAAA;AAAAA,EAAAA,IAAWC,EAAWH,EAAMI,UAAU,EAAE,GACnDC,IAAcC,EAA4B,IAAI,GAC9C,CAACC,GAAcC,CAAe,IAAIC,EAAS,MAAM;AAEvDC,EAAAA,EAAU,MAAM;;AACd,IAAIV,EAAMI,UAAU,KAClBI,EAAgB,MAAM,IAEtBA,EAAgB,IAAGH,IAAAA,EAAYM,YAAZN,gBAAAA,EAAqBO,YAAY,IAAI;AAAA,EAE5D,GAAG,CAACZ,EAAMI,KAAK,CAAC;AAEhB,QAAMS,IAAkBA,CAACC,MAA4C;;AACnE,IAAIA,EAAMC,OAAOX,QACfI,EAAgB,IAAGH,IAAAA,EAAYM,YAAZN,gBAAAA,EAAqBO,YAAY,IAAI,IAExDJ,EAAgB,MAAM,GAGpBR,EAAMgB,YACRhB,EAAMgB,SAASF,CAAK;AAAA,EAExB;AAEA,SACE,gBAAAG,EAAC,SAAA,EAAK,WAAA,YACHnB,UAAAA;AAAAA,IAAAA,KACC,gBAAAoB,EAAC,QAAA,EAAK,WAAWC,EAAGC,EAAOtB,OAAOE,EAAMqB,YAAYC,EAAYD,QAAQ,GAAIvB,UAAAA,EAAAA,CAAM;AAAA,IAEpF,gBAAAoB,EAAC,SACC,OAAO;AAAA,MACLnB,WAAAA;AAAAA,IAAAA,GAGF,UAAA,gBAAAmB,EAAC,YAAA,EACC,WAAWC,EAAGG,EAAYC,OAAOH,EAAOI,UAAUvB,KAAW,SAAS,GACtE,QAAAC,GACA,UAAUW,GACV,KAAKR,GACL,OAAO;AAAA,MACLoB,WAAWlB;AAAAA,IAAAA,GAEb,GAAIP,EAAAA,CACL,EAAA,CACH;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const h={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",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",error:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z",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",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",image:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z",info:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",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",menu:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5",mobile:"M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3",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",success:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z",trash:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0",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"};function a(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 M=m=>a(h[m]);exports.embedSVG=a;exports.iconPaths=h;exports.iconSVG=M;
|
|
2
|
-
//# sourceMappingURL=icons-
|
|
1
|
+
"use strict";const h={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",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",error:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z",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",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",image:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z",info:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z",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",menu:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5",mobile:"M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3",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",plane:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5",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",success:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z",trash:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0",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"};function a(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 M=m=>a(h[m]);exports.embedSVG=a;exports.iconPaths=h;exports.iconSVG=M;
|
|
2
|
+
//# sourceMappingURL=icons-C1LZmPn1.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons-
|
|
1
|
+
{"version":3,"file":"icons-C1LZmPn1.cjs","sources":["../src/components/icon/icons.ts"],"sourcesContent":["export type IconName = keyof typeof iconPaths;\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 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 error:\n 'M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z',\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 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 image:\n 'm2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z',\n info: 'm11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z',\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 menu: 'M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5',\n mobile:\n 'M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3',\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 plane:\n 'M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5',\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 success: 'M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z',\n trash:\n 'm14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0',\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 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 iconSVG = (name: IconName) => embedSVG(iconPaths[name]);\n"],"names":["iconPaths","bold","buildings","card","chevron","clipboard","document","error","gear","home","image","info","italic","link","list","menu","mobile","pencil","people","phone","plane","plus","search","success","trash","upload","user","x","embedSVG","iconPath","iconSVG","name"],"mappings":"aAEO,MAAMA,EAAY,CACvBC,KAAM,uUACNC,UACE,6SACFC,KAAM,+TACNC,QAAS,6BACTC,UACE,iiBACFC,SACE,oQACFC,MACE,mLACFC,KAAM,2eACNC,KAAM,6OACNC,MACE,0TACFC,KAAM,2JACNC,OAAQ,8EACRC,KAAM,4KACNC,KAAM,wRACNC,KAAM,+CACNC,OACE,uKACFC,OACE,2PACFC,OACE,4XACFC,MACE,oWACFC,MACE,oGACFC,KAAM,yBACNC,OAAQ,gFACRC,QAAS,iEACTC,MACE,gaACFC,OACE,6GACFC,KAAM,0JACNC,EAAG,sBACL,EAEO,SAASC,EAASC,EAA0B,CACjD,MAAO,mMAAmMA,CAAQ,uBACpN,CAEO,MAAMC,EAAWC,GAAmBH,EAAS5B,EAAU+B,CAAI,CAAC"}
|
|
@@ -18,6 +18,7 @@ const h = {
|
|
|
18
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
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
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
|
+
plane: "M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5",
|
|
21
22
|
plus: "M12 4.5v15m7.5-7.5h-15",
|
|
22
23
|
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
24
|
success: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z",
|
|
@@ -35,4 +36,4 @@ export {
|
|
|
35
36
|
a as e,
|
|
36
37
|
M as i
|
|
37
38
|
};
|
|
38
|
-
//# sourceMappingURL=icons-
|
|
39
|
+
//# sourceMappingURL=icons-fH5mEW6T.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons-
|
|
1
|
+
{"version":3,"file":"icons-fH5mEW6T.js","sources":["../src/components/icon/icons.ts"],"sourcesContent":["export type IconName = keyof typeof iconPaths;\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 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 error:\n 'M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z',\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 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 image:\n 'm2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z',\n info: 'm11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z',\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 menu: 'M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5',\n mobile:\n 'M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3',\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 plane:\n 'M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5',\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 success: 'M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z',\n trash:\n 'm14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0',\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 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 iconSVG = (name: IconName) => embedSVG(iconPaths[name]);\n"],"names":["iconPaths","bold","buildings","card","chevron","clipboard","document","error","gear","home","image","info","italic","link","list","menu","mobile","pencil","people","phone","plane","plus","search","success","trash","upload","user","x","embedSVG","iconPath","iconSVG","name"],"mappings":"AAEO,MAAMA,IAAY;AAAA,EACvBC,MAAM;AAAA,EACNC,WACE;AAAA,EACFC,MAAM;AAAA,EACNC,SAAS;AAAA,EACTC,WACE;AAAA,EACFC,UACE;AAAA,EACFC,OACE;AAAA,EACFC,MAAM;AAAA,EACNC,MAAM;AAAA,EACNC,OACE;AAAA,EACFC,MAAM;AAAA,EACNC,QAAQ;AAAA,EACRC,MAAM;AAAA,EACNC,MAAM;AAAA,EACNC,MAAM;AAAA,EACNC,QACE;AAAA,EACFC,QACE;AAAA,EACFC,QACE;AAAA,EACFC,OACE;AAAA,EACFC,OACE;AAAA,EACFC,MAAM;AAAA,EACNC,QAAQ;AAAA,EACRC,SAAS;AAAA,EACTC,OACE;AAAA,EACFC,QACE;AAAA,EACFC,MAAM;AAAA,EACNC,GAAG;AACL;AAEO,SAASC,EAASC,GAA0B;AACjD,SAAO,mMAAmMA,CAAQ;AACpN;AAEO,MAAMC,IAAUA,CAACC,MAAmBH,EAAS5B,EAAU+B,CAAI,CAAC;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -109,13 +109,14 @@ declare type DialogProps = default_2.DialogHTMLAttributes<HTMLDialogElement> & {
|
|
|
109
109
|
setOpen?: default_2.Dispatch<default_2.SetStateAction<boolean>>;
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
export declare const Dropzone: ({ accepts, label, multiple, onChange, ...props }: DropzoneProps) => JSX.Element;
|
|
112
|
+
export declare const Dropzone: ({ accepts, label, multiple, onChange, variant, ...props }: DropzoneProps) => JSX.Element;
|
|
113
113
|
|
|
114
114
|
declare type DropzoneProps = {
|
|
115
115
|
accepts?: string;
|
|
116
116
|
label: string;
|
|
117
117
|
multiple?: boolean;
|
|
118
118
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
119
|
+
variant?: 'default' | 'minimal';
|
|
119
120
|
};
|
|
120
121
|
|
|
121
122
|
export declare const Editor: ({ autofocus, autolink, content, inline, onChange, }: EditorProps) => JSX.Element;
|
|
@@ -193,6 +194,7 @@ declare const iconPaths: {
|
|
|
193
194
|
pencil: string;
|
|
194
195
|
people: string;
|
|
195
196
|
phone: string;
|
|
197
|
+
plane: string;
|
|
196
198
|
plus: string;
|
|
197
199
|
search: string;
|
|
198
200
|
success: string;
|
|
@@ -313,11 +315,12 @@ declare type SortItem = {
|
|
|
313
315
|
weight: number;
|
|
314
316
|
};
|
|
315
317
|
|
|
316
|
-
export declare const Textarea: ({ label, ...props }: TextareaProps) => JSX.Element;
|
|
318
|
+
export declare const Textarea: ({ label, maxHeight, ...props }: TextareaProps) => JSX.Element;
|
|
317
319
|
|
|
318
320
|
declare type TextareaProps = React.ComponentPropsWithoutRef<'textarea'> & {
|
|
319
321
|
disabled?: boolean;
|
|
320
322
|
label?: string;
|
|
323
|
+
maxHeight?: string;
|
|
321
324
|
placeholder?: string;
|
|
322
325
|
};
|
|
323
326
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.module-BBfw-M3O.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './assets/styles.css';const n = "_container_4fv7u_1", e = "_input_4fv7u_10", t = "_label_4fv7u_44", _ = "_required_4fv7u_48", i = {
|
|
2
|
+
container: n,
|
|
3
|
+
input: e,
|
|
4
|
+
label: t,
|
|
5
|
+
required: _
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
i
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=styles.module-BUHdj3im.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.module-BUHdj3im.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.module-Cr05rVxs.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import './assets/styles.css';const n = "_container_1jnn4_1", e = "_input_1jnn4_10", t = "_label_1jnn4_43", _ = "_required_1jnn4_47", i = {
|
|
2
|
-
container: n,
|
|
3
|
-
input: e,
|
|
4
|
-
label: t,
|
|
5
|
-
required: _
|
|
6
|
-
};
|
|
7
|
-
export {
|
|
8
|
-
i
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=styles.module-Dep_cSM2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.module-Dep_cSM2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|