dhre-ui-kit 0.0.96 → 0.0.98

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-ui-kit",
3
- "version": "0.0.96",
3
+ "version": "0.0.98",
4
4
  "main": "lib/index.js",
5
5
  "module": "lib/index.mjs",
6
6
  "typings": "lib/index.d.ts",
@@ -13,7 +13,16 @@
13
13
  "library"
14
14
  ],
15
15
  "scripts": {
16
- "build": "rollup -c"
16
+ "prepublishOnly": "npm run build",
17
+ "build": "rollup -c",
18
+ "test": "jest",
19
+ "tsc": "tsc",
20
+ "lint": "npx eslint ./src",
21
+ "lint:fix": "npm run lint -- --fix",
22
+ "lint:report": "eslint . --format=json --output-file=eslint-report.json",
23
+ "prettier": "npx prettier ./src --check",
24
+ "prettier:fix": "npm run prettier ./src -- --write",
25
+ "prepare": "husky"
17
26
  },
18
27
  "author": "",
19
28
  "license": "ISC",
@@ -39,24 +48,41 @@
39
48
  "react-native-svg": "^15.4.0",
40
49
  "react-native-svg-transformer": "^1.5.0",
41
50
  "react-native-webview": "^13.12.0",
51
+ "react-redux": "^9.1.2",
42
52
  "rn-tooltip": "^3.0.3",
43
53
  "rollup-plugin-dts": "^6.1.1",
44
- "rollup-plugin-esbuild": "^6.1.1",
45
- "react-redux": "^9.1.2"
54
+ "rollup-plugin-esbuild": "^6.1.1"
46
55
  },
47
56
  "devDependencies": {
48
57
  "@babel/preset-env": "^7.25.7",
49
58
  "@babel/preset-react": "^7.25.7",
50
59
  "@babel/preset-typescript": "^7.25.7",
60
+ "@eslint/js": "^9.12.0",
61
+ "@react-native/babel-preset": "0.74.85",
51
62
  "@rollup/plugin-babel": "^6.0.4",
52
63
  "@rollup/plugin-commonjs": "^28.0.0",
53
64
  "@rollup/plugin-node-resolve": "^15.3.0",
54
65
  "@rollup/plugin-typescript": "^12.1.0",
55
66
  "@svgr/rollup": "^8.1.0",
67
+ "@testing-library/jest-native": "^5.4.3",
68
+ "@testing-library/react-native": "^12.7.2",
56
69
  "@types/jest": "^29.5.12",
57
- "@types/react": "^18.3.9",
70
+ "@types/react": "^18.3.11",
71
+ "@types/react-native": "^0.73.0",
72
+ "@typescript-eslint/eslint-plugin": "^8.9.0",
73
+ "@typescript-eslint/parser": "^8.9.0",
58
74
  "babel-jest": "^29.7.0",
75
+ "babel-plugin-module-resolver": "^5.0.2",
76
+ "eslint": "^9.12.0",
77
+ "eslint-config-prettier": "^9.1.0",
78
+ "eslint-plugin-prettier": "^5.2.1",
79
+ "eslint-plugin-react": "^7.37.1",
80
+ "eslint-plugin-react-native": "^4.1.0",
81
+ "globals": "^15.11.0",
82
+ "husky": "^9.1.6",
59
83
  "jest": "^29.7.0",
84
+ "lint-staged": "^15.2.10",
85
+ "prettier": "^3.3.3",
60
86
  "rollup": "^2.79.1",
61
87
  "rollup-plugin-commonjs": "^10.1.0",
62
88
  "rollup-plugin-node-resolve": "^5.2.0",
@@ -65,15 +91,16 @@
65
91
  "rollup-plugin-svg-import": "^3.0.0",
66
92
  "rollup-plugin-terser": "^7.0.2",
67
93
  "rollup-plugin-typescript2": "^0.36.0",
68
- "typescript": "^5.6.2"
94
+ "typescript": "^5.6.3",
95
+ "typescript-eslint": "^8.9.0"
69
96
  },
