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

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,57 +93281,59 @@ 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",
93298
- {
93299
- className: "notification-item-header",
93300
- onMouseDown: (C) => {
93301
- (C.button === 0 || C.button === 1) && h();
93302
- },
93303
- children: [
93304
- /* @__PURE__ */ Nt("div", { className: "notification-item__from", children: [
93305
- r.type && /* @__PURE__ */ D(
93306
- MW,
93307
- {
93308
- className: "notification-item__icon",
93309
- preview: !1,
93310
- src: (v = (g = n.find((C) => C.appId === r.type)) == null ? void 0 : g.image) == null ? void 0 : v.toString(),
93311
- fallback: u
93312
- }
93313
- ),
93314
- r.from
93315
- ] }),
93316
- /* @__PURE__ */ D("div", { className: "notification-item__time", children: r.time })
93317
- ]
93318
- }
93319
- ),
93320
- description: /* @__PURE__ */ Nt(
93321
- _m,
93287
+ href: r.url ?? "#",
93288
+ style: { flex: 1 },
93289
+ onClick: () => h(),
93290
+ children: /* @__PURE__ */ D(
93291
+ fb.Item.Meta,
93322
93292
  {
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
- ]
93293
+ avatar: a && /* @__PURE__ */ D(_m, { align: "center", justify: "center", style: { height: 52 }, children: /* @__PURE__ */ D(
93294
+ F2,
93295
+ {
93296
+ checked: s.includes(r.id),
93297
+ onClick: (C) => {
93298
+ C.stopPropagation(), C.preventDefault(), c(r.id);
93299
+ }
93300
+ }
93301
+ ) }),
93302
+ title: /* @__PURE__ */ Nt(
93303
+ "div",
93304
+ {
93305
+ className: "notification-item-header",
93306
+ children: [
93307
+ /* @__PURE__ */ Nt("div", { className: "notification-item__from", children: [
93308
+ r.type && /* @__PURE__ */ D(
93309
+ MW,
93310
+ {
93311
+ className: "notification-item__icon",
93312
+ preview: !1,
93313
+ src: (v = (g = n.find((C) => C.appId === r.type)) == null ? void 0 : g.image) == null ? void 0 : v.toString(),
93314
+ fallback: u
93315
+ }
93316
+ ),
93317
+ r.from
93318
+ ] }),
93319
+ /* @__PURE__ */ D("div", { className: "notification-item__time", children: r.time })
93320
+ ]
93321
+ }
93322
+ ),
93323
+ description: /* @__PURE__ */ Nt(
93324
+ _m,
93325
+ {
93326
+ justify: "space-between",
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
+ ]
93331
+ }
93332
+ )
93331
93333
  }
93332
93334
  )
93333
93335
  }
93334
- ) }) })
93336
+ ) })
93335
93337
  },
93336
93338
  r.id
93337
93339
  )
@@ -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.96",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {