@adiba-banking-cloud/backoffice 0.0.23 → 0.0.24

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,16 @@ 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
+ maw: 350
12230
+ }, /*#__PURE__*/React.createElement(core.Image, {
12228
12231
  src: coverImage,
12229
12232
  alt: name,
12230
12233
  fallbackSrc: img$a
12231
- })), /*#__PURE__*/React.createElement(core.Card.Section, {
12234
+ }), /*#__PURE__*/React.createElement(core.Overlay, {
12235
+ gradient: "linear-gradient(45deg, rgba(255,255,255,0.4) 0%,rgba(255,255,255,0.2) 100%)"
12236
+ }))), /*#__PURE__*/React.createElement(core.Card.Section, {
12232
12237
  p: "md"
12233
12238
  }, /*#__PURE__*/React.createElement(core.Stack, {
12234
12239
  gap: "sm"
@@ -12237,7 +12242,9 @@ const ApplicationPanel = _ref => {
12237
12242
  }, /*#__PURE__*/React.createElement(core.Text, {
12238
12243
  fw: 400
12239
12244
  }, name), /*#__PURE__*/React.createElement(core.Badge, {
12240
- hidden: !discount,
12245
+ style: {
12246
+ display: String(discount).length < 1 ? "none" : "block"
12247
+ },
12241
12248
  fw: 300,
12242
12249
  variant: "outline"
12243
12250
  }, 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,16 @@ 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
+ maw: 350
12209
+ }, /*#__PURE__*/React.createElement(Image, {
12207
12210
  src: coverImage,
12208
12211
  alt: name,
12209
12212
  fallbackSrc: img$a
12210
- })), /*#__PURE__*/React.createElement(Card.Section, {
12213
+ }), /*#__PURE__*/React.createElement(Overlay, {
12214
+ gradient: "linear-gradient(45deg, rgba(255,255,255,0.4) 0%,rgba(255,255,255,0.2) 100%)"
12215
+ }))), /*#__PURE__*/React.createElement(Card.Section, {
12211
12216
  p: "md"
12212
12217
  }, /*#__PURE__*/React.createElement(Stack, {
12213
12218
  gap: "sm"
@@ -12216,7 +12221,9 @@ const ApplicationPanel = _ref => {
12216
12221
  }, /*#__PURE__*/React.createElement(Text, {
12217
12222
  fw: 400
12218
12223
  }, name), /*#__PURE__*/React.createElement(Badge, {
12219
- hidden: !discount,
12224
+ style: {
12225
+ display: String(discount).length < 1 ? "none" : "block"
12226
+ },
12220
12227
  fw: 300,
12221
12228
  variant: "outline"
12222
12229
  }, 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.24",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",