linkmore-design 1.0.89 → 1.0.90
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/Modal/index.d.ts +1 -0
- package/dist/Select/index.d.ts +2 -9
- package/dist/Tabs/TabPane.d.ts +5 -0
- package/dist/Tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/dist/Tabs/hooks/useLegacyItems.d.ts +4 -0
- package/dist/Tabs/index.d.ts +21 -10
- package/dist/Tabs/index.old.d.ts +12 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.umd.js +32852 -30078
- package/dist/index.umd.min.js +21 -21
- package/es/LmEditTable/EditTable.js +10 -3
- package/es/LmTable/Table.js +1 -1
- package/es/LmTable/util.js +70 -21
- package/es/Modal/index.d.ts +1 -0
- package/es/Modal/index.js +8 -3
- package/es/Select/index.d.ts +2 -9
- package/es/Tabs/TabPane.d.ts +5 -0
- package/es/Tabs/TabPane.js +9 -0
- package/es/Tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/es/Tabs/hooks/useAnimateConfig.js +38 -0
- package/es/Tabs/hooks/useLegacyItems.d.ts +4 -0
- package/es/Tabs/hooks/useLegacyItems.js +50 -0
- package/es/Tabs/index.d.ts +21 -10
- package/es/Tabs/index.js +73 -19
- package/es/Tabs/index.old.d.ts +12 -0
- package/es/Tabs/index.old.js +38 -0
- package/es/Tabs/style/index.css +40 -0
- package/es/index.d.ts +0 -2
- package/es/index.js +0 -1
- package/lib/LmEditTable/EditTable.js +10 -3
- package/lib/LmTable/Table.js +1 -1
- package/lib/LmTable/util.js +70 -21
- package/lib/Modal/index.d.ts +1 -0
- package/lib/Modal/index.js +9 -3
- package/lib/Select/index.d.ts +2 -9
- package/lib/Tabs/TabPane.d.ts +5 -0
- package/lib/Tabs/TabPane.js +17 -0
- package/lib/Tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/lib/Tabs/hooks/useAnimateConfig.js +50 -0
- package/lib/Tabs/hooks/useLegacyItems.d.ts +4 -0
- package/lib/Tabs/hooks/useLegacyItems.js +63 -0
- package/lib/Tabs/index.d.ts +21 -10
- package/lib/Tabs/index.js +84 -19
- package/lib/Tabs/index.old.d.ts +12 -0
- package/lib/Tabs/index.old.js +52 -0
- package/lib/Tabs/style/index.css +40 -0
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -8
- package/package.json +2 -2
- package/dist/InputRange/demos/basic.d.ts +0 -2
- package/dist/InputRange/index.d.ts +0 -8
- package/dist/InputRange/style/index.d.ts +0 -1
- package/es/InputRange/index.d.ts +0 -8
- package/es/InputRange/index.js +0 -67
- package/es/InputRange/style/index.css +0 -511
- package/es/InputRange/style/index.d.ts +0 -1
- package/es/InputRange/style/index.js +0 -1
- package/lib/InputRange/index.d.ts +0 -8
- package/lib/InputRange/index.js +0 -79
- package/lib/InputRange/style/index.css +0 -511
- package/lib/InputRange/style/index.d.ts +0 -1
- package/lib/InputRange/style/index.js +0 -3
package/dist/Modal/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ModalProps } from 'antd';
|
|
|
3
3
|
export interface ILMModalProps extends ModalProps {
|
|
4
4
|
wrapClassName?: string;
|
|
5
5
|
size?: 'default' | 'small';
|
|
6
|
+
open?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare const LMModal: React.FC<ILMModalProps> & React.FC<ModalProps> & import("antd/lib/modal/confirm").ModalStaticFunctions & {
|
|
8
9
|
useModal: typeof import("antd/lib/modal/useModal").default;
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -6,13 +6,6 @@ export interface ISelectProps extends SelectProps {
|
|
|
6
6
|
Option?: typeof Select.Option;
|
|
7
7
|
OptGroup?: typeof Select.OptGroup;
|
|
8
8
|
}
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
} & {
|
|
12
|
-
ref?: React.Ref<import("antd").RefSelectProps>;
|
|
13
|
-
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
14
|
-
SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
|
|
15
|
-
Option: import("rc-select/lib/Option").OptionFC;
|
|
16
|
-
OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
|
|
17
|
-
};
|
|
9
|
+
declare type SelectType = typeof Select & typeof Select.Option & typeof Select.OptGroup;
|
|
10
|
+
declare const LMSelect: SelectType;
|
|
18
11
|
export default LMSelect;
|
package/dist/Tabs/index.d.ts
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { TabsProps as RcTabsProps } from 'rc-tabs';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import type { SizeType } from '../ConfigProvider/SizeContext';
|
|
4
|
+
import { TabPaneProps } from './TabPane';
|
|
5
|
+
export declare type TabsType = 'line' | 'card' | 'editable-card';
|
|
6
|
+
export declare type TabsPosition = 'top' | 'right' | 'bottom' | 'left';
|
|
7
|
+
export type { TabPaneProps };
|
|
8
|
+
export interface TabsProps extends Omit<RcTabsProps, 'editable'> {
|
|
9
|
+
type?: TabsType;
|
|
10
|
+
size?: SizeType;
|
|
11
|
+
hideAdd?: boolean;
|
|
12
|
+
centered?: boolean;
|
|
13
|
+
addIcon?: React.ReactNode;
|
|
14
|
+
onEdit?: (e: React.MouseEvent | React.KeyboardEvent | string, action: 'add' | 'remove') => void;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
noBorder?: boolean;
|
|
7
17
|
}
|
|
8
|
-
|
|
9
|
-
|
|
18
|
+
declare function Tabs({ type, className, size: propSize, onEdit, hideAdd, centered, addIcon, children, items, animated, ...props }: TabsProps): JSX.Element;
|
|
19
|
+
declare namespace Tabs {
|
|
20
|
+
var TabPane: React.FC<TabPaneProps>;
|
|
21
|
+
var AntdTabs: typeof import("antd/lib/tabs").default;
|
|
10
22
|
}
|
|
11
|
-
|
|
12
|
-
export default LMTabs;
|
|
23
|
+
export default Tabs;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Tabs, TabsProps } from 'antd';
|
|
3
|
+
export interface ITabsProps extends TabsProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
noBorder?: Boolean;
|
|
7
|
+
}
|
|
8
|
+
interface LmTabsInterface extends React.FC<ITabsProps> {
|
|
9
|
+
TabPane?: typeof Tabs.TabPane;
|
|
10
|
+
}
|
|
11
|
+
declare const LMTabs: LmTabsInterface;
|
|
12
|
+
export default LMTabs;
|
package/dist/index.d.ts
CHANGED
|
@@ -117,7 +117,5 @@ export { default as Skeleton } from './Skeleton';
|
|
|
117
117
|
export type { ISkeletonProps } from './Skeleton';
|
|
118
118
|
export { default as Descriptions } from './Descriptions';
|
|
119
119
|
export type { DescriptionsProps } from './Descriptions';
|
|
120
|
-
export { default as InputRange } from './InputRange';
|
|
121
|
-
export type { InputRangeProps } from './InputRange';
|
|
122
120
|
export { default as FullScreen } from './FullScreen';
|
|
123
121
|
export type { IFullScreenProps } from './FullScreen';
|