@antscorp/antsomi-ui 1.3.5-beta.337 → 1.3.5-beta.338

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 +1,2 @@
1
1
  export { Button } from 'antd';
2
+ export type { ButtonProps } from 'antd';
@@ -1,4 +1 @@
1
- /// <reference types="react" />
2
- export declare const Button: import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
3
- Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
4
- };
1
+ export * from './Button';
@@ -1,2 +1 @@
1
- import { Button as AntdButton } from './Button';
2
- export const Button = AntdButton;
1
+ export * from './Button';
@@ -1,4 +1,3 @@
1
- export { Button } from './Button';
2
1
  export { Divider } from './Divider';
3
2
  export { DividerPure } from './DividerPure';
4
3
  export { Input, TextArea } from './Input';
@@ -41,6 +40,7 @@ export * from './SlideBar';
41
40
  export * from './ReactIframe';
42
41
  export * from './Scrollbars';
43
42
  export * from './Switch';
43
+ export * from './Button';
44
44
  export type { SliderProps } from './Slider';
45
45
  export type { PaginationProps } from './Pagination';
46
46
  export type { InputDynamicProps } from './InputDynamic';
@@ -1,4 +1,3 @@
1
- export { Button } from './Button';
2
1
  export { Divider } from './Divider';
3
2
  export { DividerPure } from './DividerPure';
4
3
  export { Input, TextArea } from './Input';
@@ -41,3 +40,4 @@ export * from './SlideBar';
41
40
  export * from './ReactIframe';
42
41
  export * from './Scrollbars';
43
42
  export * from './Switch';
43
+ export * from './Button';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ColorSettingWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const PresetColor: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const ButtonPreset: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
4
+ export declare const ButtonPreset: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/button/button").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
5
5
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
6
6
  }, any, {}, never>;
7
7
  export declare const PresetWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -138,8 +138,8 @@ export const EditorTab = props => {
138
138
  } })) : (React.createElement(Typography.Text, { ellipsis: { tooltip: true } }, tab.name)),
139
139
  showDropdown ? (React.createElement(Dropdown, { menu: {
140
140
  items: [
141
- { label: 'Configure', key: 'configure' },
142
- { label: 'Remove', key: 'remove' },
141
+ { label: 'Configure', key: 'configure', style: { minWidth: '135px' } },
142
+ { label: 'Remove', key: 'remove', style: { minWidth: '135px' } },
143
143
  ],
144
144
  onClick: ({ key, domEvent }) => {
145
145
  switch (key) {
@@ -54,6 +54,7 @@ export const EditorTabStyled = styled.div `
54
54
  max-width: 200px;
55
55
  background-color: ${(_b = THEME.token) === null || _b === void 0 ? void 0 : _b.bw2};
56
56
 
57
+ /* &.active button, */
57
58
  & button {
58
59
  display: none !important;
59
60
  }
@@ -94,7 +95,7 @@ export const EditorTabStyled = styled.div `
94
95
  transform: scaleX(1);
95
96
  }
96
97
  background-color: #fff;
97
- & button {
98
+ & button.antsomi-dropdown-open {
98
99
  display: flex !important;
99
100
  }
100
101
  }
@@ -2,7 +2,7 @@
2
2
  export declare const IconSelectionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const WrapperListRender: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const WrapperListItemRender: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const CustomButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
5
+ export declare const CustomButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/button/button").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
6
6
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
7
7
  }, any, {}, never>;
8
8
  export declare const Overlay: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ToolbarActionButtonWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
3
- export declare const ActionButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
3
+ export declare const ActionButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/button/button").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
4
4
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
5
5
  }, any, {}, never>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const HomeMenuWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
3
- export declare const CreateButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
3
+ export declare const CreateButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/button/button").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
4
4
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
5
5
  }, any, {}, never>;
6
6
  export declare const ModalWrapper: import("styled-components").StyledComponent<import("react").ComponentType<any> | keyof import("react").JSX.IntrinsicElements, any, any, any>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const InformationWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
3
- export declare const CheckboxButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
3
+ export declare const CheckboxButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/button/button").ButtonProps & import("react").RefAttributes<HTMLElement>> & {
4
4
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
5
5
  }, any, {
6
6
  $active?: boolean | undefined;
@@ -7,6 +7,7 @@ type TTheme = {
7
7
  algorithm?: ThemeConfig['algorithm'];
8
8
  hashed?: ThemeConfig['hashed'];
9
9
  inherit?: ThemeConfig['inherit'];
10
+ cssVar?: ThemeConfig['cssVar'];
10
11
  };
11
12
  export declare const THEME: TTheme;
12
13
  export declare const globalToken: (Partial<import("antd/es/theme/internal").AliasToken> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.337",
3
+ "version": "1.3.5-beta.338",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",