70
97
  "peerDependencies": {
71
- "react": "^17.0.0 || ^18.0.0",
72
- "react-native": ">=0.60.0",
73
98
  "@react-native-clipboard/clipboard": "^1.14.2",
74
99
  "@react-native-community/blur": "^4.4.1",
75
100
  "@testing-library/react-native": "^12.5.1",
76
101
  "lint-staged": "^15.2.7",
102
+ "react": "^17.0.0 || ^18.0.0",
103
+ "react-native": ">=0.60.0",
77
104
  "react-native-blob-util": "^0.19.11",
78
105
  "react-native-calendars": "^1.1306.0",
79
106
  "react-native-country-picker-modal": "^2.0.0",
@@ -88,7 +115,13 @@
88
115
  "react-native-svg": "^15.4.0",
89
116
  "react-native-svg-transformer": "^1.5.0",
90
117
  "react-native-webview": "^13.12.0",
91
- "rn-tooltip": "^3.0.3",
92
- "react-redux": "^9.1.2"
118
+ "react-redux": "^9.1.2",
119
+ "rn-tooltip": "^3.0.3"
120
+ },
121
+ "lint-staged": {
122
+ "*.{ts,tsx}": [
123
+ "eslint ./src --fix",
124
+ "prettier ./src --write"
125
+ ]
93
126
  }
94
127
  }
