@antscorp/antsomi-ui 1.3.5-beta.400 → 1.3.5-beta.402

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.
@@ -119,6 +119,6 @@ export const DrawerHeader = styled(Flex) `
119
119
 
120
120
  ${props => props.height &&
121
121
  `height: ${typeof props.height === 'string' ? props.height : `${props.height}px`};`}
122
- ${props => props.showBorderBottom && `border-bottom: 1px solid ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw4};`}
122
+ ${props => props.showBorderBottom && `border-bottom: 1px solid ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw3};`}
123
123
  `;
124
124
  export const MenuFooter = styled.div ``;
@@ -100,7 +100,7 @@ export const EditorTab = props => {
100
100
  }
101
101
  const newTabs = arrTabs.filter(item => item.id !== tab.id);
102
102
  if (onClickRemoveTab)
103
- onClickRemoveTab(tab, idx, newTabs);
103
+ return onClickRemoveTab(tab, idx, newTabs);
104
104
  // const isConfirm = confirmOnRemoveTab ? await testAsync() : true;
105
105
  // const isConfirm = await testAsync();
106
106
  // const isConfirm = await modalConfirmAsync(tab);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.400",
3
+ "version": "1.3.5-beta.402",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",