@solibo/solibo-ui 2.2.14 → 2.2.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/index13.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._layout_5pc8a_1{margin:0 auto;padding:var(--shape-spacing-xl) var(--shape-spacing-2xl);width:100%}._constrained_5pc8a_7>article{max-width:var(--page-content-max-width);width:100%}._reading_5pc8a_12>article{min-width:0}._reading_5pc8a_12>article>:not(header,[data-component=controls],[data-span=all]){max-width:min(100%,var(--page-content-max-width, var(--shape-width-max-lg)))}._reading_5pc8a_12>article [data-component=emptystate]{margin-inline:0}._with-sidebar_5pc8a_24{display:grid;grid-template-columns:var(--shape-width-sidebar) minmax(0,1fr);padding:0}._with-sidebar_5pc8a_24>article:not([data-component=panel]){padding:var(--shape-spacing-md) var(--shape-spacing-lg)}._fill-viewport_5pc8a_34{height:100dvh;min-height:0;overflow:hidden}._loading_5pc8a_40{display:grid}._loading_5pc8a_40:not(._fill-viewport_5pc8a_34){min-height:100dvh}._loading-content_5pc8a_48{align-items:center;display:flex;justify-content:center;min-height:0;min-width:0}@media (width <= 1024px){._layout_5pc8a_1{padding:calc(var(--utils-tokens-unit) * 4) var(--utils-tokens-unit)}._with-sidebar_5pc8a_24{padding:0}._with-sidebar_5pc8a_24>article:not([data-component=panel]){padding:var(--shape-spacing-md)}._fill-viewport_5pc8a_34{height:calc(100dvh - var(--shape-spacing-3xl))}._loading_5pc8a_40:not(._fill-viewport_5pc8a_34){min-height:calc(100dvh - var(--shape-spacing-3xl))}}@media (width <= 768px){._with-sidebar_5pc8a_24{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}}._layout_5pc8a_1._without-padding_5pc8a_87{padding:0}._layout_5pc8a_1.conversation-layout [data-component=editor]>div{border-left:0;border-right:0;border-radius:0}._layout_5pc8a_1.conversation-layout [data-component=editor]>div>div{border-radius:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index13.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index13.css');const t=require("react/jsx-runtime"),y=require("classix"),w=require("../loading/index.cjs"),f="_layout_5pc8a_1",h="_constrained_5pc8a_7",m="_reading_5pc8a_12",b="_loading_5pc8a_40",a={layout:f,constrained:h,reading:m,"with-sidebar":"_with-sidebar_5pc8a_24","fill-viewport":"_fill-viewport_5pc8a_34",loading:b,"loading-content":"_loading-content_5pc8a_48","without-padding":"_without-padding_5pc8a_87"},v=({"aria-busy":l,children:s,className:d,contentLayout:n="default",contentMaxWidth:i,fillViewport:c=!1,loading:e=!1,loadingLabel:r="Loading",padding:_="default",sidebar:o,style:u,...g})=>{const p={...u,"--page-content-max-width":i};return t.jsxs("main",{"aria-busy":l??(e||void 0),className:y(a.layout,!!o&&a["with-sidebar"],c&&a["fill-viewport"],i&&n==="default"&&a.constrained,n==="reading"&&a.reading,_==="none"&&a["without-padding"],e&&a.loading,d),style:p,...g,"data-component":"pagelayout",children:[o,e?t.jsx("div",{className:a["loading-content"],role:"status","aria-label":r,children:t.jsx(w.Loading,{size:"large"})}):s]})};exports.PageLayout=v;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Loading as
|
|
4
|
-
import '../../assets/index13.css';const
|
|
5
|
-
layout:
|
|
6
|
-
constrained:
|
|
7
|
-
reading:
|
|
8
|
-
"with-sidebar": "_with-
|
|
9
|
-
"fill-viewport": "_fill-
|
|
10
|
-
loading:
|
|
11
|
-
"loading-content": "_loading-
|
|
12
|
-
"without-padding": "_without-
|
|
13
|
-
},
|
|
1
|
+
import { jsxs as f, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import m from "classix";
|
|
3
|
+
import { Loading as y } from "../loading/index.js";
|
|
4
|
+
import '../../assets/index13.css';const w = "_layout_5pc8a_1", h = "_constrained_5pc8a_7", b = "_reading_5pc8a_12", v = "_loading_5pc8a_40", a = {
|
|
5
|
+
layout: w,
|
|
6
|
+
constrained: h,
|
|
7
|
+
reading: b,
|
|
8
|
+
"with-sidebar": "_with-sidebar_5pc8a_24",
|
|
9
|
+
"fill-viewport": "_fill-viewport_5pc8a_34",
|
|
10
|
+
loading: v,
|
|
11
|
+
"loading-content": "_loading-content_5pc8a_48",
|
|
12
|
+
"without-padding": "_without-padding_5pc8a_87"
|
|
13
|
+
}, N = ({
|
|
14
14
|
"aria-busy": l,
|
|
15
15
|
children: d,
|
|
16
16
|
className: r,
|
|
17
|
-
contentLayout:
|
|
18
|
-
contentMaxWidth:
|
|
17
|
+
contentLayout: o = "default",
|
|
18
|
+
contentMaxWidth: i,
|
|
19
19
|
fillViewport: s = !1,
|
|
20
|
-
loading:
|
|
21
|
-
loadingLabel:
|
|
22
|
-
padding:
|
|
23
|
-
sidebar:
|
|
24
|
-
style:
|
|
25
|
-
...
|
|
20
|
+
loading: t = !1,
|
|
21
|
+
loadingLabel: c = "Loading",
|
|
22
|
+
padding: _ = "default",
|
|
23
|
+
sidebar: n,
|
|
24
|
+
style: p,
|
|
25
|
+
...g
|
|
26
26
|
}) => {
|
|
27
27
|
const u = {
|
|
28
|
-
...
|
|
29
|
-
"--page-content-max-width":
|
|
28
|
+
...p,
|
|
29
|
+
"--page-content-max-width": i
|
|
30
30
|
};
|
|
31
|
-
return /* @__PURE__ */
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
return /* @__PURE__ */ f("main", { "aria-busy": l ?? (t || void 0), className: m(a.layout, !!n && a["with-sidebar"], s && a["fill-viewport"], i && o === "default" && a.constrained, o === "reading" && a.reading, _ === "none" && a["without-padding"], t && a.loading, r), style: u, ...g, "data-component": "pagelayout", children: [
|
|
32
|
+
n,
|
|
33
|
+
t ? /* @__PURE__ */ e("div", { className: a["loading-content"], role: "status", "aria-label": c, children: /* @__PURE__ */ e(y, { size: "large" }) }) : d
|
|
34
34
|
] });
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
N as PageLayout
|
|
38
38
|
};
|
package/dist/tokens.json
CHANGED