@@ -1,16 +0,0 @@
1
- import CalenderDots from './images/calenderDots.svg';
2
- import SearchIcon from './images/searchIcon.svg';
3
- import CrossIcon from './images/crossIcon.svg';
4
- import CaretUp from './images/caretUp.svg';
5
- import CaretDown from './images/caretDown.svg';
6
- import CaretLeft from './images/caretLeft.svg';
7
- import HeaderIcon from './images/dotsThreeVertical.svg';
8
- import CircleTick from './images/circleTick.svg';
9
- import ArrowLeft from './images/arrowLeft.svg';
10
- import BellSimple from './images/bellSimple.svg';
11
- import UploadFile from './images/uploadFileIcon.svg';
12
- import CaretRight from './images/caretRight.svg';
13
- import CheckWhite from './images/checkWhite.svg';
14
- import FileIcon from './images/fileIcon.svg';
15
- import Trash from './images/trash.svg';
16
- export { CalenderDots, SearchIcon, CrossIcon, CaretUp, CaretDown, CaretLeft, HeaderIcon, CircleTick, ArrowLeft, BellSimple, UploadFile, CaretRight, CheckWhite, FileIcon, Trash, };
package/lib/index.esm.js DELETED
@@ -1,2 +0,0 @@
1
- import t from"react";import{StyleSheet as e,Pressable as r,Text as o}from"react-native";var n=function(e){var n=e.label,s=e.onPress,c=e.testId,l=void 0===c?"Button":c;return t.createElement(r,{style:a.button,onPress:s,testID:l},t.createElement(o,{style:a.buttonText,testID:"text"},n))},a=e.create({button:{padding:10,backgroundColor:"#007bff",borderRadius:5,alignItems:"center"},buttonText:{color:"#fff"}});export{n as MyButton};
2
- //# sourceMappingURL=index.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.esm.js","sources":["../src/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { Pressable, Text, StyleSheet } from \"react-native\";\n\ninterface MyButtonProps {\n label: string;\n onPress: () => void;\n testId?: string;\n}\n\nexport const MyButton: React.FC<MyButtonProps> = ({\n label,\n onPress,\n testId = \"Button\",\n}) => {\n return (\n <Pressable style={styles.button} onPress={onPress} testID={testId}>\n <Text style={styles.buttonText} testID=\"text\">\n {label}\n </Text>\n </Pressable>\n );\n};\n\nconst styles = StyleSheet.create({\n button: {\n padding: 10,\n backgroundColor: \"#007bff\",\n borderRadius: 5,\n alignItems: \"center\",\n },\n buttonText: {\n color: \"#fff\",\n },\n});\n"],"names":["MyButton","_a","label","onPress","_b","testId","React","createElement","Pressable","style","styles","button","testID","Text","buttonText","StyleSheet","create","padding","backgroundColor","borderRadius","alignItems","color"],"mappings":"wFASO,IAAMA,EAAoC,SAACC,OAChDC,EAAKD,EAAAC,MACLC,EAAOF,EAAAE,QACPC,WAAAC,OAAS,IAAAD,EAAA,SAAQA,EAEjB,OACEE,EAACC,cAAAC,EAAU,CAAAC,MAAOC,EAAOC,OAAQR,QAASA,EAASS,OAAQP,GACzDC,EAAAC,cAACM,EAAK,CAAAJ,MAAOC,EAAOI,WAAYF,OAAO,QACpCV,GAIT,EAEMQ,EAASK,EAAWC,OAAO,CAC/BL,OAAQ,CACNM,QAAS,GACTC,gBAAiB,UACjBC,aAAc,EACdC,WAAY,UAEdN,WAAY,CACVO,MAAO"}
@@ -1,10 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- interface ThemeContextType {
3
- theme: Record<string, string>;
4
- }
5
- interface ThemeProviderProps {
6
- children: ReactNode;
7
- }
8
- export declare const ThemeProvider: React.FC<ThemeProviderProps>;
9
- export declare const useTheme: () => ThemeContextType;
10
- export {};
@@ -1,166 +0,0 @@
1
- export declare const DHRE_COLORS_PRIMARY: {
2
- DH_BLACK_25: string;
3
- DH_BLACK_50: string;
4
- DH_BLACK_75: string;
5
- DH_BLACK_100: string;
6
- DH_RED_25: string;
7
- DH_RED_50: string;
8
- DH_RED_75: string;
9
- DH_RED_100: string;
10
- DH_GREY_25: string;
11
- DH_GREY_50: string;
12
- DH_GREY_75: string;
13
- DH_GREY_100: string;
14
- };
15
- export declare const DHRE_COLORS_SECONDARY: {
16
- DH_LIGHT_SKY_25: string;
17
- DH_LIGHT_SKY_50: string;
18
- DH_LIGHT_SKY_75: string;
19
- DH_LIGHT_SKY_100: string;
20
- DH_BIEGE_25: string;
21
- DH_BIEGE_50: string;
22
- DH_BIEGE_75: string;
23
- DH_BIEGE_100: string;
24
- DH_GREEN_DARK_0: string;
25
- DH_GREEN_DARK_100: string;
26
- DH_GREEN_DARK_200: string;
27
- DH_GREEN_DARK_300: string;
28
- DH_GREEN_DARK_400: string;
29
- DH_GREEN_DARK_500: string;
30
- DH_GREEN_DARK_600: string;
31
- DH_GREEN_DARK_700: string;
32
- DH_GREEN_DARK_800: string;
33
- DH_GREEN_DARK_900: string;
34
- DH_GREEN_DARK: string;
35
- DH_BLUE_DARK_0: string;
36
- DH_BLUE_DARK_100: string;
37
- DH_BLUE_DARK_200: string;
38
- DH_BLUE_DARK_300: string;
39
- DH_BLUE_DARK_400: string;
40
- DH_BLUE_DARK_500: string;
41
- DH_BLUE_DARK_600: string;
42
- DH_BLUE_DARK_700: string;
43
- DH_BLUE_DARK_800: string;
44
- DH_BLUE_DARK_900: string;
45
- DH_BLUE_DARK: string;
46
- DH_BLUE_0: string;
47
- DH_BLUE_100: string;
48
- DH_BLUE_200: string;
49
- DH_BLUE_300: string;
50
- DH_BLUE_400: string;
51
- DH_BLUE_500: string;
52
- DH_BLUE_600: string;
53
- DH_BLUE_700: string;
54
- DH_BLUE_800: string;
55
- DH_BLUE_900: string;
56
- DH_BLUE: string;
57
- };
58
- export declare const DHRE_COLORS_ALERT: {
59
- DH_SUCCESS_GREEN_0: string;
60
- DH_SUCCESS_GREEN_100: string;
61
- DH_SUCCESS_GREEN_200: string;
62
- DH_SUCCESS_GREEN_300: string;
63
- DH_SUCCESS_GREEN_400: string;
64
- DH_SUCCESS_GREEN_500: string;
65
- DH_SUCCESS_GREEN_600: string;
66
- DH_SUCCESS_GREEN_700: string;
67
- DH_SUCCESS_GREEN_800: string;
68
- DH_SUCCESS_GREEN_900: string;
69
- DH_SUCCESS_GREEN: string;
70
- DH_SUCCESS_GREEN_ACCENT: string;
71
- DH_INFO_BLUE_0: string;
72
- DH_INFO_BLUE_100: string;
73
- DH_INFO_BLUE_200: string;
74
- DH_INFO_BLUE_300: string;
75
- DH_INFO_BLUE_400: string;
76
- DH_INFO_BLUE_500: string;
77
- DH_INFO_BLUE_600: string;
78
- DH_INFO_BLUE_700: string;
79
- DH_INFO_BLUE_800: string;
80
- DH_INFO_BLUE_900: string;
81
- DH_INFO_BLUE: string;
82
- DH_ALERT_ORANGE_0: string;
83
- DH_ALERT_ORANGE_100: string;
84
- DH_ALERT_ORANGE_200: string;
85
- DH_ALERT_ORANGE_300: string;
86
- DH_ALERT_ORANGE_400: string;
87
- DH_ALERT_ORANGE_500: string;
88
- DH_ALERT_ORANGE_600: string;
89
- DH_ALERT_ORANGE_700: string;
90
- DH_ALERT_ORANGE_800: string;
91
- DH_ALERT_ORANGE_900: string;
92
- DH_ALERT_ORANGE: string;
93
- DH_WARNING_YELLOW_0: string;
94
- DH_WARNING_YELLOW_100: string;
95
- DH_WARNING_YELLOW_200: string;
96
- DH_WARNING_YELLOW_300: string;
97
- DH_WARNING_YELLOW_400: string;
98
- DH_WARNING_YELLOW_500: string;
99
- DH_WARNING_YELLOW_600: string;
100
- DH_WARNING_YELLOW_700: string;
101
- DH_WARNING_YELLOW_800: string;
102
- DH_WARNING_YELLOW_900: string;
103
- DH_WARNING_YELLOW: string;
104
- };
105
- export declare const DHRE_COLORS_BG: {
106
- DH_LINE_GREY_0: string;
107
- DH_LINE_GREY_100: string;
108
- DH_LINE_GREY_200: string;
109
- DH_LINE_GREY_300: string;
110
- DH_LINE_GREY_400: string;
111
- DH_LINE_GREY_500: string;
112
- DH_LINE_GREY_600: string;
113
- DH_LINE_GREY_700: string;
114
- DH_LINE_GREY_800: string;
115
- DH_LINE_GREY_900: string;
116
- DH_GREY1: string;
117
- DH_BG_GREY_0: string;
118
- DH_BG_GREY_100: string;
119
- DH_BG_GREY_200: string;
120
- DH_BG_GREY_300: string;
121
- DH_BG_GREY_400: string;
122
- DH_BG_GREY_500: string;
123
- DH_BG_GREY_600: string;
124
- DH_BG_GREY_700: string;
125
- DH_BG_GREY_800: string;
126
- DH_BG_GREY_900: string;
127
- DH_BG_GREY: string;
128
- };
129
- export declare const DHRE_DEFAULT: {
130
- DH_LINE_GREY_0: string;
131
- DH_LINE_GREY_100: string;
132
- DH_LINE_GREY_200: string;
133
- DH_LINE_GREY_300: string;
134
- DH_LINE_GREY_400: string;
135
- DH_LINE_GREY_500: string;
136
- DH_LINE_GREY_600: string;
137
- DH_LINE_GREY_700: string;
138
- DH_LINE_GREY_800: string;
139
- DH_NETURAL_GRAY_800: string;
140
- DH_BLUE: string;
141
- DH_BG_GREY_0: string;
142
- DH_BG_GREY_100: string;
143
- DH_BG_GREY_200: string;
144
- DH_BG_GREY_300: string;
145
- DH_BG_GREY_400: string;
146
- DH_BG_GREY_500: string;
147
- DH_BG_GREY_600: string;
148
- DH_BG_GREY_700: string;
149
- DH_BG_GREY_800: string;
150
- DH_BG_GREY_900: string;
151
- DH_BG_GREY: string;
152
- DH_SUCESS: string;
153
- DH_ERROR: string;
154
- DH_INFO: string;
155
- DH_SEMENTIC_ERROR: string;
156
- DH_SEMENTIC_WARNING: string;
157
- };
158
- export declare const DHRE_COLORS_TEXT: {
159
- DH_BLACK: string;
160
- DH_WHITE: string;
161
- DH_TEXTDARK: string;
162
- DH_TEXTLIGHT: string;
163
- DH_TEXTLIGHTEST: string;
164
- DH_TEXTDISABLED: string;
165
- DH_LIGHTGREEN: string;
166
- };
@@ -1,8 +0,0 @@
1
- import { TextStyle } from 'react-native';
2
- interface FontStyles {
3
- [key: string]: TextStyle;
4
- }
5
- export declare const meraasActivFontfamily: TextStyle;
6
- export declare const serifActivFontfamily: TextStyle;
7
- export declare const FONT_STYLES: FontStyles;
8
- export {};
@@ -1,131 +0,0 @@
1
- declare const theme: {
2
- SURFACE_PRIMARY: {
3
- light: string;
4
- dark: string;
5
- };
6
- SURFACE_SECONDARY: {
7
- light: string;
8
- dark: string;
9
- };
10
- SURFACE_TERTIARY: {
11
- light: string;
12
- dark: string;
13
- };
14
- SURFACE_STATIC: {
15
- light: string;
16
- dark: string;
17
- };
18
- SURFACE_BRAND_STATIC: {
19
- light: string;
20
- dark: string;
21
- };
22
- SURFACE_BRAND_TRANSPARENT_STATIC: {
23
- light: string;
24
- dark: string;
25
- };
26
- SURFACE_DISABLE: {
27
- light: string;
28
- dark: string;
29
- };
30
- SURFACE_INVERTED: {
31
- light: string;
32
- dark: string;
33
- };
34
- SURFACE_INVERTED_TRANSPARENT: {
35
- light: string;
36
- dark: string;
37
- };
38
- SURFACE_DROP_SHADOW: {
39
- light: string;
40
- dark: string;
41
- };
42
- SURFACE_BLUR: {
43
- light: string;
44
- dark: string;
45
- };
46
- CONTENT_PRIMARY: {
47
- light: string;
48
- dark: string;
49
- };
50
- CONTENT_SECONDRY: {
51
- light: string;
52
- dark: string;
53
- };
54
- CONTENT_DISABLE: {
55
- light: string;
56
- dark: string;
57
- };
58
- CONTENT_INVERTED: {
59
- light: string;
60
- dark: string;
61
- };
62
- CONTENT_STATIC: {
63
- light: string;
64
- dark: string;
65
- };
66
- CONTENT_PRIMARY_STATIC: {
67
- light: string;
68
- dark: string;
69
- };
70
- CONTENT_SECONDRY_STATIC: {
71
- light: string;
72
- dark: string;
73
- };
74
- BORDER_PRIMARY: {
75
- light: string;
76
- dark: string;
77
- };
78
- BORDER_SECONDRY: {
79
- light: string;
80
- dark: string;
81
- };
82
- BORDER_DISABLE: {
83
- light: string;
84
- dark: string;
85
- };
86
- BORDER_INVERTED: {
87
- light: string;
88
- dark: string;
89
- };
90
- BORDER_BRAND_STATIC: {
91
- light: string;
92
- dark: string;
93
- };
94
- BORDER_BRAND_TRANSPARENT_STATIC: {
95
- light: string;
96
- dark: string;
97
- };
98
- BORDER_STATIC: {
99
- light: string;
100
- dark: string;
101
- };
102
- BORDER_TEXT_FIELD: {
103
- light: string;
104
- dark: string;
105
- };
106
- BORDER_SEPRATOR: {
107
- light: string;
108
- dark: string;
109
- };
110
- BORDER_SEPERATOR_HEADER: {
111
- light: string;
112
- dark: string;
113
- };
114
- WARNING: {
115
- light: string;
116
- dark: string;
117
- };
118
- SUCCESS: {
119
- light: string;
120
- dark: string;
121
- };
122
- INFO: {
123
- light: string;
124
- dark: string;
125
- };
126
- ERROR: {
127
- light: string;
128
- dark: string;
129
- };
130
- };
131
- export default theme;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const withThemeProvider: <P extends object>(Component: React.ComponentType<P>) => (props: P) => React.JSX.Element;
@@ -1,90 +0,0 @@
1
- export declare enum ShapeType {
2
- LINE = "line",
3
- CIRCLE = "circle"
4
- }
5
- export declare enum ToggleButtonType {
6
- SMALL = "small",
7
- LARGE = "large"
8
- }
9
- export declare enum TextDirectType {
10
- left = "left",
11
- right = "right"
12
- }
13
- export declare enum ToggleTextType {
14
- ON = "ON",
15
- OFF = "OFF"
16
- }
17
- export declare enum FontStyle {
18
- H1_BOLD = "H1_BOLD",
19
- H2_BOLD = "H2_BOLD",
20
- H3_BOLD = "H3_BOLD",
21
- H4_BOLD = "H4_BOLD",
22
- H5_BOLD = "H5_BOLD",
23
- H6_BOLD = "H6_BOLD",
24
- H7_BOLD = "H7_BOLD",
25
- H8_BOLD = "H8_BOLD",
26
- H1_REGULAR = "H1_REGULAR",
27
- H2_REGULAR = "H2_REGULAR",
28
- H3_REGULAR = "H3_REGULAR",
29
- H4_REGULAR = "H4_REGULAR",
30
- H5_REGULAR = "H5_REGULAR",
31
- H6_REGULAR = "H6_REGULAR",
32
- H7_REGULAR = "H7_REGULAR",
33
- H8_REGULAR = "H8_REGULAR",
34
- H1_LIGHT = "H1_LIGHT",
35
- H2_LIGHT = "H2_LIGHT",
36
- H3_LIGHT = "H3_LIGHT",
37
- H4_LIGHT = "H4_LIGHT",
38
- H5_LIGHT = "H5_LIGHT",
39
- H6_LIGHT = "H6_LIGHT",
40
- H7_LIGHT = "H7_LIGHT",
41
- H8_LIGHT = "H8_LIGHT",
42
- B1_BOLD = "B1_BOLD",
43
- B2_BOLD = "B2_BOLD",
44
- B3_BOLD = "B3_BOLD",
45
- B4_BOLD = "B4_BOLD",
46
- B1_REGULAR = "B1_REGULAR",
47
- B2_REGULAR = "B2_REGULAR",
48
- B3_REGULAR = "B3_REGULAR",
49
- B4_REGULAR = "B4_REGULAR",
50
- L1_BOLD = "L1_BOLD",
51
- L2_BOLD = "L2_BOLD",
52
- L3_BOLD = "L3_BOLD",
53
- L1_REGULAR = "L1_REGULAR",
54
- L2_REGULAR = "L2_REGULAR",
55
- L3_REGULAR = "L3_REGULAR"
56
- }
57
- export declare enum Theme {
58
- SURFACE_PRIMARY = "SURFACE_PRIMARY",
59
- SURFACE_SECONDARY = "SURFACE_SECONDARY",
60
- SURFACE_TERTIARY = "SURFACE_TERTIARY",
61
- SURFACE_STATIC = "SURFACE_STATIC",
62
- SURFACE_BRAND_STATIC = "SURFACE_BRAND_STATIC",
63
- SURFACE_BRAND_TRANSPARENT_STATIC = "SURFACE_BRAND_TRANSPARENT_STATIC",
64
- SURFACE_DISABLE = "SURFACE_DISABLE",
65
- SURFACE_INVERTED = "SURFACE_INVERTED",
66
- SURFACE_INVERTED_TRANSPARENT = "SURFACE_INVERTED_TRANSPARENT",
67
- SURFACE_DROP_SHADOW = "SURFACE_DROP_SHADOW",
68
- SURFACE_BLUR = "SURFACE_BLUR",
69
- CONTENT_PRIMARY = "CONTENT_PRIMARY",
70
- CONTENT_SECONDRY = "CONTENT_SECONDRY",
71
- CONTENT_DISABLE = "CONTENT_DISABLE",
72
- CONTENT_INVERTED = "CONTENT_INVERTED",
73
- CONTENT_STATIC = "CONTENT_STATIC",
74
- CONTENT_PRIMARY_STATIC = "CONTENT_PRIMARY_STATIC",
75
- CONTENT_SECONDRY_STATIC = "CONTENT_SECONDRY_STATIC",
76
- BORDER_PRIMARY = "BORDER_PRIMARY",
77
- BORDER_SECONDRY = "BORDER_SECONDRY",
78
- BORDER_DISABLE = "BORDER_DISABLE",
79
- BORDER_INVERTED = "BORDER_INVERTED",
80
- BORDER_BRAND_STATIC = "BORDER_BRAND_STATIC",
81
- BORDER_BRAND_TRANSPARENT_STATIC = "BORDER_BRAND_TRANSPARENT_STATIC",
82
- BORDER_TEXT_FIELD = "BORDER_TEXT_FIELD",
83
- BORDER_SEPERATOR_HEADER = "BORDER_SEPERATOR_HEADER",
84
- BORDER_STATIC = "BORDER_STATIC",
85
- BORDER_SEPRATOR = "BORDER_SEPRATOR",
86
- WARNING = "WARNING",
87
- SUCCESS = "SUCCESS",
88
- INFO = "INFO",
89
- ERROR = "ERROR"
90
- }
@@ -1,15 +0,0 @@
1
- declare const commonStyles: {
2
- flexOne: {
3
- flex: number;
4
- };
5
- centeredContainer: {
6
- justifyContent: "center";
7
- alignItems: "center";
8
- };
9
- centerRow: {
10
- alignItems: "center";
11
- justifyContent: "center";
12
- flexDirection: "row";
13
- };
14
- };
15
- export default commonStyles;
@@ -1,19 +0,0 @@
1
- export declare const BUTTON_TYPES: {
2
- PRIMARY: string;
3
- SECONDARY: string;
4
- DISABLE: string;
5
- TERTIARY: string;
6
- FUNCTION_PRIMARY: string;
7
- FUNCTION_SECONDARY: string;
8
- FUNCTION_NOTICE: string;
9
- PRIMARY_TEXT: string;
10
- SECONDARY_TEXT: string;
11
- DISABLE_TEXT: string;
12
- TERTIARY_TEXT: string;
13
- FUNCTION_PRIMARY_TEXT: string;
14
- FUNCTION_SECONDARY_TEXT: string;
15
- FUNCTION_NOTICE_TEXT: string;
16
- TEXT: string;
17
- };
18
- export declare const DEFAULT_COUNTRY_CODE = "AE";
19
- export declare const DEFAULT_CALLING_CODE = "+971";
@@ -1,7 +0,0 @@
1
- export declare enum OS {
2
- ios = "ios",
3
- android = "android"
4
- }
5
- export declare const isIos: () => boolean;
6
- export declare const isAndroid: () => boolean;
7
- export declare const copyToClipboard: (textToCopy: string) => void;
@@ -1 +0,0 @@
1
- export declare const stringLengthRegex: RegExp;
@@ -1,5 +0,0 @@
1
- declare const width: number, height: number;
2
- declare const horizontalScale: (size: number) => number;
3
- declare const verticalScale: (size: number) => number;
4
- declare const moderateScale: (size: number, factor?: number) => number;
5
- export { horizontalScale, verticalScale, moderateScale, width, height };