beca-ui 2.0.0-beta.10 → 2.0.0-beta.12
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/beca-ui.js +8 -7
- package/dist/main.css +1 -1
- package/package.json +10 -10
package/dist/beca-ui.js
CHANGED
|
@@ -89054,7 +89054,8 @@ const EnglishIcon = "https://library.becawork.vn/api/PublicLibrary/ViewFile/gfre
|
|
|
89054
89054
|
{
|
|
89055
89055
|
secondary: !0,
|
|
89056
89056
|
type: "text",
|
|
89057
|
-
|
|
89057
|
+
status: "info",
|
|
89058
|
+
icon: s ? /* @__PURE__ */ jsx(SvgSidebarRightOutlinedStyle, { color: "var(--primary-text-color)" }) : /* @__PURE__ */ jsx(SvgSidebarLeftOutlinedStyle, { color: "var(--primary-text-color)" }),
|
|
89058
89059
|
onClick: c
|
|
89059
89060
|
}
|
|
89060
89061
|
) }),
|
|
@@ -90994,9 +90995,9 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
90994
90995
|
H(window.innerWidth);
|
|
90995
90996
|
}, X = () => {
|
|
90996
90997
|
x && x(!E);
|
|
90997
|
-
}, K = (
|
|
90998
|
-
|
|
90999
|
-
};
|
|
90998
|
+
}, K = (le) => {
|
|
90999
|
+
le > 10 ? V(!0) : V(!1);
|
|
91000
|
+
}, [re, Q] = useState(!1);
|
|
91000
91001
|
return /* @__PURE__ */ jsx(
|
|
91001
91002
|
AppContext.Provider,
|
|
91002
91003
|
{
|
|
@@ -91008,7 +91009,7 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
91008
91009
|
!S && z.length > 0 && /* @__PURE__ */ jsx(
|
|
91009
91010
|
SideBarMenu,
|
|
91010
91011
|
{
|
|
91011
|
-
collapsed:
|
|
91012
|
+
collapsed: re,
|
|
91012
91013
|
sideBarMenus: z,
|
|
91013
91014
|
activeMenu: c,
|
|
91014
91015
|
openMenuKeys: u,
|
|
@@ -91027,7 +91028,7 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
91027
91028
|
G && "is-mobile",
|
|
91028
91029
|
S && "custom-sidebar-layout"
|
|
91029
91030
|
),
|
|
91030
|
-
onScroll: (
|
|
91031
|
+
onScroll: (le) => K(le.currentTarget.scrollTop),
|
|
91031
91032
|
children: [
|
|
91032
91033
|
/* @__PURE__ */ jsx(
|
|
91033
91034
|
Header$3,
|
|
@@ -91059,7 +91060,7 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
91059
91060
|
/* @__PURE__ */ jsx(
|
|
91060
91061
|
Content$1,
|
|
91061
91062
|
{
|
|
91062
|
-
className: `
|
|
91063
|
+
className: `bu2-main-content${E ? " collapsed" : ""}`,
|
|
91063
91064
|
children: s
|
|
91064
91065
|
}
|
|
91065
91066
|
)
|