@antscorp/antsomi-ui 1.3.5-beta.516 → 1.3.5-beta.518

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.
@@ -1,4 +1,9 @@
1
1
  .antsomi-custom-calendar-picker {
2
+ border-radius: 10px;
3
+
4
+ .antsomi-picker-panel-container {
5
+ border-radius: 10px !important;
6
+ }
2
7
  .antsomi-picker-date-panel {
3
8
  width: 310px !important;
4
9
  }
@@ -96,8 +96,9 @@ export const useHomeMenu = (props) => {
96
96
  let nextDashboardId;
97
97
  for (const [index, item] of dashboardList.entries()) {
98
98
  if (item.dashboardId === +removedDashboardId) {
99
+ const newDashboardList = dashboardList === null || dashboardList === void 0 ? void 0 : dashboardList.filter(item => item.dashboardId !== +removedDashboardId);
99
100
  nextDashboardId =
100
- ((_a = dashboardList === null || dashboardList === void 0 ? void 0 : dashboardList[index + 1]) === null || _a === void 0 ? void 0 : _a.dashboardId) || ((_b = dashboardList === null || dashboardList === void 0 ? void 0 : dashboardList[0]) === null || _b === void 0 ? void 0 : _b.dashboardId);
101
+ ((_a = newDashboardList === null || newDashboardList === void 0 ? void 0 : newDashboardList[index + 1]) === null || _a === void 0 ? void 0 : _a.dashboardId) || ((_b = newDashboardList === null || newDashboardList === void 0 ? void 0 : newDashboardList[0]) === null || _b === void 0 ? void 0 : _b.dashboardId);
101
102
  break;
102
103
  }
103
104
  }
@@ -30,6 +30,13 @@ export const PopoverWrapper = styled.div `
30
30
  visibility: hidden;
31
31
  `}
32
32
 
33
+ &.antsomi-scroll-box {
34
+ margin-right: 0px !important;
35
+ &::-webkit-scrollbar {
36
+ display: none !important;
37
+ }
38
+ }
39
+
33
40
  position: absolute;
34
41
  background-color: white;
35
42
  left: 65px;
@@ -101,6 +108,12 @@ export const FeatureMenu = styled.ul `
101
108
  justify-content: space-between;
102
109
  overflow-x: hidden;
103
110
 
111
+ &.antsomi-scroll-box {
112
+ &::-webkit-scrollbar {
113
+ display: none !important;
114
+ }
115
+ }
116
+
104
117
  .menu-content {
105
118
  flex-shrink: 0;
106
119
  }
@@ -196,5 +209,8 @@ export const ChildMenuWrapper = styled.div `
196
209
 
197
210
  &.antsomi-scroll-box {
198
211
  margin-right: 0px !important;
212
+ &::-webkit-scrollbar {
213
+ display: none !important;
214
+ }
199
215
  }
200
216
  `;
@@ -2,6 +2,7 @@ export declare const ENV: {
2
2
  readonly DEV: "development";
3
3
  readonly PROD: "production";
4
4
  readonly SANDBOX: "sandbox";
5
+ readonly SANDBOX_CDP: "sandbox-cdp";
5
6
  readonly STAGING: "staging";
6
7
  };
7
8
  export declare const isDev: boolean;
@@ -3,6 +3,7 @@ export const ENV = {
3
3
  DEV: 'development',
4
4
  PROD: 'production',
5
5
  SANDBOX: 'sandbox',
6
+ SANDBOX_CDP: 'sandbox-cdp',
6
7
  STAGING: 'staging',
7
8
  };
8
9
  export const isDev = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'sandbox';
@@ -5,17 +5,20 @@ export declare const TINYMCE_API_KEY = "scyw71pj8619analvxs56ppc2w2fj2kpy5vnmflh
5
5
  export declare const CDP_API: {
6
6
  development: string;
7
7
  sandbox: string;
8
+ "sandbox-cdp": string;
8
9
  staging: string;
9
10
  production: string;
10
11
  };
11
12
  export declare const CDP_ROUTE: {
12
13
  sandbox: string;
14
+ "sandbox-cdp": string;
13
15
  staging: string;
14
16
  production: string;
15
17
  };
16
18
  export declare const ISSUE_API: {
17
19
  development: string;
18
20
  sandbox: string;
21
+ "sandbox-cdp": string;
19
22
  staging: string;
20
23
  production: string;
21
24
  };
@@ -27,6 +30,7 @@ export declare const APP_PERMISSION_DOMAIN: {
27
30
  [x: string]: {
28
31
  development: string;
29
32
  sandbox: string;
33
+ "sandbox-cdp": string;
30
34
  staging: string;
31
35
  production: string;
32
36
  };
@@ -34,6 +38,7 @@ export declare const APP_PERMISSION_DOMAIN: {
34
38
  export declare const PERMISSION_ENV_API: {
35
39
  development: string;
36
40
  sandbox: string;
41
+ "sandbox-cdp": string;
37
42
  staging: string;
38
43
  production: string;
39
44
  };
@@ -9,17 +9,20 @@ export const TINYMCE_API_KEY = 'scyw71pj8619analvxs56ppc2w2fj2kpy5vnmflhhc300y35
9
9
  export const CDP_API = {
10
10
  [ENV.DEV]: 'https://sandbox-app.cdp.asia',
11
11
  [ENV.SANDBOX]: 'https://sandbox-app.cdp.asia',
12
+ [ENV.SANDBOX_CDP]: 'https://sandbox-app.cdp.asia',
12
13
  [ENV.STAGING]: 'https://staging-cdp.antsomi.com',
13
14
  [ENV.PROD]: 'https://cdp.antsomi.com',
14
15
  };
15
16
  export const CDP_ROUTE = {
16
17
  [ENV.SANDBOX]: 'https://sandbox-cdp.antsomi.com',
18
+ [ENV.SANDBOX_CDP]: 'https://sandbox-cdp.antsomi.com',
17
19
  [ENV.STAGING]: 'https://staging-cdp.antsomi.com',
18
20
  [ENV.PROD]: 'https://cdp.antsomi.com',
19
21
  };
20
22
  export const ISSUE_API = {
21
23
  [ENV.DEV]: 'https://sandbox-issue.antsomi.com',
22
24
  [ENV.SANDBOX]: 'https://sandbox-issue.antsomi.com',
25
+ [ENV.SANDBOX_CDP]: 'https://sandbox-issue.antsomi.com',
23
26
  [ENV.STAGING]: 'https://issue.antsomi.com',
24
27
  [ENV.PROD]: 'https://issue.antsomi.com',
25
28
  };
@@ -30,6 +33,7 @@ export const IAM_API = 'https://iam.ants.tech';
30
33
  const PERMISSION_URLS = {
31
34
  [ENV.DEV]: 'https://sandbox-permission.ants.vn',
32
35
  [ENV.SANDBOX]: 'https://sandbox-permission.ants.vn',
36
+ [ENV.SANDBOX_CDP]: 'https://sandbox-permission.ants.vn',
33
37
  [ENV.STAGING]: 'https://permission.antsomi.com',
34
38
  [ENV.PROD]: 'https://permission.antsomi.com',
35
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.516",
3
+ "version": "1.3.5-beta.518",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",