beca-ui 2.0.11-beta.30 → 2.0.11-beta.31

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.
Files changed (2) hide show
  1. package/dist/beca-ui.js +87 -75
  2. package/package.json +1 -1
package/dist/beca-ui.js CHANGED
@@ -95946,7 +95946,6 @@ const YD = (e, t, n) => {
95946
95946
  const { children: t, ...n } = e;
95947
95947
  return /* @__PURE__ */ V("div", { ...n, children: /* @__PURE__ */ V("div", { className: "content-wrap", children: /* @__PURE__ */ V("div", { className: "content", children: t }) }) });
95948
95948
  }, lH = 992, Xlt = {
95949
- token: {},
95950
95949
  components: {
95951
95950
  Input: {
95952
95951
  colorBorder: "var(--input-border-color)",
@@ -97612,84 +97611,97 @@ const Gge = td({}), jst = (e, t) => {
97612
97611
  });
97613
97612
  }), le;
97614
97613
  }, [JSON.stringify(D)]);
97615
- return /* @__PURE__ */ V(vCt, { language: k ?? "vi", theme: Xlt, children: /* @__PURE__ */ V(
97616
- Gge.Provider,
97614
+ return /* @__PURE__ */ V(
97615
+ vCt,
97617
97616
  {
97618
- value: {
97619
- LinkComponent: $
97617
+ language: k ?? "vi",
97618
+ theme: {
97619
+ token: {
97620
+ fontFamily: G.fontFamily,
97621
+ colorText: "var(--primary-text-color)"
97622
+ },
97623
+ ...Xlt
97620
97624
  },
97621
- children: /* @__PURE__ */ V(elt, { i18n: ry, children: /* @__PURE__ */ En("div", { className: ge("beca-main-layout", W), children: [
97622
- /* @__PURE__ */ V(
97623
- Glt,
97624
- {
97625
- collapsed: w,
97626
- toggleCollapse: re,
97627
- sideBarMenus: J,
97628
- activeMenu: r,
97629
- openMenuKeys: o,
97630
- pathname: l,
97631
- isMobile: Z,
97632
- homePageUrl: E,
97633
- LinkComponent: $,
97634
- logoUrl: u,
97635
- showLargeMenu: F,
97636
- customSideBar: v
97637
- }
97638
- ),
97639
- /* @__PURE__ */ En(
97640
- Dg,
97641
- {
97642
- className: ge(
97643
- "layout-content-wrapper",
97644
- Z && "is-mobile",
97645
- v && "custom-sidebar-layout"
97625
+ children: /* @__PURE__ */ V(
97626
+ Gge.Provider,
97627
+ {
97628
+ value: {
97629
+ LinkComponent: $
97630
+ },
97631
+ children: /* @__PURE__ */ V(elt, { i18n: ry, children: /* @__PURE__ */ En("div", { className: ge("beca-main-layout", W), children: [
97632
+ /* @__PURE__ */ V(
97633
+ Glt,
97634
+ {
97635
+ collapsed: w,
97636
+ toggleCollapse: re,
97637
+ sideBarMenus: J,
97638
+ activeMenu: r,
97639
+ openMenuKeys: o,
97640
+ pathname: l,
97641
+ isMobile: Z,
97642
+ homePageUrl: E,
97643
+ LinkComponent: $,
97644
+ logoUrl: u,
97645
+ showLargeMenu: F,
97646
+ customSideBar: v
97647
+ }
97646
97648
  ),
97647
- onScroll: (pe) => oe(pe.currentTarget.scrollTop),
97648
- children: [
97649
- /* @__PURE__ */ V(
97650
- slt,
97651
- {
97652
- ref: B,
97653
- notification: N,
97654
- collapsed: w,
97655
- toggleCollapse: re,
97656
- avatarUrl: s,
97657
- avatarThumbnailUrl: c,
97658
- logoUrl: u,
97659
- applicationsCardData: f,
97660
- currentApp: m,
97661
- isMobile: Z,
97662
- isShowCollapseButton: J.length > 0 || v !== void 0,
97663
- headerTitle: g,
97664
- profileMenuItems: b,
97665
- homePageUrl: E,
97666
- customHeader: O,
97667
- supportContactData: a,
97668
- LinkComponent: $,
97669
- isSwitchTheme: M,
97670
- theme: R,
97671
- onChangeLocale: P,
97672
- lang: k,
97673
- onSwitchedTheme: L,
97674
- scrolled: A,
97675
- onChangeTheme: (pe) => te(pe),
97676
- personalProfile: j,
97677
- config: ae
97678
- }
97679
- ),
97680
- /* @__PURE__ */ V(
97681
- qlt,
97682
- {
97683
- className: `beca-main-content${w ? " collapsed" : ""}`,
97684
- children: n
97685
- }
97686
- )
97687
- ]
97688
- }
97689
- )
97690
- ] }) })
97649
+ /* @__PURE__ */ En(
97650
+ Dg,
97651
+ {
97652
+ className: ge(
97653
+ "layout-content-wrapper",
97654
+ Z && "is-mobile",
97655
+ v && "custom-sidebar-layout"
97656
+ ),
97657
+ onScroll: (pe) => oe(pe.currentTarget.scrollTop),
97658
+ children: [
97659
+ /* @__PURE__ */ V(
97660
+ slt,
97661
+ {
97662
+ ref: B,
97663
+ notification: N,
97664
+ collapsed: w,
97665
+ toggleCollapse: re,
97666
+ avatarUrl: s,
97667
+ avatarThumbnailUrl: c,
97668
+ logoUrl: u,
97669
+ applicationsCardData: f,
97670
+ currentApp: m,
97671
+ isMobile: Z,
97672
+ isShowCollapseButton: J.length > 0 || v !== void 0,
97673
+ headerTitle: g,
97674
+ profileMenuItems: b,
97675
+ homePageUrl: E,
97676
+ customHeader: O,
97677
+ supportContactData: a,
97678
+ LinkComponent: $,
97679
+ isSwitchTheme: M,
97680
+ theme: R,
97681
+ onChangeLocale: P,
97682
+ lang: k,
97683
+ onSwitchedTheme: L,
97684
+ scrolled: A,
97685
+ onChangeTheme: (pe) => te(pe),
97686
+ personalProfile: j,
97687
+ config: ae
97688
+ }
97689
+ ),
97690
+ /* @__PURE__ */ V(
97691
+ qlt,
97692
+ {
97693
+ className: `beca-main-content${w ? " collapsed" : ""}`,
97694
+ children: n
97695
+ }
97696
+ )
97697
+ ]
97698
+ }
97699
+ )
97700
+ ] }) })
97701
+ }
97702
+ )
97691
97703
  }
97692
- ) });
97704
+ );
97693
97705
  }, kAt = Zo(jst), qge = {
97694
97706
  header: {
97695
97707
  theme: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.11-beta.30",
3
+ "version": "2.0.11-beta.31",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {