@solibo/solibo-ui 1.0.23 → 1.0.25
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/index18.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/components/dropdown/index.cjs +1 -1
- package/dist/components/dropdown/index.js +72 -72
- package/dist/components/editor/index.cjs +24 -24
- package/dist/components/editor/index.cjs.map +1 -1
- package/dist/components/editor/index.js +2245 -2239
- package/dist/components/editor/index.js.map +1 -1
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +4 -4
- package/dist/components/header/index.cjs +1 -1
- package/dist/components/header/index.js +23 -23
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.js +19 -19
- package/dist/tokens.json +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index21.css');const l=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index21.css');const l=require("react/jsx-runtime"),n=require("../../classix-5H4IWnMA.cjs"),i="_form_13ccq_1",m="_fill_13ccq_45",t={form:i,fill:m},a=({animation:r,children:o,className:e,fill:s=!1,...c})=>l.jsx("form",{className:n.t(e,s&&t.fill,t.form),"data-animation":r,...c,"data-component":"form",children:o&&o});exports.Form=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { t as s } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/index21.css';const a = "
|
|
3
|
+
import '../../assets/index21.css';const a = "_form_13ccq_1", n = "_fill_13ccq_45", m = {
|
|
4
4
|
form: a,
|
|
5
|
-
fill:
|
|
5
|
+
fill: n
|
|
6
6
|
}, _ = ({
|
|
7
7
|
animation: r,
|
|
8
8
|
children: o,
|
|
9
9
|
className: t,
|
|
10
10
|
fill: f = !1,
|
|
11
11
|
...l
|
|
12
|
-
}) => /* @__PURE__ */
|
|
12
|
+
}) => /* @__PURE__ */ c("form", { className: s(t, f && m.fill, m.form), "data-animation": r, ...l, "data-component": "form", children: o && o });
|
|
13
13
|
export {
|
|
14
14
|
_ as Form
|
|
15
15
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index18.css');const t=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),_="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index18.css');const t=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),_="_header_ct7nd_1",m="_controls_ct7nd_67",j="_cta_ct7nd_94",b="_jumbo_ct7nd_143",e={header:_,controls:m,cta:j,"header-content":"_header-content_ct7nd_106",jumbo:b},x={default:e.default,jumbo:e.jumbo},f=({backButton:o,capitalize:r=!1,children:d,controls:s,cta:c,header:l,subHeader:i,variant:h="default"})=>{const n=t.jsxs("div",{className:e["header-content"],children:[o,l,i]}),a=s?t.jsxs("div",{className:e.controls,children:[n,s]}):n;return t.jsxs("header",{className:u.t(e.header,x[h],r&&e.capitalize),"data-component":"header",children:[c?t.jsxs("div",{className:e.cta,children:[a,c]}):a,d]})};exports.Header=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import { t as _ } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/index18.css';const i = "
|
|
3
|
+
import '../../assets/index18.css';const i = "_header_ct7nd_1", u = "_controls_ct7nd_67", f = "_cta_ct7nd_94", j = "_jumbo_ct7nd_143", e = {
|
|
4
4
|
header: i,
|
|
5
5
|
controls: u,
|
|
6
6
|
cta: f,
|
|
7
|
-
"header-content": "_header-
|
|
7
|
+
"header-content": "_header-content_ct7nd_106",
|
|
8
8
|
jumbo: j
|
|
9
9
|
}, b = {
|
|
10
10
|
default: e.default,
|
|
11
11
|
jumbo: e.jumbo
|
|
12
|
-
},
|
|
13
|
-
backButton:
|
|
14
|
-
capitalize:
|
|
15
|
-
children:
|
|
12
|
+
}, N = ({
|
|
13
|
+
backButton: d,
|
|
14
|
+
capitalize: r = !1,
|
|
15
|
+
children: s,
|
|
16
16
|
controls: a,
|
|
17
|
-
cta:
|
|
18
|
-
header:
|
|
19
|
-
subHeader:
|
|
17
|
+
cta: c,
|
|
18
|
+
header: l,
|
|
19
|
+
subHeader: h,
|
|
20
20
|
variant: m = "default"
|
|
21
21
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
] }),
|
|
27
|
-
|
|
22
|
+
const n = /* @__PURE__ */ t("div", { className: e["header-content"], children: [
|
|
23
|
+
d,
|
|
24
|
+
l,
|
|
25
|
+
h
|
|
26
|
+
] }), o = a ? /* @__PURE__ */ t("div", { className: e.controls, children: [
|
|
27
|
+
n,
|
|
28
28
|
a
|
|
29
|
-
] }) :
|
|
30
|
-
return /* @__PURE__ */ t("header", { className: _(e.header, b[m],
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
] }) :
|
|
35
|
-
|
|
29
|
+
] }) : n;
|
|
30
|
+
return /* @__PURE__ */ t("header", { className: _(e.header, b[m], r && e.capitalize), "data-component": "header", children: [
|
|
31
|
+
c ? /* @__PURE__ */ t("div", { className: e.cta, children: [
|
|
32
|
+
o,
|
|
33
|
+
c
|
|
34
|
+
] }) : o,
|
|
35
|
+
s
|
|
36
36
|
] });
|
|
37
37
|
};
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
N as Header
|
|
40
40
|
};
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index47.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index47.css');const i=require("react/jsx-runtime"),g=require("../../classix-5H4IWnMA.cjs"),l=require("react");function d(t){return l.isValidElement(t)&&t.type===l.Fragment}function E(t,e=[]){return l.Children.forEach(t,n=>{d(n)?E(n.props.children,e):e.push(n)}),e}function x(t,{wrapper:e="li"}={}){return E(t).filter(s=>s!==null).map((s,r)=>{if(l.isValidElement(s)&&s.type===e)return s;const c=l.isValidElement(s)&&s.key!=null?s.key:r;return l.createElement(e,{key:c},s)})}const z="_controls_17ti2_1",F="_horizontal_17ti2_6",V="_list_17ti2_17",b="_columns_17ti2_57",k="_compact_17ti2_68",o={controls:z,horizontal:F,list:V,columns:b,compact:k},j=(t,e)=>{typeof t=="function"?t(e):t&&(t.current=e)};function q({children:t,className:e,columns:n=1,compact:u=!1,controls:s,horizontal:r,ordered:c,ref:m,style:N,...f}){const _=Number.isFinite(n)?Math.max(1,Math.floor(n)):1,y=g.t(e,o.list,_>1&&o.columns,r&&o.horizontal,u&&o.compact),p={...N,"--list-columns":_},h=c?i.jsx("ol",{className:y,ref:a=>j(m,a),style:p,...f,children:x(t)}):i.jsx("ul",{className:y,ref:a=>j(m,a),style:p,...f,children:x(t)});return s==null?h:i.jsxs(i.Fragment,{children:[i.jsx("div",{className:o.controls,children:s}),h]})}exports.List=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import { t as
|
|
1
|
+
import { jsx as a, jsxs as F, Fragment as V } from "react/jsx-runtime";
|
|
2
|
+
import { t as d } from "../../classix-DG18itHa.js";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import '../../assets/index47.css';function
|
|
4
|
+
import '../../assets/index47.css';function g(t) {
|
|
5
5
|
return e.isValidElement(t) && t.type === e.Fragment;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function x(t, s = []) {
|
|
8
8
|
return e.Children.forEach(t, (l) => {
|
|
9
|
-
|
|
9
|
+
g(l) ? x(l.props.children, s) : s.push(l);
|
|
10
10
|
}), s;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function E(t, {
|
|
13
13
|
wrapper: s = "li"
|
|
14
14
|
} = {}) {
|
|
15
|
-
return
|
|
15
|
+
return x(t).filter((n) => n !== null).map((n, i) => {
|
|
16
16
|
if (e.isValidElement(n) && n.type === s)
|
|
17
17
|
return n;
|
|
18
|
-
const
|
|
18
|
+
const r = e.isValidElement(n) && n.key != null ? n.key : i;
|
|
19
19
|
return e.createElement(s, {
|
|
20
|
-
key:
|
|
20
|
+
key: r
|
|
21
21
|
}, n);
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
const
|
|
25
|
-
controls:
|
|
24
|
+
const k = "_controls_17ti2_1", C = "_horizontal_17ti2_6", j = "_list_17ti2_17", v = "_columns_17ti2_57", L = "_compact_17ti2_68", o = {
|
|
25
|
+
controls: k,
|
|
26
26
|
horizontal: C,
|
|
27
27
|
list: j,
|
|
28
28
|
columns: v,
|
|
29
29
|
compact: L
|
|
30
|
-
},
|
|
30
|
+
}, N = (t, s) => {
|
|
31
31
|
typeof t == "function" ? t(s) : t && (t.current = s);
|
|
32
32
|
};
|
|
33
33
|
function w({
|
|
@@ -36,17 +36,17 @@ function w({
|
|
|
36
36
|
columns: l = 1,
|
|
37
37
|
compact: m = !1,
|
|
38
38
|
controls: n,
|
|
39
|
-
horizontal:
|
|
40
|
-
ordered:
|
|
39
|
+
horizontal: i,
|
|
40
|
+
ordered: r,
|
|
41
41
|
ref: u,
|
|
42
|
-
style:
|
|
42
|
+
style: z,
|
|
43
43
|
...f
|
|
44
44
|
}) {
|
|
45
|
-
const _ = Number.isFinite(l) ? Math.max(1, Math.floor(l)) : 1, p =
|
|
46
|
-
...
|
|
45
|
+
const _ = Number.isFinite(l) ? Math.max(1, Math.floor(l)) : 1, p = d(s, o.list, _ > 1 && o.columns, i && o.horizontal, m && o.compact), y = {
|
|
46
|
+
...z,
|
|
47
47
|
"--list-columns": _
|
|
48
|
-
}, h =
|
|
49
|
-
return n == null ? h : /* @__PURE__ */
|
|
48
|
+
}, h = r ? /* @__PURE__ */ a("ol", { className: p, ref: (c) => N(u, c), style: y, ...f, children: E(t) }) : /* @__PURE__ */ a("ul", { className: p, ref: (c) => N(u, c), style: y, ...f, children: E(t) });
|
|
49
|
+
return n == null ? h : /* @__PURE__ */ F(V, { children: [
|
|
50
50
|
/* @__PURE__ */ a("div", { className: o.controls, children: n }),
|
|
51
51
|
h
|
|
52
52
|
] });
|
package/dist/tokens.json
CHANGED