@solibo/solibo-ui 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index10.css');const e=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),c=require("../button/index.cjs"),a=require("../icon/index.cjs"),l=require("../aside/index.cjs"),_=require("../branding/index.cjs"),d=require("../figure/index.cjs"),m=require("../nav/index.cjs"),u="_portal_115mr_39",g="_content_115mr_267",p="_toggle_115mr_274",x="_open_115mr_338",n={portal:u,content:g,toggle:p,open:x},j=({children:t,portals:o,open:r,setOpen:s})=>e.jsxs(l.Aside,{className:i.t(n.portal,r&&n.open),sticky:!0,"data-component":"portal",children:[e.jsx(c.Button,{className:n.toggle,onClick:()=>s(!r),variant:"tertiary",children:e.jsx(a.Icon,{name:"sidebar"})}),e.jsx(d.Figure,{children:e.jsx(_.Branding,{name:"logo",size:48,variant:"white"})}),e.jsxs("div",{className:n.content,children:[o&&e.jsx(m.Nav,{horizontal:!0,children:o}),t&&t]})]});exports.Portal=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index10.css');const e=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),c=require("../button/index.cjs"),a=require("../icon/index.cjs"),l=require("../aside/index.cjs"),_=require("../branding/index.cjs"),d=require("../figure/index.cjs"),u=require("../nav/index.cjs"),g="_portal_1j8wd_41",p="_content_1j8wd_251",x="_toggle_1j8wd_258",m="_open_1j8wd_322",n={portal:g,content:p,toggle:x,open:m},j=({children:t,portals:o,open:s,setOpen:r})=>e.jsxs(l.Aside,{className:i.t(n.portal,s&&n.open),sticky:!0,"data-component":"portal",children:[e.jsx(c.Button,{className:n.toggle,onClick:()=>r(!s),variant:"tertiary",children:e.jsx(a.Icon,{name:"sidebar"})}),e.jsx(d.Figure,{children:e.jsx(_.Branding,{name:"logo",size:48,variant:"white"})}),e.jsxs("div",{className:n.content,children:[o&&e.jsx(u.Nav,{horizontal:!0,children:o}),t&&t]})]});exports.Portal=j;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,30 +1,30 @@
1
- import { jsxs as m, jsx as o } from "react/jsx-runtime";
2
- import { t as a } from "../../classix-DG18itHa.js";
1
+ import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
+ import { t as m } from "../../classix-DG18itHa.js";
3
3
  import { Button as c } from "../button/index.js";
4
4
  import { Icon as l } from "../icon/index.js";
5
5
  import { Aside as s } from "../aside/index.js";
6
6
  import { Branding as p } from "../branding/index.js";
7
- import { Figure as _ } from "../figure/index.js";
8
- import { Nav as g } from "../nav/index.js";
9
- import '../../assets/index10.css';const d = "_portal_115mr_39", f = "_content_115mr_267", h = "_toggle_115mr_274", u = "_open_115mr_338", t = {
10
- portal: d,
7
+ import { Figure as d } from "../figure/index.js";
8
+ import { Nav as _ } from "../nav/index.js";
9
+ import '../../assets/index10.css';const g = "_portal_1j8wd_41", f = "_content_1j8wd_251", h = "_toggle_1j8wd_258", j = "_open_1j8wd_322", t = {
10
+ portal: g,
11
11
  content: f,
12
12
  toggle: h,
13
- open: u
14
- }, b = ({
13
+ open: j
14
+ }, B = ({
15
15
  children: r,
16
16
  portals: n,
17
17
  open: e,
18
- setOpen: i
19
- }) => /* @__PURE__ */ m(s, { className: a(t.portal, e && t.open), sticky: !0, "data-component": "portal", children: [
20
- /* @__PURE__ */ o(c, { className: t.toggle, onClick: () => i(!e), variant: "tertiary", children: /* @__PURE__ */ o(l, { name: "sidebar" }) }),
21
- /* @__PURE__ */ o(_, { children: /* @__PURE__ */ o(p, { name: "logo", size: 48, variant: "white" }) }),
22
- /* @__PURE__ */ m("div", { className: t.content, children: [
23
- n && /* @__PURE__ */ o(g, { horizontal: !0, children: n }),
18
+ setOpen: a
19
+ }) => /* @__PURE__ */ i(s, { className: m(t.portal, e && t.open), sticky: !0, "data-component": "portal", children: [
20
+ /* @__PURE__ */ o(c, { className: t.toggle, onClick: () => a(!e), variant: "tertiary", children: /* @__PURE__ */ o(l, { name: "sidebar" }) }),
21
+ /* @__PURE__ */ o(d, { children: /* @__PURE__ */ o(p, { name: "logo", size: 48, variant: "white" }) }),
22
+ /* @__PURE__ */ i("div", { className: t.content, children: [
23
+ n && /* @__PURE__ */ o(_, { horizontal: !0, children: n }),
24
24
  r && r
25
25
  ] })
26
26
  ] });
27
27
  export {
28
- b as Portal
28
+ B as Portal
29
29
  };
30
30
  //# sourceMappingURL=index.js.map
package/dist/tokens.json CHANGED
@@ -365,7 +365,7 @@
365
365
  },
366
366
  "com.solibo": {
367
367
  "packageName": "@solibo/solibo-ui",
368
- "packageVersion": "1.0.9"
368
+ "packageVersion": "1.0.11"
369
369
  }
370
370
  },
371
371
  "$name": "Solibo UI Tokens",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solibo/solibo-ui",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "pnpm run tokens:build && vite build --watch",