beca-ui 2.1.0-beta.95 → 2.1.0-beta.97

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 CHANGED
@@ -93281,26 +93281,27 @@ const fE = 10, kit = (e, t) => {
93281
93281
  {
93282
93282
  className: "notification-item" + (r.isSeen ? " is-read" : ""),
93283
93283
  onContextMenu: (C) => C.preventDefault(),
93284
- children: /* @__PURE__ */ D(m7, { title: r.content, mouseEnterDelay: 1, children: /* @__PURE__ */ D("a", { href: r.url ?? "#", style: { flex: 1 }, children: /* @__PURE__ */ D(
93285
- fb.Item.Meta,
93284
+ children: /* @__PURE__ */ D(m7, { title: r.content, mouseEnterDelay: 1, children: /* @__PURE__ */ D(
93285
+ "a",
93286
93286
  {
93287
- avatar: a && /* @__PURE__ */ D(_m, { align: "center", justify: "center", style: { height: 52 }, children: /* @__PURE__ */ D(
93288
- F2,
93289
- {
93290
- checked: s.includes(r.id),
93291
- onClick: (C) => {
93292
- C.stopPropagation(), C.preventDefault(), c(r.id);
93293
- }
93294
- }
93295
- ) }),
93296
- title: /* @__PURE__ */ Nt(
93297
- "div",
93287
+ href: r.url ?? "#",
93288
+ style: { flex: 1 },
93289
+ onMouseDown: (C) => {
93290
+ (C.button === 0 || C.button === 1) && h();
93291
+ },
93292
+ children: /* @__PURE__ */ D(
93293
+ fb.Item.Meta,
93298
93294
  {
93299
- className: "notification-item-header",
93300
- onMouseDown: (C) => {
93301
- (C.button === 0 || C.button === 1) && h();
93302
- },
93303
- children: [
93295
+ avatar: a && /* @__PURE__ */ D(_m, { align: "center", justify: "center", style: { height: 52 }, children: /* @__PURE__ */ D(
93296
+ F2,
93297
+ {
93298
+ checked: s.includes(r.id),
93299
+ onClick: (C) => {
93300
+ C.stopPropagation(), C.preventDefault(), c(r.id);
93301
+ }
93302
+ }
93303
+ ) }),
93304
+ title: /* @__PURE__ */ Nt("div", { className: "notification-item-header", children: [
93304
93305
  /* @__PURE__ */ Nt("div", { className: "notification-item__from", children: [
93305
93306
  r.type && /* @__PURE__ */ D(
93306
93307
  MW,
@@ -93314,24 +93315,21 @@ const fE = 10, kit = (e, t) => {
93314
93315
  r.from
93315
93316
  ] }),
93316
93317
  /* @__PURE__ */ D("div", { className: "notification-item__time", children: r.time })
93317
- ]
93318
- }
93319
- ),
93320
- description: /* @__PURE__ */ Nt(
93321
- _m,
93322
- {
93323
- justify: "space-between",
93324
- onMouseDown: (C) => {
93325
- (C.button === 0 || C.button === 1) && h();
93326
- },
93327
- children: [
93328
- /* @__PURE__ */ D("div", { className: "notification-item-content", children: r.content }),
93329
- !r.isSeen && /* @__PURE__ */ D("div", { className: "notification-item__unseen-icon" })
93330
- ]
93318
+ ] }),
93319
+ description: /* @__PURE__ */ Nt(
93320
+ _m,
93321
+ {
93322
+ justify: "space-between",
93323
+ children: [
93324
+ /* @__PURE__ */ D("div", { className: "notification-item-content", children: r.content }),
93325
+ !r.isSeen && /* @__PURE__ */ D("div", { className: "notification-item__unseen-icon" })
93326
+ ]
93327
+ }
93328
+ )
93331
93329
  }
93332
93330
  )
93333
93331
  }
93334
- ) }) })
93332
+ ) })
93335
93333
  },
93336
93334
  r.id
93337
93335
  )
@@ -6,7 +6,7 @@ interface AppMenuProps {
6
6
  currentApp: string;
7
7
  totalDisplay?: number;
8
8
  userTheme?: string;
9
- onChangeTheme: (theme: string) => Promise<void>;
9
+ onChangeTheme?: (theme: string) => Promise<void>;
10
10
  lang: LANGUAGE;
11
11
  }
12
12
  export declare const AppMenu: (props: AppMenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -15,10 +15,10 @@ export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">,
15
15
  mainTheme?: MainTheme;
16
16
  isHomeApp?: boolean;
17
17
  appMenuTotalDisplay?: number;
18
- appTheme: {
19
- userTheme: string | undefined;
20
- adminTheme: string | undefined;
21
- onChangeTheme: (theme: string) => Promise<void>;
18
+ appTheme?: {
19
+ userTheme?: string | undefined;
20
+ adminTheme?: string | undefined;
21
+ onChangeTheme?: (theme: string) => Promise<void>;
22
22
  };
23
23
  }
24
24
  export interface UserConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.1.0-beta.95",
3
+ "version": "2.1.0-beta.97",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {