@adiba-banking-cloud/backoffice 0.0.96 → 0.0.97

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.
Files changed (28) hide show
  1. package/build/index.cjs.js/index.js +29 -26
  2. package/build/index.esm.js/index.js +29 -26
  3. package/build/typings/components/charts/area/Area.default.d.ts +1 -1
  4. package/build/typings/components/charts/column/Column.default.d.ts +1 -1
  5. package/build/typings/components/general/icons/Icons.d.ts +1 -1
  6. package/build/typings/components/general/title/Title.types.d.ts +1 -1
  7. package/build/typings/components/menus/application/Application.stories.d.ts +1 -1
  8. package/build/typings/components/menus/side/Side.d.ts +1 -1
  9. package/build/typings/components/menus/user/User.stories.d.ts +1 -1
  10. package/build/typings/components/modals/confim/Confim.d.ts +1 -1
  11. package/build/typings/components/modals/confim/Confim.stories.d.ts +1 -1
  12. package/build/typings/components/widgets/subscription_plan/SubscriptionPlan.types.d.ts +1 -1
  13. package/build/typings/shared/types/ActionProps.types.d.ts +1 -1
  14. package/package.json +1 -1
  15. package/build/typings/components/charts/heatmap/Heatmap.stories.d.ts +0 -0
  16. package/build/typings/components/charts/pie/Pie.stories.d.ts +0 -0
  17. package/build/typings/components/dnd/kanban/Kanban.stories.d.ts +0 -0
  18. package/build/typings/components/dnd/sequence/Sequence.stories.d.ts +0 -0
  19. package/build/typings/components/documents/folder/Folder.stories.d.ts +0 -0
  20. package/build/typings/components/documents/image/Image.stories.d.ts +0 -0
  21. package/build/typings/components/general/drawer/Drawer.stories.d.ts +0 -0
  22. package/build/typings/components/menus/inbox/Inbox.stories.d.ts +0 -0
  23. package/build/typings/components/menus/notification/Notification.stories.d.ts +0 -0
  24. package/build/typings/components/menus/settings/Settings.stories.d.ts +0 -0
  25. package/build/typings/components/modals/error/Error.stories.d.ts +0 -0
  26. package/build/typings/components/modals/info/Info.stories.d.ts +0 -0
  27. package/build/typings/components/modals/success/Success.stories.d.ts +0 -0
  28. package/build/typings/components/modals/twofactor/Twofactor.stories.d.ts +0 -0
@@ -11817,7 +11817,7 @@ var img$b = "data:image/svg+xml,%3csvg width='893' height='221' viewBox='0 0 893
11817
11817
 
