@tap-payments/auth-jsconnect 2.8.97-sandbox → 2.8.98-development

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,9 @@
3
3
  width: 100% !important;
4
4
  z-index: 0 !important;
5
5
  }
6
+ .rmdp-day-picker {
7
+ padding-inline: 0px !important;
8
+ }
6
9
 
7
10
  .rmdp-day-picker > div {
8
11
  width: 100%;
@@ -13,6 +16,7 @@
13
16
 
14
17
  .rmdp-calendar {
15
18
  width: 100%;
19
+ padding: 0 !important;
16
20
  padding-bottom: 15px !important;
17
21
  padding-top: 12px !important;
18
22
  }
@@ -22,7 +26,14 @@
22
26
  color: #ffffff !important;
23
27
  background-color: black !important;
24
28
  }
25
-
29
+ .rmdp-week,
30
+ .rmdp-ym {
31
+ justify-content: start !important;
32
+ }
33
+ .rmdp-day span,
34
+ .rmdp-week-day {
35
+ flex: 0 0 14.2857%;
36
+ }
26
37
  .rmdp-week-day {
27
38
  color: #abaeb6 !important;
28
39
  font-weight: 400 !important;
@@ -35,6 +46,9 @@
35
46
  color: #3a4154 !important;
36
47
  /* background: radial-gradient(circle closest-side, #fafafa 0, #fafafa 98%, transparent 100%) !important; */
37
48
  }
49
+ .rmdp-day.rmdp-disabled {
50
+ background-color: #f0f0f0 !important;
51
+ }
38
52
  .rmdp-day.rmdp-selected span:not(.highlight):hover {
39
53
  color: #ffffff !important;
40
54
  background-color: black !important;
@@ -55,10 +69,25 @@
55
69
  margin-bottom: 12px;
56
70
  }
57
71
  .rmdp-day-picker .rmdp-day {
58
- height: 36px !important;
59
- width: 36px !important;
72
+ height: 40px !important;
73
+ width: 40px !important;
74
+ flex: 0 0 14.2857%;
60
75
  }
61
76
  .rmdp-day-picker .rmdp-day span {
62
77
  height: 36px !important;
63
78
  width: 36px !important;
64
79
  }
80
+ .rmdp-month-picker .rmdp-ym .rmdp-day {
81
+ margin: unset;
82
+ }
83
+ .rmdp-month-picker .rmdp-ym .rmdp-day,
84
+ .rmdp-week-day {
85
+ height: 100%;
86
+ }
87
+ .rmdp-year-picker .rmdp-ym .rmdp-day {
88
+ margin: unset;
89
+ }
90
+ .rmdp-year-picker .rmdp-ym .rmdp-day,
91
+ .rmdp-week-day {
92
+ height: 100%;
93
+ }
@@ -33,7 +33,7 @@ var StyledTooltip = styled(function (_a) {
33
33
  var _b;
34
34
  var theme = _a.theme;
35
35
  return (_b = {},
36
- _b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)), zIndex: 2147483647 }),
36
+ _b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)) }),
37
37
  _b);
38
38
  });
39
39
  var TextStyled = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
@@ -1,6 +1,5 @@
1
1
  import { ScreenStepNavigation, BusinessType } from '../@types';
2
2
  export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company";
3
- export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company";
4
3
  export declare const CONNECT_PROD_URL = "https://connect.tap.company";
5
4
  export declare const CLIENT_ORIGIN: string;
6
5
  export declare const TAP_WEBSITE = "https://www.tap.company/";
@@ -1,6 +1,5 @@
1
1
  import { BusinessType } from '../@types';
2
2
  export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
3
- export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company';
4
3
  export var CONNECT_PROD_URL = 'https://connect.tap.company';
5
4
  export var CLIENT_ORIGIN = window.location.origin;
6
5
  export var TAP_WEBSITE = 'https://www.tap.company/';
@@ -778,7 +778,7 @@ export var verifyPaciLeadIdentityAsync = createAsyncThunk('connectExpress/verify
778
778
  case 6:
779
779
  count++;
780
780
  return [3, 1];
781
- case 7: throw new Error('nafath_verification_failed');
781
+ case 7: throw new Error('paci_verification_failed');
782
782
  }
783
783
  });
784
784
  }); });
@@ -1,5 +1,5 @@
1
1
  import { axiosInstance } from '../api';
2
- import { ENDPOINT_PATHS, CONNECT_SANDBOX_URL, CONNECT_PROD_URL } from '../constants';
2
+ import { ENDPOINT_PATHS, CONNECT_DEV_URL, CONNECT_PROD_URL } from '../constants';
3
3
  import { objectHasValues } from './object';
4
4
  export var sleep = function (milliseconds) {
5
5
  if (milliseconds === void 0) { milliseconds = 1000; }
@@ -17,7 +17,7 @@ export var setBaseUrl = function (publicKey) {
17
17
  axiosInstance.defaults.baseURL = ENDPOINT_PATHS.PRODUCTION_BASE_URL;
18
18
  return;
19
19
  }
20
- axiosInstance.defaults.baseURL = ENDPOINT_PATHS.SANDBOX_BASE_URL;
20
+ axiosInstance.defaults.baseURL = ENDPOINT_PATHS.DEV_BASE_URL;
21
21
  };
22
22
  export var updateLocationUrlWithCountry = function (countryIso2) {
23
23
  var country = countryIso2.toLowerCase();
@@ -36,7 +36,7 @@ export var updateLocationUrlWithCountry = function (countryIso2) {
36
36
  window.history.replaceState({}, '', newUrl);
37
37
  };
38
38
  export var openConnect = function (pk, countryCode) {
39
- var newUrl = new URL(pk.includes('pk_live') ? CONNECT_PROD_URL : CONNECT_SANDBOX_URL);
39
+ var newUrl = new URL(pk.includes('pk_live') ? CONNECT_PROD_URL : CONNECT_DEV_URL);
40
40
  if (countryCode) {
41
41
  newUrl.pathname = "/".concat(countryCode.toLowerCase());
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.8.97-sandbox",
3
+ "version": "2.8.98-development",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",
@@ -21,7 +21,7 @@
21
21
  "copy:files": "copyfiles -u 1 src/**/*.css build/",
22
22
  "tsc:alias": "tsc-alias -p tsconfig.json",
23
23
  "ts:build": "rm -rf build && tsc -p tsconfig.json && tsc-alias -p tsconfig.json && yarn copy:files",
24
- "push": "npm publish --access public --tag sandbox"
24
+ "push": "npm publish --access public --tag development"
25
25
  },
26
26
  "keywords": [],
27
27
  "author": {