@antscorp/antsomi-ui 1.3.5-common.3 → 1.3.5-common.4
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/dist/index.js +1 -1
- package/dist/main.css +2 -1
- package/es/components/molecules/EditorTab/EditorTab.d.ts +2 -1
- package/es/components/molecules/EditorTab/EditorTab.js +11 -7
- package/es/components/molecules/EditorTab/styled.js +2 -2
- package/es/components/molecules/SearchPopover/SearchPopover.d.ts +2 -6
- package/es/components/molecules/SearchPopover/SearchPopover.js +3 -4
- package/es/components/molecules/SearchPopover/components/PopoverAddField/PopoverAddField.d.ts +4 -0
- package/es/components/molecules/SearchPopover/components/PopoverAddField/PopoverAddField.js +115 -0
- package/es/components/molecules/SearchPopover/components/PopoverAddField/index.d.ts +1 -0
- package/es/components/molecules/SearchPopover/components/PopoverAddField/index.js +1 -0
- package/es/components/molecules/SearchPopover/components/PopoverAddField/styles.scss +59 -0
- package/es/components/molecules/SearchPopover/components/index.d.ts +1 -0
- package/es/components/molecules/SearchPopover/components/index.js +1 -0
- package/es/components/molecules/SearchPopover/constants.d.ts +27 -0
- package/es/components/molecules/SearchPopover/constants.js +27 -0
- package/es/components/molecules/SearchPopover/index.d.ts +3 -1
- package/es/components/molecules/SearchPopover/index.js +1 -0
- package/es/components/molecules/SearchPopover/styles.scss +2 -0
- package/es/components/molecules/SearchPopover/types.d.ts +18 -0
- package/es/components/molecules/SearchPopover/types.js +1 -0
- package/es/components/molecules/SearchPopover/utils.d.ts +2 -0
- package/es/components/molecules/SearchPopover/utils.js +23 -0
- package/es/components/molecules/VirtualizedMenu/components/MenuInline/MenuInline.js +11 -3
- package/es/components/molecules/VirtualizedMenu/types.d.ts +1 -0
- package/es/components/molecules/index.d.ts +2 -2
- package/es/components/molecules/index.js +1 -1
- package/es/components/organism/LeftMenu/index.js +1 -2
- package/package.json +1 -1
- package/dist/public/icons/sub-logo-antsomi.png +0 -0
|
@@ -48,7 +48,7 @@ export * from './DatePickerV2';
|
|
|
48
48
|
export { ModalSelect } from './ModalSelect';
|
|
49
49
|
export { EditableName } from './EditableName';
|
|
50
50
|
export { VirtualizedMenu } from './VirtualizedMenu';
|
|
51
|
-
export { SearchPopover } from './SearchPopover';
|
|
51
|
+
export { SearchPopover, PopoverAddField } from './SearchPopover';
|
|
52
52
|
export * from './EmptyData';
|
|
53
53
|
export * from './PreviewModal';
|
|
54
54
|
export * from './Drawer';
|
|
@@ -71,4 +71,4 @@ export type { ImageResizeHandle } from './ImageEditor';
|
|
|
71
71
|
export type { EditableNameHandle } from './EditableName';
|
|
72
72
|
export type { AccountListingHandle, AccountSelectionProps } from './AccountSelection';
|
|
73
73
|
export type { VirtualizedMenuProps } from './VirtualizedMenu';
|
|
74
|
-
export type { SearchPopoverProps } from './SearchPopover';
|
|
74
|
+
export type { SearchPopoverProps, PopoverAddFieldProps } from './SearchPopover';
|
|
@@ -48,7 +48,7 @@ export * from './DatePickerV2';
|
|
|
48
48
|
export { ModalSelect } from './ModalSelect';
|
|
49
49
|
export { EditableName } from './EditableName';
|
|
50
50
|
export { VirtualizedMenu } from './VirtualizedMenu';
|
|
51
|
-
export { SearchPopover } from './SearchPopover';
|
|
51
|
+
export { SearchPopover, PopoverAddField } from './SearchPopover';
|
|
52
52
|
export * from './EmptyData';
|
|
53
53
|
export * from './PreviewModal';
|
|
54
54
|
export * from './Drawer';
|
|
@@ -5,8 +5,6 @@ import { Typography } from 'antd';
|
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import { isNil, isString } from 'lodash';
|
|
7
7
|
import { Link } from 'react-router-dom';
|
|
8
|
-
// Assets
|
|
9
|
-
import SubLogoAntsomi from '@antscorp/antsomi-ui/es/assets/images/logo/sub-logo-antsomi.png';
|
|
10
8
|
// Styled
|
|
11
9
|
import { ChildMenuWrapper, ExpandWrapper, FeatureMenu, FeatureMenuItem, LeftMenuNav, LeftMenuNavWrapper, PopoverWrapper, NavLogoWrapper, FeatureMenuWrapper, IconWrapper, } from './styled';
|
|
12
10
|
// Constants
|
|
@@ -15,6 +13,7 @@ import { APP_KEYS } from './constants';
|
|
|
15
13
|
import { CustomMenu, CommonMenu, HomeMenu } from './components';
|
|
16
14
|
// Hooks
|
|
17
15
|
import { useLeftMenu, useNavigatePath } from './hooks';
|
|
16
|
+
const SubLogoAntsomi = 'https://st-media-template.antsomi.com/icons/antsomi/antsomi.png';
|
|
18
17
|
export const LeftMenu = memo(props => {
|
|
19
18
|
const { style, className, customization } = props;
|
|
20
19
|
const { isExpandable = true, isCustomized = false, items = [], onMenuItemClick, } = customization || {};
|
package/package.json
CHANGED
|
Binary file
|