@aloudata/aloudata-design 0.3.1 → 0.3.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/README.md +15 -5
- package/es/Breadcrumb/index.d.ts +1 -0
- package/es/Button/index.js +3 -2
- package/es/Button/style/index.less +135 -126
- package/es/Button/style/variables.less +53 -53
- package/es/Card/index.d.ts +3 -0
- package/es/Card/index.js +3 -0
- package/es/Card/style/index.d.ts +2 -0
- package/es/Card/style/index.js +2 -0
- package/es/Card/style/index.less +1 -0
- package/es/Checkbox/index.d.ts +1 -0
- package/es/ConfigProvider/defaultRenderEmpty.d.ts +4 -0
- package/es/ConfigProvider/defaultRenderEmpty.js +37 -0
- package/es/ConfigProvider/sizeContext.d.ts +9 -0
- package/es/ConfigProvider/sizeContext.js +12 -0
- package/es/Dropdown/Button.js +4 -3
- package/es/Empty/image/Authority.d.ts +1 -0
- package/es/Empty/image/Dataspace.d.ts +1 -0
- package/es/Empty/image/Search.d.ts +1 -0
- package/es/Empty/image/Simple.d.ts +1 -0
- package/es/Empty/image/Worksheet.d.ts +1 -0
- package/es/Empty/image/empty.d.ts +1 -0
- package/es/Icon/icons/CheckLine.d.ts +13 -0
- package/es/Icon/icons/CheckLine.js +73 -0
- package/es/Icon/icons.json +410 -0
- package/es/Input/components/Group/index.d.ts +3 -1
- package/es/Input/components/Group/index.js +6 -12
- package/es/Input/components/Input/index.d.ts +3 -2
- package/es/Input/components/Input/index.js +11 -23
- package/es/Input/components/Password/index.js +11 -16
- package/es/Input/components/TextArea/index.d.ts +8 -1
- package/es/Input/components/TextArea/index.js +8 -1
- package/es/Input/style/index.less +180 -102
- package/es/InputNumber/index.d.ts +1 -0
- package/es/InputNumber/style/index.less +69 -69
- package/es/Menu/Divider.d.ts +1 -0
- package/es/Modal/index.js +20 -16
- package/es/Modal/locale.d.ts +7 -0
- package/es/Modal/locale.js +20 -0
- package/es/Modal/style/index.less +48 -45
- package/es/Navigator/components/Header/index.d.ts +1 -0
- package/es/Navigator/components/Menu/index.d.ts +1 -0
- package/es/Navigator/components/MenuItem/index.d.ts +1 -1
- package/es/Navigator/index.d.ts +1 -1
- package/es/PageHeader/index.d.ts +3 -0
- package/es/PageHeader/index.js +3 -0
- package/es/PageHeader/style/index.d.ts +2 -0
- package/es/PageHeader/style/index.js +2 -0
- package/es/PageHeader/style/index.less +1 -0
- package/es/Popover/index.d.ts +1 -0
- package/es/Radio/components/Group/index.d.ts +6 -0
- package/es/Radio/components/Group/index.js +72 -0
- package/es/Radio/components/Radio/index.d.ts +3 -0
- package/es/Radio/components/Radio/index.js +95 -0
- package/es/Radio/index.d.ts +9 -2
- package/es/Radio/index.js +5 -3
- package/es/Radio/interface/radio.d.ts +24 -0
- package/es/Radio/interface/radio.js +1 -0
- package/es/Radio/interface/radioGroup.d.ts +42 -0
- package/es/Radio/interface/radioGroup.js +1 -0
- package/es/Radio/style/index.less +348 -0
- package/es/Select/index.js +1 -1
- package/es/Select/rc-select/OptionList.js +4 -4
- package/es/Select/rc-select/Selector/MultipleSelector.js +11 -1
- package/es/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/es/Select/style/index.less +70 -45
- package/es/Select/style/variables.less +45 -45
- package/es/Select/utils/iconUtil.d.ts +2 -2
- package/es/Select/utils/iconUtil.js +9 -5
- package/es/Steps/components/ProcessIcon/index.d.ts +6 -0
- package/es/Steps/components/ProcessIcon/index.js +8 -0
- package/es/Steps/components/Step/index.d.ts +20 -0
- package/es/Steps/components/Step/index.js +45 -0
- package/es/Steps/index.d.ts +36 -2
- package/es/Steps/index.js +30 -1
- package/es/Steps/matchMedia.mock.d.ts +1 -0
- package/es/Steps/matchMedia.mock.js +17 -0
- package/es/Steps/style/index.less +251 -0
- package/es/Switch/index.d.ts +46 -2
- package/es/Switch/index.js +71 -1
- package/es/Switch/style/index.less +129 -0
- package/es/Table/Table.d.ts +2 -1
- package/es/Table/Table.js +223 -330
- package/es/Table/components/Empty/index.d.ts +3 -0
- package/es/Table/components/Empty/index.js +17 -0
- package/es/Table/components/Loading/index.d.ts +3 -0
- package/es/Table/components/Loading/index.js +19 -0
- package/es/Table/components/TableBodyRowList/index.d.ts +13 -0
- package/es/Table/components/TableBodyRowList/index.js +89 -0
- package/es/Table/components/TableHead/index.d.ts +23 -0
- package/es/Table/components/TableHead/index.js +262 -0
- package/es/Table/constant.d.ts +1 -0
- package/es/Table/constant.js +1 -0
- package/es/Table/hooks/useFrame.d.ts +7 -0
- package/es/Table/hooks/useFrame.js +90 -0
- package/es/Table/hooks/useTableColumn.d.ts +28 -0
- package/es/Table/hooks/useTableColumn.js +53 -0
- package/es/Table/interface.d.ts +3 -2
- package/es/Table/style/index.less +33 -30
- package/es/Table/utils.d.ts +15 -0
- package/es/Table/utils.js +131 -0
- package/es/Tabs/index.js +7 -9
- package/es/Tabs/style/index.less +57 -25
- package/es/_utils/hooks/useId.d.ts +4 -0
- package/es/_utils/hooks/useId.js +23 -0
- package/es/index.d.ts +9 -5
- package/es/index.js +3 -1
- package/es/locale/default.d.ts +2 -0
- package/es/locale/default.js +2 -0
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/en_US.js +132 -0
- package/es/locale/zh_CN.d.ts +3 -2
- package/es/locale/zh_CN.js +131 -2
- package/es/locale-provider/LocaleReceiver.d.ts +4 -0
- package/es/locale-provider/LocaleReceiver.js +3 -0
- package/es/locale-provider/context.d.ts +7 -0
- package/es/locale-provider/context.js +3 -0
- package/es/locale-provider/default.d.ts +2 -0
- package/es/locale-provider/default.js +2 -0
- package/es/locale-provider/en_US.d.ts +2 -0
- package/es/locale-provider/en_US.js +2 -0
- package/es/locale-provider/index.d.ts +65 -0
- package/es/locale-provider/index.js +102 -0
- package/es/locale-provider/style/index.d.ts +1 -0
- package/es/locale-provider/style/index.js +1 -0
- package/es/locale-provider/style/index.less +2 -0
- package/es/locale-provider/zh_CN.d.ts +2 -0
- package/es/locale-provider/zh_CN.js +2 -0
- package/es/style/index.d.ts +0 -1
- package/es/style/index.js +0 -1
- package/es/style/index.less +2 -2
- package/es/style/themes/default/index.less +30 -30
- package/lib/Breadcrumb/index.d.ts +1 -0
- package/lib/Button/index.js +5 -3
- package/lib/Button/style/index.less +135 -126
- package/lib/Button/style/variables.less +53 -53
- package/lib/Card/index.d.ts +3 -0
- package/lib/Card/index.js +15 -0
- package/lib/Card/style/index.d.ts +2 -0
- package/lib/Card/style/index.js +5 -0
- package/lib/Card/style/index.less +1 -0
- package/lib/Checkbox/index.d.ts +1 -0
- package/lib/ConfigProvider/defaultRenderEmpty.d.ts +4 -0
- package/lib/ConfigProvider/defaultRenderEmpty.js +55 -0
- package/lib/ConfigProvider/sizeContext.d.ts +9 -0
- package/lib/ConfigProvider/sizeContext.js +30 -0
- package/lib/Dropdown/Button.js +8 -6
- package/lib/Empty/image/Authority.d.ts +1 -0
- package/lib/Empty/image/Dataspace.d.ts +1 -0
- package/lib/Empty/image/Search.d.ts +1 -0
- package/lib/Empty/image/Simple.d.ts +1 -0
- package/lib/Empty/image/Worksheet.d.ts +1 -0
- package/lib/Empty/image/empty.d.ts +1 -0
- package/lib/Icon/icons/CheckLine.d.ts +13 -0
- package/lib/Icon/icons/CheckLine.js +90 -0
- package/lib/Icon/icons.json +410 -0
- package/lib/Input/components/Group/index.d.ts +3 -1
- package/lib/Input/components/Group/index.js +7 -12
- package/lib/Input/components/Input/index.d.ts +3 -2
- package/lib/Input/components/Input/index.js +13 -23
- package/lib/Input/components/Password/index.js +13 -17
- package/lib/Input/components/TextArea/index.d.ts +8 -1
- package/lib/Input/components/TextArea/index.js +10 -1
- package/lib/Input/style/index.less +180 -102
- package/lib/InputNumber/index.d.ts +1 -0
- package/lib/InputNumber/style/index.less +69 -69
- package/lib/Menu/Divider.d.ts +1 -0
- package/lib/Modal/index.js +25 -18
- package/lib/Modal/locale.d.ts +7 -0
- package/lib/Modal/locale.js +31 -0
- package/lib/Modal/style/index.less +48 -45
- package/lib/Navigator/components/Header/index.d.ts +1 -0
- package/lib/Navigator/components/Menu/index.d.ts +1 -0
- package/lib/Navigator/components/MenuItem/index.d.ts +1 -1
- package/lib/Navigator/index.d.ts +1 -1
- package/lib/PageHeader/index.d.ts +3 -0
- package/lib/PageHeader/index.js +15 -0
- package/lib/PageHeader/style/index.d.ts +2 -0
- package/lib/PageHeader/style/index.js +5 -0
- package/lib/PageHeader/style/index.less +1 -0
- package/lib/Popover/index.d.ts +1 -0
- package/lib/Radio/components/Group/index.d.ts +6 -0
- package/lib/Radio/components/Group/index.js +93 -0
- package/lib/Radio/components/Radio/index.d.ts +3 -0
- package/lib/Radio/components/Radio/index.js +115 -0
- package/lib/Radio/index.d.ts +9 -2
- package/lib/Radio/index.js +5 -3
- package/lib/Radio/interface/radio.d.ts +24 -0
- package/lib/Radio/interface/radio.js +5 -0
- package/lib/Radio/interface/radioGroup.d.ts +42 -0
- package/lib/Radio/interface/radioGroup.js +5 -0
- package/lib/Radio/style/index.less +348 -0
- package/lib/Select/index.js +1 -1
- package/lib/Select/rc-select/OptionList.js +8 -7
- package/lib/Select/rc-select/Selector/MultipleSelector.js +11 -1
- package/lib/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/lib/Select/style/index.less +70 -45
- package/lib/Select/style/variables.less +45 -45
- package/lib/Select/utils/iconUtil.d.ts +2 -2
- package/lib/Select/utils/iconUtil.js +13 -7
- package/lib/Steps/components/ProcessIcon/index.d.ts +6 -0
- package/lib/Steps/components/ProcessIcon/index.js +19 -0
- package/lib/Steps/components/Step/index.d.ts +20 -0
- package/lib/Steps/components/Step/index.js +61 -0
- package/lib/Steps/index.d.ts +36 -2
- package/lib/Steps/index.js +34 -1
- package/lib/Steps/matchMedia.mock.d.ts +1 -0
- package/lib/Steps/matchMedia.mock.js +17 -0
- package/lib/Steps/style/index.less +251 -0
- package/lib/Switch/index.d.ts +46 -2
- package/lib/Switch/index.js +78 -1
- package/lib/Switch/style/index.less +129 -0
- package/lib/Table/Table.d.ts +2 -1
- package/lib/Table/Table.js +228 -332
- package/lib/Table/components/Empty/index.d.ts +3 -0
- package/lib/Table/components/Empty/index.js +30 -0
- package/lib/Table/components/Loading/index.d.ts +3 -0
- package/lib/Table/components/Loading/index.js +33 -0
- package/lib/Table/components/TableBodyRowList/index.d.ts +13 -0
- package/lib/Table/components/TableBodyRowList/index.js +108 -0
- package/lib/Table/components/TableHead/index.d.ts +23 -0
- package/lib/Table/components/TableHead/index.js +286 -0
- package/lib/Table/constant.d.ts +1 -0
- package/lib/Table/constant.js +1 -0
- package/lib/Table/hooks/useFrame.d.ts +7 -0
- package/lib/Table/hooks/useFrame.js +98 -0
- package/lib/Table/hooks/useTableColumn.d.ts +28 -0
- package/lib/Table/hooks/useTableColumn.js +66 -0
- package/lib/Table/interface.d.ts +3 -2
- package/lib/Table/style/index.less +33 -30
- package/lib/Table/utils.d.ts +15 -0
- package/lib/Table/utils.js +147 -0
- package/lib/Tabs/index.js +9 -11
- package/lib/Tabs/style/index.less +57 -25
- package/lib/_utils/hooks/useId.d.ts +4 -0
- package/lib/_utils/hooks/useId.js +36 -0
- package/lib/index.d.ts +9 -5
- package/lib/index.js +16 -0
- package/lib/locale/default.d.ts +2 -0
- package/lib/locale/default.js +13 -0
- package/lib/locale/en_US.d.ts +3 -0
- package/lib/locale/en_US.js +146 -0
- package/lib/locale/zh_CN.d.ts +3 -2
- package/lib/locale/zh_CN.js +134 -2
- package/lib/locale-provider/LocaleReceiver.d.ts +4 -0
- package/lib/locale-provider/LocaleReceiver.js +23 -0
- package/lib/locale-provider/context.d.ts +7 -0
- package/lib/locale-provider/context.js +12 -0
- package/lib/locale-provider/default.d.ts +2 -0
- package/lib/locale-provider/default.js +13 -0
- package/lib/locale-provider/en_US.d.ts +2 -0
- package/lib/locale-provider/en_US.js +13 -0
- package/lib/locale-provider/index.d.ts +65 -0
- package/lib/locale-provider/index.js +116 -0
- package/lib/locale-provider/style/index.d.ts +1 -0
- package/lib/locale-provider/style/index.js +3 -0
- package/lib/locale-provider/style/index.less +2 -0
- package/lib/locale-provider/zh_CN.d.ts +2 -0
- package/lib/locale-provider/zh_CN.js +13 -0
- package/lib/style/index.d.ts +0 -1
- package/lib/style/index.js +0 -2
- package/lib/style/index.less +2 -2
- package/lib/style/themes/default/index.less +30 -30
- package/package.json +11 -8
|
@@ -15,12 +15,9 @@
|
|
|
15
15
|
display: inline-flex;
|
|
16
16
|
align-items: center;
|
|
17
17
|
justify-content: center;
|
|
18
|
-
height: @height-base;
|
|
19
18
|
font-weight: 500;
|
|
20
19
|
font-size: 12px;
|
|
21
|
-
line-height: @height-base;
|
|
22
20
|
text-shadow: none;
|
|
23
|
-
vertical-align: bottom;
|
|
24
21
|
}
|
|
25
22
|
|
|
26
23
|
&.ant-btn-loading::before {
|
|
@@ -28,198 +25,196 @@
|
|
|
28
25
|
}
|
|
29
26
|
|
|
30
27
|
&-primary {
|
|
31
|
-
color: @
|
|
32
|
-
background-color: @
|
|
33
|
-
border-color: @
|
|
28
|
+
color: @button-primary-color;
|
|
29
|
+
background-color: @button-primary-bg-color;
|
|
30
|
+
border-color: @button-primary-bg-color;
|
|
34
31
|
box-shadow: none;
|
|
35
32
|
|
|
36
33
|
&:focus {
|
|
37
34
|
//text-shadow: @text-shadow;
|
|
38
|
-
color: @
|
|
39
|
-
background-color: @
|
|
40
|
-
border-color: @
|
|
35
|
+
color: @button-primary-color;
|
|
36
|
+
background-color: @button-primary-bg-color;
|
|
37
|
+
border-color: @button-primary-bg-color;
|
|
41
38
|
box-shadow: none;
|
|
42
39
|
}
|
|
43
40
|
|
|
44
41
|
&:hover,
|
|
45
42
|
&:active {
|
|
46
|
-
color: @
|
|
47
|
-
background-color: @
|
|
48
|
-
border-color: @
|
|
43
|
+
color: @button-primary-color-active;
|
|
44
|
+
background-color: @button-primary-bg-color-active;
|
|
45
|
+
border-color: @button-primary-bg-color-active;
|
|
49
46
|
}
|
|
50
47
|
|
|
51
48
|
&.ant-btn-loading,
|
|
52
49
|
&[disabled] {
|
|
53
|
-
color: @
|
|
54
|
-
background-color: @
|
|
55
|
-
border-color: @
|
|
50
|
+
color: @button-primary-color-disable;
|
|
51
|
+
background-color: @button-primary-bg-color-disable;
|
|
52
|
+
border-color: @button-primary-bg-color-disable;
|
|
56
53
|
cursor: default;
|
|
57
54
|
|
|
58
55
|
&:hover,
|
|
59
56
|
&:focus,
|
|
60
57
|
&:active {
|
|
61
|
-
color: @
|
|
62
|
-
background-color: @
|
|
63
|
-
border-color: @
|
|
58
|
+
color: @button-primary-color-disable;
|
|
59
|
+
background-color: @button-primary-bg-color-disable;
|
|
60
|
+
border-color: @button-primary-bg-color-disable;
|
|
64
61
|
}
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
|
|
68
65
|
&-dangerous {
|
|
69
|
-
color: @
|
|
70
|
-
background-color: @
|
|
71
|
-
border-color: @
|
|
66
|
+
color: @button-dangerous-color;
|
|
67
|
+
background-color: @button-dangerous-bg-color;
|
|
68
|
+
border-color: @button-dangerous-bg-color;
|
|
72
69
|
box-shadow: unset;
|
|
73
70
|
|
|
74
71
|
&:focus {
|
|
75
|
-
color: @
|
|
76
|
-
background-color: @
|
|
77
|
-
border-color: @
|
|
72
|
+
color: @button-dangerous-color;
|
|
73
|
+
background-color: @button-dangerous-bg-color;
|
|
74
|
+
border-color: @button-dangerous-bg-color;
|
|
78
75
|
box-shadow: unset;
|
|
79
76
|
}
|
|
80
77
|
|
|
81
78
|
&:hover,
|
|
82
79
|
&:active {
|
|
83
|
-
color: @
|
|
84
|
-
background-color: @
|
|
85
|
-
border-color: @
|
|
80
|
+
color: @button-dangerous-color-active;
|
|
81
|
+
background-color: @button-dangerous-bg-color-active;
|
|
82
|
+
border-color: @button-dangerous-bg-color-active;
|
|
86
83
|
}
|
|
87
84
|
|
|
88
85
|
&[disabled],
|
|
89
86
|
&.ant-btn-loading {
|
|
90
|
-
color: @
|
|
91
|
-
background-color: @
|
|
92
|
-
border-color: @
|
|
87
|
+
color: @button-dangerous-color-disable;
|
|
88
|
+
background-color: @button-dangerous-bg-color-disable;
|
|
89
|
+
border-color: @button-dangerous-bg-color-disable;
|
|
93
90
|
cursor: default;
|
|
94
91
|
|
|
95
92
|
&:hover,
|
|
96
93
|
&:focus,
|
|
97
94
|
&:active {
|
|
98
|
-
color: @
|
|
99
|
-
background-color: @
|
|
100
|
-
border-color: @
|
|
95
|
+
color: @button-dangerous-color-disable;
|
|
96
|
+
background-color: @button-dangerous-bg-color-disable;
|
|
97
|
+
border-color: @button-dangerous-bg-color-disable;
|
|
101
98
|
}
|
|
102
99
|
}
|
|
103
100
|
}
|
|
104
101
|
|
|
105
102
|
&.ant-btn-circle {
|
|
106
103
|
justify-content: center;
|
|
107
|
-
min-width: @height-base;
|
|
108
|
-
height: @height-base;
|
|
109
104
|
padding: 0;
|
|
110
105
|
border-radius: 50%;
|
|
111
106
|
}
|
|
112
107
|
|
|
113
108
|
&-default,
|
|
114
109
|
&-secondary {
|
|
115
|
-
color: @
|
|
116
|
-
background-color: @
|
|
110
|
+
color: @button-secondary-color;
|
|
111
|
+
background-color: @button-secondary-bg-color;
|
|
117
112
|
border: 1px solid;
|
|
118
|
-
border-color: @
|
|
113
|
+
border-color: @button-secondary-border-color;
|
|
119
114
|
box-shadow: none;
|
|
120
115
|
|
|
121
116
|
&:focus {
|
|
122
|
-
color: @
|
|
117
|
+
color: @button-secondary-color;
|
|
123
118
|
//text-shadow: @text-shadow;
|
|
124
|
-
background-color: @
|
|
125
|
-
border-color: @
|
|
119
|
+
background-color: @button-secondary-bg-color;
|
|
120
|
+
border-color: @button-secondary-border-color;
|
|
126
121
|
box-shadow: none;
|
|
127
122
|
}
|
|
128
123
|
|
|
129
124
|
&:hover,
|
|
130
125
|
&:active {
|
|
131
|
-
color: @
|
|
132
|
-
background-color: @
|
|
133
|
-
border-color: @
|
|
126
|
+
color: @button-secondary-color-active;
|
|
127
|
+
background-color: @button-secondary-bg-color-active;
|
|
128
|
+
border-color: @button-secondary-border-color-active;
|
|
134
129
|
}
|
|
135
130
|
|
|
136
131
|
&[disabled],
|
|
137
132
|
&.ant-btn-loading {
|
|
138
|
-
color: @
|
|
139
|
-
background-color: @
|
|
140
|
-
border-color: @
|
|
133
|
+
color: @button-secondary-color-disable;
|
|
134
|
+
background-color: @button-secondary-bg-color-disable;
|
|
135
|
+
border-color: @button-secondary-border-color;
|
|
141
136
|
cursor: default;
|
|
142
137
|
|
|
143
138
|
&:hover,
|
|
144
139
|
&:focus,
|
|
145
140
|
&:active {
|
|
146
|
-
color: @
|
|
147
|
-
background-color: @
|
|
148
|
-
border-color: @
|
|
141
|
+
color: @button-secondary-color-disable;
|
|
142
|
+
background-color: @button-secondary-bg-color-disable;
|
|
143
|
+
border-color: @button-secondary-border-color;
|
|
149
144
|
}
|
|
150
145
|
}
|
|
151
146
|
}
|
|
152
147
|
|
|
153
148
|
&-text {
|
|
154
|
-
color: @
|
|
155
|
-
background-color: @
|
|
149
|
+
color: @button-text-color;
|
|
150
|
+
background-color: @button-text-bg-color;
|
|
156
151
|
border: none;
|
|
157
152
|
box-shadow: none;
|
|
158
153
|
|
|
159
154
|
&:focus,
|
|
160
155
|
&:active {
|
|
161
|
-
color: @
|
|
162
|
-
background-color: @
|
|
156
|
+
color: @button-text-color;
|
|
157
|
+
background-color: @button-text-bg-color;
|
|
163
158
|
box-shadow: none;
|
|
164
159
|
}
|
|
165
160
|
|
|
166
161
|
&:hover,
|
|
167
162
|
&.ant-btn-loading {
|
|
168
|
-
color: @
|
|
169
|
-
background-color: @
|
|
163
|
+
color: @button-text-color-active;
|
|
164
|
+
background-color: @button-text-bg-color-active;
|
|
170
165
|
}
|
|
171
166
|
|
|
172
167
|
&[disabled] {
|
|
173
|
-
color: @
|
|
174
|
-
background-color: @
|
|
168
|
+
color: @button-text-color-disable;
|
|
169
|
+
background-color: @button-text-bg-color-disable;
|
|
175
170
|
cursor: default;
|
|
176
171
|
|
|
177
172
|
&:hover,
|
|
178
173
|
&:focus,
|
|
179
174
|
&:active {
|
|
180
|
-
color: @
|
|
181
|
-
background-color: @
|
|
175
|
+
color: @button-text-color-disable;
|
|
176
|
+
background-color: @button-text-bg-color-disable;
|
|
182
177
|
}
|
|
183
178
|
}
|
|
184
179
|
}
|
|
185
180
|
|
|
186
181
|
&-link {
|
|
187
|
-
color: @
|
|
182
|
+
color: @button-link-color;
|
|
188
183
|
font-weight: 400;
|
|
189
184
|
//text-shadow: @text-shadow;
|
|
190
|
-
background-color: @
|
|
191
|
-
border-color: @
|
|
185
|
+
background-color: @button-link-bg-color;
|
|
186
|
+
border-color: @button-link-bg-color;
|
|
192
187
|
box-shadow: none;
|
|
193
188
|
|
|
194
189
|
&:focus {
|
|
195
|
-
color: @
|
|
190
|
+
color: @button-link-color;
|
|
196
191
|
font-weight: 400;
|
|
197
192
|
//text-shadow: @text-shadow;
|
|
198
|
-
background-color: @
|
|
199
|
-
border-color: @
|
|
193
|
+
background-color: @button-link-bg-color;
|
|
194
|
+
border-color: @button-link-bg-color;
|
|
200
195
|
box-shadow: none;
|
|
201
196
|
}
|
|
202
197
|
|
|
203
198
|
&:hover,
|
|
204
199
|
&:active {
|
|
205
|
-
color: @
|
|
206
|
-
background-color: @
|
|
207
|
-
border-color: @
|
|
200
|
+
color: @button-link-color-active;
|
|
201
|
+
background-color: @button-link-bg-color-active;
|
|
202
|
+
border-color: @button-link-bg-color-active;
|
|
208
203
|
}
|
|
209
204
|
|
|
210
205
|
&[disabled],
|
|
211
206
|
&.ant-btn-loading {
|
|
212
|
-
color: @
|
|
213
|
-
background-color: @
|
|
214
|
-
border-color: @
|
|
207
|
+
color: @button-link-color-disable;
|
|
208
|
+
background-color: @button-link-bg-color-disable;
|
|
209
|
+
border-color: @button-link-bg-color-disable;
|
|
215
210
|
cursor: default;
|
|
216
211
|
|
|
217
212
|
&:hover,
|
|
218
213
|
&:focus,
|
|
219
214
|
&:active {
|
|
220
|
-
color: @
|
|
221
|
-
background-color: @
|
|
222
|
-
border-color: @
|
|
215
|
+
color: @button-link-color-disable;
|
|
216
|
+
background-color: @button-link-bg-color-disable;
|
|
217
|
+
border-color: @button-link-bg-color-disable;
|
|
223
218
|
}
|
|
224
219
|
}
|
|
225
220
|
}
|
|
@@ -228,112 +223,126 @@
|
|
|
228
223
|
justify-content: center;
|
|
229
224
|
width: initial;
|
|
230
225
|
padding: 0;
|
|
231
|
-
vertical-align:
|
|
232
|
-
|
|
233
|
-
&.ant-btn-loading-icon {
|
|
234
|
-
vertical-align: baseline;
|
|
235
|
-
}
|
|
236
|
-
.@{ald-iconfont-css-prefix} {
|
|
237
|
-
display: flex;
|
|
238
|
-
align-items: center;
|
|
239
|
-
justify-content: center;
|
|
240
|
-
margin: 0;
|
|
241
|
-
}
|
|
226
|
+
vertical-align: baseline;
|
|
242
227
|
}
|
|
243
228
|
|
|
244
229
|
&-large {
|
|
245
230
|
min-width: auto;
|
|
246
|
-
height: @
|
|
247
|
-
padding: @
|
|
248
|
-
font-size: @
|
|
249
|
-
border-radius: @
|
|
231
|
+
height: @button-height-large;
|
|
232
|
+
padding: @button-border-padding-large;
|
|
233
|
+
font-size: @button-text-size-large;
|
|
234
|
+
border-radius: @button-border-radius-large;
|
|
250
235
|
|
|
251
236
|
&.ant-btn-icon-only {
|
|
252
|
-
min-width: @
|
|
253
|
-
height: @
|
|
254
|
-
border-radius: @
|
|
237
|
+
min-width: @button-height-large;
|
|
238
|
+
height: @button-height-large;
|
|
239
|
+
border-radius: @button-border-radius-large;
|
|
255
240
|
}
|
|
256
241
|
|
|
257
242
|
&.ant-btn-circle {
|
|
258
|
-
min-width: @
|
|
259
|
-
height: @
|
|
243
|
+
min-width: @button-height-large;
|
|
244
|
+
height: @button-height-large;
|
|
260
245
|
border-radius: 50%;
|
|
261
246
|
}
|
|
262
247
|
|
|
248
|
+
.aldicon-icon-left {
|
|
249
|
+
svg {
|
|
250
|
+
vertical-align: -2px;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
263
254
|
.aldicon-icon-left + span {
|
|
264
|
-
margin-left: @
|
|
255
|
+
margin-left: @button-left-icon-margin-right-large;
|
|
265
256
|
}
|
|
266
257
|
}
|
|
267
258
|
|
|
268
259
|
&-middle {
|
|
269
260
|
min-width: auto;
|
|
270
|
-
height: @
|
|
271
|
-
padding: @
|
|
272
|
-
font-size: @
|
|
273
|
-
border-radius: @
|
|
261
|
+
height: @button-height-middle;
|
|
262
|
+
padding: @button-border-padding-middle;
|
|
263
|
+
font-size: @button-text-size-middle;
|
|
264
|
+
border-radius: @button-border-radius-middle;
|
|
274
265
|
|
|
275
266
|
&.ant-btn-icon-only {
|
|
276
|
-
min-width: @
|
|
277
|
-
height: @
|
|
278
|
-
border-radius: @
|
|
267
|
+
min-width: @button-height-middle;
|
|
268
|
+
height: @button-height-middle;
|
|
269
|
+
border-radius: @button-border-radius-middle;
|
|
279
270
|
}
|
|
280
271
|
|
|
281
272
|
&.ant-btn-circle {
|
|
282
|
-
min-width: @
|
|
283
|
-
height: @
|
|
273
|
+
min-width: @button-height-middle;
|
|
274
|
+
height: @button-height-middle;
|
|
284
275
|
border-radius: 50%;
|
|
285
276
|
}
|
|
286
277
|
|
|
278
|
+
.aldicon-icon-left {
|
|
279
|
+
svg {
|
|
280
|
+
vertical-align: -2px;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
287
284
|
.aldicon-icon-left + span {
|
|
288
|
-
margin-left: @
|
|
285
|
+
margin-left: @button-left-icon-margin-right-middle;
|
|
289
286
|
}
|
|
290
287
|
}
|
|
291
288
|
|
|
292
289
|
&-small {
|
|
293
|
-
height: @
|
|
294
|
-
padding: @
|
|
295
|
-
font-size: @
|
|
290
|
+
height: @button-height-small;
|
|
291
|
+
padding: @button-border-padding-small;
|
|
292
|
+
font-size: @button-text-size-small;
|
|
296
293
|
line-height: 22px;
|
|
297
|
-
border-radius: @
|
|
294
|
+
border-radius: @button-border-radius-small;
|
|
298
295
|
|
|
299
296
|
&.ant-btn-icon-only {
|
|
300
|
-
min-width: @
|
|
301
|
-
height: @
|
|
302
|
-
border-radius: @
|
|
297
|
+
min-width: @button-height-small;
|
|
298
|
+
height: @button-height-small;
|
|
299
|
+
border-radius: @button-border-radius-small;
|
|
303
300
|
}
|
|
304
301
|
|
|
305
302
|
&.ant-btn-circle {
|
|
306
|
-
min-width: @
|
|
307
|
-
height: @
|
|
303
|
+
min-width: @button-height-small;
|
|
304
|
+
height: @button-height-small;
|
|
308
305
|
border-radius: 50%;
|
|
309
306
|
}
|
|
310
307
|
|
|
308
|
+
.aldicon-icon-left {
|
|
309
|
+
svg {
|
|
310
|
+
vertical-align: -2px;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
311
314
|
.aldicon-icon-left + span {
|
|
312
|
-
margin-left: @
|
|
315
|
+
margin-left: @button-left-icon-margin-right-small;
|
|
313
316
|
}
|
|
314
317
|
}
|
|
315
318
|
|
|
316
319
|
&-mini {
|
|
317
|
-
height: @
|
|
318
|
-
padding: @
|
|
319
|
-
font-size: @
|
|
320
|
+
height: @button-height-mini;
|
|
321
|
+
padding: @button-border-padding-mini;
|
|
322
|
+
font-size: @button-text-size-mini;
|
|
320
323
|
line-height: 22px;
|
|
321
|
-
border-radius: @
|
|
324
|
+
border-radius: @button-border-radius-mini;
|
|
322
325
|
|
|
323
326
|
&.ant-btn-icon-only {
|
|
324
|
-
min-width: @
|
|
325
|
-
height: @
|
|
326
|
-
border-radius: @
|
|
327
|
+
min-width: @button-height-mini;
|
|
328
|
+
height: @button-height-mini;
|
|
329
|
+
border-radius: @button-border-radius-mini;
|
|
327
330
|
}
|
|
328
331
|
|
|
329
332
|
&.ant-btn-circle {
|
|
330
|
-
min-width: @
|
|
331
|
-
height: @
|
|
333
|
+
min-width: @button-height-mini;
|
|
334
|
+
height: @button-height-mini;
|
|
332
335
|
border-radius: 50%;
|
|
333
336
|
}
|
|
334
337
|
|
|
338
|
+
.aldicon-icon-left {
|
|
339
|
+
svg {
|
|
340
|
+
vertical-align: -2px;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
335
344
|
.aldicon-icon-left + span {
|
|
336
|
-
margin-left: @
|
|
345
|
+
margin-left: @button-left-icon-margin-right-mini;
|
|
337
346
|
}
|
|
338
347
|
}
|
|
339
348
|
}
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
@ald-prefix: ald;
|
|
2
2
|
@ald-iconfont-css-prefix: aldicon;
|
|
3
3
|
|
|
4
|
-
@
|
|
4
|
+
@button-padding: 0 12px;
|
|
5
5
|
|
|
6
6
|
/** size控制 **/
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
7
|
+
@button-height-large: 36px;
|
|
8
|
+
@button-text-size-large: 16px;
|
|
9
|
+
@button-border-radius-large: 8px;
|
|
10
|
+
@button-border-padding-large: 0 11px;
|
|
11
|
+
@button-left-icon-margin-right-large: 8px;
|
|
12
12
|
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
13
|
+
@button-height-middle: 32px;
|
|
14
|
+
@button-text-size-middle: 14px;
|
|
15
|
+
@button-border-radius-middle: 6px;
|
|
16
|
+
@button-border-padding-middle: 0 11px;
|
|
17
|
+
@button-left-icon-margin-right-middle: 8px;
|
|
18
18
|
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
23
|
-
@
|
|
19
|
+
@button-height-small: 28px;
|
|
20
|
+
@button-text-size-small: 12px;
|
|
21
|
+
@button-border-radius-small: 4px;
|
|
22
|
+
@button-border-padding-small: 0 7px;
|
|
23
|
+
@button-left-icon-margin-right-small: 4px;
|
|
24
24
|
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
-
@
|
|
25
|
+
@button-height-mini: 24px;
|
|
26
|
+
@button-text-size-mini: 12px;
|
|
27
|
+
@button-border-radius-mini: 4px;
|
|
28
|
+
@button-border-padding-mini: 0 7px;
|
|
29
|
+
@button-left-icon-margin-right-mini: 4px;
|
|
30
30
|
|
|
31
31
|
/**** type控制 ****/
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
32
|
+
@button-primary-bg-color: @B60;
|
|
33
|
+
@button-primary-bg-color-active: @B50;
|
|
34
|
+
@button-primary-bg-color-disable: @B90;
|
|
35
|
+
@button-primary-color: @ND0;
|
|
36
|
+
@button-primary-color-active: @ND0;
|
|
37
|
+
@button-primary-color-disable: @ND0;
|
|
38
38
|
|
|
39
|
-
@
|
|
40
|
-
@
|
|
41
|
-
@
|
|
42
|
-
@
|
|
43
|
-
@
|
|
44
|
-
@
|
|
39
|
+
@button-dangerous-bg-color: @SC60;
|
|
40
|
+
@button-dangerous-bg-color-active: @SC50;
|
|
41
|
+
@button-dangerous-bg-color-disable: @SC90;
|
|
42
|
+
@button-dangerous-color: @ND0;
|
|
43
|
+
@button-dangerous-color-active: @ND0;
|
|
44
|
+
@button-dangerous-color-disable: @ND0;
|
|
45
45
|
|
|
46
|
-
@
|
|
47
|
-
@
|
|
48
|
-
@
|
|
49
|
-
@
|
|
50
|
-
@
|
|
51
|
-
@
|
|
52
|
-
@
|
|
53
|
-
@
|
|
46
|
+
@button-secondary-bg-color: @BG97;
|
|
47
|
+
@button-secondary-bg-color-active: @BG95;
|
|
48
|
+
@button-secondary-bg-color-disable: @BG97;
|
|
49
|
+
@button-secondary-color: @NL30;
|
|
50
|
+
@button-secondary-color-active: @B60;
|
|
51
|
+
@button-secondary-color-disable: @NL80;
|
|
52
|
+
@button-secondary-border-color: @NL90;
|
|
53
|
+
@button-secondary-border-color-active: @B60;
|
|
54
54
|
|
|
55
|
-
@
|
|
56
|
-
@
|
|
57
|
-
@
|
|
58
|
-
@
|
|
59
|
-
@
|
|
60
|
-
@
|
|
55
|
+
@button-text-bg-color: transparent;
|
|
56
|
+
@button-text-bg-color-active: @NL97;
|
|
57
|
+
@button-text-bg-color-disable: transparent;
|
|
58
|
+
@button-text-color: @NL30;
|
|
59
|
+
@button-text-color-active: @B60;
|
|
60
|
+
@button-text-color-disable: @NL80;
|
|
61
61
|
|
|
62
|
-
@
|
|
63
|
-
@
|
|
64
|
-
@
|
|
65
|
-
@
|
|
66
|
-
@
|
|
67
|
-
@
|
|
62
|
+
@button-link-bg-color: transparent;
|
|
63
|
+
@button-link-bg-color-active: transparent;
|
|
64
|
+
@button-link-bg-color-disable: transparent;
|
|
65
|
+
@button-link-color: @B60;
|
|
66
|
+
@button-link-color-active: @B50;
|
|
67
|
+
@button-link-color-disable: @B90;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
require("antd/es/card/style");
|
|
9
|
+
|
|
10
|
+
var _card = _interopRequireDefault(require("antd/es/card"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
var _default = _card.default;
|
|
15
|
+
exports.default = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '../../style/index.less';
|
package/lib/Checkbox/index.d.ts
CHANGED