11818
11818
  const Logo = _ref => {
11819
11819
  let {
11820
- href = '/',
11820
+ href = "/",
11821
11821
  fallbackSrc,
11822
11822
  src,
11823
11823
  fit,
@@ -12009,11 +12009,11 @@ const UserMenuTarget = _ref => {
12009
12009
  gap: "sm"
12010
12010
  }, /*#__PURE__*/React.createElement(core.Avatar, {
12011
12011
  src: avatar,
12012
- radius: 'md',
12012
+ radius: "md",
12013
12013
  key: name,
12014
12014
  name: name,
12015
12015
  color: "initials",
12016
- bd: '0.5px solid adiba.2'
12016
+ bd: "0.5px solid adiba.2"
12017
12017
  }), /*#__PURE__*/React.createElement(core.Stack, {
12018
12018
  gap: 0,
12019
12019
  align: "flex-start",
@@ -12065,7 +12065,7 @@ const UserMenuDropdown = _ref => {
12065
12065
  if (section?.title) items.push(/*#__PURE__*/React.createElement(core.Menu.Label, {
12066
12066
  fz: 10,
12067
12067
  fw: 500,
12068
- c: 'dimmed',
12068
+ c: "dimmed",
12069
12069
  key: `label-${index}`
12070
12070
  }, section.title));
12071
12071
  items.push(...sectionItems);
@@ -12222,7 +12222,7 @@ const SearchPanel = _ref3 => {
12222
12222
  searchFn ? searchFn(values) : void 0;
12223
12223
  })
12224
12224
  }, /*#__PURE__*/React.createElement(core.Group, {
12225
- gap: 'xs'
12225
+ gap: "xs"
12226
12226
  }, /*#__PURE__*/React.createElement(core.TextInput, {
12227
12227
  fw: 300,
12228
12228
  name: "search",
@@ -12232,7 +12232,7 @@ const SearchPanel = _ref3 => {
12232
12232
  value: search,
12233
12233
  placeholder: placeholder,
12234
12234
  leftSection: /*#__PURE__*/React.createElement(Icons, searchIcon),
12235
- rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React.createElement(core.ActionIcon, {
12235
+ rightSection: typeof filterFn == "function" ? /*#__PURE__*/React.createElement(core.ActionIcon, {
12236
12236
  variant: "transparent",
12237
12237
  onClick: filterFn
12238
12238
  }, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null),
@@ -12289,7 +12289,7 @@ const LabelPanel = _ref => {
12289
12289
  radius,
12290
12290
  p
12291
12291
  }), /*#__PURE__*/React.createElement(core.Stack, {
12292
- pb: 'md'
12292
+ pb: "md"
12293
12293
  }, /*#__PURE__*/React.createElement(core.Group, {
12294
12294
  justify: "space-between",
12295
12295
  p: 0
@@ -12340,15 +12340,15 @@ const AvatarLabelPanel = _ref2 => {
12340
12340
  py: "sm"
12341
12341
  }, /*#__PURE__*/React.createElement(core.Box, {
12342
12342
  w: labelWidth,
12343
- pl: 'md'
12343
+ pl: "md"
12344
12344
  }, /*#__PURE__*/React.createElement(core.Avatar, {
12345
12345
  size: avatarSize,
12346
12346
  src: avatar,
12347
- radius: 'md',
12347
+ radius: "md",
12348
12348
  key: name,
12349
12349
  name: name,
12350
12350
  color: "initials",
12351
- bd: '0.5px solid adiba.2'
12351
+ bd: "0.5px solid adiba.2"
12352
12352
  })), /*#__PURE__*/React.createElement(core.Stack, {
12353
12353
  py: 10,
12354
12354
  gap: "md",
@@ -12386,7 +12386,7 @@ const SimpleText = _ref => {
12386
12386
  } = _ref;
12387
12387
  return /*#__PURE__*/React.createElement(core.Text, _extends({
12388
12388
  fw: 300,
12389
- fz: smaller ? '90%' : undefined
12389
+ fz: smaller ? "90%" : undefined
12390
12390
  }, rest), label);
12391
12391
  };
12392
12392
 
@@ -12421,8 +12421,10 @@ const PageTitle = _ref => {
12421
12421
  rightsection = /*#__PURE__*/React.createElement(core.SegmentedControl, {
12422
12422
  size: "sm",
12423
12423
  bg: "white",
12424
- color: 'adiba',
12425
- data: switcher.items
12424
+ color: "adiba",
12425
+ data: switcher.items,
12426
+ value: switcher.value,
12427
+ onChange: switcher.onChange
12426
12428
  });
12427
12429
  }
12428
12430
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(core.Group, {
@@ -12465,7 +12467,7 @@ const TitleWithIndex = _ref => {
12465
12467
  errorFn = () => void 0
12466
12468
  } = _ref;
12467
12469
  return /*#__PURE__*/React.createElement(core.Group, null, /*#__PURE__*/React.createElement(core.Group, {
12468
- gap: 'xs'
12470
+ gap: "xs"
12469
12471
  }, /*#__PURE__*/React.createElement(core.Title, {
12470
12472
  order: 3,
12471
12473
  fw: 500
@@ -12534,7 +12536,7 @@ const ConnectionPanelDetail = _ref => {
12534
12536
  fz: "xs"
12535
12537
  }, label), /*#__PURE__*/React.createElement(core.Text, {
12536
12538
  fw: 300,
12537
- fz: 'sm',
12539
+ fz: "sm",
12538
12540
  c: altColor
12539
12541
  }, value));
12540
12542
  };
@@ -12660,9 +12662,9 @@ const ApplicationPanelFeatures = _ref => {
12660
12662
  stroke: 1.5
12661
12663
  })), /*#__PURE__*/React.createElement(core.Text, {
12662
12664
  fw: 300,
12663
- c: 'altiba',
12664
- size: '12px',
12665
- w: '90%',
12665
+ c: "altiba",
12666
+ size: "12px",
12667
+ w: "90%",
12666
12668
  truncate: true
12667
12669
  }, label));
12668
12670
  };
@@ -12710,7 +12712,8 @@ const ApplicationPanel = _ref => {
12710
12712
  variant: "outline"
12711
12713
  }, discount)), /*#__PURE__*/React.createElement(core.Text, {
12712
12714
  fw: 300,
12713
- fz: "sm"
12715
+ fz: "sm",
12716
+ lineClamp: 3
12714
12717
  }, summary))), /*#__PURE__*/React.createElement(core.Card.Section, {
12715
12718
  p: "md",
12716
12719
  pt: 0
@@ -12778,8 +12781,8 @@ const SubscriptionPlans = _ref => {
12778
12781
  altColor = "altiba.3",
12779
12782
  durationDays,
12780
12783
  planPrice,
12781
- buttonLabel = 'Pay Early',
12782
- altButtonLabel = 'Pay Now',
12784
+ buttonLabel = "Pay Early",
12785
+ altButtonLabel = "Pay Now",
12783
12786
  onClick
12784
12787
  } = _ref;
12785
12788
  const price = planPrice.split("/");
@@ -12954,7 +12957,7 @@ const SimpleBody = _ref => {
12954
12957
  const columnIndex = column.id;
12955
12958
  return /*#__PURE__*/React.createElement(core.Table.Td, {
12956
12959
  key: idx
12957
- }, typeof row[columnIndex] === 'function' ? row[columnIndex](`${index}`) : row[columnIndex] || "");
12960
+ }, typeof row[columnIndex] === "function" ? row[columnIndex](`${index}`) : row[columnIndex] || "");
12958
12961
  }));
12959
12962
  };
12960
12963
 
@@ -12987,7 +12990,7 @@ const SimpleTable = _ref => {
12987
12990
  verticalSpacing: "md"
12988
12991
  };
12989
12992
  return /*#__PURE__*/React.createElement(core.Table, isStriped && isStripedProps, /*#__PURE__*/React.createElement(core.Table.Thead, null, /*#__PURE__*/React.createElement(core.Table.Tr, {
12990
- bg: isStriped ? 'gray.1' : 'transparent'
12993
+ bg: isStriped ? "gray.1" : "transparent"
12991
12994
  }, columns.map((column, index) => {
12992
12995
  return /*#__PURE__*/React.createElement(SimpleHeader, _extends({
12993
12996
  key: `column-${index}`
@@ -13047,7 +13050,7 @@ const File = _ref => {
13047
13050
  p: isChip ? "xs" : undefined
13048
13051
  }, /*#__PURE__*/React.createElement(core.Group, {
13049
13052
  justify: isChip ? "space-between" : undefined,
13050
- gap: 'xs'
13053
+ gap: "xs"
13051
13054
  }, /*#__PURE__*/React.createElement(core.Image, {
13052
13055
  p: isChip ? undefined : "xs",
13053
13056
  pr: 2,
@@ -13147,7 +13150,7 @@ const SimpleModal = _ref => {
13147
13150
  }, /*#__PURE__*/React.createElement(core.Title, {
13148
13151
  order: 3,
13149
13152
  fw: 500,
13150
- lh: '40px'
13153
+ lh: "40px"
13151
13154
  }, innerProps.title), /*#__PURE__*/React.createElement(React.Fragment, null, innerProps.modalBody)));
13152
13155
  };
13153
13156
 
@@ -13235,7 +13238,7 @@ const Drawer = _ref => {
13235
13238
  transition: "slide-left"
13236
13239
  }
13237
13240
  }, /*#__PURE__*/React.createElement(core.Drawer.Overlay, null), /*#__PURE__*/React.createElement(core.Drawer.Content, null, /*#__PURE__*/React.createElement(core.Drawer.Header, null, /*#__PURE__*/React.createElement(core.Drawer.Title, {
13238
- fz: 'lg',
13241
+ fz: "lg",
13239
13242
  fw: "400"
13240
13243
  }, title), /*#__PURE__*/React.createElement(core.Drawer.CloseButton, {
13241
13244
  icon: /*#__PURE__*/React.createElement(Icons, {
@@ -11796,7 +11796,7 @@ var img$b = "data:image/svg+xml,%3csvg width='893' height='221' viewBox='0 0 893
11796
11796
 
11797
11797
  const Logo = _ref => {
11798
11798
  let {
11799
- href = '/',
11799
+ href = "/",
11800
11800
  fallbackSrc,
11801
11801
  src,
11802
11802
  fit,
@@ -11988,11 +11988,11 @@ const UserMenuTarget = _ref => {
11988
11988
  gap: "sm"
11989
11989
  }, /*#__PURE__*/React.createElement(Avatar, {
11990
11990
  src: avatar,
11991
- radius: 'md',
11991
+ radius: "md",
11992
11992
  key: name,
11993
11993
  name: name,
11994
11994
  color: "initials",
11995
- bd: '0.5px solid adiba.2'
11995
+ bd: "0.5px solid adiba.2"
11996
11996
  }), /*#__PURE__*/React.createElement(Stack, {
11997
11997
  gap: 0,
11998
11998
  align: "flex-start",
@@ -12044,7 +12044,7 @@ const UserMenuDropdown = _ref => {
12044
12044
  if (section?.title) items.push(/*#__PURE__*/React.createElement(Menu.Label, {
12045
12045
  fz: 10,
12046
12046
  fw: 500,
12047
- c: 'dimmed',
12047
+ c: "dimmed",
12048
12048
  key: `label-${index}`
12049
12049
  }, section.title));
12050
12050
  items.push(...sectionItems);
@@ -12201,7 +12201,7 @@ const SearchPanel = _ref3 => {
12201
12201
  searchFn ? searchFn(values) : void 0;
12202
12202
  })
12203
12203
  }, /*#__PURE__*/React.createElement(Group, {
12204
- gap: 'xs'
12204
+ gap: "xs"
12205
12205
  }, /*#__PURE__*/React.createElement(TextInput, {
12206
12206
  fw: 300,
12207
12207
  name: "search",
@@ -12211,7 +12211,7 @@ const SearchPanel = _ref3 => {
12211
12211
  value: search,
12212
12212
  placeholder: placeholder,
12213
12213
  leftSection: /*#__PURE__*/React.createElement(Icons, searchIcon),
12214
- rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React.createElement(ActionIcon, {
12214
+ rightSection: typeof filterFn == "function" ? /*#__PURE__*/React.createElement(ActionIcon, {
12215
12215
  variant: "transparent",
12216
12216
  onClick: filterFn
12217
12217
  }, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null),
@@ -12268,7 +12268,7 @@ const LabelPanel = _ref => {
12268
12268
  radius,
12269
12269
  p
12270
12270
  }), /*#__PURE__*/React.createElement(Stack, {
12271
- pb: 'md'
12271
+ pb: "md"
12272
12272
  }, /*#__PURE__*/React.createElement(Group, {
12273
12273
  justify: "space-between",
12274
12274
  p: 0
@@ -12319,15 +12319,15 @@ const AvatarLabelPanel = _ref2 => {
12319
12319
  py: "sm"
12320
12320
  }, /*#__PURE__*/React.createElement(Box, {
12321
12321
  w: labelWidth,
12322
- pl: 'md'
12322
+ pl: "md"
12323
12323
  }, /*#__PURE__*/React.createElement(Avatar, {
12324
12324
  size: avatarSize,
12325
12325
  src: avatar,
12326
- radius: 'md',
12326
+ radius: "md",
12327
12327
  key: name,
12328
12328
  name: name,
12329
12329
  color: "initials",
12330
- bd: '0.5px solid adiba.2'
12330
+ bd: "0.5px solid adiba.2"
12331
12331
  })), /*#__PURE__*/React.createElement(Stack, {
12332
12332
  py: 10,
12333
12333
  gap: "md",
@@ -12365,7 +12365,7 @@ const SimpleText = _ref => {
12365
12365
  } = _ref;
12366
12366
  return /*#__PURE__*/React.createElement(Text, _extends({
12367
12367
  fw: 300,
12368
- fz: smaller ? '90%' : undefined
12368
+ fz: smaller ? "90%" : undefined
12369
12369
  }, rest), label);
12370
12370
  };
12371
12371
 
@@ -12400,8 +12400,10 @@ const PageTitle = _ref => {
12400
12400
  rightsection = /*#__PURE__*/React.createElement(SegmentedControl, {
12401
12401
  size: "sm",
12402
12402
  bg: "white",
12403
- color: 'adiba',
12404
- data: switcher.items
12403
+ color: "adiba",
12404
+ data: switcher.items,
12405
+ value: switcher.value,
12406
+ onChange: switcher.onChange
12405
12407
  });
12406
12408
  }
12407
12409
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Group, {
@@ -12444,7 +12446,7 @@ const TitleWithIndex = _ref => {
12444
12446
  errorFn = () => void 0
12445
12447
  } = _ref;
12446
12448
  return /*#__PURE__*/React.createElement(Group, null, /*#__PURE__*/React.createElement(Group, {
12447
- gap: 'xs'
12449
+ gap: "xs"
12448
12450
  }, /*#__PURE__*/React.createElement(Title, {
12449
12451
  order: 3,
12450
12452
  fw: 500
@@ -12513,7 +12515,7 @@ const ConnectionPanelDetail = _ref => {
12513
12515
  fz: "xs"
12514
12516
  }, label), /*#__PURE__*/React.createElement(Text, {
12515
12517
  fw: 300,
12516
- fz: 'sm',
12518
+ fz: "sm",
12517
12519
  c: altColor
12518
12520
  }, value));
12519
12521
  };
@@ -12639,9 +12641,9 @@ const ApplicationPanelFeatures = _ref => {
12639
12641
  stroke: 1.5
12640
12642
  })), /*#__PURE__*/React.createElement(Text, {
12641
12643
  fw: 300,
12642
- c: 'altiba',
12643
- size: '12px',
12644
- w: '90%',
12644
+ c: "altiba",
12645
+ size: "12px",
12646
+ w: "90%",
12645
12647
  truncate: true
12646
12648
  }, label));
12647
12649
  };
@@ -12689,7 +12691,8 @@ const ApplicationPanel = _ref => {
12689
12691
  variant: "outline"
12690
12692
  }, discount)), /*#__PURE__*/React.createElement(Text, {
12691
12693
  fw: 300,
12692
- fz: "sm"
12694
+ fz: "sm",
12695
+ lineClamp: 3
12693
12696
  }, summary))), /*#__PURE__*/React.createElement(Card.Section, {
12694
12697
  p: "md",
12695
12698
  pt: 0
@@ -12757,8 +12760,8 @@ const SubscriptionPlans = _ref => {
12757
12760
  altColor = "altiba.3",
12758
12761
  durationDays,
12759
12762
  planPrice,
12760
- buttonLabel = 'Pay Early',
12761
- altButtonLabel = 'Pay Now',
12763
+ buttonLabel = "Pay Early",
12764
+ altButtonLabel = "Pay Now",
12762
12765
  onClick
12763
12766
  } = _ref;
12764
12767
  const price = planPrice.split("/");
@@ -12933,7 +12936,7 @@ const SimpleBody = _ref => {
12933
12936
  const columnIndex = column.id;
12934
12937
  return /*#__PURE__*/React.createElement(Table.Td, {
12935
12938
  key: idx
12936
- }, typeof row[columnIndex] === 'function' ? row[columnIndex](`${index}`) : row[columnIndex] || "");
12939
+ }, typeof row[columnIndex] === "function" ? row[columnIndex](`${index}`) : row[columnIndex] || "");
12937
12940
  }));
12938
12941
  };
12939
12942
 
@@ -12966,7 +12969,7 @@ const SimpleTable = _ref => {
12966
12969
  verticalSpacing: "md"
12967
12970
  };
12968
12971
  return /*#__PURE__*/React.createElement(Table, isStriped && isStripedProps, /*#__PURE__*/React.createElement(Table.Thead, null, /*#__PURE__*/React.createElement(Table.Tr, {
12969
- bg: isStriped ? 'gray.1' : 'transparent'
12972
+ bg: isStriped ? "gray.1" : "transparent"
12970
12973
  }, columns.map((column, index) => {
12971
12974
  return /*#__PURE__*/React.createElement(SimpleHeader, _extends({
12972
12975
  key: `column-${index}`
@@ -13026,7 +13029,7 @@ const File = _ref => {
13026
13029
  p: isChip ? "xs" : undefined
13027
13030
  }, /*#__PURE__*/React.createElement(Group, {
13028
13031
  justify: isChip ? "space-between" : undefined,
13029
- gap: 'xs'
13032
+ gap: "xs"
13030
13033
  }, /*#__PURE__*/React.createElement(Image, {
13031
13034
  p: isChip ? undefined : "xs",
13032
13035
  pr: 2,
@@ -13126,7 +13129,7 @@ const SimpleModal = _ref => {
13126
13129
  }, /*#__PURE__*/React.createElement(Title, {
13127
13130
  order: 3,
13128
13131
  fw: 500,
13129
- lh: '40px'
13132
+ lh: "40px"
13130
13133
  }, innerProps.title), /*#__PURE__*/React.createElement(React.Fragment, null, innerProps.modalBody)));
13131
13134
  };
13132
13135
 
@@ -13214,7 +13217,7 @@ const Drawer = _ref => {
13214
13217
  transition: "slide-left"
13215
13218
  }
13216
13219
  }, /*#__PURE__*/React.createElement(Drawer$1.Overlay, null), /*#__PURE__*/React.createElement(Drawer$1.Content, null, /*#__PURE__*/React.createElement(Drawer$1.Header, null, /*#__PURE__*/React.createElement(Drawer$1.Title, {
13217
- fz: 'lg',
13220
+ fz: "lg",
13218
13221
  fw: "400"
13219
13222
  }, title), /*#__PURE__*/React.createElement(Drawer$1.CloseButton, {
13220
13223
  icon: /*#__PURE__*/React.createElement(Icons, {
@@ -1,2 +1,2 @@
1
- import { AreaChartConfig, AreaChartProps } from './Area.types';
1
+ import { AreaChartConfig, AreaChartProps } from "./Area.types";
2
2
  export declare const initChart: (props: AreaChartProps) => AreaChartConfig;
@@ -1,2 +1,2 @@
1
- import { ChartConfig, ChartProps } from './Column.types';
1
+ import { ChartConfig, ChartProps } from "./Column.types";
2
2
  export declare const initChart: (props: ChartProps) => ChartConfig;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { IconsProps } from "./Icons.types";
3
- import './Icons.css';
3
+ import "./Icons.css";
4
4
  export declare const Icons: React.FC<IconsProps>;
@@ -12,7 +12,7 @@ export interface PageTitleProps extends TitleProps {
12
12
  export interface SwitcherProps {
13
13
  items: string[];
14
14
  value?: string;
15
- onChange?: () => void;
15
+ onChange?: (value: string) => void;
16
16
  }
17
17
  export interface BreadCrumbItemProps {
18
18
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { ApplicationMenu } from "./Application";
2
2
  import { Meta } from "@storybook/react";
3
- import '@mantine/core/styles.css';
3
+ import "@mantine/core/styles.css";
4
4
  declare const _default: Meta<typeof ApplicationMenu>;
5
5
  export default _default;
6
6
  export declare const ApplicationMenuExample: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Application.types").ApplicationMenuProps>;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { SideMenuProps } from "./Side.types";
3
- import './Side.css';
3
+ import "./Side.css";
4
4
  export declare const SideMenu: React.FC<SideMenuProps>;
@@ -1,6 +1,6 @@
1
1
  import { Meta } from "@storybook/react";
2
2
  import { UserMenu } from "./User";
3
- import '@mantine/core/styles.css';
3
+ import "@mantine/core/styles.css";
4
4
  declare const _default: Meta<typeof UserMenu>;
5
5
  export default _default;
6
6
  export declare const UserMenuExample: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./User.types").UsermenuProps>;
@@ -1,2 +1,2 @@
1
1
  import { BackofficeConfirmModalProps } from "./Confim.types";
2
- export declare const ConfirmModal: ({ children, loading }: BackofficeConfirmModalProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ConfirmModal: ({ children, loading, }: BackofficeConfirmModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { Meta } from "@storybook/react";
2
2
  import { ConfirmModal } from "./Confim";
3
- import '@mantine/core/styles.css';
3
+ import "@mantine/core/styles.css";
4
4
  declare const _default: Meta<typeof ConfirmModal>;
5
5
  export default _default;
6
6
  export declare const ConfirmModalExample: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Confim.types").BackofficeConfirmModalProps>;
@@ -5,7 +5,7 @@ export interface SubscriptionPlanProps {
5
5
  altColor: MantineColor;
6
6
  durationDays: number;
7
7
  planPrice: string;
8
- onClick: (event: any) => void;
8
+ onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
9
9
  buttonLabel?: string;
10
10
  altButtonLabel?: string;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { AlertProps, DrawerProps, ModalProps, NotificationProps, ButtonProps } from "@mantine/core";
2
- import { PageTitleProps } from '../../components/general/title/Title.types';
2
+ import { PageTitleProps } from "../../components/general/title/Title.types";
3
3
  export interface DrawerActionProps {
4
4
  title: string;
5
5
  page: React.ReactNode;
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.96",
4
+ "version": "0.0.97",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",