@adiba-banking-cloud/backoffice 0.2.38 → 0.2.39

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-Bqwk9Y3j.js');
3
+ var index = require('./index-CF3rcm8e.js');
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -12169,7 +12169,7 @@ function _objectSpread$b(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-CWtAnHtj.js'); }).then(function (n) { return n.heatmap; }).then(heatmapModule => {
12172
+ Promise.resolve().then(function () { return require('./heatmap-Dhv2BqEd.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);
@@ -12874,13 +12874,15 @@ const UserMenuTarget = _ref => {
12874
12874
  fw: 300
12875
12875
  }, /*#__PURE__*/React.createElement(core.Text, {
12876
12876
  fw: 300,
12877
- size: "sm"
12877
+ size: "sm",
12878
+ c: "black"
12878
12879
  }, name), /*#__PURE__*/React.createElement(core.Text, {
12879
12880
  c: "dimmed",
12880
12881
  size: "xs"
12881
12882
  }, username)), /*#__PURE__*/React.createElement(Icons, {
12882
12883
  name: "ArrowDown2",
12883
- size: 12
12884
+ size: 12,
12885
+ color: "black"
12884
12886
  }))));
12885
12887
  };
12886
12888
 
@@ -12948,7 +12950,12 @@ const UserMenu = _ref => {
12948
12950
  withinPortal: true,
12949
12951
  offset: 5,
12950
12952
  arrowOffset: 20,
12951
- arrowSize: 10
12953
+ arrowSize: 10,
12954
+ vars: theme => ({
12955
+ root: {
12956
+ "--menu-item-hover": "var(--mantine-color-adiba-0)"
12957
+ }
12958
+ })
12952
12959
  }, /*#__PURE__*/React.createElement(UserMenuTarget, {
12953
12960
  name,
12954
12961
  username,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bqwk9Y3j.js');
3
+ var index = require('./index-CF3rcm8e.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-DaqamyXX.js';
1
+ import { g as getDefaultExportFromCjs } from './index-DxdMbXh2.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -12148,7 +12148,7 @@ function _objectSpread$b(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-CEYZLTBF.js').then(function (n) { return n.h; }).then(heatmapModule => {
12151
+ import('./heatmap-7BvAxjLY.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);
@@ -12853,13 +12853,15 @@ const UserMenuTarget = _ref => {
12853
12853
  fw: 300
12854
12854
  }, /*#__PURE__*/React__default.createElement(Text, {
12855
12855
  fw: 300,
12856
- size: "sm"
12856
+ size: "sm",
12857
+ c: "black"
12857
12858
  }, name), /*#__PURE__*/React__default.createElement(Text, {
12858
12859
  c: "dimmed",
12859
12860
  size: "xs"
12860
12861
  }, username)), /*#__PURE__*/React__default.createElement(Icons, {
12861
12862
  name: "ArrowDown2",
12862
- size: 12
12863
+ size: 12,
12864
+ color: "black"
12863
12865
  }))));
12864
12866
  };
12865
12867
 
