@adiba-banking-cloud/backoffice 0.0.3 → 0.0.4

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.
@@ -3,6 +3,7 @@
3
3
  var _extends = require('@babel/runtime/helpers/extends');
4
4
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
5
5
  var React = require('react');
6
+ var core = require('@mantine/core');
6
7
 
7
8
  const _excluded = ["primary", "size", "backgroundColor", "label"];
8
9
  /** Primary UI component for user interaction */
@@ -15,13 +16,15 @@ const Button = _ref => {
15
16
  } = _ref,
16
17
  props = _objectWithoutProperties(_ref, _excluded);
17
18
  const mode = primary ? "storybook-button--primary" : "storybook-button--secondary";
18
- return /*#__PURE__*/React.createElement("button", _extends({
19
+ return /*#__PURE__*/React.createElement(core.Button, _extends({
19
20
  type: "button",
20
21
  className: ["storybook-button", "storybook-button--".concat(size), mode].join(" "),
21
22
  style: {
22
23
  backgroundColor
23
24
  }
24
- }, props), label);
25
+ }, props, {
26
+ variant: "filled"
27
+ }), label);
25
28
  };
26
29
 
27
30
  const Header = _ref => {
@@ -1,6 +1,7 @@
1
1
  import _extends from '@babel/runtime/helpers/extends';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import React from 'react';
4
+ import { Button as Button$1 } from '@mantine/core';
4
5
 
5
6
  const _excluded = ["primary", "size", "backgroundColor", "label"];
6
7
  /** Primary UI component for user interaction */
@@ -13,13 +14,15 @@ const Button = _ref => {
13
14
  } = _ref,
14
15
  props = _objectWithoutProperties(_ref, _excluded);
15
16
  const mode = primary ? "storybook-button--primary" : "storybook-button--secondary";
16
- return /*#__PURE__*/React.createElement("button", _extends({
17
+ return /*#__PURE__*/React.createElement(Button$1, _extends({
17
18
  type: "button",
18
19
  className: ["storybook-button", "storybook-button--".concat(size), mode].join(" "),
19
20
  style: {
20
21
  backgroundColor
21
22
  }
22
- }, props), label);
23
+ }, props, {
24
+ variant: "filled"
25
+ }), label);
23
26
  };
24
27
 
25
28
  const Header = _ref => {
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.3",
4
+ "version": "0.0.4",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",
@@ -29,7 +29,14 @@
29
29
  "types": "build/typings/index.d.ts",
30
30
  "peerDependencies": {
31
31
  "react": ">=18",
32
- "react-dom": ">=18"
32
+ "react-dom": ">=18",
33
+ "@fontsource/poppins": "^5.1.0",
34
+ "@hello-pangea/dnd": "^16.5.0",
35
+ "@mantine/core": "^7.12.2",
36
+ "@mantine/hooks": "^7.12.2",
37
+ "highcharts-react-official": "^3.2.2",
38
+ "highcharts-rounded-corners": "^1.0.7",
39
+ "iconsax-react": "^0.0.8"
33
40
  },
34
41
  "repository": {
35
42
  "type": "git",
@@ -83,7 +90,14 @@
83
90
  "ts-jest": "^29.0.5",
84
91
  "typescript": "^5.0.2",
85
92
  "typescript-eslint": "^8.12.1",
86
- "vite": "^6.2.1"
93
+ "vite": "^6.2.1",
94
+ "@fontsource/poppins": "^5.1.0",
95
+ "@hello-pangea/dnd": "^16.5.0",
96
+ "@mantine/core": "^7.12.2",
97
+ "@mantine/hooks": "^7.12.2",
98
+ "highcharts-react-official": "^3.2.2",
99
+ "highcharts-rounded-corners": "^1.0.7",
100
+ "iconsax-react": "^0.0.8"
87
101
  },
88
102
  "dependencies": {
89
103
  "@babel/runtime": "^7.21.0"