@solibo/solibo-ui 0.4.2 → 0.4.4
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/README.md +7 -13
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/components/_card/index.cjs +1 -1
- package/dist/components/_card/index.js +18 -18
- package/dist/components/_dropzone/index.cjs +1 -1
- package/dist/components/_dropzone/index.js +15 -15
- package/dist/components/aside/index.cjs +1 -1
- package/dist/components/aside/index.js +5 -5
- package/dist/components/branding/index.cjs +1 -1
- package/dist/components/branding/index.js +9 -9
- package/dist/components/controls/index.cjs +1 -1
- package/dist/components/controls/index.cjs.map +1 -1
- package/dist/components/controls/index.js +7 -7
- package/dist/components/controls/index.js.map +1 -1
- package/dist/components/dialog/index.cjs +1 -1
- package/dist/components/dialog/index.cjs.map +1 -1
- package/dist/components/dialog/index.js +8 -8
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/file/index.cjs +1 -1
- package/dist/components/file/index.js +3 -3
- package/dist/components/group/index.cjs +1 -1
- package/dist/components/group/index.cjs.map +1 -1
- package/dist/components/group/index.js +4 -4
- package/dist/components/group/index.js.map +1 -1
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.js +11 -11
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +16 -16
- package/dist/components/toolbar/index.cjs +1 -1
- package/dist/components/toolbar/index.js +4 -4
- package/dist/tokens.css +207 -72
- package/dist/tokens.json +2130 -231
- package/package.json +2 -1
package/dist/assets/index10.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._file_4fkv5_1{align-items:center;background-color:var(--color-white);border-radius:var(--unit);border:var(--border-width-heavy) solid var(--color-white);box-shadow:var(--shadow);display:inline-flex;gap:calc(3 * var(--border-width));max-width:100%;min-width:0}._file_4fkv5_1 a{color:var(--color-primary);padding:var(--unit);transition:background-color var(--transition-duration) var(--transition-timing-function) var(--transition-delay)}._file_4fkv5_1 a:first-of-type{border-radius:var(--unit);cursor:default;display:inline-block;flex:1 1 auto;font-weight:var(--font-weight-semibold);max-width:100%;min-width:0;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}._file_4fkv5_1 a:first-of-type[role=document]:hover{background-color:var(--color-highlight);cursor:pointer}._file_4fkv5_1 a:first-of-type:has(+a){border-radius:var(--unit) 0 0 var(--unit)}._file_4fkv5_1 a:first-of-type:visited{opacity:var(--opacity-visited)}._file_4fkv5_1 a:first-of-type span{margin-right:var(--unit-small)}._file_4fkv5_1 ._delete_4fkv5_50{border-radius:0 var(--unit) var(--unit) 0;cursor:pointer;flex:0 0 auto;position:relative}._file_4fkv5_1 ._delete_4fkv5_50:before{content:"";position:absolute;left:calc(-1 * var(--unit-micro));top:0;width:var(--border-width);height:100%;background-color:var(--colors-semantic-border-default)}._file_4fkv5_1 ._delete_4fkv5_50:hover{background-color:var(--color-red-light)}
|
package/dist/assets/index19.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._card_10dkp_1{background-color:var(--color-white);border:var(--border-width) solid var(--colors-semantic-border-default);border-radius:var(--border-radius);cursor:pointer;box-shadow:var(--shadow-big);max-width:100%!important;min-width:0;overflow:hidden!important;padding:var(--padding-box);position:relative;text-overflow:ellipsis;transition:width var(--transition-duration) var(--transition-timing-function)}._card_10dkp_1._draft_10dkp_15{background-color:var(--colors-orange-50)}._card_10dkp_1._scheduled_10dkp_19{opacity:.5}._card_10dkp_1 ._image_10dkp_23{margin:0 var(--negative-unit);width:100%}._card_10dkp_1 ._image_10dkp_23 img{height:calc(12 * var(--unit));width:calc(100% + calc(2 * var(--unit)))}._card_10dkp_1 ._image_10dkp_23>*{border-bottom-left-radius:0;border-bottom-right-radius:0}._card_10dkp_1 [data-component=croppable]{margin:var(--negative-unit);width:calc(100% + calc(2 * var(--unit)))}._card_10dkp_1 [data-component=list]{min-width:0}._card_10dkp_1 [data-component=list] li{max-width:100%;min-width:0}._card_10dkp_1 [data-component=list] li>a{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._card_10dkp_1 [data-component=list] li>[data-component=file]{width:100%}
|
package/dist/assets/index23.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._dropzone_1xbnl_1{background-color:var(--color-white);border:1px dashed var(--colors-semantic-border-default);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_1xbnl_1 label{cursor:pointer}._dropzone_1xbnl_1 [data-component=icon]{margin-bottom:var(--unit)}._dropzone_1xbnl_1._dragging_1xbnl_18{background-color:var(--color-purple-light)}._dropzone_1xbnl_1._minimal_1xbnl_22{background-color:transparent;border:none;border-radius:0;cursor:pointer;padding:calc(var(--unit) - 2px);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._dropzone_1xbnl_1._minimal_1xbnl_22:hover{background-color:var(--color-surface-active)}._dropzone_1xbnl_1._minimal_1xbnl_22 [data-component=icon]{margin-bottom:0}
|
package/dist/assets/index31.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._aside_1szf9_1{background-color:var(--color-white)}._aside_1szf9_1 footer{position:absolute;bottom:0}._aside_1szf9_1 section{padding:var(--unit) 0}._meta_1szf9_14{min-height:100vh;padding:var(--unit)}._meta_1szf9_14 [data-component=croppable]{border-radius:var(--unit);margin-top:calc(var(--unit) * 4)}._meta_1szf9_14 [data-component=croppable] div{border-radius:var(--unit)}._meta_1szf9_14 a{text-decoration:none}._meta_1szf9_14 a:hover,._meta_1szf9_14 a:focus{text-decoration:underline}._meta_1szf9_14 section:has(+section){border-bottom:var(--border-width) solid var(--colors-semantic-border-default)}._sticky_1szf9_41{position:-webkit-sticky;position:sticky;top:0}
|
package/dist/assets/index32.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._branding_uq0pm_1{display:inline-block;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}._default_uq0pm_7{background-color:var(--color-primary)}._white_uq0pm_11{background-color:var(--color-white)}
|
package/dist/assets/index38.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._horizontal_ham8z_1{display:block}._horizontal_ham8z_1 li{display:inline-block;margin-right:var(--unit);max-width:100%;min-width:0}._list_ham8z_12{display:block;list-style-type:none;min-width:0}._list_ham8z_12 li{list-style:none;margin-bottom:var(--unit);max-width:100%;min-width:0;padding-left:0}._list_ham8z_12 li>li,._list_ham8z_12 li>details li{margin-left:var(--unit)}._list_ham8z_12 li>section{border-bottom:var(--border-width) solid var(--colors-semantic-border-default)}._list_ham8z_12 li>section:first-child{border-top:var(--border-width) solid var(--colors-semantic-border-default)}._list_ham8z_12 li>section:last-of-type{border-bottom:none}._list_ham8z_12 li:has([data-span=all]){grid-column:1 / -1}._list_ham8z_12 li:last-child{margin-bottom:0}._columns_ham8z_51{-moz-column-gap:var(--unit);column-gap:var(--unit);display:grid;grid-template-columns:repeat(var(--list-columns, 2),minmax(0,1fr))}@media (width <= 960px){._columns_ham8z_51{grid-template-columns:1fr}}
|
package/dist/assets/index40.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._nav_joer2_1 a{display:block}._horizontal_joer2_7 a,._horizontal_joer2_7 li{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._tabs_joer2_17{@extend .horizontal;border-bottom:var(--border-width) solid var(--colors-semantic-border-default);display:flex;gap:var(--unit)}._tabs_joer2_17 a,._tabs_joer2_17 li{color:var(--color-outer-space);font-weight:var(--font-weight-semibold);padding:var(--unit-tiny) var(--unit-micro) var(--unit-small) var(--unit-micro);text-decoration:none}._tabs_joer2_17 a[aria-current=page],._tabs_joer2_17 li[aria-current=page]{color:var(--color-electric-violet);border-bottom:var(--border-width) solid var(--color-electric-violet)}._pills_joer2_38{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_joer2_38:has(>:only-child){display:none}._pills_joer2_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),top var(--transition-duration) var(--transition-timing-function),width var(--transition-duration) var(--transition-timing-function);width:anchor-size(width);z-index:0}._pills_joer2_38 a{border-radius:var(--unit-large);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_joer2_38 a[aria-current=page]{anchor-name:--current;color:var(--color-white)}._pills_joer2_38 a[aria-current=page]:hover{color:var(--color-white)}@media (width <= 960px){._pills_joer2_38{flex-direction:column}._pills_joer2_38 a[aria-current=page]{background-color:var(--color-electric-violet)}._pills_joer2_38 a[aria-current=page]:after{background-color:var(--color-white);content:"";display:inline-block;height:var(--unit);margin-left:var(--unit-small);-webkit-mask-image:var(--icon-svg);mask-image:var(--icon-svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;transition:transform var(--transition-duration) var(--transition-timing-function);vertical-align:middle;width:var(--unit)}._pills_joer2_38 a:not([aria-current=page]){display:none}._pills_joer2_38[data-open=true] a{display:block}._pills_joer2_38[data-open=true] a[aria-current=page]:after{transform:rotateX(180deg)}._pills_joer2_38:before{display:none}}@supports not (position-anchor: --x){._pills_joer2_38:before{display:none}._pills_joer2_38 a[aria-current=page]{background:var(--color-electric-violet);color:var(--color-white)}}
|
package/dist/assets/index44.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._toolbar_kuorz_1{-webkit-backdrop-filter:blur(var(--unit-tiny));backdrop-filter:blur(var(--unit-tiny));background-color:var(--color-translucent);border:var(--border-width) solid var(--colors-semantic-border-default);border-radius:var(--border-radius);position:absolute;right:var(--unit-tiny);top:var(--unit-tiny)}._toolbar_kuorz_1 [data-component=button][data-active=true]{background-color:var(--color-surface-active);box-shadow:inset 0 0 2px var(--color-primary-dark)}._toolbar_kuorz_1 [data-component=button][data-active=true] [data-component=icon]{background-color:var(--color-primary-dark)}._toolbar_kuorz_1 [data-component=button]:not([disabled]):hover{background-color:var(--color-surface-active)}._default_kuorz_26 button{border-radius:var(--border-radius);display:inline-block}._editor_kuorz_33{background-color:var(--color-neutral-light);border:none;border-bottom:var(--border-width) solid var(--colors-semantic-border-default);border-radius:var(--border-radius) var(--border-radius) 0 0;overflow:hidden;position:initial;right:0;top:0}._editor_kuorz_33 button{display:inline-block}._editor_kuorz_33 button:first-child{border-top-left-radius:var(--border-radius)}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index19.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index19.css');const c=require("react/jsx-runtime"),n=require("../../classix-5H4IWnMA.cjs"),i=require("../figure/index.cjs"),o="_card_10dkp_1",l="_draft_10dkp_15",u="_scheduled_10dkp_19",_="_image_10dkp_23",e={card:o,draft:l,scheduled:u,image:_},m=({children:r,draft:s,image:d,onClick:t,scheduled:a})=>c.jsxs("article",{className:n.t(e.card,s&&e.draft,a&&e.scheduled),onClick:t,"data-component":"card",children:[d&&c.jsx(i.Figure,{className:e.image,children:d}),r]});exports.Card=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
2
|
-
import { t as
|
|
3
|
-
import { Figure as
|
|
4
|
-
import '../../assets/index19.css';const
|
|
5
|
-
card:
|
|
6
|
-
draft:
|
|
7
|
-
scheduled:
|
|
8
|
-
image:
|
|
9
|
-
},
|
|
10
|
-
children:
|
|
11
|
-
draft:
|
|
12
|
-
image:
|
|
13
|
-
onClick:
|
|
14
|
-
scheduled:
|
|
15
|
-
}) => /* @__PURE__ */ s("article", { className:
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { t as m } from "../../classix-DG18itHa.js";
|
|
3
|
+
import { Figure as _ } from "../figure/index.js";
|
|
4
|
+
import '../../assets/index19.css';const n = "_card_10dkp_1", i = "_draft_10dkp_15", l = "_scheduled_10dkp_19", p = "_image_10dkp_23", d = {
|
|
5
|
+
card: n,
|
|
6
|
+
draft: i,
|
|
7
|
+
scheduled: l,
|
|
8
|
+
image: p
|
|
9
|
+
}, g = ({
|
|
10
|
+
children: c,
|
|
11
|
+
draft: e,
|
|
12
|
+
image: r,
|
|
13
|
+
onClick: a,
|
|
14
|
+
scheduled: t
|
|
15
|
+
}) => /* @__PURE__ */ s("article", { className: m(d.card, e && d.draft, t && d.scheduled), onClick: a, "data-component": "card", children: [
|
|
16
|
+
r && /* @__PURE__ */ o(_, { className: d.image, children: r }),
|
|
17
|
+
c
|
|
18
18
|
] });
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
g as Card
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index23.css');const i=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index23.css');const i=require("react/jsx-runtime"),h=require("../../classix-5H4IWnMA.cjs"),x=require("react"),q=require("../button/index.cjs"),I=require("../icon/index.cjs"),R="_dropzone_1xbnl_1",T="_dragging_1xbnl_18",S="_minimal_1xbnl_22",g={dropzone:R,dragging:T,minimal:S},k=({accepts:z,label:F="Select files",maxFileSize:m,multiple:d=!1,onChange:n,onValidation:a,variant:p="default",...D})=>{const f=x.useRef(null),[y,o]=x.useState(!1),c=e=>{e.preventDefault(),e.stopPropagation()},_=e=>{const t=f.current;if(!t)return;const s=new DataTransfer;for(const r of e)s.items.add(r);t.files=s.files,n==null||n({target:t,currentTarget:t})},v=e=>{const{validFiles:t,emptyFiles:s,oversizedFiles:r}=e.reduce((u,l)=>(l.size===0?u.emptyFiles.push(l):m&&l.size>m?u.oversizedFiles.push(l):u.validFiles.push(l),u),{validFiles:[],emptyFiles:[],oversizedFiles:[]});return(s.length>0||r.length>0)&&(a==null||a(s,r)),t},b=e=>{c(e),o(!1);const t=Array.from(e.dataTransfer.files??[]),s=v(t);if(s.length===0)return;const r=d?s:s.slice(0,1);_(r)},j=e=>{const t=Array.from(e.target.files??[]),s=v(t);if(s.length===t.length){n==null||n(e);return}const r=d?s:s.slice(0,1);_(r)};return i.jsx("div",{className:h.t(g.dropzone,g[p],y&&g.dragging),onDragEnter:e=>{c(e),o(!0)},onDragOver:e=>{c(e),o(!0)},onDragLeave:e=>{c(e),o(!1)},onDrop:b,...D,"data-component":"dropzone",children:i.jsxs("label",{children:[i.jsx("input",{accept:z,hidden:!0,multiple:d,onChange:j,ref:f,type:"file"}),i.jsx(I.Icon,{name:"upload",size:p==="minimal"?"medium":"large"}),i.jsx("br",{}),p!=="minimal"&&i.jsx(q.Button,{onClick:()=>{var e;return(e=f.current)==null?void 0:e.click()},type:"button",children:F})]})})};exports.Dropzone=k;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
2
|
-
import { t as
|
|
3
|
-
import { useRef as
|
|
4
|
-
import { Button as
|
|
1
|
+
import { jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { t as I } from "../../classix-DG18itHa.js";
|
|
3
|
+
import { useRef as T, useState as j } from "react";
|
|
4
|
+
import { Button as k } from "../button/index.js";
|
|
5
5
|
import { Icon as A } from "../icon/index.js";
|
|
6
|
-
import '../../assets/index23.css';const R = "
|
|
6
|
+
import '../../assets/index23.css';const R = "_dropzone_1xbnl_1", w = "_dragging_1xbnl_18", B = "_minimal_1xbnl_22", m = {
|
|
7
7
|
dropzone: R,
|
|
8
8
|
dragging: w,
|
|
9
9
|
minimal: B
|
|
@@ -12,19 +12,19 @@ import '../../assets/index23.css';const R = "_dropzone_1c44i_1", w = "_dragging_
|
|
|
12
12
|
label: D = "Select files",
|
|
13
13
|
maxFileSize: g,
|
|
14
14
|
multiple: p = !1,
|
|
15
|
-
onChange:
|
|
15
|
+
onChange: n,
|
|
16
16
|
onValidation: a,
|
|
17
17
|
variant: f = "default",
|
|
18
18
|
..._
|
|
19
19
|
}) => {
|
|
20
|
-
const u =
|
|
20
|
+
const u = T(null), [y, o] = j(!1), c = (e) => {
|
|
21
21
|
e.preventDefault(), e.stopPropagation();
|
|
22
22
|
}, F = (e) => {
|
|
23
23
|
const s = u.current;
|
|
24
24
|
if (!s) return;
|
|
25
25
|
const t = new DataTransfer();
|
|
26
26
|
for (const r of e) t.items.add(r);
|
|
27
|
-
s.files = t.files,
|
|
27
|
+
s.files = t.files, n == null || n({
|
|
28
28
|
target: s,
|
|
29
29
|
currentTarget: s
|
|
30
30
|
});
|
|
@@ -33,7 +33,7 @@ import '../../assets/index23.css';const R = "_dropzone_1c44i_1", w = "_dragging_
|
|
|
33
33
|
validFiles: s,
|
|
34
34
|
emptyFiles: t,
|
|
35
35
|
oversizedFiles: r
|
|
36
|
-
} = e.reduce((d,
|
|
36
|
+
} = e.reduce((d, i) => (i.size === 0 ? d.emptyFiles.push(i) : g && i.size > g ? d.oversizedFiles.push(i) : d.validFiles.push(i), d), {
|
|
37
37
|
validFiles: [],
|
|
38
38
|
emptyFiles: [],
|
|
39
39
|
oversizedFiles: []
|
|
@@ -45,26 +45,26 @@ import '../../assets/index23.css';const R = "_dropzone_1c44i_1", w = "_dragging_
|
|
|
45
45
|
if (t.length === 0) return;
|
|
46
46
|
const r = p ? t : t.slice(0, 1);
|
|
47
47
|
F(r);
|
|
48
|
-
},
|
|
48
|
+
}, b = (e) => {
|
|
49
49
|
const s = Array.from(e.target.files ?? []), t = v(s);
|
|
50
50
|
if (t.length === s.length) {
|
|
51
|
-
|
|
51
|
+
n == null || n(e);
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
54
|
const r = p ? t : t.slice(0, 1);
|
|
55
55
|
F(r);
|
|
56
56
|
};
|
|
57
|
-
return /* @__PURE__ */ l("div", { className:
|
|
57
|
+
return /* @__PURE__ */ l("div", { className: I(m.dropzone, m[f], y && m.dragging), onDragEnter: (e) => {
|
|
58
58
|
c(e), o(!0);
|
|
59
59
|
}, onDragOver: (e) => {
|
|
60
60
|
c(e), o(!0);
|
|
61
61
|
}, onDragLeave: (e) => {
|
|
62
62
|
c(e), o(!1);
|
|
63
|
-
}, onDrop: h, ..._, "data-component": "dropzone", children: /* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */ l("input", { accept: z, hidden: !0, multiple: p, onChange:
|
|
63
|
+
}, onDrop: h, ..._, "data-component": "dropzone", children: /* @__PURE__ */ x("label", { children: [
|
|
64
|
+
/* @__PURE__ */ l("input", { accept: z, hidden: !0, multiple: p, onChange: b, ref: u, type: "file" }),
|
|
65
65
|
/* @__PURE__ */ l(A, { name: "upload", size: f === "minimal" ? "medium" : "large" }),
|
|
66
66
|
/* @__PURE__ */ l("br", {}),
|
|
67
|
-
f !== "minimal" && /* @__PURE__ */ l(
|
|
67
|
+
f !== "minimal" && /* @__PURE__ */ l(k, { onClick: () => {
|
|
68
68
|
var e;
|
|
69
69
|
return (e = u.current) == null ? void 0 : e.click();
|
|
70
70
|
}, type: "button", children: D })
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const c=require("react/jsx-runtime"),n=require("../../classix-5H4IWnMA.cjs"),d="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const c=require("react/jsx-runtime"),n=require("../../classix-5H4IWnMA.cjs"),d="_aside_1szf9_1",o="_meta_1szf9_14",r="_sticky_1szf9_41",s={aside:d,meta:o,sticky:r},u={default:s.default,meta:s.meta},l=({children:e,className:t,sticky:a=!1,variant:i="default"})=>c.jsx("aside",{className:n.t(t&&t,s.aside,a&&s.sticky,u[i]),"data-component":"aside",children:e});exports.Aside=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { t as c } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/index31.css';const d = "
|
|
3
|
+
import '../../assets/index31.css';const d = "_aside_1szf9_1", m = "_meta_1szf9_14", n = "_sticky_1szf9_41", t = {
|
|
4
4
|
aside: d,
|
|
5
5
|
meta: m,
|
|
6
6
|
sticky: n
|
|
7
|
-
},
|
|
7
|
+
}, f = {
|
|
8
8
|
default: t.default,
|
|
9
9
|
meta: t.meta
|
|
10
|
-
},
|
|
10
|
+
}, l = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: s,
|
|
13
13
|
sticky: a = !1,
|
|
14
14
|
variant: i = "default"
|
|
15
|
-
}) => /* @__PURE__ */ o("aside", { className: c(s && s, t.aside, a && t.sticky,
|
|
15
|
+
}) => /* @__PURE__ */ o("aside", { className: c(s && s, t.aside, a && t.sticky, f[i]), "data-component": "aside", children: e });
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
l as Aside
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index32.css');const e=require("react/jsx-runtime"),h=require("../../classix-5H4IWnMA.cjs");function l(c){return`url("data:image/svg+xml, ${encodeURI(c)}")`}const v={logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="212.84 265.6 645.02 573.4"><g><path d="m212.84 681.26 8.86-19.64c9.5 6.92 23.67 11.75 37.19 11.75 15.46 0 21.74-5.15 21.74-12.07 0-21.1-65.54-6.6-65.54-48.47 0-19.16 15.46-35.11 47.51-35.11 14.17 0 28.66 3.39 39.13 10l-8.06 19.81c-10.46-6-21.25-8.86-31.24-8.86-15.45 0-21.41 5.8-21.41 12.88 0 20.77 65.54 6.44 65.54 47.82 0 18.84-15.62 34.95-47.83 34.95-17.87 0-35.91-5.32-45.89-13M317.33 636c0-33.5 26.09-58.3 61.68-58.3 35.42 0 61.67 24.64 61.67 58.3s-26.25 58.31-61.68 58.31c-35.59 0-61.68-24.8-61.68-58.29m96.94 0C414.27 614.6 399.14 600 379 600s-35.26 14.6-35.26 36 15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07m46.04-56.34h26.09v91.46h56.52v21.26h-82.61zm105.3 0h26.09v112.72h-26.09zm156.19 81.96c0 19.48-15.46 30.75-45.08 30.75h-58.3V579.65h55.08c28.18 0 42.67 11.76 42.67 29.31a27.1 27.1 0 0 1-15 24.8c12.56 4 20.61 13.69 20.61 27.86m-77.43-62.32v26.57h25.93c12.72 0 19.64-4.51 19.64-13.36S683 599.3 670.28 599.3Zm51.21 59.58c0-9.5-7.25-14-20.78-14h-30.43v27.86h30.43c13.53 0 20.78-4.19 20.78-13.85M734.51 636c0-33.5 26.09-58.3 61.68-58.3 35.43 0 61.67 24.64 61.67 58.3s-26.24 58.29-61.67 58.29c-35.59 0-61.68-24.8-61.68-58.29m96.94 0c0-21.42-15.13-36.07-35.26-36.07S760.92 614.6 760.92 636s15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07M535.93 406.9a30.06 30.06 0 1 0-30-30 30.05 30.05 0 0 0 30 30m41.29 72.66v-24.08a41.29 41.29 0 0 0-82.58 0v94.22l28.83-42.58h53.78Z" class="cls-1"/><path d="M675.26 507.22H519.83c-4.07 0 2.55-3.3 2.55-7.36l20-16.14a7.36 7.36 0 0 1 7.36-7.36h94.66a7.37 7.37 0 0 0 7.36-7.36V363.24a7.36 7.36 0 0 0-4-6.55L539 301.09a7.34 7.34 0 0 0-6.72 0L423.74 357a7.37 7.37 0 0 0-4 6.54V469a7.37 7.37 0 0 0 7.37 7.36h29.22v30.86h-60.09a7.37 7.37 0 0 1-7.36-7.36V344.68a7.38 7.38 0 0 1 4-6.55l139.35-71.72a7.37 7.37 0 0 1 6.72 0l139.67 71.4a7.37 7.37 0 0 1 4 6.56v155.5a7.37 7.37 0 0 1-7.36 7.36M380.2 789.7h-53.93v42.19c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59v-89.7c0-4.75 3.35-5.59 5-5.59s5 .84 5 5.59v38.29h53.93v-38.29c0-4.75 3.36-5.59 5-5.59s5 .84 5 5.59v89.7c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59Zm82.58 49.3c-29.48 0-51.56-21.94-51.56-52s22.08-52 51.56-52 51.56 21.93 51.56 52-22.08 52-51.56 52m0-95.15c-25.43 0-40.94 20.12-40.94 43.17s15.51 43 40.94 43 40.94-20 40.94-43-15.51-43.15-40.94-43.15Zm165.01 93.63c-1.67 0-5-.83-5-5.59v-72.51h-.28l-32.27 73.77a6.53 6.53 0 0 1-12.3 0l-32.3-73.35h-.28v72.09c0 4.76-3.36 5.59-5 5.59s-5-.83-5-5.59v-88.44c0-5.73 4.05-6.85 6.14-6.85s4.75.7 6.85 5.45l35.91 82h.14l35.49-82c2.1-4.75 4.75-5.45 6.85-5.45s6.14 1.12 6.14 6.85v88.44c-.06 4.76-3.41 5.59-5.09 5.59m41.36-48.06v38.14h49c4.2 0 4.89 3.08 4.89 4.48s-.69 4.47-4.89 4.47H665.1c-4.05 0-6-2-6-6v-86.92c0-4.05 2-6 6-6h51.42c4.19 0 4.89 3.07 4.89 4.47s-.7 4.47-4.89 4.47h-47.37v34.1h44c4.2 0 4.89 3.07 4.89 4.33s-.69 4.47-4.89 4.47Z"/></g></svg>'},
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index32.css');const e=require("react/jsx-runtime"),h=require("../../classix-5H4IWnMA.cjs");function l(c){return`url("data:image/svg+xml, ${encodeURI(c)}")`}const v={logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="212.84 265.6 645.02 573.4"><g><path d="m212.84 681.26 8.86-19.64c9.5 6.92 23.67 11.75 37.19 11.75 15.46 0 21.74-5.15 21.74-12.07 0-21.1-65.54-6.6-65.54-48.47 0-19.16 15.46-35.11 47.51-35.11 14.17 0 28.66 3.39 39.13 10l-8.06 19.81c-10.46-6-21.25-8.86-31.24-8.86-15.45 0-21.41 5.8-21.41 12.88 0 20.77 65.54 6.44 65.54 47.82 0 18.84-15.62 34.95-47.83 34.95-17.87 0-35.91-5.32-45.89-13M317.33 636c0-33.5 26.09-58.3 61.68-58.3 35.42 0 61.67 24.64 61.67 58.3s-26.25 58.31-61.68 58.31c-35.59 0-61.68-24.8-61.68-58.29m96.94 0C414.27 614.6 399.14 600 379 600s-35.26 14.6-35.26 36 15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07m46.04-56.34h26.09v91.46h56.52v21.26h-82.61zm105.3 0h26.09v112.72h-26.09zm156.19 81.96c0 19.48-15.46 30.75-45.08 30.75h-58.3V579.65h55.08c28.18 0 42.67 11.76 42.67 29.31a27.1 27.1 0 0 1-15 24.8c12.56 4 20.61 13.69 20.61 27.86m-77.43-62.32v26.57h25.93c12.72 0 19.64-4.51 19.64-13.36S683 599.3 670.28 599.3Zm51.21 59.58c0-9.5-7.25-14-20.78-14h-30.43v27.86h30.43c13.53 0 20.78-4.19 20.78-13.85M734.51 636c0-33.5 26.09-58.3 61.68-58.3 35.43 0 61.67 24.64 61.67 58.3s-26.24 58.29-61.67 58.29c-35.59 0-61.68-24.8-61.68-58.29m96.94 0c0-21.42-15.13-36.07-35.26-36.07S760.92 614.6 760.92 636s15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07M535.93 406.9a30.06 30.06 0 1 0-30-30 30.05 30.05 0 0 0 30 30m41.29 72.66v-24.08a41.29 41.29 0 0 0-82.58 0v94.22l28.83-42.58h53.78Z" class="cls-1"/><path d="M675.26 507.22H519.83c-4.07 0 2.55-3.3 2.55-7.36l20-16.14a7.36 7.36 0 0 1 7.36-7.36h94.66a7.37 7.37 0 0 0 7.36-7.36V363.24a7.36 7.36 0 0 0-4-6.55L539 301.09a7.34 7.34 0 0 0-6.72 0L423.74 357a7.37 7.37 0 0 0-4 6.54V469a7.37 7.37 0 0 0 7.37 7.36h29.22v30.86h-60.09a7.37 7.37 0 0 1-7.36-7.36V344.68a7.38 7.38 0 0 1 4-6.55l139.35-71.72a7.37 7.37 0 0 1 6.72 0l139.67 71.4a7.37 7.37 0 0 1 4 6.56v155.5a7.37 7.37 0 0 1-7.36 7.36M380.2 789.7h-53.93v42.19c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59v-89.7c0-4.75 3.35-5.59 5-5.59s5 .84 5 5.59v38.29h53.93v-38.29c0-4.75 3.36-5.59 5-5.59s5 .84 5 5.59v89.7c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59Zm82.58 49.3c-29.48 0-51.56-21.94-51.56-52s22.08-52 51.56-52 51.56 21.93 51.56 52-22.08 52-51.56 52m0-95.15c-25.43 0-40.94 20.12-40.94 43.17s15.51 43 40.94 43 40.94-20 40.94-43-15.51-43.15-40.94-43.15Zm165.01 93.63c-1.67 0-5-.83-5-5.59v-72.51h-.28l-32.27 73.77a6.53 6.53 0 0 1-12.3 0l-32.3-73.35h-.28v72.09c0 4.76-3.36 5.59-5 5.59s-5-.83-5-5.59v-88.44c0-5.73 4.05-6.85 6.14-6.85s4.75.7 6.85 5.45l35.91 82h.14l35.49-82c2.1-4.75 4.75-5.45 6.85-5.45s6.14 1.12 6.14 6.85v88.44c-.06 4.76-3.41 5.59-5.09 5.59m41.36-48.06v38.14h49c4.2 0 4.89 3.08 4.89 4.48s-.69 4.47-4.89 4.47H665.1c-4.05 0-6-2-6-6v-86.92c0-4.05 2-6 6-6h51.42c4.19 0 4.89 3.07 4.89 4.47s-.7 4.47-4.89 4.47h-47.37v34.1h44c4.2 0 4.89 3.07 4.89 4.33s-.69 4.47-4.89 4.47Z"/></g></svg>'},i="_branding_uq0pm_1",m="_white_uq0pm_11",a={branding:i,default:"_default_uq0pm_7",white:m},r={default:a.default,white:a.white},g=({name:c="logo",size:s=128,variant:t="default"})=>{const n={height:s,maskImage:l(v[c].toString()),width:s};return e.jsx("span",{className:h.t(a.branding,r[t]),style:n,"data-component":"branding"})};exports.Branding=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -5,24 +5,24 @@ import '../../assets/index32.css';function v(a) {
|
|
|
5
5
|
}
|
|
6
6
|
const e = {
|
|
7
7
|
logo: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="212.84 265.6 645.02 573.4"><g><path d="m212.84 681.26 8.86-19.64c9.5 6.92 23.67 11.75 37.19 11.75 15.46 0 21.74-5.15 21.74-12.07 0-21.1-65.54-6.6-65.54-48.47 0-19.16 15.46-35.11 47.51-35.11 14.17 0 28.66 3.39 39.13 10l-8.06 19.81c-10.46-6-21.25-8.86-31.24-8.86-15.45 0-21.41 5.8-21.41 12.88 0 20.77 65.54 6.44 65.54 47.82 0 18.84-15.62 34.95-47.83 34.95-17.87 0-35.91-5.32-45.89-13M317.33 636c0-33.5 26.09-58.3 61.68-58.3 35.42 0 61.67 24.64 61.67 58.3s-26.25 58.31-61.68 58.31c-35.59 0-61.68-24.8-61.68-58.29m96.94 0C414.27 614.6 399.14 600 379 600s-35.26 14.6-35.26 36 15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07m46.04-56.34h26.09v91.46h56.52v21.26h-82.61zm105.3 0h26.09v112.72h-26.09zm156.19 81.96c0 19.48-15.46 30.75-45.08 30.75h-58.3V579.65h55.08c28.18 0 42.67 11.76 42.67 29.31a27.1 27.1 0 0 1-15 24.8c12.56 4 20.61 13.69 20.61 27.86m-77.43-62.32v26.57h25.93c12.72 0 19.64-4.51 19.64-13.36S683 599.3 670.28 599.3Zm51.21 59.58c0-9.5-7.25-14-20.78-14h-30.43v27.86h30.43c13.53 0 20.78-4.19 20.78-13.85M734.51 636c0-33.5 26.09-58.3 61.68-58.3 35.43 0 61.67 24.64 61.67 58.3s-26.24 58.29-61.67 58.29c-35.59 0-61.68-24.8-61.68-58.29m96.94 0c0-21.42-15.13-36.07-35.26-36.07S760.92 614.6 760.92 636s15.14 36.07 35.27 36.07 35.26-14.66 35.26-36.07M535.93 406.9a30.06 30.06 0 1 0-30-30 30.05 30.05 0 0 0 30 30m41.29 72.66v-24.08a41.29 41.29 0 0 0-82.58 0v94.22l28.83-42.58h53.78Z" class="cls-1"/><path d="M675.26 507.22H519.83c-4.07 0 2.55-3.3 2.55-7.36l20-16.14a7.36 7.36 0 0 1 7.36-7.36h94.66a7.37 7.37 0 0 0 7.36-7.36V363.24a7.36 7.36 0 0 0-4-6.55L539 301.09a7.34 7.34 0 0 0-6.72 0L423.74 357a7.37 7.37 0 0 0-4 6.54V469a7.37 7.37 0 0 0 7.37 7.36h29.22v30.86h-60.09a7.37 7.37 0 0 1-7.36-7.36V344.68a7.38 7.38 0 0 1 4-6.55l139.35-71.72a7.37 7.37 0 0 1 6.72 0l139.67 71.4a7.37 7.37 0 0 1 4 6.56v155.5a7.37 7.37 0 0 1-7.36 7.36M380.2 789.7h-53.93v42.19c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59v-89.7c0-4.75 3.35-5.59 5-5.59s5 .84 5 5.59v38.29h53.93v-38.29c0-4.75 3.36-5.59 5-5.59s5 .84 5 5.59v89.7c0 4.76-3.35 5.59-5 5.59s-5-.83-5-5.59Zm82.58 49.3c-29.48 0-51.56-21.94-51.56-52s22.08-52 51.56-52 51.56 21.93 51.56 52-22.08 52-51.56 52m0-95.15c-25.43 0-40.94 20.12-40.94 43.17s15.51 43 40.94 43 40.94-20 40.94-43-15.51-43.15-40.94-43.15Zm165.01 93.63c-1.67 0-5-.83-5-5.59v-72.51h-.28l-32.27 73.77a6.53 6.53 0 0 1-12.3 0l-32.3-73.35h-.28v72.09c0 4.76-3.36 5.59-5 5.59s-5-.83-5-5.59v-88.44c0-5.73 4.05-6.85 6.14-6.85s4.75.7 6.85 5.45l35.91 82h.14l35.49-82c2.1-4.75 4.75-5.45 6.85-5.45s6.14 1.12 6.14 6.85v88.44c-.06 4.76-3.41 5.59-5.09 5.59m41.36-48.06v38.14h49c4.2 0 4.89 3.08 4.89 4.48s-.69 4.47-4.89 4.47H665.1c-4.05 0-6-2-6-6v-86.92c0-4.05 2-6 6-6h51.42c4.19 0 4.89 3.07 4.89 4.47s-.7 4.47-4.89 4.47h-47.37v34.1h44c4.2 0 4.89 3.07 4.89 4.33s-.69 4.47-4.89 4.47Z"/></g></svg>'
|
|
8
|
-
}, l = "
|
|
8
|
+
}, l = "_branding_uq0pm_1", o = "_white_uq0pm_11", c = {
|
|
9
9
|
branding: l,
|
|
10
|
-
default: "
|
|
11
|
-
white:
|
|
12
|
-
},
|
|
10
|
+
default: "_default_uq0pm_7",
|
|
11
|
+
white: o
|
|
12
|
+
}, g = {
|
|
13
13
|
default: c.default,
|
|
14
14
|
white: c.white
|
|
15
15
|
}, d = ({
|
|
16
16
|
name: a = "logo",
|
|
17
|
-
size:
|
|
18
|
-
variant:
|
|
17
|
+
size: s = 128,
|
|
18
|
+
variant: t = "default"
|
|
19
19
|
}) => {
|
|
20
20
|
const h = {
|
|
21
|
-
height:
|
|
21
|
+
height: s,
|
|
22
22
|
maskImage: v(e[a].toString()),
|
|
23
|
-
width:
|
|
23
|
+
width: s
|
|
24
24
|
};
|
|
25
|
-
return /* @__PURE__ */ n("span", { className: m(c.branding,
|
|
25
|
+
return /* @__PURE__ */ n("span", { className: m(c.branding, g[t]), style: h, "data-component": "branding" });
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
28
28
|
d as Branding
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index12.css');const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index12.css');const r=require("react/jsx-runtime"),n=require("../../helpers-fOobx0tS.cjs"),o="_controls_u02jm_15",a="_wrapper_u02jm_29",e={controls:o,wrapper:a},c=({children:s,...t})=>r.jsx(r.Fragment,{children:r.jsx("div",{className:e.wrapper,"data-wrapper":!0,children:r.jsx("div",{className:e.controls,children:r.jsx("menu",{"data-animation":"stagger",...t,children:n.wrapChildren(s)})})})});exports.Controls=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/controls/index.tsx"],"sourcesContent":["import { wrapChildren } from '@/lib/helpers';\n\nimport styles from './styles.module.css';\n\nexport type ControlsProps = React.ComponentPropsWithoutRef<'menu'> & {};\n\nexport const Controls = ({ children, ...props }: ControlsProps) => {\n return (\n <>\n <div
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/controls/index.tsx"],"sourcesContent":["import { wrapChildren } from '@/lib/helpers';\n\nimport styles from './styles.module.css';\n\nexport type ControlsProps = React.ComponentPropsWithoutRef<'menu'> & {};\n\nexport const Controls = ({ children, ...props }: ControlsProps) => {\n return (\n <>\n <div\n className={styles.wrapper}\n data-wrapper\n >\n <div className={styles.controls}>\n <menu\n data-animation='stagger'\n {...props}\n >\n {wrapChildren(children)}\n </menu>\n </div>\n </div>\n </>\n );\n};\n"],"names":["Controls","children","props","jsx","Fragment","styles","wrapper","controls","wrapChildren"],"mappings":"mOAMaA,EAAWA,CAAC,CAAEC,SAAAA,EAAU,GAAGC,CAAqB,IAEzDC,EAAAA,IAAAC,EAAAA,SAAA,CACE,SAAAD,EAAAA,IAAC,MAAA,CACC,UAAWE,EAAOC,QAClB,eAAY,GAEZ,SAAAH,EAAAA,IAAC,MAAA,CAAI,UAAWE,EAAOE,SACrB,SAAAJ,EAAAA,IAAC,OAAA,CACC,iBAAe,UACf,GAAID,EAEHM,wBAAaP,CAAQ,CAAA,CACxB,CAAA,CACF,CAAA,CACF,EACF"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as r, Fragment as
|
|
2
|
-
import { w as
|
|
3
|
-
import '../../assets/index12.css';const
|
|
4
|
-
controls:
|
|
1
|
+
import { jsx as r, Fragment as e } from "react/jsx-runtime";
|
|
2
|
+
import { w as n } from "../../helpers-Dbey5Ztb.js";
|
|
3
|
+
import '../../assets/index12.css';const s = "_controls_u02jm_15", c = "_wrapper_u02jm_29", o = {
|
|
4
|
+
controls: s,
|
|
5
5
|
wrapper: c
|
|
6
6
|
}, i = ({
|
|
7
|
-
children:
|
|
8
|
-
...
|
|
9
|
-
}) => /* @__PURE__ */ r(
|
|
7
|
+
children: t,
|
|
8
|
+
...a
|
|
9
|
+
}) => /* @__PURE__ */ r(e, { children: /* @__PURE__ */ r("div", { className: o.wrapper, "data-wrapper": !0, children: /* @__PURE__ */ r("div", { className: o.controls, children: /* @__PURE__ */ r("menu", { "data-animation": "stagger", ...a, children: n(t) }) }) }) });
|
|
10
10
|
export {
|
|
11
11
|
i as Controls
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/controls/index.tsx"],"sourcesContent":["import { wrapChildren } from '@/lib/helpers';\n\nimport styles from './styles.module.css';\n\nexport type ControlsProps = React.ComponentPropsWithoutRef<'menu'> & {};\n\nexport const Controls = ({ children, ...props }: ControlsProps) => {\n return (\n <>\n <div
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/controls/index.tsx"],"sourcesContent":["import { wrapChildren } from '@/lib/helpers';\n\nimport styles from './styles.module.css';\n\nexport type ControlsProps = React.ComponentPropsWithoutRef<'menu'> & {};\n\nexport const Controls = ({ children, ...props }: ControlsProps) => {\n return (\n <>\n <div\n className={styles.wrapper}\n data-wrapper\n >\n <div className={styles.controls}>\n <menu\n data-animation='stagger'\n {...props}\n >\n {wrapChildren(children)}\n </menu>\n </div>\n </div>\n </>\n );\n};\n"],"names":["Controls","children","props","jsx","Fragment","styles","wrapper","controls","wrapChildren"],"mappings":";;;;;GAMaA,IAAWA,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAU,GAAGC;AAAqB,MAEzD,gBAAAC,EAAAC,GAAA,EACE,UAAA,gBAAAD,EAAC,OAAA,EACC,WAAWE,EAAOC,SAClB,gBAAY,IAEZ,UAAA,gBAAAH,EAAC,OAAA,EAAI,WAAWE,EAAOE,UACrB,UAAA,gBAAAJ,EAAC,QAAA,EACC,kBAAe,WACf,GAAID,GAEHM,YAAaP,CAAQ,EAAA,CACxB,EAAA,CACF,EAAA,CACF,GACF;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index11.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index11.css');const o=require("react/jsx-runtime"),e="_dialog_1dwjg_1",d="_wrapper_1dwjg_32",r={dialog:e,wrapper:d},s=({children:i,setOpen:a,...l})=>o.jsx("div",{className:r.wrapper,"data-wrapper":!0,onClick:()=>a==null?void 0:a(!1),"data-component":"dialog",children:o.jsx("dialog",{className:r.dialog,onClick:t=>t.stopPropagation(),...l,children:i})});exports.Dialog=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport styles from './styles.module.css';\n\nexport type DialogProps = React.DialogHTMLAttributes<HTMLDialogElement> & {\n children: React.ReactNode;\n setOpen?: React.Dispatch<React.SetStateAction<boolean>>;\n};\n\nexport const Dialog = ({ children, setOpen, ...props }: DialogProps) => {\n return (\n <div\n className={styles.wrapper}\n onClick={() => setOpen?.(false)}\n >\n <dialog\n className={styles.dialog}\n onClick={(e) => e.stopPropagation()}\n {...props}\n >\n {children}\n </dialog>\n </div>\n );\n};\n"],"names":["Dialog","children","setOpen","props","jsx","styles","wrapper","dialog","e","stopPropagation"],"mappings":"sLASaA,EAASA,CAAC,CAAEC,SAAAA,EAAUC,QAAAA,EAAS,GAAGC,CAAmB,IAE9DC,EAAAA,IAAC,MAAA,CACC,UAAWC,EAAOC,QAClB,QAAS,IAAMJ,GAAAA,YAAAA,EAAU,IAAO,iBAAA,SAEhC,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport styles from './styles.module.css';\n\nexport type DialogProps = React.DialogHTMLAttributes<HTMLDialogElement> & {\n children: React.ReactNode;\n setOpen?: React.Dispatch<React.SetStateAction<boolean>>;\n};\n\nexport const Dialog = ({ children, setOpen, ...props }: DialogProps) => {\n return (\n <div\n className={styles.wrapper}\n data-wrapper\n onClick={() => setOpen?.(false)}\n >\n <dialog\n className={styles.dialog}\n onClick={(e) => e.stopPropagation()}\n {...props}\n >\n {children}\n </dialog>\n </div>\n );\n};\n"],"names":["Dialog","children","setOpen","props","jsx","styles","wrapper","dialog","e","stopPropagation"],"mappings":"sLASaA,EAASA,CAAC,CAAEC,SAAAA,EAAUC,QAAAA,EAAS,GAAGC,CAAmB,IAE9DC,EAAAA,IAAC,MAAA,CACC,UAAWC,EAAOC,QAClB,eAAY,GACZ,QAAS,IAAMJ,GAAAA,YAAAA,EAAU,IAAO,iBAAA,SAEhC,SAAAE,EAAAA,IAAC,SAAA,CACC,UAAWC,EAAOE,OAClB,QAAUC,GAAMA,EAAEC,gBAAAA,EAClB,GAAIN,EAEHF,SAAAA,CAAAA,CACH,CAAA,CACF"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import '../../assets/index11.css';const
|
|
3
|
-
dialog:
|
|
4
|
-
wrapper:
|
|
5
|
-
},
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/index11.css';const p = "_dialog_1dwjg_1", c = "_wrapper_1dwjg_32", r = {
|
|
3
|
+
dialog: p,
|
|
4
|
+
wrapper: c
|
|
5
|
+
}, t = ({
|
|
6
6
|
children: l,
|
|
7
|
-
setOpen:
|
|
7
|
+
setOpen: a,
|
|
8
8
|
...i
|
|
9
|
-
}) => /* @__PURE__ */
|
|
9
|
+
}) => /* @__PURE__ */ o("div", { className: r.wrapper, "data-wrapper": !0, onClick: () => a == null ? void 0 : a(!1), "data-component": "dialog", children: /* @__PURE__ */ o("dialog", { className: r.dialog, onClick: (d) => d.stopPropagation(), ...i, children: l }) });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
t as Dialog
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport styles from './styles.module.css';\n\nexport type DialogProps = React.DialogHTMLAttributes<HTMLDialogElement> & {\n children: React.ReactNode;\n setOpen?: React.Dispatch<React.SetStateAction<boolean>>;\n};\n\nexport const Dialog = ({ children, setOpen, ...props }: DialogProps) => {\n return (\n <div\n className={styles.wrapper}\n onClick={() => setOpen?.(false)}\n >\n <dialog\n className={styles.dialog}\n onClick={(e) => e.stopPropagation()}\n {...props}\n >\n {children}\n </dialog>\n </div>\n );\n};\n"],"names":["Dialog","children","setOpen","props","jsx","styles","wrapper","dialog","e","stopPropagation"],"mappings":";;;;GASaA,IAASA,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,SAAAA;AAAAA,EAAS,GAAGC;AAAmB,MAE9D,gBAAAC,EAAC,OAAA,EACC,WAAWC,EAAOC,SAClB,SAAS,MAAMJ,KAAAA,gBAAAA,EAAU,KAAO,kBAAA,UAEhC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport styles from './styles.module.css';\n\nexport type DialogProps = React.DialogHTMLAttributes<HTMLDialogElement> & {\n children: React.ReactNode;\n setOpen?: React.Dispatch<React.SetStateAction<boolean>>;\n};\n\nexport const Dialog = ({ children, setOpen, ...props }: DialogProps) => {\n return (\n <div\n className={styles.wrapper}\n data-wrapper\n onClick={() => setOpen?.(false)}\n >\n <dialog\n className={styles.dialog}\n onClick={(e) => e.stopPropagation()}\n {...props}\n >\n {children}\n </dialog>\n </div>\n );\n};\n"],"names":["Dialog","children","setOpen","props","jsx","styles","wrapper","dialog","e","stopPropagation"],"mappings":";;;;GASaA,IAASA,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,SAAAA;AAAAA,EAAS,GAAGC;AAAmB,MAE9D,gBAAAC,EAAC,OAAA,EACC,WAAWC,EAAOC,SAClB,gBAAY,IACZ,SAAS,MAAMJ,KAAAA,gBAAAA,EAAU,KAAO,kBAAA,UAEhC,UAAA,gBAAAE,EAAC,UAAA,EACC,WAAWC,EAAOE,QAClB,SAAUC,CAAAA,MAAMA,EAAEC,gBAAAA,GAClB,GAAIN,GAEHF,UAAAA,EAAAA,CACH,EAAA,CACF;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index10.css');const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index10.css');const e=require("react/jsx-runtime"),l=require("../icon/index.cjs"),c="_file_4fkv5_1",r={file:c,delete:"_delete_4fkv5_50"},d=({name:s,onClick:t,onDelete:a,ref:o,url:i})=>e.jsxs("div",{className:r.file,ref:o,"data-component":"file",children:[e.jsxs("a",{href:i,onClick:n=>{n.stopPropagation(),(t||!i)&&(n.preventDefault(),t==null||t())},title:s,children:[e.jsx(l.Icon,{name:"document",size:"small",variant:"primary"}),s]}),a&&e.jsx("a",{"aria-label":"delete document",className:r.delete,onClick:()=>a(),tabIndex:0,children:e.jsx(l.Icon,{name:"trash",size:"small",variant:"danger"})})]});exports.File=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as n } from "../icon/index.js";
|
|
3
|
-
import '../../assets/index10.css';const
|
|
4
|
-
file:
|
|
5
|
-
delete: "
|
|
3
|
+
import '../../assets/index10.css';const f = "_file_4fkv5_1", d = {
|
|
4
|
+
file: f,
|
|
5
|
+
delete: "_delete_4fkv5_50"
|
|
6
6
|
}, p = ({
|
|
7
7
|
name: t,
|
|
8
8
|
onClick: e,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index7.css');const s=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index7.css');const s=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),a="_group_g6ddz_1",n={group:a},p=({animation:t,children:r,className:o,...e})=>s.jsx("div",{className:u.t(o,n.group),"data-animation":t,"data-wrapper":!0,...e,"data-component":"group",children:r});exports.Group=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/group/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type GroupProps = React.HTMLAttributes<HTMLDivElement> & {\n animation?: string;\n children: React.ReactNode;\n};\n\nexport const Group = ({ animation, children, className, ...props }: GroupProps) => {\n return (\n <div\n className={cx(className, styles.group)}\n data-animation={animation}\n {...props}\n >\n {children}\n </div>\n );\n};\n"],"names":["Group","animation","children","className","props","
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/group/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type GroupProps = React.HTMLAttributes<HTMLDivElement> & {\n animation?: string;\n children: React.ReactNode;\n};\n\nexport const Group = ({ animation, children, className, ...props }: GroupProps) => {\n return (\n <div\n className={cx(className, styles.group)}\n data-animation={animation}\n data-wrapper\n {...props}\n >\n {children}\n </div>\n );\n};\n"],"names":["Group","animation","children","className","props","cx","styles","group"],"mappings":"4LASaA,EAAQA,CAAC,CAAEC,UAAAA,EAAWC,SAAAA,EAAUC,UAAAA,EAAW,GAAGC,CAAkB,UAExE,MAAA,CACC,UAAWC,EAAAA,EAAGF,EAAWG,EAAOC,KAAK,EACrC,iBAAgBN,EAChB,eAAY,GACZ,GAAIG,EAAM,iBAAA,QAETF,SAAAA,EACH"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { t as n } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/index7.css';const s = "_group_g6ddz_1",
|
|
3
|
+
import '../../assets/index7.css';const s = "_group_g6ddz_1", u = {
|
|
4
4
|
group: s
|
|
5
|
-
},
|
|
5
|
+
}, d = ({
|
|
6
6
|
animation: o,
|
|
7
7
|
children: r,
|
|
8
8
|
className: t,
|
|
9
9
|
...p
|
|
10
|
-
}) => /* @__PURE__ */ a("div", { className: n(t,
|
|
10
|
+
}) => /* @__PURE__ */ a("div", { className: n(t, u.group), "data-animation": o, "data-wrapper": !0, ...p, "data-component": "group", children: r });
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
d as Group
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/group/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type GroupProps = React.HTMLAttributes<HTMLDivElement> & {\n animation?: string;\n children: React.ReactNode;\n};\n\nexport const Group = ({ animation, children, className, ...props }: GroupProps) => {\n return (\n <div\n className={cx(className, styles.group)}\n data-animation={animation}\n {...props}\n >\n {children}\n </div>\n );\n};\n"],"names":["Group","animation","children","className","props","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/group/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type GroupProps = React.HTMLAttributes<HTMLDivElement> & {\n animation?: string;\n children: React.ReactNode;\n};\n\nexport const Group = ({ animation, children, className, ...props }: GroupProps) => {\n return (\n <div\n className={cx(className, styles.group)}\n data-animation={animation}\n data-wrapper\n {...props}\n >\n {children}\n </div>\n );\n};\n"],"names":["Group","animation","children","className","props","cx","styles","group"],"mappings":";;;;GASaA,IAAQA,CAAC;AAAA,EAAEC,WAAAA;AAAAA,EAAWC,UAAAA;AAAAA,EAAUC,WAAAA;AAAAA,EAAW,GAAGC;AAAkB,wBAExE,OAAA,EACC,WAAWC,EAAGF,GAAWG,EAAOC,KAAK,GACrC,kBAAgBN,GAChB,gBAAY,IACZ,GAAIG,GAAM,kBAAA,SAETF,UAAAA,GACH;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index38.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index38.css');const a=require("react/jsx-runtime"),_=require("../../classix-5H4IWnMA.cjs"),c=require("../../helpers-fOobx0tS.cjs"),d="_horizontal_ham8z_1",z="_list_ham8z_12",x="_columns_ham8z_51",s={horizontal:d,list:z,columns:x};function y({children:t,className:r,columns:o=1,horizontal:m,ordered:u,style:h,...l}){const n=Number.isFinite(o)?Math.max(1,Math.floor(o)):1,e=_.t(r,s.list,n>1&&s.columns,m&&s.horizontal),i={...h,"--list-columns":n};return u?a.jsx("ol",{className:e,style:i,...l,"data-component":"list",children:c.wrapChildren(t)}):a.jsx("ul",{className:e,style:i,...l,"data-component":"list",children:c.wrapChildren(t)})}exports.List=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { t as u } from "../../classix-DG18itHa.js";
|
|
3
|
-
import { w as
|
|
4
|
-
import '../../assets/index38.css';const
|
|
5
|
-
horizontal:
|
|
3
|
+
import { w as m } from "../../helpers-Dbey5Ztb.js";
|
|
4
|
+
import '../../assets/index38.css';const z = "_horizontal_ham8z_1", f = "_list_ham8z_12", p = "_columns_ham8z_51", t = {
|
|
5
|
+
horizontal: z,
|
|
6
6
|
list: f,
|
|
7
7
|
columns: p
|
|
8
8
|
};
|
|
9
|
-
function
|
|
10
|
-
children:
|
|
11
|
-
className:
|
|
12
|
-
columns:
|
|
9
|
+
function y({
|
|
10
|
+
children: o,
|
|
11
|
+
className: r,
|
|
12
|
+
columns: s = 1,
|
|
13
13
|
horizontal: e,
|
|
14
14
|
ordered: h,
|
|
15
15
|
style: _,
|
|
16
16
|
...l
|
|
17
17
|
}) {
|
|
18
|
-
const
|
|
18
|
+
const n = Number.isFinite(s) ? Math.max(1, Math.floor(s)) : 1, a = u(r, t.list, n > 1 && t.columns, e && t.horizontal), i = {
|
|
19
19
|
..._,
|
|
20
|
-
"--list-columns":
|
|
20
|
+
"--list-columns": n
|
|
21
21
|
};
|
|
22
|
-
return h ? /* @__PURE__ */ c("ol", { className:
|
|
22
|
+
return h ? /* @__PURE__ */ c("ol", { className: a, style: i, ...l, "data-component": "list", children: m(o) }) : /* @__PURE__ */ c("ul", { className: a, style: i, ...l, "data-component": "list", children: m(o) });
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
y as List
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index40.css');const p=require("react/jsx-runtime"),_=require("../../classix-5H4IWnMA.cjs"),f=require("react"),v=require("../../icons-C_cX1FYp.cjs"),h="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index40.css');const p=require("react/jsx-runtime"),_=require("../../classix-5H4IWnMA.cjs"),f=require("react"),v=require("../../icons-C_cX1FYp.cjs"),h="_nav_joer2_1",b="_horizontal_joer2_7",j="_tabs_joer2_17",g="_pills_joer2_38",t={nav:h,horizontal:b,tabs:j,pills:g},m={default:t.default,pills:t.pills,tabs:t.tabs},w=({animation:o,children:i,className:r,horizontal:s=!1,variant:e="default",...l})=>{const[c,a]=f.useState(!1),u={"--icon-svg":v.iconSVG("chevron")};return p.jsx("nav",{className:_.t(r,s&&t.horizontal,t.nav,m[e]),"data-animation":o,"data-open":c?"true":"false","data-orientation":s?"horizontal":"vertical",onBlurCapture:n=>{if(e!=="pills"||window.innerWidth>960)return;const d=n.relatedTarget;n.currentTarget.contains(d)||a(!1)},onClick:()=>{e!=="pills"||window.innerWidth>960||a(n=>!n)},style:u,...l,"data-component":"nav",children:i})};exports.Nav=w;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|