vrfi-design-system 1.1.82 → 1.1.83

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/index.d.ts CHANGED
@@ -849,6 +849,7 @@ export declare interface NotificationPanelProps {
849
849
  data: NotificationData[];
850
850
  title?: string;
851
851
  visible: boolean;
852
+ onScrollEnd?: default_2.UIEventHandler<HTMLDivElement>;
852
853
  }
853
854
 
854
855
  export { NotificationTypes }
package/dist/main.es.js CHANGED
@@ -54053,45 +54053,59 @@ const tle = "_searchComponent_2avnw_24", nle = "_searchInput_2avnw_43", H1 = {
54053
54053
  onClose: e,
54054
54054
  data: t,
54055
54055
  visible: n,
54056
- title: r
54057
- }) => /* @__PURE__ */ B.jsx(
54058
- ig,
54059
- {
54060
- closable: !0,
54061
- destroyOnClose: !0,
54062
- rootClassName: "custom-drawer",
54063
- onClose: e,
54064
- open: n,
54065
- width: 527,
54066
- style: { top: "0", left: "0", right: "0" },
54067
- children: /* @__PURE__ */ B.jsxs("div", { className: ui.notificationContainer, children: [
54068
- /* @__PURE__ */ B.jsx("p", { className: ui.title, children: r }),
54069
- t == null ? void 0 : t.map((o, a) => /* @__PURE__ */ B.jsxs(
54056
+ title: r,
54057
+ onScrollEnd: o
54058
+ }) => {
54059
+ const a = (i) => {
54060
+ const l = i.currentTarget;
54061
+ l.scrollTop + l.clientHeight >= l.scrollHeight - 100 && (o == null || o(i));
54062
+ };
54063
+ return /* @__PURE__ */ B.jsx(
54064
+ ig,
54065
+ {
54066
+ closable: !0,
54067
+ destroyOnClose: !0,
54068
+ rootClassName: "custom-drawer",
54069
+ onClose: e,
54070
+ open: n,
54071
+ width: 527,
54072
+ style: { top: "0", left: "0", right: "0" },
54073
+ children: /* @__PURE__ */ B.jsxs(
54070
54074
  "div",
54071
54075
  {
54072
- className: ui.notification,
54073
- onClick: o == null ? void 0 : o.onClick,
54076
+ className: ui.notificationContainer,
54077
+ onScroll: a,
54074
54078
  children: [
54075
- /* @__PURE__ */ B.jsxs("div", { className: ui.header, children: [
54076
- /* @__PURE__ */ B.jsx("p", { className: ui.headerTitle, children: o == null ? void 0 : o.title }),
54077
- /* @__PURE__ */ B.jsx("span", { className: ui.timeStamp, children: o == null ? void 0 : o.timeStamp })
54078
- ] }),
54079
- /* @__PURE__ */ B.jsx("div", { className: ui.description, children: /* @__PURE__ */ B.jsx("span", { children: o == null ? void 0 : o.description }) }),
54080
- /* @__PURE__ */ B.jsx("div", { className: ui.btnContainer, children: /* @__PURE__ */ B.jsx(
54081
- Ale,
54079
+ /* @__PURE__ */ B.jsx("p", { className: ui.title, children: r }),
54080
+ t == null ? void 0 : t.map((i, l) => /* @__PURE__ */ B.jsxs(
54081
+ "div",
54082
54082
  {
54083
- onAccept: o == null ? void 0 : o.onAccept,
54084
- onReject: o == null ? void 0 : o.onReject,
54085
- onApply: o == null ? void 0 : o.onApply
54086
- }
54087
- ) })
54083
+ className: ui.notification,
54084
+ onClick: i == null ? void 0 : i.onClick,
54085
+ children: [
54086
+ /* @__PURE__ */ B.jsxs("div", { className: ui.header, children: [
54087
+ /* @__PURE__ */ B.jsx("p", { className: ui.headerTitle, children: i == null ? void 0 : i.title }),
54088
+ /* @__PURE__ */ B.jsx("span", { className: ui.timeStamp, children: i == null ? void 0 : i.timeStamp })
54089
+ ] }),
54090
+ /* @__PURE__ */ B.jsx("div", { className: ui.description, children: /* @__PURE__ */ B.jsx("span", { children: i == null ? void 0 : i.description }) }),
54091
+ /* @__PURE__ */ B.jsx("div", { className: ui.btnContainer, children: /* @__PURE__ */ B.jsx(
54092
+ Ale,
54093
+ {
54094
+ onAccept: i == null ? void 0 : i.onAccept,
54095
+ onReject: i == null ? void 0 : i.onReject,
54096
+ onApply: i == null ? void 0 : i.onApply
54097
+ }
54098
+ ) })
54099
+ ]
54100
+ },
54101
+ l
54102
+ ))
54088
54103
  ]
54089
- },
54090
- a
54091
- ))
54092
- ] })
54093
- }
54094
- ), fle = "_sidebar_1ndcm_24", mle = "_logo_1ndcm_105", gle = "_icon_1ndcm_109", vle = "_footer_1ndcm_113", ple = "_menuItem_1ndcm_117", hle = "_menuLabel_1ndcm_123", ble = "_popupMenu_1ndcm_131", ka = {
54104
+ }
54105
+ )
54106
+ }
54107
+ );
54108
+ }, fle = "_sidebar_1ndcm_24", mle = "_logo_1ndcm_105", gle = "_icon_1ndcm_109", vle = "_footer_1ndcm_113", ple = "_menuItem_1ndcm_117", hle = "_menuLabel_1ndcm_123", ble = "_popupMenu_1ndcm_131", ka = {
54095
54109
  sidebar: fle,
54096
54110
  logo: mle,
54097
54111
  icon: gle,