@@ -12927,7 +12929,12 @@ const UserMenu = _ref => {
12927
12929
  withinPortal: true,
12928
12930
  offset: 5,
12929
12931
  arrowOffset: 20,
12930
- arrowSize: 10
12932
+ arrowSize: 10,
12933
+ vars: theme => ({
12934
+ root: {
12935
+ "--menu-item-hover": "var(--mantine-color-adiba-0)"
12936
+ }
12937
+ })
12931
12938
  }, /*#__PURE__*/React__default.createElement(UserMenuTarget, {
12932
12939
  name,
12933
12940
  username,
@@ -1,4 +1,4 @@
1
- export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, Q as ChatBubble, R as ChatHeader, O as ChatListCard, o as ConnectionPanel, u as CreditCard, a5 as DEFAULT_API_TIMEOUT, a3 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, W 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, V as LoadingModal, a4 as MAX_PAGE_SIZE, Y as MaskedTilePanel, _ as MerchantCard, a8 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, X 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, $ as TableStateView, Z as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a7 as apiClient, a6 as createApiClient, aa as extractBetweenBraces, ab as extractOutsideBraces, z as theme, a1 as useManagedModals, a0 as useModal, a2 as useUrlFilters, a9 as withProviders } from './index-DaqamyXX.js';
1
+ export { A as ApplicationMenu, p as ApplicationPanel, k as AvatarLabelPanel, B as BasicHeatmap, C as CalendarHeatmap, Q as ChatBubble, R as ChatHeader, O as ChatListCard, o as ConnectionPanel, u as CreditCard, a5 as DEFAULT_API_TIMEOUT, a3 as DEFAULT_PAGE_SIZE, v as DetailCard, D as DonutChart, W 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, V as LoadingModal, a4 as MAX_PAGE_SIZE, Y as MaskedTilePanel, _ as MerchantCard, a8 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, X 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, $ as TableStateView, Z as TilePanel, n as TitleWithIndex, T as TitledPanel, N as TwoFactorModal, U as UserMenu, s as UserProfileCard, a7 as apiClient, a6 as createApiClient, aa as extractBetweenBraces, ab as extractOutsideBraces, z as theme, a1 as useManagedModals, a0 as useModal, a2 as useUrlFilters, a9 as withProviders } from './index-DxdMbXh2.js';
2
2
  import '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import '@babel/runtime/helpers/defineProperty';
4
4
  import '@mantine/modals';
package/build/styles.css CHANGED
@@ -1 +1 @@
1
- svg>path{stroke-width:inherit}.backoffice-sidemenu.mantine-NavLink-root{padding:.25rem}.backoffice-sidemenu.mantine-NavLink-root[data-active] .mantine-NavLink-section:first-child{background:var(--mantine-color-adiba-4)}.backoffice-sidemenu.mantine-NavLink-root .mantine-NavLink-section:first-child{border-radius:9999px;display:flex;height:2rem;width:2rem}.payment-plan .mantine-Indicator-indicator{padding:0}@font-face{font-family:THICCCBOI;src:url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.eot);src:url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.eot?#iefix) format("embedded-opentype"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.woff2) format("woff2"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.woff) format("woff"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.ttf) format("truetype"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.svg#THICCCBOI) format("svg")}.credit-card-container{cursor:pointer;height:185px;perspective:1000px;width:320px}.credit-card-inner{height:100%;position:relative;text-align:center;transform-style:preserve-3d;transition:transform .6s;width:100%}.credit-card-container.flipped .credit-card-inner{transform:rotateY(180deg)}.credit-card-back,.credit-card-front{backface-visibility:hidden;border-radius:20px;box-shadow:0 4px 8px rgba(0,0,0,.1);height:100%;overflow:hidden;position:absolute;width:100%}.credit-card-back{transform:rotateY(180deg)}.magnetic-stripe{background-color:#2f2f2f;height:40px;margin-top:20px;width:100%}.add-card-container{align-items:center;background-color:#ecedef;border:1px dashed #6f758b;border-radius:20px;cursor:pointer;display:flex;height:185px;justify-content:center;transition:background-color .2s;width:320px}.add-card-container:hover{background-color:#e9ecef}
1
+ svg>path{stroke-width:inherit}.backoffice-sidemenu.mantine-NavLink-root{padding:.25rem}.backoffice-sidemenu.mantine-NavLink-root[data-active] .mantine-NavLink-section:first-child{background:var(--mantine-color-adiba-4)}.backoffice-sidemenu.mantine-NavLink-root:hover{background-color:var(--mantine-color-adiba-0);color:var(--mantine-color-adiba-9)}.backoffice-sidemenu.mantine-NavLink-root .mantine-NavLink-section:first-child{border-radius:9999px;display:flex;height:2rem;width:2rem}.payment-plan .mantine-Indicator-indicator{padding:0}@font-face{font-family:THICCCBOI;src:url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.eot);src:url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.eot?#iefix) format("embedded-opentype"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.woff2) format("woff2"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.woff) format("woff"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.ttf) format("truetype"),url(https://db.onlinewebfonts.com/t/74065c19f82d6a5933f924aea6d037a7.svg#THICCCBOI) format("svg")}.credit-card-container{cursor:pointer;height:185px;perspective:1000px;width:320px}.credit-card-inner{height:100%;position:relative;text-align:center;transform-style:preserve-3d;transition:transform .6s;width:100%}.credit-card-container.flipped .credit-card-inner{transform:rotateY(180deg)}.credit-card-back,.credit-card-front{backface-visibility:hidden;border-radius:20px;box-shadow:0 4px 8px rgba(0,0,0,.1);height:100%;overflow:hidden;position:absolute;width:100%}.credit-card-back{transform:rotateY(180deg)}.magnetic-stripe{background-color:#2f2f2f;height:40px;margin-top:20px;width:100%}.add-card-container{align-items:center;background-color:#ecedef;border:1px dashed #6f758b;border-radius:20px;cursor:pointer;display:flex;height:185px;justify-content:center;transition:background-color .2s;width:320px}.add-card-container:hover{background-color:#e9ecef}
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.38",
4
+ "version": "0.2.39",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",