@adiba-banking-cloud/backoffice 0.0.10 → 0.0.11

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.
@@ -9,6 +9,14 @@ var IconSax = require('iconsax-react');
9
9
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
10
10
  var core = require('@mantine/core');
11
11
  var hooks = require('@mantine/hooks');
12
+ require('@fontsource/poppins/100.css');
13
+ require('@fontsource/poppins/200.css');
14
+ require('@fontsource/poppins/300.css');
15
+ require('@fontsource/poppins/400.css');
16
+ require('@fontsource/poppins/500.css');
17
+ require('@fontsource/poppins/600.css');
18
+ require('@fontsource/poppins/700.css');
19
+ require('@fontsource/poppins/800.css');
12
20
 
13
21
  function _interopNamespaceDefault(e) {
14
22
  var n = Object.create(null);
@@ -11717,6 +11725,25 @@ const SideMenu = _ref => {
11717
11725
  }));
11718
11726
  };
11719
11727
 
11728
+ const theme = core.createTheme({
11729
+ focusRing: "never",
11730
+ colors: {
11731
+ adiba: ["#E7E8EB", "#CFD1D8", "#B7BAC4", "#9FA3B1", "#575E77", "#273050", "#0f193d", "#0D1636", "#0C1430", "#0A112A"],
11732
+ altiba: ["#F4E2CE", "#EED4B5", "#E9C59D", "#D89A54", "#D38C3B", "#CD7E23", "#c8700b", "#B46409", "#A05908", "#8C4E07"]
11733
+ },
11734
+ fontFamily: "Poppins",
11735
+ headings: {
11736
+ fontFamily: "Poppins",
11737
+ fontWeight: "500"
11738
+ },
11739
+ primaryColor: "adiba",
11740
+ other: {
11741
+ fontWeights: {
11742
+ normal: 300
11743
+ }
11744
+ }
11745
+ });
11746
+
11720
11747
  exports.ApplicationMenu = ApplicationMenu;
11721
11748
  exports.DynamicLogo = DynamicLogo;
11722
11749
  exports.DynamicShigaLogo = DynamicShigaLogo;
@@ -11726,3 +11753,4 @@ exports.SideMenu = SideMenu;
11726
11753
  exports.SimpleColumn = SimpleColumn;
11727
11754
  exports.StackedColumn = StackedColumn;
11728
11755
  exports.UserMenu = UserMenu;
11756
+ exports.theme = theme;
@@ -5,8 +5,16 @@ 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 } from '@mantine/core';
8
+ import { Center, Image, Space, Popover, Button, Stack, Divider, Group, Text, Menu, Avatar, Badge, NavLink, createTheme } from '@mantine/core';
9
9
  import { useDisclosure } from '@mantine/hooks';
10
+ import '@fontsource/poppins/100.css';
11
+ import '@fontsource/poppins/200.css';
12
+ import '@fontsource/poppins/300.css';
13
+ import '@fontsource/poppins/400.css';
14
+ import '@fontsource/poppins/500.css';
15
+ import '@fontsource/poppins/600.css';
16
+ import '@fontsource/poppins/700.css';
17
+ import '@fontsource/poppins/800.css';
10
18
 
11
19
  function getDefaultExportFromCjs (x) {
12
20
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -11696,4 +11704,23 @@ const SideMenu = _ref => {
11696
11704
  }));
11697
11705
  };
11698
11706
 
