@adiba-banking-cloud/backoffice 0.2.7 → 0.2.8

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D51hEk07.js');
3
+ var index = require('./index-BcjXNWsr.js');
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -12169,7 +12169,7 @@ function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t
12169
12169
  }
12170
12170
 
12171
12171
  // Fallback: use dynamic import (async, but will work in Vite/Storybook)
12172
- Promise.resolve().then(function () { return require('./heatmap-B1kaS2PG.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
12172
+ Promise.resolve().then(function () { return require('./heatmap-DGhkFUjy.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
12173
12173
  const moduleFn = typeof heatmapModule === "function" ? heatmapModule : (heatmapModule === null || heatmapModule === void 0 ? void 0 : heatmapModule.default) || heatmapModule;
12174
12174
  if (typeof moduleFn === "function") {
12175
12175
  moduleFn(Highcharts);
@@ -13812,10 +13812,9 @@ const UserProfileCard = _ref => {
13812
13812
  align: "center"
13813
13813
  }, /*#__PURE__*/React.createElement(core.Title, {
13814
13814
  order: 2,
13815
- fz: 22,
13815
+ fz: 14,
13816
13816
  fw: 500,
13817
- c: "#0F193D",
13818
- lh: 1.2
13817
+ c: "#0F193D"
13819
13818
  }, name), score && /*#__PURE__*/React.createElement(core.Badge, {
13820
13819
  color: scoreColor,
13821
13820
  variant: "outline",
@@ -13825,25 +13824,23 @@ const UserProfileCard = _ref => {
13825
13824
  root: {
13826
13825
  borderWidth: 1,
13827
13826
  textTransform: "none",
13828
- height: 28,
13827
+ height: 20,
13829
13828
  display: "flex",
13830
13829
  alignItems: "center"
13831
13830
  },
13832
13831
  label: {
13833
- fontWeight: 700,
13834
- fontSize: 14
13832
+ fontWeight: 600,
13833
+ fontSize: 10
13835
13834
  }
13836
13835
  }
13837
13836
  }, score)), /*#__PURE__*/React.createElement(core.Text, {
13838
- size: "md",
13837
+ size: "13px",
13839
13838
  c: "#6F758B",
13840
- fw: 500,
13841
- lh: "24px"
13839
+ fw: 500
13842
13840
  }, userType), /*#__PURE__*/React.createElement(core.Text, {
13843
- size: "md",
13841
+ size: "12px",
13844
13842
  c: "#5B6767",
13845
- fw: 300,
13846
- lh: "24px"
13843
+ fw: 300
13847
13844
  }, "ID: ", userId))));
13848
13845
  };
13849
13846
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D51hEk07.js');
3
+ var index = require('./index-BcjXNWsr.js');
4
4
  require('@babel/runtime/helpers/objectWithoutProperties');
5
5
  require('@babel/runtime/helpers/defineProperty');
6
6
  require('@mantine/modals');
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from './index-Di6tbDMv.js';
1
+ import { g as getDefaultExportFromCjs } from './index-Coanii6M.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -12148,7 +12148,7 @@ function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t
12148
12148
  }
12149
12149
 
12150
12150
  // Fallback: use dynamic import (async, but will work in Vite/Storybook)
12151
- import('./heatmap-DkDFcCFl.js').then(function (n) { return n.h; }).then(heatmapModule => {
12151
+ import('./heatmap-CKy0PmPT.js').then(function (n) { return n.h; }).then(heatmapModule => {
12152
12152
  const moduleFn = typeof heatmapModule === "function" ? heatmapModule : (heatmapModule === null || heatmapModule === void 0 ? void 0 : heatmapModule.default) || heatmapModule;
12153
12153
  if (typeof moduleFn === "function") {
12154
12154
  moduleFn(Highcharts);
@@ -13791,10 +13791,9 @@ const UserProfileCard = _ref => {
13791
13791
  align: "center"
13792
13792
  }, /*#__PURE__*/React__default.createElement(Title, {
13793
13793
  order: 2,
13794
- fz: 22,
13794
+ fz: 14,
13795
13795
  fw: 500,
13796
- c: "#0F193D",
13797
- lh: 1.2
13796
+ c: "#0F193D"
13798
13797
  }, name), score && /*#__PURE__*/React__default.createElement(Badge, {
13799
13798
  color: scoreColor,
13800
13799
  variant: "outline",
@@ -13804,25 +13803,23 @@ const UserProfileCard = _ref => {
13804
13803
  root: {
13805
13804
  borderWidth: 1,
13806
13805
  textTransform: "none",
13807
- height: 28,
13806
+ height: 20,
13808
13807
  display: "flex",
13809
13808
  alignItems: "center"
13810
13809
  },
13811
13810
  label: {
13812
- fontWeight: 700,
13813
- fontSize: 14
13811
+ fontWeight: 600,
13812
+ fontSize: 10
13814
13813
  }
13815
13814
  }
13816
13815
  }, score)), /*#__PURE__*/React__default.createElement(Text, {
13817
- size: "md",
13816
+ size: "13px",
13818
13817
  c: "#6F758B",
13819
- fw: 500,
13820
- lh: "24px"
13818
+ fw: 500
13821
13819
  }, userType), /*#__PURE__*/React__default.createElement(Text, {
13822
- size: "md",
13820
+ size: "12px",
13823
13821
  c: "#5B6767",
13824
- fw: 300,
13825
- lh: "24px"
13822
+ fw: 300
13826
13823
  }, "ID: ", userId))));
13827
13824
  };
13828
13825
 
@@ -1,4 +1,4 @@
1
- export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, o as ConnectionPanel, u as CreditCard, a1 as DEFAULT_API_TIMEOUT, $ as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, O as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, G as ErrorModal, F as File, d as Icons, r as InfoGrid, H as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, a0 as MAX_PAGE_SIZE, R as MaskedTilePanel, W as MerchantCard, a4 as ModalContentWrapper, M as MultiAxisArea, m as PageTitle, w as PaymentMethod, x as PaymentMethodAdd, P as PieChart, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, Q as SimpleForm, J as SimpleModal, i as SimplePanel, y as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, t as StatusAlert, q as SubscriptionPlans, K as SuccessModal, X as TableStateView, V as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a3 as apiClient, a2 as createApiClient, a6 as extractBetweenBraces, a7 as extractOutsideBraces, z as theme, Z as useManagedModals, Y as useModal, _ as useUrlFilters, a5 as withProviders } from './index-Di6tbDMv.js';
1
+ export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, o as ConnectionPanel, u as CreditCard, a1 as DEFAULT_API_TIMEOUT, $ as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, O as Drawer, e as DynamicLogo, f as DynamicShigaLogo, E as EqualizerColumn, G as ErrorModal, F as File, d as Icons, r as InfoGrid, H as InfoModal, I as InterpolatedHeatmap, L as LabelPanel, a0 as MAX_PAGE_SIZE, R as MaskedTilePanel, W as MerchantCard, a4 as ModalContentWrapper, M as MultiAxisArea, m as PageTitle, w as PaymentMethod, x as PaymentMethodAdd, P as PieChart, j as SearchPanel, h as SideMenu, b as SimpleArea, S as SimpleColumn, Q as SimpleForm, J as SimpleModal, i as SimplePanel, y as SimpleTable, l as SimpleText, c as StackedArea, a as StackedColumn, t as StatusAlert, q as SubscriptionPlans, K as SuccessModal, X as TableStateView, V as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a3 as apiClient, a2 as createApiClient, a6 as extractBetweenBraces, a7 as extractOutsideBraces, z as theme, Z as useManagedModals, Y as useModal, _ as useUrlFilters, a5 as withProviders } from './index-Coanii6M.js';
2
2
  import '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import '@babel/runtime/helpers/defineProperty';
4
4
  import '@mantine/modals';
@@ -0,0 +1,3 @@
1
+ import { ContextModalProps } from "@mantine/modals";
2
+ import { LoadingModalProps } from "./Loading.types";
3
+ export declare const LoadingModal: ({ context, id, innerProps, }: ContextModalProps<LoadingModalProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta } from "@storybook/react";
2
+ import { LoadingModal } from "./Loading";
3
+ import "@mantine/core/styles.css";
4
+ declare const _default: Meta<typeof LoadingModal>;
5
+ export default _default;
6
+ export declare const LoadingModalExample: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@mantine/modals").ContextModalProps<import("./Loading.types").LoadingModalProps>>;
@@ -0,0 +1,3 @@
1
+ export interface LoadingModalProps {
2
+ message: string;
3
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adiba-banking-cloud/backoffice",
3
3
  "author": "TUROG Technologies",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",