react-luminus-components 1.1.16 → 1.1.17

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,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ContainerProps } from '@models/index';
3
- declare const FullScreenContainer: ({ title, children }: ContainerProps) => import("react").JSX.Element;
3
+ declare const FullScreenContainer: ({ title, children, sideContent }: ContainerProps) => import("react").JSX.Element;
4
4
  export default FullScreenContainer;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./useAxios-DuhvBHuH.cjs"),_=require("react"),R=require("./SimpleTooltip-CLfGg88p.cjs"),E=require("./hasClass-C0uHVOLl.cjs"),C="_side-menu-item_9ejxx_1",B="_nav-button_9ejxx_5",M="_child_9ejxx_13",k="_text_9ejxx_16",S="_icon_9ejxx_19",f="_collapse-icon_9ejxx_25",g="_collapsed_9ejxx_35",I="_expanded_9ejxx_42",T="_children-container_9ejxx_48",w="_visible_9ejxx_57",o={"side-menu-item":"_side-menu-item_9ejxx_1",sideMenuItem:C,"nav-button":"_nav-button_9ejxx_5",navButton:B,child:M,text:k,icon:S,"collapse-icon":"_collapse-icon_9ejxx_25",collapseIcon:f,collapsed:g,expanded:I,"children-container":"_children-container_9ejxx_48",childrenContainer:T,visible:w},y=({item:s,menuExpanded:n,children:t})=>s.tooltip&&!n?e.jsxRuntimeExports.jsx(R.SimpleTooltip,{text:s.tooltip,placement:"right",children:t}):t,h=({item:s,menuExpanded:n,collapsed:t,onCollapse:i,currentPath:c})=>{var r,j;const{LinkComponent:x}=_.useContext(e.LuminusComponentsContext),[d,l]=_.useState(!1),[u]=c.split("?"),a=s.linkTo===u||((r=s.children)==null?void 0:r.some(m=>m.linkTo===u));return e.jsxRuntimeExports.jsx("li",{className:e.classNames("luminus-side-menu-item",o.sideMenuItem,{[o.expanded]:n},{active:d||a},{open:t&&s.children}),onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:e.jsxRuntimeExports.jsx(y,{item:s,menuExpanded:n,children:s.children?e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs("button",{type:"button",className:e.classNames("nav-link",o.navButton),onClick:()=>i(),children:[e.jsxRuntimeExports.jsx("div",{className:e.classNames("icon",o.icon),children:s.icon}),n&&e.jsxRuntimeExports.jsx("div",{className:e.classNames("text",o.text,"text-nowrap"),children:s.title}),n&&e.jsxRuntimeExports.jsx("div",{className:e.classNames("collapse-icon",o.collapseIcon,{[o.collapsed]:t}),children:e.jsxRuntimeExports.jsx(e.MdOutlineKeyboardArrowRight,{})})]}),e.jsxRuntimeExports.jsx("div",{className:e.classNames("children-container shadow rounded",o.childrenContainer,{[o.visible]:t}),children:(j=s.children)==null?void 0:j.map(m=>e.jsxRuntimeExports.jsx(x,{to:m.linkTo??"/",className:e.classNames("nav-link child rounded",o.navButton,o.child),children:e.jsxRuntimeExports.jsx("div",{className:e.classNames("text",o.text,"text-nowrap"),children:m.title})},m.linkTo))})]}):e.jsxRuntimeExports.jsxs(x,{to:s.linkTo??"/",className:e.classNames("nav-link",o.navButton),children:[e.jsxRuntimeExports.jsx("div",{className:e.classNames("icon",o.icon),children:s.icon}),n&&e.jsxRuntimeExports.jsx("div",{className:e.classNames("text",o.text,"text-nowrap"),children:s.title})]})})})},$="_side-menu_n1hvm_1",L="_sidebar-header_n1hvm_13",H="_side-menu-content_n1hvm_18",q="_expand_n1hvm_22",A="_divider_n1hvm_26",p={"side-menu":"_side-menu_n1hvm_1",sideMenu:$,"sidebar-header":"_sidebar-header_n1hvm_13",sidebarHeader:L,"side-menu-content":"_side-menu-content_n1hvm_18",sideMenuContent:H,expand:q,divider:A},F=({headerItem:s,mainItems:n,secondaryItems:t,expanded:i,setExpanded:c,currentPath:x})=>{const[d,l]=_.useState(-1),u=a=>{l(a===d?-1:a)};return _.useEffect(()=>{i||l(-1)},[i]),e.jsxRuntimeExports.jsxs("section",{className:e.classNames("luminus-side-menu",p.sideMenu,{[p.expand]:i},{expand:i}),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[e.jsxRuntimeExports.jsx("div",{className:e.classNames("sidebar-header",p.sidebarHeader),children:s}),e.jsxRuntimeExports.jsxs("ul",{className:p.sideMenuContent,children:[n.map((a,r)=>e.jsxRuntimeExports.jsx(h,{item:a,menuExpanded:i,collapsed:r===d,onCollapse:()=>u(r),currentPath:x},a.title)),e.jsxRuntimeExports.jsx("hr",{className:e.classNames("divider",p.divider)}),t.map((a,r)=>e.jsxRuntimeExports.jsx(h,{item:a,menuExpanded:i,collapsed:r===d,onCollapse:()=>u(r),currentPath:x},a.title))]})]})},K="_top-bar_1lk80_1",P="_top-bar-brand_1lk80_14",v={"top-bar":"_top-bar_1lk80_1",topBar:K,"top-bar-brand":"_top-bar-brand_1lk80_14",topBarBrand:P},z=({appName:s,leftOffset:n,centerContent:t,rightContent:i})=>{const{LinkComponent:c}=_.useContext(e.LuminusComponentsContext);return e.jsxRuntimeExports.jsxs("nav",{className:e.classNames("luminus-top-bar",v.topBar),style:{width:n?`calc(100% - ${n}px)`:void 0,left:n?`${n}px`:void 0},children:[e.jsxRuntimeExports.jsx(c,{to:"/",className:e.classNames("luminus-top-bar-brand",v.topBarBrand),children:s}),t&&e.jsxRuntimeExports.jsx("div",{children:t}),e.jsxRuntimeExports.jsx("div",{className:"d-flex justify-content-end align-items-center gap-2",children:i??null})]})},D="_side-content-bar_17kwd_1",G={"side-content-bar":"_side-content-bar_17kwd_1",sideContentBar:D},N=({width:s,children:n})=>e.jsxRuntimeExports.jsx("section",{className:e.classNames("luminus-side-content-bar",G.sideContentBar),style:{width:`${s}px`},children:n}),b=({title:s})=>e.jsxRuntimeExports.jsx("div",{className:"mb-3",children:typeof s=="string"?e.jsxRuntimeExports.jsx(E.Typography,{variant:"h3",children:s}):s}),J=({title:s,children:n,sideContent:t})=>e.jsxRuntimeExports.jsxs("div",{className:"container-fluid p-3",children:[e.jsxRuntimeExports.jsxs("div",{style:{paddingRight:t?"250px":void 0},children:[s?e.jsxRuntimeExports.jsx(b,{title:s}):null,n]}),t&&e.jsxRuntimeExports.jsx(N,{width:250,children:t})]}),O="_full-screen-container_1c9bu_1",Q={"full-screen-container":"_full-screen-container_1c9bu_1",fullScreenContainer:O},U=({title:s,children:n})=>e.jsxRuntimeExports.jsxs("div",{className:e.classNames("container-fluid p-3 overflow-hidden luminus-full-screen-container",Q.fullScreenContainer),children:[s?e.jsxRuntimeExports.jsx(b,{title:s}):null,n]});exports.FullScreenContainer=U;exports.MainContainer=J;exports.SideContentBar=N;exports.SideMenu=F;exports.TopBar=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./useAxios-DuhvBHuH.cjs"),j=require("react"),E=require("./SimpleTooltip-CLfGg88p.cjs"),b=require("./hasClass-C0uHVOLl.cjs"),C="_side-menu-item_9ejxx_1",B="_nav-button_9ejxx_5",M="_child_9ejxx_13",k="_text_9ejxx_16",S="_icon_9ejxx_19",f="_collapse-icon_9ejxx_25",g="_collapsed_9ejxx_35",w="_expanded_9ejxx_42",y="_children-container_9ejxx_48",I="_visible_9ejxx_57",o={"side-menu-item":"_side-menu-item_9ejxx_1",sideMenuItem:C,"nav-button":"_nav-button_9ejxx_5",navButton:B,child:M,text:k,icon:S,"collapse-icon":"_collapse-icon_9ejxx_25",collapseIcon:f,collapsed:g,expanded:w,"children-container":"_children-container_9ejxx_48",childrenContainer:y,visible:I},T=({item:s,menuExpanded:n,children:t})=>s.tooltip&&!n?e.jsxRuntimeExports.jsx(E.SimpleTooltip,{text:s.tooltip,placement:"right",children:t}):t,v=({item:s,menuExpanded:n,collapsed:t,onCollapse:i,currentPath:c})=>{var r,h;const{LinkComponent:x}=j.useContext(e.LuminusComponentsContext),[d,l]=j.useState(!1),[u]=c.split("?"),a=s.linkTo===u||((r=s.children)==null?void 0:r.some(m=>m.linkTo===u));return e.jsxRuntimeExports.jsx("li",{className:e.classNames("luminus-side-menu-item",o.sideMenuItem,{[o.expanded]:n},{active:d||a},{open:t&&s.children}),onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:e.jsxRuntimeExports.jsx(T,{item:s,menuExpanded:n,children:s.children?e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs("button",{type:"button",className:e.classNames("nav-link",o.navButton),onClick:()=>i(),children:[e.jsxRuntimeExports.jsx("div",{className:e.classNames("icon",o.icon),children:s.icon}),n&&e.jsxRuntimeExports.jsx("div",{className:e.classNames("text",o.text,"text-nowrap"),children:s.title}),n&&e.jsxRuntimeExports.jsx("div",{className:e.classNames("collapse-icon",o.collapseIcon,{[o.collapsed]:t}),children:e.jsxRuntimeExports.jsx(e.MdOutlineKeyboardArrowRight,{})})]}),e.jsxRuntimeExports.jsx("div",{className:e.classNames("children-container shadow rounded",o.childrenContainer,{[o.visible]:t}),children:(h=s.children)==null?void 0:h.map(m=>e.jsxRuntimeExports.jsx(x,{to:m.linkTo??"/",className:e.classNames("nav-link child rounded",o.navButton,o.child),children:e.jsxRuntimeExports.jsx("div",{className:e.classNames("text",o.text,"text-nowrap"),children:m.title})},m.linkTo))})]}):e.jsxRuntimeExports.jsxs(x,{to:s.linkTo??"/",className:e.classNames("nav-link",o.navButton),children:[e.jsxRuntimeExports.jsx("div",{className:e.classNames("icon",o.icon),children:s.icon}),n&&e.jsxRuntimeExports.jsx("div",{className:e.classNames("text",o.text,"text-nowrap"),children:s.title})]})})})},$="_side-menu_n1hvm_1",L="_sidebar-header_n1hvm_13",H="_side-menu-content_n1hvm_18",q="_expand_n1hvm_22",F="_divider_n1hvm_26",p={"side-menu":"_side-menu_n1hvm_1",sideMenu:$,"sidebar-header":"_sidebar-header_n1hvm_13",sidebarHeader:L,"side-menu-content":"_side-menu-content_n1hvm_18",sideMenuContent:H,expand:q,divider:F},A=({headerItem:s,mainItems:n,secondaryItems:t,expanded:i,setExpanded:c,currentPath:x})=>{const[d,l]=j.useState(-1),u=a=>{l(a===d?-1:a)};return j.useEffect(()=>{i||l(-1)},[i]),e.jsxRuntimeExports.jsxs("section",{className:e.classNames("luminus-side-menu",p.sideMenu,{[p.expand]:i},{expand:i}),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[e.jsxRuntimeExports.jsx("div",{className:e.classNames("sidebar-header",p.sidebarHeader),children:s}),e.jsxRuntimeExports.jsxs("ul",{className:p.sideMenuContent,children:[n.map((a,r)=>e.jsxRuntimeExports.jsx(v,{item:a,menuExpanded:i,collapsed:r===d,onCollapse:()=>u(r),currentPath:x},a.title)),e.jsxRuntimeExports.jsx("hr",{className:e.classNames("divider",p.divider)}),t.map((a,r)=>e.jsxRuntimeExports.jsx(v,{item:a,menuExpanded:i,collapsed:r===d,onCollapse:()=>u(r),currentPath:x},a.title))]})]})},K="_top-bar_1lk80_1",P="_top-bar-brand_1lk80_14",R={"top-bar":"_top-bar_1lk80_1",topBar:K,"top-bar-brand":"_top-bar-brand_1lk80_14",topBarBrand:P},z=({appName:s,leftOffset:n,centerContent:t,rightContent:i})=>{const{LinkComponent:c}=j.useContext(e.LuminusComponentsContext);return e.jsxRuntimeExports.jsxs("nav",{className:e.classNames("luminus-top-bar",R.topBar),style:{width:n?`calc(100% - ${n}px)`:void 0,left:n?`${n}px`:void 0},children:[e.jsxRuntimeExports.jsx(c,{to:"/",className:e.classNames("luminus-top-bar-brand",R.topBarBrand),children:s}),t&&e.jsxRuntimeExports.jsx("div",{children:t}),e.jsxRuntimeExports.jsx("div",{className:"d-flex justify-content-end align-items-center gap-2",children:i??null})]})},D="_side-content-bar_17kwd_1",G={"side-content-bar":"_side-content-bar_17kwd_1",sideContentBar:D},_=({width:s,children:n})=>e.jsxRuntimeExports.jsx("section",{className:e.classNames("luminus-side-content-bar",G.sideContentBar),style:{width:`${s}px`},children:n}),N=({title:s})=>e.jsxRuntimeExports.jsx("div",{className:"mb-3",children:typeof s=="string"?e.jsxRuntimeExports.jsx(b.Typography,{variant:"h3",children:s}):s}),J=({title:s,children:n,sideContent:t})=>e.jsxRuntimeExports.jsxs("div",{className:"container-fluid p-3",children:[e.jsxRuntimeExports.jsxs("div",{style:{paddingRight:t?"250px":void 0},children:[s?e.jsxRuntimeExports.jsx(N,{title:s}):null,n]}),t&&e.jsxRuntimeExports.jsx(_,{width:250,children:t})]}),O="_full-screen-container_1rm4r_1",Q={"full-screen-container":"_full-screen-container_1rm4r_1",fullScreenContainer:O},U=({title:s,children:n,sideContent:t})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs("div",{className:e.classNames("ontainer-fluid p-3 overflow-hidden luminus-full-screen-container",Q.fullScreenContainer),style:{width:t?"calc(100% - 250px)":"100%"},children:[s?e.jsxRuntimeExports.jsx(N,{title:s}):null,n]}),t&&e.jsxRuntimeExports.jsx(_,{width:250,children:t})]});exports.FullScreenContainer=U;exports.MainContainer=J;exports.SideContentBar=_;exports.SideMenu=A;exports.TopBar=z;