11699
- export { ApplicationMenu, DynamicLogo, DynamicShigaLogo, EqualizerColumn, Icons, SideMenu, SimpleColumn, StackedColumn, UserMenu };
11707
+ const theme = createTheme({
11708
+ focusRing: "never",
11709
+ colors: {
11710
+ adiba: ["#E7E8EB", "#CFD1D8", "#B7BAC4", "#9FA3B1", "#575E77", "#273050", "#0f193d", "#0D1636", "#0C1430", "#0A112A"],
11711
+ altiba: ["#F4E2CE", "#EED4B5", "#E9C59D", "#D89A54", "#D38C3B", "#CD7E23", "#c8700b", "#B46409", "#A05908", "#8C4E07"]
11712
+ },
11713
+ fontFamily: "Poppins",
11714
+ headings: {
11715
+ fontFamily: "Poppins",
11716
+ fontWeight: "500"
11717
+ },
11718
+ primaryColor: "adiba",
11719
+ other: {
11720
+ fontWeights: {
11721
+ normal: 300
11722
+ }
11723
+ }
11724
+ });
11725
+
11726
+ export { ApplicationMenu, DynamicLogo, DynamicShigaLogo, EqualizerColumn, Icons, SideMenu, SimpleColumn, StackedColumn, UserMenu, theme };
@@ -4,3 +4,4 @@ export { DynamicLogo, DynamicShigaLogo } from "./general/logos/Logos";
4
4
  export { ApplicationMenu } from "./menus/application/Application";
5
5
  export { UserMenu } from "./menus/user/User";
6
6
  export { SideMenu } from "./menus/side/Side";
