@aloudata/aloudata-design 0.2.0-beta.2 → 0.2.0-beta.5
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/es/Button/style/index.css +374 -0
- package/es/Button/style/index.js +1 -1
- package/es/Dropdown/index.d.ts +1 -0
- package/es/Dropdown/style/index.css +178 -0
- package/es/Dropdown/style/index.js +1 -1
- package/es/Empty/style/index.css +162 -0
- package/es/Empty/style/index.js +1 -1
- package/es/Icon/iconfont/demo_index.html +49 -3
- package/es/Icon/iconfont/iconfont.css +11 -3
- package/es/Icon/iconfont/iconfont.js +5 -5
- package/es/Icon/iconfont/iconfont.json +14 -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.css +8 -0
- package/es/Input/components/Group/index.d.ts +3 -1
- package/es/Input/components/Password/index.d.ts +1 -0
- package/es/Input/index.d.ts +1 -1
- package/es/Input/style/index.css +215 -0
- package/es/Input/style/index.js +1 -1
- package/es/Menu/Divider.d.ts +1 -0
- package/es/Menu/MenuItem.d.ts +7 -0
- package/es/Menu/index.d.ts +1 -0
- package/es/Menu/style/index.css +208 -0
- package/es/Menu/style/index.js +1 -1
- package/es/Navigator/style/index.css +328 -0
- package/es/Navigator/style/index.js +1 -1
- package/es/Select/Selector/index.js +1 -1
- package/es/Select/style/index.css +493 -0
- package/es/Select/style/index.js +1 -1
- package/es/Table/index.d.ts +1 -1
- package/es/Table/index.js +183 -48
- package/es/Table/interface.d.ts +26 -6
- package/es/Table/react-table-config.d.ts +122 -0
- package/es/Table/style/index.css +248 -0
- package/es/Table/style/index.js +1 -1
- package/es/Tabs/index.d.ts +1 -0
- package/es/Tabs/style/index.css +194 -0
- package/es/Tabs/style/index.js +1 -1
- package/es/Tooltip/style/index.css +154 -0
- package/es/Tooltip/style/index.js +1 -1
- package/es/index.d.ts +10 -0
- package/es/style/index.css +145 -0
- package/es/style/index.js +1 -1
- package/es/{Button/demo/disable/index.less → style/mixins/index.css} +0 -0
- package/es/style/themes/default/index.css +145 -0
- package/es/style/themes/default/themeColor.module.css +145 -0
- package/lib/Button/style/index.css +374 -0
- package/lib/Button/style/index.js +1 -1
- package/lib/Dropdown/index.d.ts +1 -0
- package/lib/Dropdown/style/index.css +178 -0
- package/lib/Dropdown/style/index.js +1 -1
- package/lib/Empty/style/index.css +162 -0
- package/lib/Empty/style/index.js +1 -1
- package/lib/Icon/iconfont/demo_index.html +49 -3
- package/lib/Icon/iconfont/iconfont.css +11 -3
- package/lib/Icon/iconfont/iconfont.js +5 -5
- package/lib/Icon/iconfont/iconfont.json +14 -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.css +8 -0
- package/lib/Input/components/Group/index.d.ts +3 -1
- package/lib/Input/components/Password/index.d.ts +1 -0
- package/lib/Input/index.d.ts +1 -1
- package/lib/Input/style/index.css +215 -0
- package/lib/Input/style/index.js +1 -1
- package/lib/Menu/Divider.d.ts +1 -0
- package/lib/Menu/MenuItem.d.ts +7 -0
- package/lib/Menu/index.d.ts +1 -0
- package/lib/Menu/style/index.css +208 -0
- package/lib/Menu/style/index.js +1 -1
- package/lib/Navigator/style/index.css +328 -0
- package/lib/Navigator/style/index.js +1 -1
- package/lib/Select/Selector/index.js +1 -1
- package/lib/Select/style/index.css +493 -0
- package/lib/Select/style/index.js +1 -1
- package/lib/Table/index.d.ts +1 -1
- package/lib/Table/index.js +191 -54
- package/lib/Table/interface.d.ts +26 -6
- package/lib/Table/react-table-config.d.ts +122 -0
- package/lib/Table/style/index.css +248 -0
- package/lib/Table/style/index.js +1 -1
- package/lib/Tabs/index.d.ts +1 -0
- package/lib/Tabs/style/index.css +194 -0
- package/lib/Tabs/style/index.js +1 -1
- package/lib/Tooltip/style/index.css +154 -0
- package/lib/Tooltip/style/index.js +1 -1
- package/lib/index.d.ts +10 -0
- package/lib/style/index.css +145 -0
- package/lib/style/index.js +1 -1
- package/{es/Input/demo/allowClear/index.less → lib/style/mixins/index.css} +0 -0
- package/lib/style/themes/default/index.css +145 -0
- package/lib/style/themes/default/themeColor.module.css +145 -0
- package/package.json +1 -1
- package/es/Button/demo/Icon/index.d.ts +0 -3
- package/es/Button/demo/Icon/index.js +0 -67
- package/es/Button/demo/Icon/index.less +0 -6
- package/es/Button/demo/basic/index.d.ts +0 -4
- package/es/Button/demo/basic/index.js +0 -57
- package/es/Button/demo/basic/index.less +0 -6
- package/es/Button/demo/disable/index.d.ts +0 -3
- package/es/Button/demo/disable/index.js +0 -23
- package/es/Button/demo/href/index.d.ts +0 -2
- package/es/Button/demo/href/index.js +0 -17
- package/es/Button/demo/loading/index.d.ts +0 -3
- package/es/Button/demo/loading/index.js +0 -37
- package/es/Button/demo/loading/index.less +0 -6
- package/es/Button/style/index.less +0 -255
- package/es/Dropdown/demo/basic/index.d.ts +0 -4
- package/es/Dropdown/demo/basic/index.js +0 -18
- package/es/Dropdown/demo/button/index.d.ts +0 -3
- package/es/Dropdown/demo/button/index.js +0 -159
- package/es/Dropdown/demo/button/index.less +0 -9
- package/es/Dropdown/demo/placement/index.d.ts +0 -2
- package/es/Dropdown/demo/placement/index.js +0 -40
- package/es/Dropdown/demo/subMenu/index.d.ts +0 -2
- package/es/Dropdown/demo/subMenu/index.js +0 -42
- package/es/Dropdown/demo/trigger/index.d.ts +0 -2
- package/es/Dropdown/demo/trigger/index.js +0 -17
- package/es/Dropdown/style/index.less +0 -40
- package/es/Empty/style/index.less +0 -23
- package/es/Icon/index.less +0 -32
- package/es/Input/demo/allowClear/index.d.ts +0 -3
- package/es/Input/demo/allowClear/index.js +0 -11
- package/es/Input/demo/basic/index.d.ts +0 -4
- package/es/Input/demo/basic/index.js +0 -65
- package/es/Input/demo/basic/index.less +0 -14
- package/es/Input/demo/gourp/index.d.ts +0 -2
- package/es/Input/demo/gourp/index.js +0 -67
- package/es/Input/demo/password/index.d.ts +0 -3
- package/es/Input/demo/password/index.js +0 -21
- package/es/Input/demo/password/index.less +0 -0
- package/es/Input/demo/prefix/index.d.ts +0 -3
- package/es/Input/demo/prefix/index.js +0 -17
- package/es/Input/demo/prefix/index.less +0 -0
- package/es/Input/demo/showCount/index.d.ts +0 -3
- package/es/Input/demo/showCount/index.js +0 -17
- package/es/Input/demo/showCount/index.less +0 -0
- package/es/Input/demo/textArea/autoSize.d.ts +0 -2
- package/es/Input/demo/textArea/autoSize.js +0 -50
- package/es/Input/style/index.less +0 -65
- package/es/Menu/style/index.less +0 -37
- package/es/Navigator/demo/basic/index.d.ts +0 -4
- package/es/Navigator/demo/basic/index.js +0 -45
- package/es/Navigator/demo/basic/index.less +0 -3
- package/es/Navigator/demo/example/index.d.ts +0 -4
- package/es/Navigator/demo/example/index.js +0 -153
- package/es/Navigator/demo/example/index.less +0 -10
- package/es/Navigator/demo/logo.png +0 -0
- package/es/Navigator/demo/menuWithFooter/index.d.ts +0 -4
- package/es/Navigator/demo/menuWithFooter/index.js +0 -73
- package/es/Navigator/demo/menuWithFooter/index.less +0 -3
- package/es/Navigator/demo/subMenu/index.d.ts +0 -4
- package/es/Navigator/demo/subMenu/index.js +0 -71
- package/es/Navigator/demo/subMenu/index.less +0 -3
- package/es/Navigator/style/index.less +0 -224
- package/es/Select/demo/disabled/index.d.ts +0 -2
- package/es/Select/demo/disabled/index.js +0 -50
- package/es/Select/demo/multiple/index.d.ts +0 -2
- package/es/Select/demo/multiple/index.js +0 -140
- package/es/Select/demo/options/index.d.ts +0 -2
- package/es/Select/demo/options/index.js +0 -55
- package/es/Select/demo/single/index.d.ts +0 -3
- package/es/Select/demo/single/index.js +0 -89
- package/es/Select/demo/single/index.less +0 -5
- package/es/Select/style/index.less +0 -532
- package/es/Table/demo/basic/createData.d.ts +0 -9
- package/es/Table/demo/basic/createData.js +0 -18
- package/es/Table/demo/basic/index.d.ts +0 -2
- package/es/Table/demo/basic/index.js +0 -64
- package/es/Table/demo/editCell/index.d.ts +0 -2
- package/es/Table/demo/editCell/index.js +0 -39
- package/es/Table/demo/renderHeaderRight/index.d.ts +0 -2
- package/es/Table/demo/renderHeaderRight/index.js +0 -37
- package/es/Table/demo/rowSelect/index.d.ts +0 -2
- package/es/Table/demo/rowSelect/index.js +0 -40
- package/es/Table/demo/sort/index.d.ts +0 -2
- package/es/Table/demo/sort/index.js +0 -32
- package/es/Table/demo/virtualList/index.d.ts +0 -2
- package/es/Table/demo/virtualList/index.js +0 -88
- package/es/Table/style/index.less +0 -111
- package/es/Tabs/demo/adaptHeight/index.d.ts +0 -3
- package/es/Tabs/demo/adaptHeight/index.js +0 -19
- package/es/Tabs/demo/adaptHeight/index.less +0 -3
- package/es/Tabs/demo/basic/index.d.ts +0 -4
- package/es/Tabs/demo/basic/index.js +0 -44
- package/es/Tabs/demo/basic/index.less +0 -5
- package/es/Tabs/demo/horizontalScroll/index.d.ts +0 -3
- package/es/Tabs/demo/horizontalScroll/index.js +0 -30
- package/es/Tabs/demo/horizontalScroll/index.less +0 -3
- package/es/Tabs/style/index.less +0 -61
- package/es/Tooltip/demo/basic/index.d.ts +0 -2
- package/es/Tooltip/demo/basic/index.js +0 -7
- package/es/Tooltip/demo/overflow/index.d.ts +0 -2
- package/es/Tooltip/demo/overflow/index.js +0 -7
- package/es/Tooltip/demo/placement/index.d.ts +0 -6
- package/es/Tooltip/demo/placement/index.js +0 -70
- package/es/Tooltip/demo/placement/index.less +0 -7
- package/es/Tooltip/demo/trigger/index.d.ts +0 -3
- package/es/Tooltip/demo/trigger/index.js +0 -20
- package/es/Tooltip/demo/trigger/index.less +0 -5
- package/es/Tooltip/style/index.less +0 -14
- package/es/style/index.less +0 -3
- package/es/style/mixins/index.less +0 -0
- package/es/style/themes/default/index.less +0 -36
- package/es/style/themes/default/themeColor.module.less +0 -259
- package/lib/Button/demo/Icon/index.d.ts +0 -3
- package/lib/Button/demo/Icon/index.js +0 -82
- package/lib/Button/demo/Icon/index.less +0 -6
- package/lib/Button/demo/basic/index.d.ts +0 -4
- package/lib/Button/demo/basic/index.js +0 -73
- package/lib/Button/demo/basic/index.less +0 -6
- package/lib/Button/demo/disable/index.d.ts +0 -3
- package/lib/Button/demo/disable/index.js +0 -37
- package/lib/Button/demo/disable/index.less +0 -0
- package/lib/Button/demo/href/index.d.ts +0 -2
- package/lib/Button/demo/href/index.js +0 -30
- package/lib/Button/demo/loading/index.d.ts +0 -3
- package/lib/Button/demo/loading/index.js +0 -51
- package/lib/Button/demo/loading/index.less +0 -6
- package/lib/Button/style/index.less +0 -255
- package/lib/Dropdown/demo/basic/index.d.ts +0 -4
- package/lib/Dropdown/demo/basic/index.js +0 -35
- package/lib/Dropdown/demo/button/index.d.ts +0 -3
- package/lib/Dropdown/demo/button/index.js +0 -182
- package/lib/Dropdown/demo/button/index.less +0 -9
- package/lib/Dropdown/demo/placement/index.d.ts +0 -2
- package/lib/Dropdown/demo/placement/index.js +0 -56
- package/lib/Dropdown/demo/subMenu/index.d.ts +0 -2
- package/lib/Dropdown/demo/subMenu/index.js +0 -59
- package/lib/Dropdown/demo/trigger/index.d.ts +0 -2
- package/lib/Dropdown/demo/trigger/index.js +0 -32
- package/lib/Dropdown/style/index.less +0 -40
- package/lib/Empty/style/index.less +0 -23
- package/lib/Icon/index.less +0 -32
- package/lib/Input/demo/allowClear/index.d.ts +0 -3
- package/lib/Input/demo/allowClear/index.js +0 -25
- package/lib/Input/demo/allowClear/index.less +0 -0
- package/lib/Input/demo/basic/index.d.ts +0 -4
- package/lib/Input/demo/basic/index.js +0 -80
- package/lib/Input/demo/basic/index.less +0 -14
- package/lib/Input/demo/gourp/index.d.ts +0 -2
- package/lib/Input/demo/gourp/index.js +0 -81
- package/lib/Input/demo/password/index.d.ts +0 -3
- package/lib/Input/demo/password/index.js +0 -35
- package/lib/Input/demo/password/index.less +0 -0
- package/lib/Input/demo/prefix/index.d.ts +0 -3
- package/lib/Input/demo/prefix/index.js +0 -32
- package/lib/Input/demo/prefix/index.less +0 -0
- package/lib/Input/demo/showCount/index.d.ts +0 -3
- package/lib/Input/demo/showCount/index.js +0 -31
- package/lib/Input/demo/showCount/index.less +0 -0
- package/lib/Input/demo/textArea/autoSize.d.ts +0 -2
- package/lib/Input/demo/textArea/autoSize.js +0 -63
- package/lib/Input/style/index.less +0 -65
- package/lib/Menu/style/index.less +0 -37
- package/lib/Navigator/demo/basic/index.d.ts +0 -4
- package/lib/Navigator/demo/basic/index.js +0 -62
- package/lib/Navigator/demo/basic/index.less +0 -3
- package/lib/Navigator/demo/example/index.d.ts +0 -4
- package/lib/Navigator/demo/example/index.js +0 -179
- package/lib/Navigator/demo/example/index.less +0 -10
- package/lib/Navigator/demo/logo.png +0 -0
- package/lib/Navigator/demo/menuWithFooter/index.d.ts +0 -4
- package/lib/Navigator/demo/menuWithFooter/index.js +0 -92
- package/lib/Navigator/demo/menuWithFooter/index.less +0 -3
- package/lib/Navigator/demo/subMenu/index.d.ts +0 -4
- package/lib/Navigator/demo/subMenu/index.js +0 -88
- package/lib/Navigator/demo/subMenu/index.less +0 -3
- package/lib/Navigator/style/index.less +0 -224
- package/lib/Select/demo/disabled/index.d.ts +0 -2
- package/lib/Select/demo/disabled/index.js +0 -64
- package/lib/Select/demo/multiple/index.d.ts +0 -2
- package/lib/Select/demo/multiple/index.js +0 -154
- package/lib/Select/demo/options/index.d.ts +0 -2
- package/lib/Select/demo/options/index.js +0 -69
- package/lib/Select/demo/single/index.d.ts +0 -3
- package/lib/Select/demo/single/index.js +0 -103
- package/lib/Select/demo/single/index.less +0 -5
- package/lib/Select/style/index.less +0 -532
- package/lib/Table/demo/basic/createData.d.ts +0 -9
- package/lib/Table/demo/basic/createData.js +0 -23
- package/lib/Table/demo/basic/index.d.ts +0 -2
- package/lib/Table/demo/basic/index.js +0 -80
- package/lib/Table/demo/editCell/index.d.ts +0 -2
- package/lib/Table/demo/editCell/index.js +0 -54
- package/lib/Table/demo/renderHeaderRight/index.d.ts +0 -2
- package/lib/Table/demo/renderHeaderRight/index.js +0 -52
- package/lib/Table/demo/rowSelect/index.d.ts +0 -2
- package/lib/Table/demo/rowSelect/index.js +0 -55
- package/lib/Table/demo/sort/index.d.ts +0 -2
- package/lib/Table/demo/sort/index.js +0 -47
- package/lib/Table/demo/virtualList/index.d.ts +0 -2
- package/lib/Table/demo/virtualList/index.js +0 -103
- package/lib/Table/style/index.less +0 -111
- package/lib/Tabs/demo/adaptHeight/index.d.ts +0 -3
- package/lib/Tabs/demo/adaptHeight/index.js +0 -34
- package/lib/Tabs/demo/adaptHeight/index.less +0 -3
- package/lib/Tabs/demo/basic/index.d.ts +0 -4
- package/lib/Tabs/demo/basic/index.js +0 -67
- package/lib/Tabs/demo/basic/index.less +0 -5
- package/lib/Tabs/demo/horizontalScroll/index.d.ts +0 -3
- package/lib/Tabs/demo/horizontalScroll/index.js +0 -45
- package/lib/Tabs/demo/horizontalScroll/index.less +0 -3
- package/lib/Tabs/style/index.less +0 -61
- package/lib/Tooltip/demo/basic/index.d.ts +0 -2
- package/lib/Tooltip/demo/basic/index.js +0 -20
- package/lib/Tooltip/demo/overflow/index.d.ts +0 -2
- package/lib/Tooltip/demo/overflow/index.js +0 -20
- package/lib/Tooltip/demo/placement/index.d.ts +0 -6
- package/lib/Tooltip/demo/placement/index.js +0 -86
- package/lib/Tooltip/demo/placement/index.less +0 -7
- package/lib/Tooltip/demo/trigger/index.d.ts +0 -3
- package/lib/Tooltip/demo/trigger/index.js +0 -34
- package/lib/Tooltip/demo/trigger/index.less +0 -5
- package/lib/Tooltip/style/index.less +0 -14
- package/lib/style/index.less +0 -3
- package/lib/style/mixins/index.less +0 -0
- package/lib/style/themes/default/index.less +0 -36
- package/lib/style/themes/default/themeColor.module.less +0 -259
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*中性浅色背景 Neutral Light
|
|
3
|
+
* 主要用于文字颜色
|
|
4
|
+
**/
|
|
5
|
+
/**
|
|
6
|
+
*中性深色背景 Neutral Dark
|
|
7
|
+
* 主要用于文字颜色
|
|
8
|
+
**/
|
|
9
|
+
/**
|
|
10
|
+
* 品牌色 Brand
|
|
11
|
+
* 用作主操作强调、文字链、品牌传递
|
|
12
|
+
**/
|
|
13
|
+
/**
|
|
14
|
+
* 辅助A Secondary A
|
|
15
|
+
* 表达完成、成功
|
|
16
|
+
**/
|
|
17
|
+
/**
|
|
18
|
+
* 辅助B Secondary B
|
|
19
|
+
* 表达提醒、警告
|
|
20
|
+
**/
|
|
21
|
+
/**
|
|
22
|
+
* 辅助C Secondary C
|
|
23
|
+
* 表达错误、失败
|
|
24
|
+
**/
|
|
25
|
+
/**
|
|
26
|
+
* 背景色 Background
|
|
27
|
+
* 主要用于背景色
|
|
28
|
+
**/
|
|
29
|
+
/**
|
|
30
|
+
* 品牌背景 Brand Background
|
|
31
|
+
* 品牌色衍生灰调背景
|
|
32
|
+
**/
|
|
33
|
+
/***
|
|
34
|
+
* 黑白
|
|
35
|
+
***/
|
|
36
|
+
/***
|
|
37
|
+
* 图片
|
|
38
|
+
***/
|
|
39
|
+
/***
|
|
40
|
+
* 投影
|
|
41
|
+
***/
|
|
42
|
+
:export {
|
|
43
|
+
NL0: #121212;
|
|
44
|
+
NL97: rgba(18, 18, 18, 0.03);
|
|
45
|
+
NL95: rgba(18, 18, 18, 0.05);
|
|
46
|
+
NL90: rgba(18, 18, 18, 0.1);
|
|
47
|
+
NL80: rgba(18, 18, 18, 0.2);
|
|
48
|
+
NL70: rgba(18, 18, 18, 0.3);
|
|
49
|
+
NL60: rgba(18, 18, 18, 0.4);
|
|
50
|
+
NL50: rgba(18, 18, 18, 0.5);
|
|
51
|
+
NL40: rgba(18, 18, 18, 0.6);
|
|
52
|
+
NL30: rgba(18, 18, 18, 0.7);
|
|
53
|
+
NL20: rgba(18, 18, 18, 0.8);
|
|
54
|
+
NL10: rgba(18, 18, 18, 0.9);
|
|
55
|
+
ND0: #FFFFFF;
|
|
56
|
+
ND97: rgba(255, 255, 255, 0.03);
|
|
57
|
+
ND95: rgba(255, 255, 255, 0.05);
|
|
58
|
+
ND90: rgba(255, 255, 255, 0.1);
|
|
59
|
+
ND80: rgba(255, 255, 255, 0.2);
|
|
60
|
+
ND70: rgba(255, 255, 255, 0.3);
|
|
61
|
+
ND60: rgba(255, 255, 255, 0.4);
|
|
62
|
+
ND50: rgba(255, 255, 255, 0.5);
|
|
63
|
+
ND40: rgba(255, 255, 255, 0.6);
|
|
64
|
+
ND30: rgba(255, 255, 255, 0.7);
|
|
65
|
+
ND20: rgba(255, 255, 255, 0.8);
|
|
66
|
+
ND10: rgba(255, 255, 255, 0.9);
|
|
67
|
+
B10: #00127B;
|
|
68
|
+
B20: #1029BC;
|
|
69
|
+
B30: #2944D7;
|
|
70
|
+
B40: #435CF0;
|
|
71
|
+
B50: #6077FF;
|
|
72
|
+
B60: #7F92FF;
|
|
73
|
+
B70: #9FADFF;
|
|
74
|
+
B80: #BDC9FF;
|
|
75
|
+
B90: #DFE3FE;
|
|
76
|
+
B95: #EFF1FF;
|
|
77
|
+
B98: #F8F9FF;
|
|
78
|
+
SA10: #00270F;
|
|
79
|
+
SA20: #024F20;
|
|
80
|
+
SA30: #007830;
|
|
81
|
+
SA40: #059F41;
|
|
82
|
+
SA50: #08C552;
|
|
83
|
+
SA60: #1BDE6D;
|
|
84
|
+
SA70: #35F886;
|
|
85
|
+
SA80: #70FFAB;
|
|
86
|
+
SA90: #B8FFD5;
|
|
87
|
+
SA95: #DBFFEA;
|
|
88
|
+
SA98: #EFFFF5;
|
|
89
|
+
SB10: #261600;
|
|
90
|
+
SB20: #542B00;
|
|
91
|
+
SB30: #7E4100;
|
|
92
|
+
SB40: #A85700;
|
|
93
|
+
SB50: #D26E00;
|
|
94
|
+
SB60: #F48500;
|
|
95
|
+
SB70: #FFA000;
|
|
96
|
+
SB80: #FFBF5B;
|
|
97
|
+
SB90: #FFDEB0;
|
|
98
|
+
SB95: #FFF0D9;
|
|
99
|
+
SB98: #FFF8EE;
|
|
100
|
+
SC10: #550005;
|
|
101
|
+
SC20: #AF0001;
|
|
102
|
+
SC30: #EC0011;
|
|
103
|
+
SC40: #FF0033;
|
|
104
|
+
SC50: #FF2755;
|
|
105
|
+
SC60: #FF5B78;
|
|
106
|
+
SC70: #FF879A;
|
|
107
|
+
SC80: #FFAFBB;
|
|
108
|
+
SC90: #FFD7DE;
|
|
109
|
+
SC95: #FFEBEE;
|
|
110
|
+
SC98: #FFF6F7;
|
|
111
|
+
BG0: #121212;
|
|
112
|
+
BG10: #2A2A2A;
|
|
113
|
+
BG20: #414141;
|
|
114
|
+
BG30: #595959;
|
|
115
|
+
BG40: #717171;
|
|
116
|
+
BG50: #88888B;
|
|
117
|
+
BG60: #A0A0A0;
|
|
118
|
+
BG70: #B7B7B7;
|
|
119
|
+
BG80: #D0D0D0;
|
|
120
|
+
BG90: #E7E8E8;
|
|
121
|
+
BG95: #F3F3F3;
|
|
122
|
+
BG97: #F8F8F8;
|
|
123
|
+
BG100: #FFFFFF;
|
|
124
|
+
BBG10: #061B3B;
|
|
125
|
+
BBG15: #112645;
|
|
126
|
+
BBG20: #203555;
|
|
127
|
+
BBG30: #3B4F6E;
|
|
128
|
+
BBG40: #536788;
|
|
129
|
+
BBG50: #6C82A3;
|
|
130
|
+
BBG60: #869BBB;
|
|
131
|
+
BBG70: #A0B5D5;
|
|
132
|
+
BBG80: #BACDEE;
|
|
133
|
+
BBG90: #D7E7FE;
|
|
134
|
+
BBG95: #EBF3FF;
|
|
135
|
+
BBG97: #F3F8FF;
|
|
136
|
+
BBG98: #F7F8FF;
|
|
137
|
+
WHITE: #FFFFFF;
|
|
138
|
+
BLACK: #121212;
|
|
139
|
+
IMAGE_HOLDER: rgba(153, 152, 152, 0.3);
|
|
140
|
+
MATE: rgba(0, 0, 0, 0.5);
|
|
141
|
+
SHADOW_OPTION: 0 1px 1px rgba(0, 0, 0, 0.12);
|
|
142
|
+
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);
|
|
143
|
+
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);
|
|
144
|
+
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);
|
|
145
|
+
}
|
package/lib/style/index.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*中性浅色背景 Neutral Light
|
|
3
|
+
* 主要用于文字颜色
|
|
4
|
+
**/
|
|
5
|
+
/**
|
|
6
|
+
*中性深色背景 Neutral Dark
|
|
7
|
+
* 主要用于文字颜色
|
|
8
|
+
**/
|
|
9
|
+
/**
|
|
10
|
+
* 品牌色 Brand
|
|
11
|
+
* 用作主操作强调、文字链、品牌传递
|
|
12
|
+
**/
|
|
13
|
+
/**
|
|
14
|
+
* 辅助A Secondary A
|
|
15
|
+
* 表达完成、成功
|
|
16
|
+
**/
|
|
17
|
+
/**
|
|
18
|
+
* 辅助B Secondary B
|
|
19
|
+
* 表达提醒、警告
|
|
20
|
+
**/
|
|
21
|
+
/**
|
|
22
|
+
* 辅助C Secondary C
|
|
23
|
+
* 表达错误、失败
|
|
24
|
+
**/
|
|
25
|
+
/**
|
|
26
|
+
* 背景色 Background
|
|
27
|
+
* 主要用于背景色
|
|
28
|
+
**/
|
|
29
|
+
/**
|
|
30
|
+
* 品牌背景 Brand Background
|
|
31
|
+
* 品牌色衍生灰调背景
|
|
32
|
+
**/
|
|
33
|
+
/***
|
|
34
|
+
* 黑白
|
|
35
|
+
***/
|
|
36
|
+
/***
|
|
37
|
+
* 图片
|
|
38
|
+
***/
|
|
39
|
+
/***
|
|
40
|
+
* 投影
|
|
41
|
+
***/
|
|
42
|
+
:export {
|
|
43
|
+
NL0: #121212;
|
|
44
|
+
NL97: rgba(18, 18, 18, 0.03);
|
|
45
|
+
NL95: rgba(18, 18, 18, 0.05);
|
|
46
|
+
NL90: rgba(18, 18, 18, 0.1);
|
|
47
|
+
NL80: rgba(18, 18, 18, 0.2);
|
|
48
|
+
NL70: rgba(18, 18, 18, 0.3);
|
|
49
|
+
NL60: rgba(18, 18, 18, 0.4);
|
|
50
|
+
NL50: rgba(18, 18, 18, 0.5);
|
|
51
|
+
NL40: rgba(18, 18, 18, 0.6);
|
|
52
|
+
NL30: rgba(18, 18, 18, 0.7);
|
|
53
|
+
NL20: rgba(18, 18, 18, 0.8);
|
|
54
|
+
NL10: rgba(18, 18, 18, 0.9);
|
|
55
|
+
ND0: #FFFFFF;
|
|
56
|
+
ND97: rgba(255, 255, 255, 0.03);
|
|
57
|
+
ND95: rgba(255, 255, 255, 0.05);
|
|
58
|
+
ND90: rgba(255, 255, 255, 0.1);
|
|
59
|
+
ND80: rgba(255, 255, 255, 0.2);
|
|
60
|
+
ND70: rgba(255, 255, 255, 0.3);
|
|
61
|
+
ND60: rgba(255, 255, 255, 0.4);
|
|
62
|
+
ND50: rgba(255, 255, 255, 0.5);
|
|
63
|
+
ND40: rgba(255, 255, 255, 0.6);
|
|
64
|
+
ND30: rgba(255, 255, 255, 0.7);
|
|
65
|
+
ND20: rgba(255, 255, 255, 0.8);
|
|
66
|
+
ND10: rgba(255, 255, 255, 0.9);
|
|
67
|
+
B10: #00127B;
|
|
68
|
+
B20: #1029BC;
|
|
69
|
+
B30: #2944D7;
|
|
70
|
+
B40: #435CF0;
|
|
71
|
+
B50: #6077FF;
|
|
72
|
+
B60: #7F92FF;
|
|
73
|
+
B70: #9FADFF;
|
|
74
|
+
B80: #BDC9FF;
|
|
75
|
+
B90: #DFE3FE;
|
|
76
|
+
B95: #EFF1FF;
|
|
77
|
+
B98: #F8F9FF;
|
|
78
|
+
SA10: #00270F;
|
|
79
|
+
SA20: #024F20;
|
|
80
|
+
SA30: #007830;
|
|
81
|
+
SA40: #059F41;
|
|
82
|
+
SA50: #08C552;
|
|
83
|
+
SA60: #1BDE6D;
|
|
84
|
+
SA70: #35F886;
|
|
85
|
+
SA80: #70FFAB;
|
|
86
|
+
SA90: #B8FFD5;
|
|
87
|
+
SA95: #DBFFEA;
|
|
88
|
+
SA98: #EFFFF5;
|
|
89
|
+
SB10: #261600;
|
|
90
|
+
SB20: #542B00;
|
|
91
|
+
SB30: #7E4100;
|
|
92
|
+
SB40: #A85700;
|
|
93
|
+
SB50: #D26E00;
|
|
94
|
+
SB60: #F48500;
|
|
95
|
+
SB70: #FFA000;
|
|
96
|
+
SB80: #FFBF5B;
|
|
97
|
+
SB90: #FFDEB0;
|
|
98
|
+
SB95: #FFF0D9;
|
|
99
|
+
SB98: #FFF8EE;
|
|
100
|
+
SC10: #550005;
|
|
101
|
+
SC20: #AF0001;
|
|
102
|
+
SC30: #EC0011;
|
|
103
|
+
SC40: #FF0033;
|
|
104
|
+
SC50: #FF2755;
|
|
105
|
+
SC60: #FF5B78;
|
|
106
|
+
SC70: #FF879A;
|
|
107
|
+
SC80: #FFAFBB;
|
|
108
|
+
SC90: #FFD7DE;
|
|
109
|
+
SC95: #FFEBEE;
|
|
110
|
+
SC98: #FFF6F7;
|
|
111
|
+
BG0: #121212;
|
|
112
|
+
BG10: #2A2A2A;
|
|
113
|
+
BG20: #414141;
|
|
114
|
+
BG30: #595959;
|
|
115
|
+
BG40: #717171;
|
|
116
|
+
BG50: #88888B;
|
|
117
|
+
BG60: #A0A0A0;
|
|
118
|
+
BG70: #B7B7B7;
|
|
119
|
+
BG80: #D0D0D0;
|
|
120
|
+
BG90: #E7E8E8;
|
|
121
|
+
BG95: #F3F3F3;
|
|
122
|
+
BG97: #F8F8F8;
|
|
123
|
+
BG100: #FFFFFF;
|
|
124
|
+
BBG10: #061B3B;
|
|
125
|
+
BBG15: #112645;
|
|
126
|
+
BBG20: #203555;
|
|
127
|
+
BBG30: #3B4F6E;
|
|
128
|
+
BBG40: #536788;
|
|
129
|
+
BBG50: #6C82A3;
|
|
130
|
+
BBG60: #869BBB;
|
|
131
|
+
BBG70: #A0B5D5;
|
|
132
|
+
BBG80: #BACDEE;
|
|
133
|
+
BBG90: #D7E7FE;
|
|
134
|
+
BBG95: #EBF3FF;
|
|
135
|
+
BBG97: #F3F8FF;
|
|
136
|
+
BBG98: #F7F8FF;
|
|
137
|
+
WHITE: #FFFFFF;
|
|
138
|
+
BLACK: #121212;
|
|
139
|
+
IMAGE_HOLDER: rgba(153, 152, 152, 0.3);
|
|
140
|
+
MATE: rgba(0, 0, 0, 0.5);
|
|
141
|
+
SHADOW_OPTION: 0 1px 1px rgba(0, 0, 0, 0.12);
|
|
142
|
+
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);
|
|
143
|
+
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);
|
|
144
|
+
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);
|
|
145
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*中性浅色背景 Neutral Light
|
|
3
|
+
* 主要用于文字颜色
|
|
4
|
+
**/
|
|
5
|
+
/**
|
|
6
|
+
*中性深色背景 Neutral Dark
|
|
7
|
+
* 主要用于文字颜色
|
|
8
|
+
**/
|
|
9
|
+
/**
|
|
10
|
+
* 品牌色 Brand
|
|
11
|
+
* 用作主操作强调、文字链、品牌传递
|
|
12
|
+
**/
|
|
13
|
+
/**
|
|
14
|
+
* 辅助A Secondary A
|
|
15
|
+
* 表达完成、成功
|
|
16
|
+
**/
|
|
17
|
+
/**
|
|
18
|
+
* 辅助B Secondary B
|
|
19
|
+
* 表达提醒、警告
|
|
20
|
+
**/
|
|
21
|
+
/**
|
|
22
|
+
* 辅助C Secondary C
|
|
23
|
+
* 表达错误、失败
|
|
24
|
+
**/
|
|
25
|
+
/**
|
|
26
|
+
* 背景色 Background
|
|
27
|
+
* 主要用于背景色
|
|
28
|
+
**/
|
|
29
|
+
/**
|
|
30
|
+
* 品牌背景 Brand Background
|
|
31
|
+
* 品牌色衍生灰调背景
|
|
32
|
+
**/
|
|
33
|
+
/***
|
|
34
|
+
* 黑白
|
|
35
|
+
***/
|
|
36
|
+
/***
|
|
37
|
+
* 图片
|
|
38
|
+
***/
|
|
39
|
+
/***
|
|
40
|
+
* 投影
|
|
41
|
+
***/
|
|
42
|
+
:export {
|
|
43
|
+
NL0: #121212;
|
|
44
|
+
NL97: rgba(18, 18, 18, 0.03);
|
|
45
|
+
NL95: rgba(18, 18, 18, 0.05);
|
|
46
|
+
NL90: rgba(18, 18, 18, 0.1);
|
|
47
|
+
NL80: rgba(18, 18, 18, 0.2);
|
|
48
|
+
NL70: rgba(18, 18, 18, 0.3);
|
|
49
|
+
NL60: rgba(18, 18, 18, 0.4);
|
|
50
|
+
NL50: rgba(18, 18, 18, 0.5);
|
|
51
|
+
NL40: rgba(18, 18, 18, 0.6);
|
|
52
|
+
NL30: rgba(18, 18, 18, 0.7);
|
|
53
|
+
NL20: rgba(18, 18, 18, 0.8);
|
|
54
|
+
NL10: rgba(18, 18, 18, 0.9);
|
|
55
|
+
ND0: #FFFFFF;
|
|
56
|
+
ND97: rgba(255, 255, 255, 0.03);
|
|
57
|
+
ND95: rgba(255, 255, 255, 0.05);
|
|
58
|
+
ND90: rgba(255, 255, 255, 0.1);
|
|
59
|
+
ND80: rgba(255, 255, 255, 0.2);
|
|
60
|
+
ND70: rgba(255, 255, 255, 0.3);
|
|
61
|
+
ND60: rgba(255, 255, 255, 0.4);
|
|
62
|
+
ND50: rgba(255, 255, 255, 0.5);
|
|
63
|
+
ND40: rgba(255, 255, 255, 0.6);
|
|
64
|
+
ND30: rgba(255, 255, 255, 0.7);
|
|
65
|
+
ND20: rgba(255, 255, 255, 0.8);
|
|
66
|
+
ND10: rgba(255, 255, 255, 0.9);
|
|
67
|
+
B10: #00127B;
|
|
68
|
+
B20: #1029BC;
|
|
69
|
+
B30: #2944D7;
|
|
70
|
+
B40: #435CF0;
|
|
71
|
+
B50: #6077FF;
|
|
72
|
+
B60: #7F92FF;
|
|
73
|
+
B70: #9FADFF;
|
|
74
|
+
B80: #BDC9FF;
|
|
75
|
+
B90: #DFE3FE;
|
|
76
|
+
B95: #EFF1FF;
|
|
77
|
+
B98: #F8F9FF;
|
|
78
|
+
SA10: #00270F;
|
|
79
|
+
SA20: #024F20;
|
|
80
|
+
SA30: #007830;
|
|
81
|
+
SA40: #059F41;
|
|
82
|
+
SA50: #08C552;
|
|
83
|
+
SA60: #1BDE6D;
|
|
84
|
+
SA70: #35F886;
|
|
85
|
+
SA80: #70FFAB;
|
|
86
|
+
SA90: #B8FFD5;
|
|
87
|
+
SA95: #DBFFEA;
|
|
88
|
+
SA98: #EFFFF5;
|
|
89
|
+
SB10: #261600;
|
|
90
|
+
SB20: #542B00;
|
|
91
|
+
SB30: #7E4100;
|
|
92
|
+
SB40: #A85700;
|
|
93
|
+
SB50: #D26E00;
|
|
94
|
+
SB60: #F48500;
|
|
95
|
+
SB70: #FFA000;
|
|
96
|
+
SB80: #FFBF5B;
|
|
97
|
+
SB90: #FFDEB0;
|
|
98
|
+
SB95: #FFF0D9;
|
|
99
|
+
SB98: #FFF8EE;
|
|
100
|
+
SC10: #550005;
|
|
101
|
+
SC20: #AF0001;
|
|
102
|
+
SC30: #EC0011;
|
|
103
|
+
SC40: #FF0033;
|
|
104
|
+
SC50: #FF2755;
|
|
105
|
+
SC60: #FF5B78;
|
|
106
|
+
SC70: #FF879A;
|
|
107
|
+
SC80: #FFAFBB;
|
|
108
|
+
SC90: #FFD7DE;
|
|
109
|
+
SC95: #FFEBEE;
|
|
110
|
+
SC98: #FFF6F7;
|
|
111
|
+
BG0: #121212;
|
|
112
|
+
BG10: #2A2A2A;
|
|
113
|
+
BG20: #414141;
|
|
114
|
+
BG30: #595959;
|
|
115
|
+
BG40: #717171;
|
|
116
|
+
BG50: #88888B;
|
|
117
|
+
BG60: #A0A0A0;
|
|
118
|
+
BG70: #B7B7B7;
|
|
119
|
+
BG80: #D0D0D0;
|
|
120
|
+
BG90: #E7E8E8;
|
|
121
|
+
BG95: #F3F3F3;
|
|
122
|
+
BG97: #F8F8F8;
|
|
123
|
+
BG100: #FFFFFF;
|
|
124
|
+
BBG10: #061B3B;
|
|
125
|
+
BBG15: #112645;
|
|
126
|
+
BBG20: #203555;
|
|
127
|
+
BBG30: #3B4F6E;
|
|
128
|
+
BBG40: #536788;
|
|
129
|
+
BBG50: #6C82A3;
|
|
130
|
+
BBG60: #869BBB;
|
|
131
|
+
BBG70: #A0B5D5;
|
|
132
|
+
BBG80: #BACDEE;
|
|
133
|
+
BBG90: #D7E7FE;
|
|
134
|
+
BBG95: #EBF3FF;
|
|
135
|
+
BBG97: #F3F8FF;
|
|
136
|
+
BBG98: #F7F8FF;
|
|
137
|
+
WHITE: #FFFFFF;
|
|
138
|
+
BLACK: #121212;
|
|
139
|
+
IMAGE_HOLDER: rgba(153, 152, 152, 0.3);
|
|
140
|
+
MATE: rgba(0, 0, 0, 0.5);
|
|
141
|
+
SHADOW_OPTION: 0 1px 1px rgba(0, 0, 0, 0.12);
|
|
142
|
+
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);
|
|
143
|
+
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);
|
|
144
|
+
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);
|
|
145
|
+
}
|
package/package.json
CHANGED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Button } from '@aloudata/aloudata-design';
|
|
3
|
-
import './index.less';
|
|
4
|
-
import Icon from '../../../Icon';
|
|
5
|
-
export default (function () {
|
|
6
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
7
|
-
className: "ald-button-demo"
|
|
8
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
9
|
-
type: "primary",
|
|
10
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
11
|
-
type: "add",
|
|
12
|
-
size: 20
|
|
13
|
-
})
|
|
14
|
-
}, "Search"), /*#__PURE__*/React.createElement(Button, {
|
|
15
|
-
type: "secondary",
|
|
16
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
17
|
-
type: "add",
|
|
18
|
-
size: 20
|
|
19
|
-
})
|
|
20
|
-
}, "Search"), /*#__PURE__*/React.createElement(Button, {
|
|
21
|
-
type: "text",
|
|
22
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
23
|
-
type: "add",
|
|
24
|
-
size: 20
|
|
25
|
-
})
|
|
26
|
-
}, "Search"), /*#__PURE__*/React.createElement(Button, {
|
|
27
|
-
type: "danger",
|
|
28
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
29
|
-
type: "add",
|
|
30
|
-
size: 20
|
|
31
|
-
})
|
|
32
|
-
}, "Search"), /*#__PURE__*/React.createElement(Button, {
|
|
33
|
-
type: "link",
|
|
34
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
35
|
-
type: "add",
|
|
36
|
-
size: 20
|
|
37
|
-
})
|
|
38
|
-
}, "Search"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
|
|
39
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
40
|
-
type: "add",
|
|
41
|
-
size: 20
|
|
42
|
-
})
|
|
43
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
44
|
-
shape: 'circle',
|
|
45
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
46
|
-
type: "add",
|
|
47
|
-
size: 20
|
|
48
|
-
})
|
|
49
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
50
|
-
shape: 'circle'
|
|
51
|
-
}, "S"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
|
|
52
|
-
size: 'small',
|
|
53
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
54
|
-
type: "add",
|
|
55
|
-
size: 20
|
|
56
|
-
})
|
|
57
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
58
|
-
shape: 'circle',
|
|
59
|
-
size: "large",
|
|
60
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
61
|
-
type: "add",
|
|
62
|
-
size: 20
|
|
63
|
-
})
|
|
64
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
65
|
-
shape: 'circle'
|
|
66
|
-
}, "M"));
|
|
67
|
-
});
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import "antd/es/radio/style";
|
|
2
|
-
import _Radio from "antd/es/radio";
|
|
3
|
-
|
|
4
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
|
-
|
|
6
|
-
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."); }
|
|
7
|
-
|
|
8
|
-
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); }
|
|
9
|
-
|
|
10
|
-
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; }
|
|
11
|
-
|
|
12
|
-
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; }
|
|
13
|
-
|
|
14
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
|
-
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import { Button } from '@aloudata/aloudata-design';
|
|
18
|
-
import '../../style/index.less';
|
|
19
|
-
import './index.less';
|
|
20
|
-
export default (function () {
|
|
21
|
-
var _React$useState = React.useState('default'),
|
|
22
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
23
|
-
size = _React$useState2[0],
|
|
24
|
-
setSize = _React$useState2[1];
|
|
25
|
-
|
|
26
|
-
var handleSizeChange = function handleSizeChange(e) {
|
|
27
|
-
setSize(e.target.value);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
31
|
-
className: 'ald-button-demo'
|
|
32
|
-
}, /*#__PURE__*/React.createElement(_Radio.Group, {
|
|
33
|
-
value: size,
|
|
34
|
-
onChange: handleSizeChange
|
|
35
|
-
}, /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
36
|
-
value: "small"
|
|
37
|
-
}, "Small"), /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
38
|
-
value: 'default'
|
|
39
|
-
}, "Default"), /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
40
|
-
value: "large"
|
|
41
|
-
}, "Large")), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
|
|
42
|
-
type: "primary",
|
|
43
|
-
size: size
|
|
44
|
-
}, "Primary Button"), /*#__PURE__*/React.createElement(Button, {
|
|
45
|
-
type: "danger",
|
|
46
|
-
size: size
|
|
47
|
-
}, "danger Button"), /*#__PURE__*/React.createElement(Button, {
|
|
48
|
-
type: "secondary",
|
|
49
|
-
size: size
|
|
50
|
-
}, "secondary Button"), /*#__PURE__*/React.createElement(Button, {
|
|
51
|
-
type: "text",
|
|
52
|
-
size: size
|
|
53
|
-
}, "Text Button"), /*#__PURE__*/React.createElement(Button, {
|
|
54
|
-
type: "link",
|
|
55
|
-
size: size
|
|
56
|
-
}, "Link Button"));
|
|
57
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Button } from '@aloudata/aloudata-design';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export default (function () {
|
|
5
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
6
|
-
className: "ald-button-demo"
|
|
7
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
8
|
-
type: "primary",
|
|
9
|
-
disabled: true
|
|
10
|
-
}, "primary disable"), /*#__PURE__*/React.createElement(Button, {
|
|
11
|
-
type: "secondary",
|
|
12
|
-
disabled: true
|
|
13
|
-
}, "secondary disable"), /*#__PURE__*/React.createElement(Button, {
|
|
14
|
-
type: "text",
|
|
15
|
-
disabled: true
|
|
16
|
-
}, "text disable"), /*#__PURE__*/React.createElement(Button, {
|
|
17
|
-
type: "danger",
|
|
18
|
-
disabled: true
|
|
19
|
-
}, "danger disable"), /*#__PURE__*/React.createElement(Button, {
|
|
20
|
-
type: "link",
|
|
21
|
-
disabled: true
|
|
22
|
-
}, "link disable"));
|
|
23
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Button } from '@aloudata/aloudata-design';
|
|
3
|
-
export default (function () {
|
|
4
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
5
|
-
className: "ald-button-demo"
|
|
6
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
7
|
-
href: "https://www.aloudata.com/"
|
|
8
|
-
}, "aloudata"), /*#__PURE__*/React.createElement(Button, {
|
|
9
|
-
href: "https://www.aloudata.com/",
|
|
10
|
-
target: "_blank"
|
|
11
|
-
}, "target _blank aloudata"), /*#__PURE__*/React.createElement(Button, {
|
|
12
|
-
href: "https://www.aloudata.com/",
|
|
13
|
-
target: "_self"
|
|
14
|
-
}, "target _self aloudata"), /*#__PURE__*/React.createElement(Button, {
|
|
15
|
-
target: "_blank"
|
|
16
|
-
}, " \u65E0href target _blank"));
|
|
17
|
-
});
|