package/dist/layout.es.js CHANGED
@@ -1,104 +1,107 @@
1
- import { L as b, j as e, d as t, M } from "./useAxios-Co2Q-JSk.js";
2
- import { useContext as C, useState as N, useEffect as f } from "react";
3
- import { S as k } from "./SimpleTooltip-DV3SQ0iz.js";
1
+ import { L as b, j as e, d as o, M as f } from "./useAxios-Co2Q-JSk.js";
2
+ import { useContext as N, useState as C, useEffect as k } from "react";
3
+ import { S as w } from "./SimpleTooltip-DV3SQ0iz.js";
4
4
  import { T as I } from "./hasClass-cZEMP5cn.js";
5
- const w = "_side-menu-item_9ejxx_1", g = "_nav-button_9ejxx_5", T = "_child_9ejxx_13", y = "_text_9ejxx_16", S = "_icon_9ejxx_19", $ = "_collapse-icon_9ejxx_25", L = "_collapsed_9ejxx_35", H = "_expanded_9ejxx_42", R = "_children-container_9ejxx_48", A = "_visible_9ejxx_57", i = {
5
+ const g = "_side-menu-item_9ejxx_1", y = "_nav-button_9ejxx_5", T = "_child_9ejxx_13", S = "_text_9ejxx_16", $ = "_icon_9ejxx_19", L = "_collapse-icon_9ejxx_25", H = "_collapsed_9ejxx_35", F = "_expanded_9ejxx_42", R = "_children-container_9ejxx_48", A = "_visible_9ejxx_57", i = {
6
6
  "side-menu-item": "_side-menu-item_9ejxx_1",
7
- sideMenuItem: w,
7
+ sideMenuItem: g,
8
8
  "nav-button": "_nav-button_9ejxx_5",
9
- navButton: g,
9
+ navButton: y,
10
10
  child: T,
11
- text: y,
12
- icon: S,
11
+ text: S,
12
+ icon: $,
13
13
  "collapse-icon": "_collapse-icon_9ejxx_25",
14
- collapseIcon: $,
15
- collapsed: L,
16
- expanded: H,
14
+ collapseIcon: L,
15
+ collapsed: H,
16
+ expanded: F,
17
17
  "children-container": "_children-container_9ejxx_48",
18
18
  childrenContainer: R,
19
19
  visible: A
20
- }, F = ({ item: n, menuExpanded: s, children: o }) => n.tooltip && !s ? /* @__PURE__ */ e.jsx(k, { text: n.tooltip, placement: "right", children: o }) : o, v = ({ item: n, menuExpanded: s, collapsed: o, onCollapse: a, currentPath: r }) => {
20
+ }, E = ({ item: n, menuExpanded: s, children: t }) => n.tooltip && !s ? /* @__PURE__ */ e.jsx(w, { text: n.tooltip, placement: "right", children: t }) : t, v = ({ item: n, menuExpanded: s, collapsed: t, onCollapse: a, currentPath: r }) => {
21
21
  var l, h;
22
- const { LinkComponent: _ } = C(b), [x, d] = N(!1), [u] = r.split("?"), c = n.linkTo === u || ((l = n.children) == null ? void 0 : l.some((p) => p.linkTo === u));
23
- return /* @__PURE__ */ e.jsx("li", { className: t("luminus-side-menu-item", i.sideMenuItem, {
22
+ const { LinkComponent: _ } = N(b), [x, d] = C(!1), [u] = r.split("?"), c = n.linkTo === u || ((l = n.children) == null ? void 0 : l.some((m) => m.linkTo === u));
23
+ return /* @__PURE__ */ e.jsx("li", { className: o("luminus-side-menu-item", i.sideMenuItem, {
24
24
  [i.expanded]: s
25
- }, { active: x || c }, { open: o && n.children }), onMouseEnter: () => d(!0), onMouseLeave: () => d(!1), children: /* @__PURE__ */ e.jsx(F, { item: n, menuExpanded: s, children: n.children ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
26
- /* @__PURE__ */ e.jsxs("button", { type: "button", className: t("nav-link", i.navButton), onClick: () => a(), children: [
27
- /* @__PURE__ */ e.jsx("div", { className: t("icon", i.icon), children: n.icon }),
28
- s && /* @__PURE__ */ e.jsx("div", { className: t("text", i.text, "text-nowrap"), children: n.title }),
29
- s && /* @__PURE__ */ e.jsx("div", { className: t("collapse-icon", i.collapseIcon, {
30
- [i.collapsed]: o
31
- }), children: /* @__PURE__ */ e.jsx(M, {}) })
25
+ }, { active: x || c }, { open: t && n.children }), onMouseEnter: () => d(!0), onMouseLeave: () => d(!1), children: /* @__PURE__ */ e.jsx(E, { item: n, menuExpanded: s, children: n.children ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
26
+ /* @__PURE__ */ e.jsxs("button", { type: "button", className: o("nav-link", i.navButton), onClick: () => a(), children: [
27
+ /* @__PURE__ */ e.jsx("div", { className: o("icon", i.icon), children: n.icon }),
28
+ s && /* @__PURE__ */ e.jsx("div", { className: o("text", i.text, "text-nowrap"), children: n.title }),
29
+ s && /* @__PURE__ */ e.jsx("div", { className: o("collapse-icon", i.collapseIcon, {
30
+ [i.collapsed]: t
31
+ }), children: /* @__PURE__ */ e.jsx(f, {}) })
32
32
  ] }),
33
- /* @__PURE__ */ e.jsx("div", { className: t("children-container shadow rounded", i.childrenContainer, {
34
- [i.visible]: o
35
- }), children: (h = n.children) == null ? void 0 : h.map((p) => /* @__PURE__ */ e.jsx(_, { to: p.linkTo ?? "/", className: t("nav-link child rounded", i.navButton, i.child), children: /* @__PURE__ */ e.jsx("div", { className: t("text", i.text, "text-nowrap"), children: p.title }) }, p.linkTo)) })
36
- ] }) : /* @__PURE__ */ e.jsxs(_, { to: n.linkTo ?? "/", className: t("nav-link", i.navButton), children: [
37
- /* @__PURE__ */ e.jsx("div", { className: t("icon", i.icon), children: n.icon }),
38
- s && /* @__PURE__ */ e.jsx("div", { className: t("text", i.text, "text-nowrap"), children: n.title })
33
+ /* @__PURE__ */ e.jsx("div", { className: o("children-container shadow rounded", i.childrenContainer, {
34
+ [i.visible]: t
35
+ }), children: (h = n.children) == null ? void 0 : h.map((m) => /* @__PURE__ */ e.jsx(_, { to: m.linkTo ?? "/", className: o("nav-link child rounded", i.navButton, i.child), children: /* @__PURE__ */ e.jsx("div", { className: o("text", i.text, "text-nowrap"), children: m.title }) }, m.linkTo)) })
36
+ ] }) : /* @__PURE__ */ e.jsxs(_, { to: n.linkTo ?? "/", className: o("nav-link", i.navButton), children: [
37
+ /* @__PURE__ */ e.jsx("div", { className: o("icon", i.icon), children: n.icon }),
38
+ s && /* @__PURE__ */ e.jsx("div", { className: o("text", i.text, "text-nowrap"), children: n.title })
39
39
  ] }) }) });
40
- }, E = "_side-menu_n1hvm_1", K = "_sidebar-header_n1hvm_13", q = "_side-menu-content_n1hvm_18", z = "_expand_n1hvm_22", D = "_divider_n1hvm_26", m = {
40
+ }, K = "_side-menu_n1hvm_1", q = "_sidebar-header_n1hvm_13", z = "_side-menu-content_n1hvm_18", D = "_expand_n1hvm_22", G = "_divider_n1hvm_26", p = {
41
41
  "side-menu": "_side-menu_n1hvm_1",
42
- sideMenu: E,
42
+ sideMenu: K,
43
43
  "sidebar-header": "_sidebar-header_n1hvm_13",
44
- sidebarHeader: K,
44
+ sidebarHeader: q,
45
45
  "side-menu-content": "_side-menu-content_n1hvm_18",
46
- sideMenuContent: q,
47
- expand: z,
48
- divider: D
49
- }, ee = ({ headerItem: n, mainItems: s, secondaryItems: o, expanded: a, setExpanded: r, currentPath: _ }) => {
50
- const [x, d] = N(-1), u = (c) => {
46
+ sideMenuContent: z,
47
+ expand: D,
48
+ divider: G
49
+ }, ee = ({ headerItem: n, mainItems: s, secondaryItems: t, expanded: a, setExpanded: r, currentPath: _ }) => {
50
+ const [x, d] = C(-1), u = (c) => {
51
51
  d(c === x ? -1 : c);
52
52
  };
53
- return f(() => {
53
+ return k(() => {
54
54
  a || d(-1);
55
- }, [a]), /* @__PURE__ */ e.jsxs("section", { className: t("luminus-side-menu", m.sideMenu, {
56
- [m.expand]: a
55
+ }, [a]), /* @__PURE__ */ e.jsxs("section", { className: o("luminus-side-menu", p.sideMenu, {
56
+ [p.expand]: a
57
57
  }, { expand: a }), onMouseEnter: () => r(!0), onMouseLeave: () => r(!1), children: [
58
- /* @__PURE__ */ e.jsx("div", { className: t("sidebar-header", m.sidebarHeader), children: n }),
59
- /* @__PURE__ */ e.jsxs("ul", { className: m.sideMenuContent, children: [
58
+ /* @__PURE__ */ e.jsx("div", { className: o("sidebar-header", p.sidebarHeader), children: n }),
59
+ /* @__PURE__ */ e.jsxs("ul", { className: p.sideMenuContent, children: [
60
60
  s.map((c, l) => /* @__PURE__ */ e.jsx(v, { item: c, menuExpanded: a, collapsed: l === x, onCollapse: () => u(l), currentPath: _ }, c.title)),
61
- /* @__PURE__ */ e.jsx("hr", { className: t("divider", m.divider) }),
62
- o.map((c, l) => /* @__PURE__ */ e.jsx(v, { item: c, menuExpanded: a, collapsed: l === x, onCollapse: () => u(l), currentPath: _ }, c.title))
61
+ /* @__PURE__ */ e.jsx("hr", { className: o("divider", p.divider) }),
62
+ t.map((c, l) => /* @__PURE__ */ e.jsx(v, { item: c, menuExpanded: a, collapsed: l === x, onCollapse: () => u(l), currentPath: _ }, c.title))
63
63
  ] })
64
64
  ] });
65
- }, G = "_top-bar_1lk80_1", J = "_top-bar-brand_1lk80_14", j = {
65
+ }, J = "_top-bar_1lk80_1", P = "_top-bar-brand_1lk80_14", j = {
66
66
  "top-bar": "_top-bar_1lk80_1",
67
- topBar: G,
67
+ topBar: J,
68
68
  "top-bar-brand": "_top-bar-brand_1lk80_14",
69
- topBarBrand: J
70
- }, ne = ({ appName: n, leftOffset: s, centerContent: o, rightContent: a }) => {
71
- const { LinkComponent: r } = C(b);
72
- return /* @__PURE__ */ e.jsxs("nav", { className: t("luminus-top-bar", j.topBar), style: {
69
+ topBarBrand: P
70
+ }, ne = ({ appName: n, leftOffset: s, centerContent: t, rightContent: a }) => {
71
+ const { LinkComponent: r } = N(b);
72
+ return /* @__PURE__ */ e.jsxs("nav", { className: o("luminus-top-bar", j.topBar), style: {
73
73
  width: s ? `calc(100% - ${s}px)` : void 0,
74
74
  left: s ? `${s}px` : void 0
75
75
  }, children: [
76
- /* @__PURE__ */ e.jsx(r, { to: "/", className: t("luminus-top-bar-brand", j.topBarBrand), children: n }),
77
- o && /* @__PURE__ */ e.jsx("div", { children: o }),
76
+ /* @__PURE__ */ e.jsx(r, { to: "/", className: o("luminus-top-bar-brand", j.topBarBrand), children: n }),
77
+ t && /* @__PURE__ */ e.jsx("div", { children: t }),
78
78
  /* @__PURE__ */ e.jsx("div", { className: "d-flex justify-content-end align-items-center gap-2", children: a ?? null })
79
79
  ] });
80
- }, P = "_side-content-bar_17kwd_1", Q = {
80
+ }, Q = "_side-content-bar_17kwd_1", U = {
81
81
  "side-content-bar": "_side-content-bar_17kwd_1",
82
- sideContentBar: P
83
- }, U = ({ width: n, children: s }) => /* @__PURE__ */ e.jsx("section", { className: t("luminus-side-content-bar", Q.sideContentBar), style: {
82
+ sideContentBar: Q
83
+ }, B = ({ width: n, children: s }) => /* @__PURE__ */ e.jsx("section", { className: o("luminus-side-content-bar", U.sideContentBar), style: {
84
84
  width: `${n}px`
85
- }, children: s }), B = ({ title: n }) => /* @__PURE__ */ e.jsx("div", { className: "mb-3", children: typeof n == "string" ? /* @__PURE__ */ e.jsx(I, { variant: "h3", children: n }) : n }), se = ({ title: n, children: s, sideContent: o }) => /* @__PURE__ */ e.jsxs("div", { className: "container-fluid p-3", children: [
86
- /* @__PURE__ */ e.jsxs("div", { style: { paddingRight: o ? "250px" : void 0 }, children: [
87
- n ? /* @__PURE__ */ e.jsx(B, { title: n }) : null,
85
+ }, children: s }), M = ({ title: n }) => /* @__PURE__ */ e.jsx("div", { className: "mb-3", children: typeof n == "string" ? /* @__PURE__ */ e.jsx(I, { variant: "h3", children: n }) : n }), se = ({ title: n, children: s, sideContent: t }) => /* @__PURE__ */ e.jsxs("div", { className: "container-fluid p-3", children: [
86
+ /* @__PURE__ */ e.jsxs("div", { style: { paddingRight: t ? "250px" : void 0 }, children: [
87
+ n ? /* @__PURE__ */ e.jsx(M, { title: n }) : null,
88
88
  s
89
89
  ] }),
90
- o && /* @__PURE__ */ e.jsx(U, { width: 250, children: o })
91
- ] }), V = "_full-screen-container_1c9bu_1", W = {
92
- "full-screen-container": "_full-screen-container_1c9bu_1",
90
+ t && /* @__PURE__ */ e.jsx(B, { width: 250, children: t })
91
+ ] }), V = "_full-screen-container_1rm4r_1", W = {
92
+ "full-screen-container": "_full-screen-container_1rm4r_1",
93
93
  fullScreenContainer: V
94
- }, te = ({ title: n, children: s }) => /* @__PURE__ */ e.jsxs("div", { className: t("container-fluid p-3 overflow-hidden luminus-full-screen-container", W.fullScreenContainer), children: [
95
- n ? /* @__PURE__ */ e.jsx(B, { title: n }) : null,
96
- s
94
+ }, te = ({ title: n, children: s, sideContent: t }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
95
+ /* @__PURE__ */ e.jsxs("div", { className: o("ontainer-fluid p-3 overflow-hidden luminus-full-screen-container", W.fullScreenContainer), style: { width: t ? "calc(100% - 250px)" : "100%" }, children: [
96
+ n ? /* @__PURE__ */ e.jsx(M, { title: n }) : null,
97
+ s
98
+ ] }),
99
+ t && /* @__PURE__ */ e.jsx(B, { width: 250, children: t })
97
100
  ] });
98
101
  export {
99
102
  te as FullScreenContainer,
100
103
  se as MainContainer,
101
- U as SideContentBar,
104
+ B as SideContentBar,
102
105
  ee as SideMenu,
103
106
  ne as TopBar
104
107
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._toast_1s57i_1{color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;border:none!important;font-size:14px!important;padding:4px 24px 4px 8px!important;gap:4px!important}._toast_1s57i_1.luminus-toast-prompt{color:#000!important}._loading_14qfh_1{position:fixed;display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;gap:8px}._loading_14qfh_1 ._spinner-grow_14qfh_10{width:40px;height:40px}._loading_14qfh_1 ._spinner-grow_14qfh_10._second_14qfh_14{animation-delay:.1s}._loading_14qfh_1 ._spinner-grow_14qfh_10._third_14qfh_17{animation-delay:.2s}._h1_1unxw_1{font-size:22px;font-weight:400;margin:0;padding:0}._h3_1unxw_8{font-size:20px;font-weight:400;margin:0;padding:0}._h6_1unxw_15,._subtitle_1unxw_22{font-size:16px;font-weight:400;margin:0;padding:0}._body_1unxw_29{font-size:14px;font-weight:400;margin:0;padding:0}._body2_1unxw_36{font-size:13px;font-weight:400;margin:0;padding:0}._caption_1unxw_43{font-size:11px;font-weight:400;margin:0;padding:0}._side-menu-item_9ejxx_1{width:100%;position:relative}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5{position:relative;width:100%;display:flex;align-items:center;justify-content:center;padding:8px 16px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5._child_9ejxx_13{padding:4px 8px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5._child_9ejxx_13 ._text_9ejxx_16{margin-left:0}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._icon_9ejxx_19{display:flex;justify-content:center;align-items:center;font-size:24px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._collapse-icon_9ejxx_25{width:100%;display:flex;justify-content:end;align-items:center;font-size:20px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._collapse-icon_9ejxx_25 svg{transition:.2s ease}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._collapse-icon_9ejxx_25._collapsed_9ejxx_35 svg{rotate:180deg}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._text_9ejxx_16{font-size:16px;margin-left:24px}._side-menu-item_9ejxx_1._expanded_9ejxx_42 ._nav-button_9ejxx_5,._side-menu-item_9ejxx_1._expanded_9ejxx_42 ._nav-button_9ejxx_5 ._icon_9ejxx_19{justify-content:flex-start}._side-menu-item_9ejxx_1 ._children-container_9ejxx_48{position:absolute;display:none;max-height:0px;flex-direction:column;flex-wrap:wrap;gap:4px;padding:16px}._side-menu-item_9ejxx_1 ._children-container_9ejxx_48._visible_9ejxx_57{display:flex;left:100%;top:0;max-height:50vh}._side-menu_n1hvm_1{position:fixed;top:0;left:0;height:100%;background-color:#fff;transition:.3s ease;scrollbar-width:none}._side-menu_n1hvm_1::state(webkit-scrollbar){display:none}._side-menu_n1hvm_1 ._sidebar-header_n1hvm_13{display:flex;justify-content:center;align-items:center}._side-menu_n1hvm_1 ._side-menu-content_n1hvm_18{margin-top:64px;padding:0}._side-menu_n1hvm_1._expand_n1hvm_22 ._sidebar-header_n1hvm_13{padding:0 24px;justify-content:flex-start}._side-menu_n1hvm_1 ._divider_n1hvm_26{opacity:1}._top-bar_1lk80_1{padding:0 12px;border-left:16px solid transparent;display:flex;align-items:center;justify-content:space-between;grid-gap:24px;position:fixed;top:0;left:0;width:100%;transition:.3s ease}._top-bar_1lk80_1 ._top-bar-brand_1lk80_14{text-decoration:none;font-size:20px;margin-left:12px}._side-content-bar_17kwd_1{position:fixed;top:0;right:0;height:100%;background-color:#fff;overflow-x:hidden;scrollbar-width:none}._side-content-bar_17kwd_1::state(webkit-scrollbar){display:none}._full-screen-container_1c9bu_1{width:100%;display:flex;flex-direction:column}.luminus-input-remove-icon{position:absolute;top:0;right:16px;height:100%;display:flex;align-items:center;justify-content:center}.luminus-input-remove-icon.inset{right:40px}.luminus-input-remove-icon .icon-button{padding:0;margin:0;font-size:16px;height:20px;width:20px;display:flex;align-items:center}.form-control,.form-control-plaintext,.form-select{box-shadow:none!important}._button_1wjon_1{display:inline-flex;align-items:center;justify-content:center;border-width:2px}._button_1wjon_1._filled_1wjon_7,._button_1wjon_1._filled_1wjon_7 *{color:#fff}._button_1wjon_1._sm_1wjon_13{font-size:14px;padding:4px 8px;gap:6px}._button_1wjon_1._md_1wjon_18{font-size:16px;padding:6px 12px;gap:8px}._button_1wjon_1._lg_1wjon_23{font-size:18px;padding:10px 16px;gap:12px;min-width:120px}._button_1wjon_1:hover,._button_1wjon_1:hover *{color:#fff}._submit-container_w6qi9_1{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:24px;background-color:#ffffffe6}._spacer_w6qi9_14{height:75px}._button_6qbjz_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._widget_1sdw8_1{height:320px;display:flex;justify-content:center;align-items:center}._dashboard_1ikl9_1 ._widgets-grid_1ikl9_1{display:grid;grid-template-columns:repeat(2,1fr);column-gap:16px;row-gap:16px}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7{position:relative;height:320px;width:100%}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._full-width_1ikl9_12{grid-column:span 2}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._widget-edit_1ikl9_15{border:2px dashed gray}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._remove-icon_1ikl9_18{z-index:2;position:absolute;right:-16px;top:-16px;background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25{z-index:2;position:absolute;right:-16px;top:calc(50% - 15px);background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25 svg{rotate:90deg}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._widget-edit-overlay_1ikl9_35{position:absolute;left:0;top:0;height:100%;width:100%;background-color:#80808080;opacity:.6}._badge_nhser_1._sm_nhser_1{padding:4px}._badge_nhser_1._md_nhser_4{padding:8px}._badge_nhser_1._lg_nhser_7{padding:10px}._collapse-icon_1ahhn_1{font-size:22px;rotate:90deg;transition:.2s ease}._collapse-icon_1ahhn_1._collapsed_1ahhn_6{rotate:-90deg}._floating-label_1vydx_1{margin-top:4px}._floating-label_1vydx_1 input{padding:0rem .75rem!important}._floating-label_1vydx_1>.form-control,._floating-label_1vydx_1>.form-control-plaintext,._floating-label_1vydx_1>.form-select{height:calc(3rem + 2px);min-height:calc(3rem + 2px);max-height:calc(3rem + 2px);line-height:1;font-size:14px}._floating-label_1vydx_1>.form-control,._floating-label_1vydx_1>.form-control-plaintext{padding:0rem .75rem}._floating-label_1vydx_1>.form-select{padding:0rem 2rem 0rem .75rem}._floating-label_1vydx_1>label{font-size:14px;padding:0rem .25rem;height:1.5rem;position:absolute;left:.5rem;top:calc(50% - .75rem);transition:all .2s ease}._floating-label_1vydx_1>.form-control:focus~label,._floating-label_1vydx_1>.form-control:not(:placeholder-shown)~label,._floating-label_1vydx_1>.form-select~label{transform:none;height:1.25rem;padding:0rem .25rem;font-size:12px;opacity:1;top:-9px;background-color:#fff}._floating-label_1vydx_1>.form-control:focus~label:after,._floating-label_1vydx_1>.form-control:not(:placeholder-shown)~label:after,._floating-label_1vydx_1>.form-select~label:after{content:none!important}._floating-label_1vydx_1 .form-control:disabled{background-color:#fff;font-style:italic}._feedback_12jrk_1{padding:0 4px;font-size:12px;display:block}._feedback_12jrk_1._for-floating_12jrk_6{position:absolute;background-color:#fff;top:calc(3rem - 8px);right:12px;width:auto;max-width:70%;margin:0}._feedback-spacer_12jrk_16{padding:0 12px;color:transparent;font-size:12px;width:auto;max-width:70%}._dropdown_gxnf9_1{overflow:hidden;position:absolute;display:none;width:100%;background-color:#fff;border-top-left-radius:0!important;border-top-right-radius:0!important}._dropdown_gxnf9_1._open_gxnf9_10{display:block}._dropdown_gxnf9_1 ._selected-button_gxnf9_13{width:100%;background-color:#d3d3d3;border:none;padding:.75rem;text-decoration:none}._dropdown_gxnf9_1 ._clear-button_gxnf9_20{width:100%;padding:.25rem .75rem;background-color:#fff;border:none}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26{padding:.75rem}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26 ._form-control_gxnf9_29{width:100%}._dropdown_gxnf9_1 ._loading-container_gxnf9_32{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem}._dropdown_gxnf9_1 ._items-container_gxnf9_39{max-height:20vh;overflow-y:auto}._dropdown_gxnf9_1 ._items-container_gxnf9_39 ._item_gxnf9_39{width:100%;padding:.75rem;background-color:#fff;border:none}._input-group_1512b_1{border:none;width:min(400px,25vw)}._input-group_1512b_1 ._input-group-text_1512b_5{border:none;background-color:#fff}._input-group_1512b_1 ._input_1512b_1{border:none}._avatar-icon_1axl6_1{height:36px;width:36px;display:flex;align-items:center;justify-content:center;border-radius:100%;color:#fff;font-size:16px}._item_qkqdk_1{display:flex;align-items:center;justify-content:flex-start;border:none;font-size:12px;padding:8px 14px;gap:8px}._item_qkqdk_1:after{content:none!important}._button_1mv5p_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._button_1mv5p_1:after{content:none!important}._button_1mv5p_1:before{content:none!important}._dropdown_1lk66_1{padding:0;border:none;min-width:auto}._tabs_13chm_1{gap:4px;border:none!important}._tabs_13chm_1 .nav-link{font-size:16px;padding:12px}._tabs_13chm_1 .nav-link.active{background-color:#fff!important}._tabs_13chm_1 .nav-link:not(.active){border:none!important}._tabs_13chm_1~.tab-content{background-color:#fff;padding:1rem}
1
+ ._toast_1s57i_1{color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;border:none!important;font-size:14px!important;padding:4px 24px 4px 8px!important;gap:4px!important}._toast_1s57i_1.luminus-toast-prompt{color:#000!important}._loading_14qfh_1{position:fixed;display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;gap:8px}._loading_14qfh_1 ._spinner-grow_14qfh_10{width:40px;height:40px}._loading_14qfh_1 ._spinner-grow_14qfh_10._second_14qfh_14{animation-delay:.1s}._loading_14qfh_1 ._spinner-grow_14qfh_10._third_14qfh_17{animation-delay:.2s}._h1_1unxw_1{font-size:22px;font-weight:400;margin:0;padding:0}._h3_1unxw_8{font-size:20px;font-weight:400;margin:0;padding:0}._h6_1unxw_15,._subtitle_1unxw_22{font-size:16px;font-weight:400;margin:0;padding:0}._body_1unxw_29{font-size:14px;font-weight:400;margin:0;padding:0}._body2_1unxw_36{font-size:13px;font-weight:400;margin:0;padding:0}._caption_1unxw_43{font-size:11px;font-weight:400;margin:0;padding:0}._side-menu-item_9ejxx_1{width:100%;position:relative}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5{position:relative;width:100%;display:flex;align-items:center;justify-content:center;padding:8px 16px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5._child_9ejxx_13{padding:4px 8px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5._child_9ejxx_13 ._text_9ejxx_16{margin-left:0}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._icon_9ejxx_19{display:flex;justify-content:center;align-items:center;font-size:24px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._collapse-icon_9ejxx_25{width:100%;display:flex;justify-content:end;align-items:center;font-size:20px}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._collapse-icon_9ejxx_25 svg{transition:.2s ease}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._collapse-icon_9ejxx_25._collapsed_9ejxx_35 svg{rotate:180deg}._side-menu-item_9ejxx_1 ._nav-button_9ejxx_5 ._text_9ejxx_16{font-size:16px;margin-left:24px}._side-menu-item_9ejxx_1._expanded_9ejxx_42 ._nav-button_9ejxx_5,._side-menu-item_9ejxx_1._expanded_9ejxx_42 ._nav-button_9ejxx_5 ._icon_9ejxx_19{justify-content:flex-start}._side-menu-item_9ejxx_1 ._children-container_9ejxx_48{position:absolute;display:none;max-height:0px;flex-direction:column;flex-wrap:wrap;gap:4px;padding:16px}._side-menu-item_9ejxx_1 ._children-container_9ejxx_48._visible_9ejxx_57{display:flex;left:100%;top:0;max-height:50vh}._side-menu_n1hvm_1{position:fixed;top:0;left:0;height:100%;background-color:#fff;transition:.3s ease;scrollbar-width:none}._side-menu_n1hvm_1::state(webkit-scrollbar){display:none}._side-menu_n1hvm_1 ._sidebar-header_n1hvm_13{display:flex;justify-content:center;align-items:center}._side-menu_n1hvm_1 ._side-menu-content_n1hvm_18{margin-top:64px;padding:0}._side-menu_n1hvm_1._expand_n1hvm_22 ._sidebar-header_n1hvm_13{padding:0 24px;justify-content:flex-start}._side-menu_n1hvm_1 ._divider_n1hvm_26{opacity:1}._top-bar_1lk80_1{padding:0 12px;border-left:16px solid transparent;display:flex;align-items:center;justify-content:space-between;grid-gap:24px;position:fixed;top:0;left:0;width:100%;transition:.3s ease}._top-bar_1lk80_1 ._top-bar-brand_1lk80_14{text-decoration:none;font-size:20px;margin-left:12px}._side-content-bar_17kwd_1{position:fixed;top:0;right:0;height:100%;background-color:#fff;overflow-x:hidden;scrollbar-width:none}._side-content-bar_17kwd_1::state(webkit-scrollbar){display:none}._full-screen-container_1rm4r_1{display:flex;flex-direction:column}.luminus-input-remove-icon{position:absolute;top:0;right:16px;height:100%;display:flex;align-items:center;justify-content:center}.luminus-input-remove-icon.inset{right:40px}.luminus-input-remove-icon .icon-button{padding:0;margin:0;font-size:16px;height:20px;width:20px;display:flex;align-items:center}.form-control,.form-control-plaintext,.form-select{box-shadow:none!important}._button_1wjon_1{display:inline-flex;align-items:center;justify-content:center;border-width:2px}._button_1wjon_1._filled_1wjon_7,._button_1wjon_1._filled_1wjon_7 *{color:#fff}._button_1wjon_1._sm_1wjon_13{font-size:14px;padding:4px 8px;gap:6px}._button_1wjon_1._md_1wjon_18{font-size:16px;padding:6px 12px;gap:8px}._button_1wjon_1._lg_1wjon_23{font-size:18px;padding:10px 16px;gap:12px;min-width:120px}._button_1wjon_1:hover,._button_1wjon_1:hover *{color:#fff}._submit-container_w6qi9_1{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:24px;background-color:#ffffffe6}._spacer_w6qi9_14{height:75px}._button_6qbjz_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._widget_1sdw8_1{height:320px;display:flex;justify-content:center;align-items:center}._dashboard_1ikl9_1 ._widgets-grid_1ikl9_1{display:grid;grid-template-columns:repeat(2,1fr);column-gap:16px;row-gap:16px}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7{position:relative;height:320px;width:100%}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._full-width_1ikl9_12{grid-column:span 2}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7._widget-edit_1ikl9_15{border:2px dashed gray}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._remove-icon_1ikl9_18{z-index:2;position:absolute;right:-16px;top:-16px;background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25{z-index:2;position:absolute;right:-16px;top:calc(50% - 15px);background-color:#fff}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._full-width-icon_1ikl9_25 svg{rotate:90deg}._dashboard_1ikl9_1 ._widget-wrapper_1ikl9_7 ._widget-edit-overlay_1ikl9_35{position:absolute;left:0;top:0;height:100%;width:100%;background-color:#80808080;opacity:.6}._badge_nhser_1._sm_nhser_1{padding:4px}._badge_nhser_1._md_nhser_4{padding:8px}._badge_nhser_1._lg_nhser_7{padding:10px}._collapse-icon_1ahhn_1{font-size:22px;rotate:90deg;transition:.2s ease}._collapse-icon_1ahhn_1._collapsed_1ahhn_6{rotate:-90deg}._floating-label_1vydx_1{margin-top:4px}._floating-label_1vydx_1 input{padding:0rem .75rem!important}._floating-label_1vydx_1>.form-control,._floating-label_1vydx_1>.form-control-plaintext,._floating-label_1vydx_1>.form-select{height:calc(3rem + 2px);min-height:calc(3rem + 2px);max-height:calc(3rem + 2px);line-height:1;font-size:14px}._floating-label_1vydx_1>.form-control,._floating-label_1vydx_1>.form-control-plaintext{padding:0rem .75rem}._floating-label_1vydx_1>.form-select{padding:0rem 2rem 0rem .75rem}._floating-label_1vydx_1>label{font-size:14px;padding:0rem .25rem;height:1.5rem;position:absolute;left:.5rem;top:calc(50% - .75rem);transition:all .2s ease}._floating-label_1vydx_1>.form-control:focus~label,._floating-label_1vydx_1>.form-control:not(:placeholder-shown)~label,._floating-label_1vydx_1>.form-select~label{transform:none;height:1.25rem;padding:0rem .25rem;font-size:12px;opacity:1;top:-9px;background-color:#fff}._floating-label_1vydx_1>.form-control:focus~label:after,._floating-label_1vydx_1>.form-control:not(:placeholder-shown)~label:after,._floating-label_1vydx_1>.form-select~label:after{content:none!important}._floating-label_1vydx_1 .form-control:disabled{background-color:#fff;font-style:italic}._feedback_12jrk_1{padding:0 4px;font-size:12px;display:block}._feedback_12jrk_1._for-floating_12jrk_6{position:absolute;background-color:#fff;top:calc(3rem - 8px);right:12px;width:auto;max-width:70%;margin:0}._feedback-spacer_12jrk_16{padding:0 12px;color:transparent;font-size:12px;width:auto;max-width:70%}._dropdown_gxnf9_1{overflow:hidden;position:absolute;display:none;width:100%;background-color:#fff;border-top-left-radius:0!important;border-top-right-radius:0!important}._dropdown_gxnf9_1._open_gxnf9_10{display:block}._dropdown_gxnf9_1 ._selected-button_gxnf9_13{width:100%;background-color:#d3d3d3;border:none;padding:.75rem;text-decoration:none}._dropdown_gxnf9_1 ._clear-button_gxnf9_20{width:100%;padding:.25rem .75rem;background-color:#fff;border:none}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26{padding:.75rem}._dropdown_gxnf9_1 ._search-input-container_gxnf9_26 ._form-control_gxnf9_29{width:100%}._dropdown_gxnf9_1 ._loading-container_gxnf9_32{display:flex;align-items:center;justify-content:center;width:100%;padding:.75rem}._dropdown_gxnf9_1 ._items-container_gxnf9_39{max-height:20vh;overflow-y:auto}._dropdown_gxnf9_1 ._items-container_gxnf9_39 ._item_gxnf9_39{width:100%;padding:.75rem;background-color:#fff;border:none}._input-group_1512b_1{border:none;width:min(400px,25vw)}._input-group_1512b_1 ._input-group-text_1512b_5{border:none;background-color:#fff}._input-group_1512b_1 ._input_1512b_1{border:none}._avatar-icon_1axl6_1{height:36px;width:36px;display:flex;align-items:center;justify-content:center;border-radius:100%;color:#fff;font-size:16px}._item_qkqdk_1{display:flex;align-items:center;justify-content:flex-start;border:none;font-size:12px;padding:8px 14px;gap:8px}._item_qkqdk_1:after{content:none!important}._button_1mv5p_1{display:flex;align-items:center;justify-content:center;border:none;font-size:12px;padding:5px 10px;gap:6px}._button_1mv5p_1:after{content:none!important}._button_1mv5p_1:before{content:none!important}._dropdown_1lk66_1{padding:0;border:none;min-width:auto}._tabs_13chm_1{gap:4px;border:none!important}._tabs_13chm_1 .nav-link{font-size:16px;padding:12px}._tabs_13chm_1 .nav-link.active{background-color:#fff!important}._tabs_13chm_1 .nav-link:not(.active){border:none!important}._tabs_13chm_1~.tab-content{background-color:#fff;padding:1rem}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-luminus-components",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
5
  "type": "module",
6
6
  "repository": {