7
+ export { theme } from "./theme";
@@ -0,0 +1,149 @@
1
+ import "@fontsource/poppins/100.css";
2
+ import "@fontsource/poppins/200.css";
3
+ import "@fontsource/poppins/300.css";
4
+ import "@fontsource/poppins/400.css";
5
+ import "@fontsource/poppins/500.css";
6
+ import "@fontsource/poppins/600.css";
7
+ import "@fontsource/poppins/700.css";
8
+ import "@fontsource/poppins/800.css";
9
+ export declare const theme: {
10
+ focusRing?: "auto" | "never" | "always" | undefined;
11
+ scale?: number | undefined;
12
+ fontSmoothing?: boolean | undefined;
13
+ white?: string | undefined;
14
+ black?: string | undefined;
15
+ colors?: {
16
+ [x: string & {}]: import("@mantine/core").MantineColorsTuple | undefined;
17
+ blue?: import("@mantine/core").MantineColorsTuple | undefined;
18
+ gray?: import("@mantine/core").MantineColorsTuple | undefined;
19
+ cyan?: import("@mantine/core").MantineColorsTuple | undefined;
20
+ green?: import("@mantine/core").MantineColorsTuple | undefined;
21
+ indigo?: import("@mantine/core").MantineColorsTuple | undefined;
22
+ lime?: import("@mantine/core").MantineColorsTuple | undefined;
23
+ orange?: import("@mantine/core").MantineColorsTuple | undefined;
24
+ pink?: import("@mantine/core").MantineColorsTuple | undefined;
25
+ red?: import("@mantine/core").MantineColorsTuple | undefined;
26
+ teal?: import("@mantine/core").MantineColorsTuple | undefined;
27
+ violet?: import("@mantine/core").MantineColorsTuple | undefined;
28
+ yellow?: import("@mantine/core").MantineColorsTuple | undefined;
29
+ dark?: import("@mantine/core").MantineColorsTuple | undefined;
30
+ grape?: import("@mantine/core").MantineColorsTuple | undefined;
31
+ } | undefined;
32
+ primaryShade?: import("@mantine/core").MantineColorShade | {
33
+ light?: import("@mantine/core").MantineColorShade | undefined;
34
+ dark?: import("@mantine/core").MantineColorShade | undefined;
35
+ } | undefined;
36
+ primaryColor?: string | undefined;
37
+ variantColorResolver?: import("@mantine/core").VariantColorsResolver | undefined;
38
+ autoContrast?: boolean | undefined;
39
+ luminanceThreshold?: number | undefined;
40
+ fontFamily?: string | undefined;
41
+ fontFamilyMonospace?: string | undefined;
42
+ headings?: {
43
+ fontFamily?: string | undefined;
44
+ fontWeight?: string | undefined;
45
+ textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable" | undefined;
46
+ sizes?: {
47
+ h1?: {
48
+ fontSize?: string | undefined;
49
+ fontWeight?: string | undefined;
50
+ lineHeight?: string | undefined;
51
+ } | undefined;
52
+ h2?: {
53
+ fontSize?: string | undefined;
54
+ fontWeight?: string | undefined;
55
+ lineHeight?: string | undefined;
56
+ } | undefined;
57
+ h3?: {
58
+ fontSize?: string | undefined;
59
+ fontWeight?: string | undefined;
60
+ lineHeight?: string | undefined;
61
+ } | undefined;
62
+ h4?: {
63
+ fontSize?: string | undefined;
64
+ fontWeight?: string | undefined;
65
+ lineHeight?: string | undefined;
66
+ } | undefined;
67
+ h5?: {
68
+ fontSize?: string | undefined;
69
+ fontWeight?: string | undefined;
70
+ lineHeight?: string | undefined;
71
+ } | undefined;
72
+ h6?: {
73
+ fontSize?: string | undefined;
74
+ fontWeight?: string | undefined;
75
+ lineHeight?: string | undefined;
76
+ } | undefined;
77
+ } | undefined;
78
+ } | undefined;
79
+ radius?: {
80
+ [x: string & {}]: string | undefined;
81
+ xs?: string | undefined;
82
+ sm?: string | undefined;
83
+ md?: string | undefined;
84
+ lg?: string | undefined;
85
+ xl?: string | undefined;
86
+ } | undefined;
87
+ defaultRadius?: import("@mantine/core").MantineRadius | undefined;
88
+ spacing?: {
89
+ [x: number]: string | undefined;
90
+ [x: string & {}]: string | undefined;
91
+ xs?: string | undefined;
92
+ sm?: string | undefined;
93
+ md?: string | undefined;
94
+ lg?: string | undefined;
95
+ xl?: string | undefined;
96
+ } | undefined;
97
+ fontSizes?: {
98
+ [x: string & {}]: string | undefined;
99
+ xs?: string | undefined;
100
+ sm?: string | undefined;
101
+ md?: string | undefined;
102
+ lg?: string | undefined;
103
+ xl?: string | undefined;
104
+ } | undefined;
105
+ lineHeights?: {
106
+ [x: string & {}]: string | undefined;
107
+ xs?: string | undefined;
108
+ sm?: string | undefined;
109
+ md?: string | undefined;
110
+ lg?: string | undefined;
111
+ xl?: string | undefined;
112
+ } | undefined;
113
+ breakpoints?: {
114
+ [x: string & {}]: string | undefined;
115
+ xs?: string | undefined;
116
+ sm?: string | undefined;
117
+ md?: string | undefined;
118
+ lg?: string | undefined;
119
+ xl?: string | undefined;
120
+ } | undefined;
121
+ shadows?: {
122
+ [x: string & {}]: string | undefined;
123
+ xs?: string | undefined;
124
+ sm?: string | undefined;
125
+ md?: string | undefined;
126
+ lg?: string | undefined;
127
+ xl?: string | undefined;
128
+ } | undefined;
129
+ respectReducedMotion?: boolean | undefined;
130
+ cursorType?: "default" | "pointer" | undefined;
131
+ defaultGradient?: {
132
+ from?: string | undefined;
133
+ to?: string | undefined;
134
+ deg?: number | undefined;
135
+ } | undefined;
136
+ activeClassName?: string | undefined;
137
+ focusClassName?: string | undefined;
138
+ components?: {
139
+ [x: string]: {
140
+ classNames?: any;
141
+ styles?: any;
142
+ vars?: any;
143
+ defaultProps?: any;
144
+ } | undefined;
145
+ } | undefined;
146
+ other?: {
147
+ [x: string]: any;
148
+ } | undefined;
149
+ };
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.10",
4
+ "version": "0.0.11",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",