@adiba-banking-cloud/backoffice 0.0.23 → 0.0.25

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.
@@ -12224,11 +12224,15 @@ const ApplicationPanel = _ref => {
12224
12224
  return /*#__PURE__*/React.createElement(core.Card, _extends({
12225
12225
  withBorder: true,
12226
12226
  radius: "md"
12227
- }, rest), /*#__PURE__*/React.createElement(core.Card.Section, null, /*#__PURE__*/React.createElement(core.Image, {
12227
+ }, rest), /*#__PURE__*/React.createElement(core.Card.Section, null, /*#__PURE__*/React.createElement(core.AspectRatio, {
12228
+ ratio: 3 / 2
12229
+ }, /*#__PURE__*/React.createElement(core.Image, {
12228
12230
  src: coverImage,
12229
12231
  alt: name,
12230
12232
  fallbackSrc: img$a
12231
- })), /*#__PURE__*/React.createElement(core.Card.Section, {
12233
+ }), /*#__PURE__*/React.createElement(core.Overlay, {
12234
+ gradient: "linear-gradient(45deg, rgba(255,255,255,0.4) 0%,rgba(255,255,255,0.2) 100%)"
12235
+ }))), /*#__PURE__*/React.createElement(core.Card.Section, {
12232
12236
  p: "md"
12233
12237
  }, /*#__PURE__*/React.createElement(core.Stack, {
12234
12238
  gap: "sm"
@@ -12237,7 +12241,9 @@ const ApplicationPanel = _ref => {
12237
12241
  }, /*#__PURE__*/React.createElement(core.Text, {
12238
12242
  fw: 400
12239
12243
  }, name), /*#__PURE__*/React.createElement(core.Badge, {
12240
- hidden: !discount,
12244
+ style: {
12245
+ display: String(discount).length < 1 ? "none" : "block"
12246
+ },
12241
12247
  fw: 300,
12242
12248
  variant: "outline"
12243
12249
  }, discount)), /*#__PURE__*/React.createElement(core.Text, {
@@ -5,7 +5,7 @@ import HighchartsReact from 'highcharts-react-official';
5
5
  import HighchartsRounded from 'highcharts-rounded-corners';
6
6
  import * as IconSax from 'iconsax-react';
7
7
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
8
- import { Center, Image, Space, Popover, Button, Stack, Divider, Group, Text, Menu, Avatar, Badge, NavLink, Card, TextInput, ActionIcon, Box, Title, createTheme, SegmentedControl, Breadcrumbs, Anchor, ColorSwatch, rem, SimpleGrid, Indicator, Table } from '@mantine/core';
8
+ import { Center, Image, Space, Popover, Button, Stack, Divider, Group, Text, Menu, Avatar, Badge, NavLink, Card, TextInput, ActionIcon, Box, Title, createTheme, SegmentedControl, Breadcrumbs, Anchor, ColorSwatch, AspectRatio, Overlay, rem, SimpleGrid, Indicator, Table } from '@mantine/core';
9
9
  import { Link } from 'react-router-dom';
10
10
  import { useDisclosure } from '@mantine/hooks';
11
11
  import '@fontsource/poppins/100.css';
@@ -12203,11 +12203,15 @@ const ApplicationPanel = _ref => {
12203
12203
  return /*#__PURE__*/React.createElement(Card, _extends({
12204
12204
  withBorder: true,
12205
12205
  radius: "md"
12206
- }, rest), /*#__PURE__*/React.createElement(Card.Section, null, /*#__PURE__*/React.createElement(Image, {
12206
+ }, rest), /*#__PURE__*/React.createElement(Card.Section, null, /*#__PURE__*/React.createElement(AspectRatio, {
12207
+ ratio: 3 / 2
12208
+ }, /*#__PURE__*/React.createElement(Image, {
12207
12209
  src: coverImage,
12208
12210
  alt: name,
12209
12211
  fallbackSrc: img$a
12210
- })), /*#__PURE__*/React.createElement(Card.Section, {
12212
+ }), /*#__PURE__*/React.createElement(Overlay, {
12213
+ gradient: "linear-gradient(45deg, rgba(255,255,255,0.4) 0%,rgba(255,255,255,0.2) 100%)"
12214
+ }))), /*#__PURE__*/React.createElement(Card.Section, {
12211
12215
  p: "md"
12212
12216
  }, /*#__PURE__*/React.createElement(Stack, {
12213
12217
  gap: "sm"
@@ -12216,7 +12220,9 @@ const ApplicationPanel = _ref => {
12216
12220
  }, /*#__PURE__*/React.createElement(Text, {
12217
12221
  fw: 400
12218
12222
  }, name), /*#__PURE__*/React.createElement(Badge, {
12219
- hidden: !discount,
12223
+ style: {
12224
+ display: String(discount).length < 1 ? "none" : "block"
12225
+ },
12220
12226
  fw: 300,
12221
12227
  variant: "outline"
12222
12228
  }, discount)), /*#__PURE__*/React.createElement(Text, {
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.0.23",
4
+ "version": "0.0.25",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",