@aloudata/aloudata-design 0.1.0-beta.2
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/README.md +82 -0
- package/es/Button/demo/Icon/index.d.ts +3 -0
- package/es/Button/demo/Icon/index.js +67 -0
- package/es/Button/demo/Icon/index.less +6 -0
- package/es/Button/demo/basic/index.d.ts +4 -0
- package/es/Button/demo/basic/index.js +57 -0
- package/es/Button/demo/basic/index.less +7 -0
- package/es/Button/demo/disable/index.d.ts +3 -0
- package/es/Button/demo/disable/index.js +23 -0
- package/es/Button/demo/disable/index.less +0 -0
- package/es/Button/demo/href/index.d.ts +2 -0
- package/es/Button/demo/href/index.js +17 -0
- package/es/Button/demo/loading/index.d.ts +3 -0
- package/es/Button/demo/loading/index.js +37 -0
- package/es/Button/demo/loading/index.less +6 -0
- package/es/Button/index.d.ts +50 -0
- package/es/Button/index.js +108 -0
- package/es/Button/style/index.d.ts +2 -0
- package/es/Button/style/index.js +2 -0
- package/es/Button/style/index.less +255 -0
- package/es/Dropdown/Button.d.ts +69 -0
- package/es/Dropdown/Button.js +39 -0
- package/es/Dropdown/demo/basic/index.d.ts +4 -0
- package/es/Dropdown/demo/basic/index.js +18 -0
- package/es/Dropdown/demo/button/index.d.ts +3 -0
- package/es/Dropdown/demo/button/index.js +159 -0
- package/es/Dropdown/demo/button/index.less +9 -0
- package/es/Dropdown/demo/placement/index.d.ts +2 -0
- package/es/Dropdown/demo/placement/index.js +40 -0
- package/es/Dropdown/demo/subMenu/index.d.ts +2 -0
- package/es/Dropdown/demo/subMenu/index.js +42 -0
- package/es/Dropdown/demo/trigger/index.d.ts +2 -0
- package/es/Dropdown/demo/trigger/index.js +17 -0
- package/es/Dropdown/index.d.ts +59 -0
- package/es/Dropdown/index.js +33 -0
- package/es/Dropdown/style/index.d.ts +2 -0
- package/es/Dropdown/style/index.js +2 -0
- package/es/Dropdown/style/index.less +40 -0
- package/es/Icon/iconfont/demo.css +539 -0
- package/es/Icon/iconfont/demo_index.html +628 -0
- package/es/Icon/iconfont/iconfont.css +93 -0
- package/es/Icon/iconfont/iconfont.js +46 -0
- package/es/Icon/iconfont/iconfont.json +142 -0
- package/es/Icon/iconfont/iconfont.ttf +0 -0
- package/es/Icon/iconfont/iconfont.woff +0 -0
- package/es/Icon/iconfont/iconfont.woff2 +0 -0
- package/es/Icon/index.d.ts +11 -0
- package/es/Icon/index.js +42 -0
- package/es/Icon/index.less +32 -0
- package/es/Input/components/Group/index.d.ts +15 -0
- package/es/Input/components/Group/index.js +12 -0
- package/es/Input/components/Password/index.d.ts +10 -0
- package/es/Input/components/Password/index.js +20 -0
- package/es/Input/components/TextArea/index.d.ts +52 -0
- package/es/Input/components/TextArea/index.js +14 -0
- package/es/Input/demo/allowClear/index.d.ts +3 -0
- package/es/Input/demo/allowClear/index.js +11 -0
- package/es/Input/demo/allowClear/index.less +0 -0
- package/es/Input/demo/basic/index.d.ts +4 -0
- package/es/Input/demo/basic/index.js +65 -0
- package/es/Input/demo/basic/index.less +6 -0
- package/es/Input/demo/gourp/index.d.ts +2 -0
- package/es/Input/demo/gourp/index.js +67 -0
- package/es/Input/demo/password/index.d.ts +3 -0
- package/es/Input/demo/password/index.js +21 -0
- package/es/Input/demo/password/index.less +0 -0
- package/es/Input/demo/prefix/index.d.ts +3 -0
- package/es/Input/demo/prefix/index.js +17 -0
- package/es/Input/demo/prefix/index.less +0 -0
- package/es/Input/demo/showCount/index.d.ts +3 -0
- package/es/Input/demo/showCount/index.js +17 -0
- package/es/Input/demo/showCount/index.less +0 -0
- package/es/Input/demo/textArea/autoSize.d.ts +2 -0
- package/es/Input/demo/textArea/autoSize.js +50 -0
- package/es/Input/index.d.ts +65 -0
- package/es/Input/index.js +46 -0
- package/es/Input/style/index.d.ts +2 -0
- package/es/Input/style/index.js +2 -0
- package/es/Input/style/index.less +62 -0
- package/es/Menu/Divider.d.ts +5 -0
- package/es/Menu/Divider.js +15 -0
- package/es/Menu/MenuItem.d.ts +17 -0
- package/es/Menu/MenuItem.js +15 -0
- package/es/Menu/SubMenu.d.ts +26 -0
- package/es/Menu/SubMenu.js +29 -0
- package/es/Menu/index.d.ts +20 -0
- package/es/Menu/index.js +31 -0
- package/es/Menu/style/index.d.ts +2 -0
- package/es/Menu/style/index.js +2 -0
- package/es/Menu/style/index.less +33 -0
- package/es/Select/BaseSelect.d.ts +5 -0
- package/es/Select/BaseSelect.js +400 -0
- package/es/Select/OptionsList/OptGroup.d.ts +7 -0
- package/es/Select/OptionsList/OptGroup.js +6 -0
- package/es/Select/OptionsList/OptionItem.d.ts +35 -0
- package/es/Select/OptionsList/OptionItem.js +157 -0
- package/es/Select/OptionsList/Options.d.ts +7 -0
- package/es/Select/OptionsList/Options.js +6 -0
- package/es/Select/OptionsList/index.d.ts +4 -0
- package/es/Select/OptionsList/index.js +187 -0
- package/es/Select/Selector/index.d.ts +4 -0
- package/es/Select/Selector/index.js +249 -0
- package/es/Select/VirtualList.d.ts +5 -0
- package/es/Select/VirtualList.js +29 -0
- package/es/Select/demo/disabled/index.d.ts +2 -0
- package/es/Select/demo/disabled/index.js +50 -0
- package/es/Select/demo/multiple/index.d.ts +2 -0
- package/es/Select/demo/multiple/index.js +140 -0
- package/es/Select/demo/options/index.d.ts +2 -0
- package/es/Select/demo/options/index.js +55 -0
- package/es/Select/demo/single/index.d.ts +2 -0
- package/es/Select/demo/single/index.js +86 -0
- package/es/Select/hooks/useCacheOption.d.ts +9 -0
- package/es/Select/hooks/useCacheOption.js +107 -0
- package/es/Select/index.d.ts +12 -0
- package/es/Select/index.js +9 -0
- package/es/Select/interface.d.ts +221 -0
- package/es/Select/interface.js +1 -0
- package/es/Select/style/index.d.ts +2 -0
- package/es/Select/style/index.js +2 -0
- package/es/Select/style/index.less +539 -0
- package/es/Select/utils.d.ts +21 -0
- package/es/Select/utils.js +193 -0
- package/es/Tabs/TabPane.d.ts +21 -0
- package/es/Tabs/TabPane.js +12 -0
- package/es/Tabs/demo/adaptHeight/index.d.ts +3 -0
- package/es/Tabs/demo/adaptHeight/index.js +19 -0
- package/es/Tabs/demo/adaptHeight/index.less +3 -0
- package/es/Tabs/demo/basic/index.d.ts +4 -0
- package/es/Tabs/demo/basic/index.js +44 -0
- package/es/Tabs/demo/basic/index.less +5 -0
- package/es/Tabs/demo/horizontalScroll/index.d.ts +3 -0
- package/es/Tabs/demo/horizontalScroll/index.js +30 -0
- package/es/Tabs/demo/horizontalScroll/index.less +3 -0
- package/es/Tabs/index.d.ts +41 -0
- package/es/Tabs/index.js +42 -0
- package/es/Tabs/style/index.d.ts +2 -0
- package/es/Tabs/style/index.js +2 -0
- package/es/Tabs/style/index.less +61 -0
- package/es/Tooltip/demo/basic/index.d.ts +2 -0
- package/es/Tooltip/demo/basic/index.js +7 -0
- package/es/Tooltip/demo/overflow/index.d.ts +2 -0
- package/es/Tooltip/demo/overflow/index.js +7 -0
- package/es/Tooltip/demo/placement/index.d.ts +6 -0
- package/es/Tooltip/demo/placement/index.js +70 -0
- package/es/Tooltip/demo/placement/index.less +7 -0
- package/es/Tooltip/demo/trigger/index.d.ts +3 -0
- package/es/Tooltip/demo/trigger/index.js +20 -0
- package/es/Tooltip/demo/trigger/index.less +5 -0
- package/es/Tooltip/index.d.ts +63 -0
- package/es/Tooltip/index.js +31 -0
- package/es/Tooltip/style/index.d.ts +2 -0
- package/es/Tooltip/style/index.js +2 -0
- package/es/Tooltip/style/index.less +14 -0
- package/es/_utils/hooks/useControlledState.d.ts +2 -0
- package/es/_utils/hooks/useControlledState.js +54 -0
- package/es/_utils/hooks/usePrefixCls.d.ts +2 -0
- package/es/_utils/hooks/usePrefixCls.js +14 -0
- package/es/index.d.ts +8 -0
- package/es/index.js +8 -0
- package/es/style/index.d.ts +2 -0
- package/es/style/index.js +2 -0
- package/es/style/index.less +3 -0
- package/es/style/mixins/index.less +0 -0
- package/es/style/themes/default/index.less +36 -0
- package/es/style/themes/default/themeColor.less +259 -0
- package/lib/Button/demo/Icon/index.d.ts +3 -0
- package/lib/Button/demo/Icon/index.js +82 -0
- package/lib/Button/demo/Icon/index.less +6 -0
- package/lib/Button/demo/basic/index.d.ts +4 -0
- package/lib/Button/demo/basic/index.js +73 -0
- package/lib/Button/demo/basic/index.less +7 -0
- package/lib/Button/demo/disable/index.d.ts +3 -0
- package/lib/Button/demo/disable/index.js +37 -0
- package/lib/Button/demo/disable/index.less +0 -0
- package/lib/Button/demo/href/index.d.ts +2 -0
- package/lib/Button/demo/href/index.js +30 -0
- package/lib/Button/demo/loading/index.d.ts +3 -0
- package/lib/Button/demo/loading/index.js +51 -0
- package/lib/Button/demo/loading/index.less +6 -0
- package/lib/Button/index.d.ts +50 -0
- package/lib/Button/index.js +124 -0
- package/lib/Button/style/index.d.ts +2 -0
- package/lib/Button/style/index.js +5 -0
- package/lib/Button/style/index.less +255 -0
- package/lib/Dropdown/Button.d.ts +69 -0
- package/lib/Dropdown/Button.js +52 -0
- package/lib/Dropdown/demo/basic/index.d.ts +4 -0
- package/lib/Dropdown/demo/basic/index.js +35 -0
- package/lib/Dropdown/demo/button/index.d.ts +3 -0
- package/lib/Dropdown/demo/button/index.js +182 -0
- package/lib/Dropdown/demo/button/index.less +9 -0
- package/lib/Dropdown/demo/placement/index.d.ts +2 -0
- package/lib/Dropdown/demo/placement/index.js +56 -0
- package/lib/Dropdown/demo/subMenu/index.d.ts +2 -0
- package/lib/Dropdown/demo/subMenu/index.js +59 -0
- package/lib/Dropdown/demo/trigger/index.d.ts +2 -0
- package/lib/Dropdown/demo/trigger/index.js +32 -0
- package/lib/Dropdown/index.d.ts +59 -0
- package/lib/Dropdown/index.js +47 -0
- package/lib/Dropdown/style/index.d.ts +2 -0
- package/lib/Dropdown/style/index.js +5 -0
- package/lib/Dropdown/style/index.less +40 -0
- package/lib/Icon/iconfont/demo.css +539 -0
- package/lib/Icon/iconfont/demo_index.html +628 -0
- package/lib/Icon/iconfont/iconfont.css +93 -0
- package/lib/Icon/iconfont/iconfont.js +48 -0
- package/lib/Icon/iconfont/iconfont.json +142 -0
- package/lib/Icon/iconfont/iconfont.ttf +0 -0
- package/lib/Icon/iconfont/iconfont.woff +0 -0
- package/lib/Icon/iconfont/iconfont.woff2 +0 -0
- package/lib/Icon/index.d.ts +11 -0
- package/lib/Icon/index.js +54 -0
- package/lib/Icon/index.less +32 -0
- package/lib/Input/components/Group/index.d.ts +15 -0
- package/lib/Input/components/Group/index.js +24 -0
- package/lib/Input/components/Password/index.d.ts +10 -0
- package/lib/Input/components/Password/index.js +33 -0
- package/lib/Input/components/TextArea/index.d.ts +52 -0
- package/lib/Input/components/TextArea/index.js +26 -0
- package/lib/Input/demo/allowClear/index.d.ts +3 -0
- package/lib/Input/demo/allowClear/index.js +25 -0
- package/lib/Input/demo/allowClear/index.less +0 -0
- package/lib/Input/demo/basic/index.d.ts +4 -0
- package/lib/Input/demo/basic/index.js +80 -0
- package/lib/Input/demo/basic/index.less +6 -0
- package/lib/Input/demo/gourp/index.d.ts +2 -0
- package/lib/Input/demo/gourp/index.js +81 -0
- package/lib/Input/demo/password/index.d.ts +3 -0
- package/lib/Input/demo/password/index.js +35 -0
- package/lib/Input/demo/password/index.less +0 -0
- package/lib/Input/demo/prefix/index.d.ts +3 -0
- package/lib/Input/demo/prefix/index.js +32 -0
- package/lib/Input/demo/prefix/index.less +0 -0
- package/lib/Input/demo/showCount/index.d.ts +3 -0
- package/lib/Input/demo/showCount/index.js +31 -0
- package/lib/Input/demo/showCount/index.less +0 -0
- package/lib/Input/demo/textArea/autoSize.d.ts +2 -0
- package/lib/Input/demo/textArea/autoSize.js +63 -0
- package/lib/Input/index.d.ts +65 -0
- package/lib/Input/index.js +63 -0
- package/lib/Input/style/index.d.ts +2 -0
- package/lib/Input/style/index.js +5 -0
- package/lib/Input/style/index.less +62 -0
- package/lib/Menu/Divider.d.ts +5 -0
- package/lib/Menu/Divider.js +28 -0
- package/lib/Menu/MenuItem.d.ts +17 -0
- package/lib/Menu/MenuItem.js +28 -0
- package/lib/Menu/SubMenu.d.ts +26 -0
- package/lib/Menu/SubMenu.js +44 -0
- package/lib/Menu/index.d.ts +20 -0
- package/lib/Menu/index.js +49 -0
- package/lib/Menu/style/index.d.ts +2 -0
- package/lib/Menu/style/index.js +5 -0
- package/lib/Menu/style/index.less +33 -0
- package/lib/Select/BaseSelect.d.ts +5 -0
- package/lib/Select/BaseSelect.js +433 -0
- package/lib/Select/OptionsList/OptGroup.d.ts +7 -0
- package/lib/Select/OptionsList/OptGroup.js +14 -0
- package/lib/Select/OptionsList/OptionItem.d.ts +35 -0
- package/lib/Select/OptionsList/OptionItem.js +185 -0
- package/lib/Select/OptionsList/Options.d.ts +7 -0
- package/lib/Select/OptionsList/Options.js +14 -0
- package/lib/Select/OptionsList/index.d.ts +4 -0
- package/lib/Select/OptionsList/index.js +207 -0
- package/lib/Select/Selector/index.d.ts +4 -0
- package/lib/Select/Selector/index.js +273 -0
- package/lib/Select/VirtualList.d.ts +5 -0
- package/lib/Select/VirtualList.js +42 -0
- package/lib/Select/demo/disabled/index.d.ts +2 -0
- package/lib/Select/demo/disabled/index.js +64 -0
- package/lib/Select/demo/multiple/index.d.ts +2 -0
- package/lib/Select/demo/multiple/index.js +154 -0
- package/lib/Select/demo/options/index.d.ts +2 -0
- package/lib/Select/demo/options/index.js +69 -0
- package/lib/Select/demo/single/index.d.ts +2 -0
- package/lib/Select/demo/single/index.js +99 -0
- package/lib/Select/hooks/useCacheOption.d.ts +9 -0
- package/lib/Select/hooks/useCacheOption.js +113 -0
- package/lib/Select/index.d.ts +12 -0
- package/lib/Select/index.js +34 -0
- package/lib/Select/interface.d.ts +221 -0
- package/lib/Select/interface.js +5 -0
- package/lib/Select/style/index.d.ts +2 -0
- package/lib/Select/style/index.js +5 -0
- package/lib/Select/style/index.less +539 -0
- package/lib/Select/utils.d.ts +21 -0
- package/lib/Select/utils.js +233 -0
- package/lib/Tabs/TabPane.d.ts +21 -0
- package/lib/Tabs/TabPane.js +24 -0
- package/lib/Tabs/demo/adaptHeight/index.d.ts +3 -0
- package/lib/Tabs/demo/adaptHeight/index.js +34 -0
- package/lib/Tabs/demo/adaptHeight/index.less +3 -0
- package/lib/Tabs/demo/basic/index.d.ts +4 -0
- package/lib/Tabs/demo/basic/index.js +67 -0
- package/lib/Tabs/demo/basic/index.less +5 -0
- package/lib/Tabs/demo/horizontalScroll/index.d.ts +3 -0
- package/lib/Tabs/demo/horizontalScroll/index.js +45 -0
- package/lib/Tabs/demo/horizontalScroll/index.less +3 -0
- package/lib/Tabs/index.d.ts +41 -0
- package/lib/Tabs/index.js +58 -0
- package/lib/Tabs/style/index.d.ts +2 -0
- package/lib/Tabs/style/index.js +5 -0
- package/lib/Tabs/style/index.less +61 -0
- package/lib/Tooltip/demo/basic/index.d.ts +2 -0
- package/lib/Tooltip/demo/basic/index.js +20 -0
- package/lib/Tooltip/demo/overflow/index.d.ts +2 -0
- package/lib/Tooltip/demo/overflow/index.js +20 -0
- package/lib/Tooltip/demo/placement/index.d.ts +6 -0
- package/lib/Tooltip/demo/placement/index.js +86 -0
- package/lib/Tooltip/demo/placement/index.less +7 -0
- package/lib/Tooltip/demo/trigger/index.d.ts +3 -0
- package/lib/Tooltip/demo/trigger/index.js +34 -0
- package/lib/Tooltip/demo/trigger/index.less +5 -0
- package/lib/Tooltip/index.d.ts +63 -0
- package/lib/Tooltip/index.js +44 -0
- package/lib/Tooltip/style/index.d.ts +2 -0
- package/lib/Tooltip/style/index.js +5 -0
- package/lib/Tooltip/style/index.less +14 -0
- package/lib/_utils/hooks/useControlledState.d.ts +2 -0
- package/lib/_utils/hooks/useControlledState.js +63 -0
- package/lib/_utils/hooks/usePrefixCls.d.ts +2 -0
- package/lib/_utils/hooks/usePrefixCls.js +27 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +63 -0
- package/lib/style/index.d.ts +2 -0
- package/lib/style/index.js +5 -0
- package/lib/style/index.less +3 -0
- package/lib/style/mixins/index.less +0 -0
- package/lib/style/themes/default/index.less +36 -0
- package/lib/style/themes/default/themeColor.less +259 -0
- package/package.json +87 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style';
|
|
3
|
+
export declare type ActionType = 'hover' | 'focus' | 'click' | 'contextMenu';
|
|
4
|
+
export interface ITooltipProps {
|
|
5
|
+
/**
|
|
6
|
+
* @description 提示文字
|
|
7
|
+
* @default -
|
|
8
|
+
*/
|
|
9
|
+
title: React.ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* @description 关闭后是否销毁Tooltip
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
destroyTooltipOnHide?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @description 浮层渲染父节点,默认渲染到 body 上
|
|
17
|
+
* @default () => document.body
|
|
18
|
+
*/
|
|
19
|
+
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
|
20
|
+
/**
|
|
21
|
+
* @description 鼠标移入后延时多少才显示 Tooltip
|
|
22
|
+
* @default 0.1
|
|
23
|
+
*/
|
|
24
|
+
mouseEnterDelay?: number;
|
|
25
|
+
/**
|
|
26
|
+
* @description 鼠标移出后延时多少才隐藏 Tooltip
|
|
27
|
+
* @default 0.1
|
|
28
|
+
*/
|
|
29
|
+
mouseLeaveDelay?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @description 气泡框位置
|
|
32
|
+
* @default top
|
|
33
|
+
*/
|
|
34
|
+
placement?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
35
|
+
/**
|
|
36
|
+
* @description 触发行为
|
|
37
|
+
* @type ActionType | ActionType[], 其中 ActionType 为 'hover' | 'focus' | 'click' | 'contextMenu';
|
|
38
|
+
* @default hover
|
|
39
|
+
*/
|
|
40
|
+
trigger?: ActionType | ActionType[];
|
|
41
|
+
/**
|
|
42
|
+
* @description 设置 Tooltip 的 z-index
|
|
43
|
+
* @default -
|
|
44
|
+
*/
|
|
45
|
+
zIndex?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @description 用于手动控制浮层显隐
|
|
48
|
+
* @default -
|
|
49
|
+
*/
|
|
50
|
+
visible?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* @description 显示隐藏的回调
|
|
53
|
+
* @default -
|
|
54
|
+
*/
|
|
55
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
56
|
+
/**
|
|
57
|
+
* @description 卡片类名
|
|
58
|
+
* @default -
|
|
59
|
+
*/
|
|
60
|
+
overlayClassName?: string;
|
|
61
|
+
children?: React.ReactNode;
|
|
62
|
+
}
|
|
63
|
+
export default function Tooltip(props: ITooltipProps): JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AntdTooltip from 'antd/lib/tooltip';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import './style';
|
|
5
|
+
export default function Tooltip(props) {
|
|
6
|
+
var children = props.children,
|
|
7
|
+
title = props.title,
|
|
8
|
+
visible = props.visible,
|
|
9
|
+
onVisibleChange = props.onVisibleChange,
|
|
10
|
+
trigger = props.trigger,
|
|
11
|
+
zIndex = props.zIndex,
|
|
12
|
+
placement = props.placement,
|
|
13
|
+
mouseEnterDelay = props.mouseEnterDelay,
|
|
14
|
+
mouseLeaveDelay = props.mouseLeaveDelay,
|
|
15
|
+
getPopupContainer = props.getPopupContainer,
|
|
16
|
+
destroyTooltipOnHide = props.destroyTooltipOnHide,
|
|
17
|
+
overlayClassName = props.overlayClassName;
|
|
18
|
+
return /*#__PURE__*/React.createElement(AntdTooltip, {
|
|
19
|
+
title: title,
|
|
20
|
+
overlayClassName: classNames('ald-tooltip-overlay', overlayClassName),
|
|
21
|
+
visible: visible,
|
|
22
|
+
onVisibleChange: onVisibleChange,
|
|
23
|
+
trigger: trigger,
|
|
24
|
+
zIndex: zIndex,
|
|
25
|
+
placement: placement,
|
|
26
|
+
mouseEnterDelay: mouseEnterDelay,
|
|
27
|
+
mouseLeaveDelay: mouseLeaveDelay,
|
|
28
|
+
getPopupContainer: getPopupContainer,
|
|
29
|
+
destroyTooltipOnHide: destroyTooltipOnHide
|
|
30
|
+
}, children);
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import '../../style/index.less';
|
|
2
|
+
|
|
3
|
+
.ald-tooltip-overlay {
|
|
4
|
+
.ant-tooltip-inner {
|
|
5
|
+
padding: 6px 12px;
|
|
6
|
+
border-radius: @border-radius-base;
|
|
7
|
+
box-shadow: none;
|
|
8
|
+
background: @BG10;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ant-tooltip-arrow-content {
|
|
12
|
+
background: @BG10;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
+
|
|
3
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
|
|
5
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
|
+
|
|
7
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
|
+
|
|
9
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
10
|
+
|
|
11
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
|
+
|
|
13
|
+
import { useState, useEffect, useRef, useDebugValue } from 'react';
|
|
14
|
+
import { isUndefined } from 'lodash';
|
|
15
|
+
|
|
16
|
+
function format(_ref) {
|
|
17
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
18
|
+
innerState = _ref2[0],
|
|
19
|
+
outterState = _ref2[1];
|
|
20
|
+
|
|
21
|
+
var isControlled = isUndefined(outterState) ? 'uncontrolled' : 'controlled';
|
|
22
|
+
var value = isUndefined(outterState) ? innerState : outterState;
|
|
23
|
+
return "State is ".concat(isControlled, " | Value is ").concat(value);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var useControlledState = function useControlledState(outterState, defaultOutterState, callback) {
|
|
27
|
+
// if (outterState === undefined && defaultOutterState === undefined) {
|
|
28
|
+
// throw new TypeError('Either "value" or "defaultValue" variable must be set. Now both are undefined');
|
|
29
|
+
// }
|
|
30
|
+
var _useState = useState(isUndefined(outterState) ? defaultOutterState : outterState),
|
|
31
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
32
|
+
innerState = _useState2[0],
|
|
33
|
+
setInnerState = _useState2[1];
|
|
34
|
+
|
|
35
|
+
var setState = useRef(function (state) {
|
|
36
|
+
var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
37
|
+
|
|
38
|
+
if (isUndefined(outterState) || force) {
|
|
39
|
+
setInnerState(state);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
callback === null || callback === void 0 ? void 0 : callback(state);
|
|
43
|
+
}).current; // @ts-ignore
|
|
44
|
+
|
|
45
|
+
useDebugValue([innerState, outterState], format);
|
|
46
|
+
useEffect(function () {
|
|
47
|
+
if (!isUndefined(outterState)) {
|
|
48
|
+
setInnerState(outterState);
|
|
49
|
+
}
|
|
50
|
+
}, [outterState]);
|
|
51
|
+
return [innerState, setState];
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export default useControlledState;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "antd/es/config-provider/style";
|
|
2
|
+
import _ConfigProvider from "antd/es/config-provider";
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
var ConfigContext = _ConfigProvider.ConfigContext;
|
|
5
|
+
|
|
6
|
+
var usePrefixCls = function usePrefixCls(subPrefixCls, customRootPrefixCls) {
|
|
7
|
+
var _useContext = useContext(ConfigContext),
|
|
8
|
+
rootPrefixCls = _useContext.rootPrefixCls,
|
|
9
|
+
getPrefixCls = _useContext.getPrefixCls;
|
|
10
|
+
|
|
11
|
+
return getPrefixCls(subPrefixCls, customRootPrefixCls !== null && customRootPrefixCls !== void 0 ? customRootPrefixCls : rootPrefixCls);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default usePrefixCls;
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference path="../typings.d.ts" />
|
|
2
|
+
export { default as Button } from './Button';
|
|
3
|
+
export { default as Dropdown } from './Dropdown';
|
|
4
|
+
export { default as Menu } from './Menu';
|
|
5
|
+
export { default as Input } from './Input';
|
|
6
|
+
export { default as Tabs } from './Tabs';
|
|
7
|
+
export { default as Tooltip } from './Tooltip';
|
|
8
|
+
export { default as Select } from './Select';
|
package/es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference path="../typings.d.ts" />
|
|
2
|
+
export { default as Button } from './Button';
|
|
3
|
+
export { default as Dropdown } from './Dropdown';
|
|
4
|
+
export { default as Menu } from './Menu';
|
|
5
|
+
export { default as Input } from './Input';
|
|
6
|
+
export { default as Tabs } from './Tabs';
|
|
7
|
+
export { default as Tooltip } from './Tooltip';
|
|
8
|
+
export { default as Select } from './Select';
|
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import './themeColor.less';
|
|
2
|
+
@font-family:sans-serif,-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol','Noto Color Emoji';
|
|
3
|
+
@ald-prefix: 'ald';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// height rules
|
|
7
|
+
@height-base: 28px;
|
|
8
|
+
@height-lg: 32px;
|
|
9
|
+
@height-sm: 22px;
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@border-radius-base: 8px;
|
|
13
|
+
@border-radius-sm: 6px;
|
|
14
|
+
@border-color-base: #e7e8e9; // 边框的基础色
|
|
15
|
+
|
|
16
|
+
// color
|
|
17
|
+
@primary-color: @B40; // 主色调
|
|
18
|
+
@error-color: @SC40; // 错误色
|
|
19
|
+
@success-color: @SA40; // 成功色
|
|
20
|
+
@warning-color: @SB40; // 警告色
|
|
21
|
+
@init-color: rgba(39, 40, 46, 0.5); // 默认颜色
|
|
22
|
+
@adapt-table-border-color: rgba(39, 40, 46, 0.1); // 可拉伸表格的颜色
|
|
23
|
+
@common-text-color: #27282e;
|
|
24
|
+
@tableheader-bg: #f9f9f9; // 表头背景
|
|
25
|
+
@primary-bg: #fff; // 主要背景色
|
|
26
|
+
@btn-shadow: unset; // 取消btn的阴影,
|
|
27
|
+
@text-shadow:unset; // 取消文字阴影
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@menu-item-font-size: 14px;
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
//Select
|
|
34
|
+
|
|
35
|
+
@select-placeholder-color: @NL50;
|
|
36
|
+
@select-label-margin-right:4px;
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*中性浅色背景 Neutral Light
|
|
3
|
+
* 主要用于文字颜色
|
|
4
|
+
**/
|
|
5
|
+
@NL0: #121212;
|
|
6
|
+
@NL97: fade(@NL0, 3%);
|
|
7
|
+
@NL95: fade(@NL0, 5%);
|
|
8
|
+
@NL90: fade(@NL0, 10%);
|
|
9
|
+
@NL80: fade(@NL0, 20%);
|
|
10
|
+
@NL70: fade(@NL0, 30%);
|
|
11
|
+
@NL60: fade(@NL0, 40%);
|
|
12
|
+
@NL50: fade(@NL0, 50%);
|
|
13
|
+
@NL40: fade(@NL0, 60%);
|
|
14
|
+
@NL30: fade(@NL0, 70%);
|
|
15
|
+
@NL20: fade(@NL0, 80%);
|
|
16
|
+
@NL10: fade(@NL0, 90%);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*中性深色背景 Neutral Dark
|
|
20
|
+
* 主要用于文字颜色
|
|
21
|
+
**/
|
|
22
|
+
@ND0: #FFFFFF;
|
|
23
|
+
@ND97: fade(@ND0, 3%);
|
|
24
|
+
@ND95: fade(@ND0, 5%);
|
|
25
|
+
@ND90: fade(@ND0, 10%);
|
|
26
|
+
@ND80: fade(@ND0, 20%);
|
|
27
|
+
@ND70: fade(@ND0, 30%);
|
|
28
|
+
@ND60: fade(@ND0, 40%);
|
|
29
|
+
@ND50: fade(@ND0, 50%);
|
|
30
|
+
@ND40: fade(@ND0, 60%);
|
|
31
|
+
@ND30: fade(@ND0, 70%);
|
|
32
|
+
@ND20: fade(@ND0, 80%);
|
|
33
|
+
@ND10: fade(@ND0, 90%);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* 品牌色 Brand
|
|
37
|
+
* 用作主操作强调、文字链、品牌传递
|
|
38
|
+
**/
|
|
39
|
+
@B10: #00127B;
|
|
40
|
+
@B20: #1029BC;
|
|
41
|
+
@B30: #2944D7;
|
|
42
|
+
@B40: #435CF0;
|
|
43
|
+
@B50: #6077FF;
|
|
44
|
+
@B60: #7F92FF;
|
|
45
|
+
@B70: #9FADFF;
|
|
46
|
+
@B80: #BDC9FF;
|
|
47
|
+
@B90: #DFE3FE;
|
|
48
|
+
@B95: #EFF1FF;
|
|
49
|
+
@B98: #F8F9FF;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 辅助A Secondary A
|
|
53
|
+
* 表达完成、成功
|
|
54
|
+
**/
|
|
55
|
+
@SA10: #00270F;
|
|
56
|
+
@SA20: #024F20;
|
|
57
|
+
@SA30: #007830;
|
|
58
|
+
@SA40: #059F41;
|
|
59
|
+
@SA50: #08C552;
|
|
60
|
+
@SA60: #1BDE6D;
|
|
61
|
+
@SA70: #35F886;
|
|
62
|
+
@SA80: #70FFAB;
|
|
63
|
+
@SA90: #B8FFD5;
|
|
64
|
+
@SA95: #DBFFEA;
|
|
65
|
+
@SA98: #EFFFF5;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 辅助B Secondary B
|
|
69
|
+
* 表达提醒、警告
|
|
70
|
+
**/
|
|
71
|
+
@SB10: #261600;
|
|
72
|
+
@SB20: #542B00;
|
|
73
|
+
@SB30: #7E4100;
|
|
74
|
+
@SB40: #A85700;
|
|
75
|
+
@SB50: #D26E00;
|
|
76
|
+
@SB60: #F48500;
|
|
77
|
+
@SB70: #FFA000;
|
|
78
|
+
@SB80: #FFBF5B;
|
|
79
|
+
@SB90: #FFDEB0;
|
|
80
|
+
@SB95: #FFF0D9;
|
|
81
|
+
@SB98: #FFF8EE;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* 辅助C Secondary C
|
|
85
|
+
* 表达错误、失败
|
|
86
|
+
**/
|
|
87
|
+
@SC10: #550005;
|
|
88
|
+
@SC20: #AF0001;
|
|
89
|
+
@SC30: #EC0011;
|
|
90
|
+
@SC40: #FF0033;
|
|
91
|
+
@SC50: #FF2755;
|
|
92
|
+
@SC60: #FF5B78;
|
|
93
|
+
@SC70: #FF879A;
|
|
94
|
+
@SC80: #FFAFBB;
|
|
95
|
+
@SC90: #FFD7DE;
|
|
96
|
+
@SC95: #FFEBEE;
|
|
97
|
+
@SC98: #FFF6F7;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* 背景色 Background
|
|
101
|
+
* 主要用于背景色
|
|
102
|
+
**/
|
|
103
|
+
@BG0: #121212;
|
|
104
|
+
@BG10: #2A2A2A;
|
|
105
|
+
@BG20: #414141;
|
|
106
|
+
@BG30: #595959;
|
|
107
|
+
@BG40: #717171;
|
|
108
|
+
@BG50: #88888B;
|
|
109
|
+
@BG60: #A0A0A0;
|
|
110
|
+
@BG70: #B7B7B7;
|
|
111
|
+
@BG80: #D0D0D0;
|
|
112
|
+
@BG90: #E7E8E8;
|
|
113
|
+
@BG95: #F3F3F3;
|
|
114
|
+
@BG97: #F8F8F8;
|
|
115
|
+
@BG100: #FFFFFF;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* 品牌背景 Brand Background
|
|
119
|
+
* 品牌色衍生灰调背景
|
|
120
|
+
**/
|
|
121
|
+
@BBG10: #061B3B;
|
|
122
|
+
@BBG15: #112645;
|
|
123
|
+
@BBG20: #203555;
|
|
124
|
+
@BBG30: #3B4F6E;
|
|
125
|
+
@BBG40: #536788;
|
|
126
|
+
@BBG50: #6C82A3;
|
|
127
|
+
@BBG60: #869BBB;
|
|
128
|
+
@BBG70: #A0B5D5;
|
|
129
|
+
@BBG80: #BACDEE;
|
|
130
|
+
@BBG90: #D7E7FE;
|
|
131
|
+
@BBG95: #EBF3FF;
|
|
132
|
+
@BBG97: #F3F8FF;
|
|
133
|
+
@BBG98: #F7F8FF;
|
|
134
|
+
|
|
135
|
+
/***
|
|
136
|
+
* 黑白
|
|
137
|
+
***/
|
|
138
|
+
@white:#FFFFFF;
|
|
139
|
+
@black:#121212;
|
|
140
|
+
|
|
141
|
+
/***
|
|
142
|
+
* 图片
|
|
143
|
+
***/
|
|
144
|
+
@imageholder: fade(#999898, 30%);
|
|
145
|
+
@mate: fade(#000000, 50%);
|
|
146
|
+
|
|
147
|
+
/***
|
|
148
|
+
* 投影
|
|
149
|
+
***/
|
|
150
|
+
@shadow-option: 0 1px 1px rgba(0, 0, 0, 0.12);
|
|
151
|
+
@shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 1px rgba(0, 0, 0, 0.06), 0 1px 1px rgba(0, 0, 0, 0.08);
|
|
152
|
+
@shadow-actionsheet: 0 3px 5px rgba(0, 0, 0, 0.1), 0 1px 18px rgba(0, 0, 0, 0.06), 0 6px 10px rgba(0, 0, 0, 0.08);
|
|
153
|
+
@shadow-notification: 0 11px 15px rgba(0, 0, 0, 0.1), 0 9px 46px rgba(0, 0, 0, 0.08), 0 24px 38px rgba(0, 0, 0, 0.04);
|
|
154
|
+
|
|
155
|
+
// 用css module的能力,将less变量输出给js,供js文件中使用
|
|
156
|
+
:export {
|
|
157
|
+
NL0: @NL0;
|
|
158
|
+
NL97: @NL97;
|
|
159
|
+
NL95: @NL95;
|
|
160
|
+
NL90: @NL90;
|
|
161
|
+
NL80: @NL80;
|
|
162
|
+
NL70: @NL70;
|
|
163
|
+
NL60: @NL60;
|
|
164
|
+
NL50: @NL50;
|
|
165
|
+
NL40: @NL40;
|
|
166
|
+
NL30: @NL30;
|
|
167
|
+
NL20: @NL20;
|
|
168
|
+
NL10: @NL10;
|
|
169
|
+
ND0: @ND0;
|
|
170
|
+
ND97: @ND97;
|
|
171
|
+
ND95: @ND95;
|
|
172
|
+
ND90: @ND90;
|
|
173
|
+
ND80: @ND80;
|
|
174
|
+
ND70: @ND70;
|
|
175
|
+
ND60: @ND60;
|
|
176
|
+
ND50: @ND50;
|
|
177
|
+
ND40: @ND40;
|
|
178
|
+
ND30: @ND30;
|
|
179
|
+
ND20: @ND20;
|
|
180
|
+
ND10: @ND10;
|
|
181
|
+
B10: @B10;
|
|
182
|
+
B20: @B20;
|
|
183
|
+
B30: @B30;
|
|
184
|
+
B40: @B40;
|
|
185
|
+
B50: @B50;
|
|
186
|
+
B60: @B60;
|
|
187
|
+
B70: @B70;
|
|
188
|
+
B80: @B80;
|
|
189
|
+
B90: @B90;
|
|
190
|
+
B95: @B95;
|
|
191
|
+
B98: @B98;
|
|
192
|
+
SA10: @SA10;
|
|
193
|
+
SA20: @SA20;
|
|
194
|
+
SA30: @SA30;
|
|
195
|
+
SA40: @SA40;
|
|
196
|
+
SA50: @SA50;
|
|
197
|
+
SA60: @SA60;
|
|
198
|
+
SA70: @SA70;
|
|
199
|
+
SA80: @SA80;
|
|
200
|
+
SA90: @SA90;
|
|
201
|
+
SA95: @SA95;
|
|
202
|
+
SA98: @SA98;
|
|
203
|
+
SB10: @SB10;
|
|
204
|
+
SB20: @SB20;
|
|
205
|
+
SB30: @SB30;
|
|
206
|
+
SB40: @SB40;
|
|
207
|
+
SB50: @SB50;
|
|
208
|
+
SB60: @SB60;
|
|
209
|
+
SB70: @SB70;
|
|
210
|
+
SB80: @SB80;
|
|
211
|
+
SB90: @SB90;
|
|
212
|
+
SB95: @SB95;
|
|
213
|
+
SB98: @SB98;
|
|
214
|
+
SC10: @SC10;
|
|
215
|
+
SC20: @SC20;
|
|
216
|
+
SC30: @SC30;
|
|
217
|
+
SC40: @SC40;
|
|
218
|
+
SC50: @SC50;
|
|
219
|
+
SC60: @SC60;
|
|
220
|
+
SC70: @SC70;
|
|
221
|
+
SC80: @SC80;
|
|
222
|
+
SC90: @SC90;
|
|
223
|
+
SC95: @SC95;
|
|
224
|
+
SC98: @SC98;
|
|
225
|
+
BG0: @BG0;
|
|
226
|
+
BG10: @BG10;
|
|
227
|
+
BG20: @BG20;
|
|
228
|
+
BG30: @BG30;
|
|
229
|
+
BG40: @BG40;
|
|
230
|
+
BG50: @BG50;
|
|
231
|
+
BG60: @BG60;
|
|
232
|
+
BG70: @BG70;
|
|
233
|
+
BG80: @BG80;
|
|
234
|
+
BG90: @BG90;
|
|
235
|
+
BG95: @BG95;
|
|
236
|
+
BG97: @BG97;
|
|
237
|
+
BG100: @BG100;
|
|
238
|
+
BBG10: @BBG10;
|
|
239
|
+
BBG15: @BBG15;
|
|
240
|
+
BBG20: @BBG20;
|
|
241
|
+
BBG30: @BBG30;
|
|
242
|
+
BBG40: @BBG40;
|
|
243
|
+
BBG50: @BBG50;
|
|
244
|
+
BBG60: @BBG60;
|
|
245
|
+
BBG70: @BBG70;
|
|
246
|
+
BBG80: @BBG80;
|
|
247
|
+
BBG90: @BBG90;
|
|
248
|
+
BBG95: @BBG95;
|
|
249
|
+
BBG97: @BBG97;
|
|
250
|
+
BBG98: @BBG98;
|
|
251
|
+
WHITE: @white;
|
|
252
|
+
BLACK: @black;
|
|
253
|
+
IMAGE_HOLDER: @imageholder;
|
|
254
|
+
MATE: @mate;
|
|
255
|
+
SHADOW_OPTION: @shadow-option;
|
|
256
|
+
SHADOW_CARD: @shadow-card;
|
|
257
|
+
SHADOW_ACTIONSHEET: @shadow-actionsheet;
|
|
258
|
+
SHADOW_NOTIFICATION: @shadow-notification;
|
|
259
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _aloudataDesign = require("@aloudata/aloudata-design");
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
var _Icon = _interopRequireDefault(require("../../../Icon"));
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
var _default = function _default() {
|
|
19
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
20
|
+
className: "ald-button-demo"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
22
|
+
type: "primary",
|
|
23
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
24
|
+
type: "add",
|
|
25
|
+
size: 20
|
|
26
|
+
})
|
|
27
|
+
}, "Search"), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
28
|
+
type: "secondary",
|
|
29
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
30
|
+
type: "add",
|
|
31
|
+
size: 20
|
|
32
|
+
})
|
|
33
|
+
}, "Search"), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
34
|
+
type: "text",
|
|
35
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
36
|
+
type: "add",
|
|
37
|
+
size: 20
|
|
38
|
+
})
|
|
39
|
+
}, "Search"), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
40
|
+
type: "danger",
|
|
41
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
42
|
+
type: "add",
|
|
43
|
+
size: 20
|
|
44
|
+
})
|
|
45
|
+
}, "Search"), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
46
|
+
type: "link",
|
|
47
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
48
|
+
type: "add",
|
|
49
|
+
size: 20
|
|
50
|
+
})
|
|
51
|
+
}, "Search"), /*#__PURE__*/_react.default.createElement("br", null), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
52
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
53
|
+
type: "add",
|
|
54
|
+
size: 20
|
|
55
|
+
})
|
|
56
|
+
}), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
57
|
+
shape: 'circle',
|
|
58
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
59
|
+
type: "add",
|
|
60
|
+
size: 20
|
|
61
|
+
})
|
|
62
|
+
}), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
63
|
+
shape: 'circle'
|
|
64
|
+
}, "S"), /*#__PURE__*/_react.default.createElement("br", null), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
65
|
+
size: 'small',
|
|
66
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
67
|
+
type: "add",
|
|
68
|
+
size: 20
|
|
69
|
+
})
|
|
70
|
+
}), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
71
|
+
shape: 'circle',
|
|
72
|
+
size: "large",
|
|
73
|
+
icon: /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
74
|
+
type: "add",
|
|
75
|
+
size: 20
|
|
76
|
+
})
|
|
77
|
+
}), /*#__PURE__*/_react.default.createElement(_aloudataDesign.Button, {
|
|
78
|
+
shape: 'circle'
|
|
79
|
+
}, "M"));
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
exports.default = _default;
|