@aloudata/aloudata-design 0.3.0 → 0.3.3
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 +0 -1
- 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/{Message → Card}/style/index.d.ts +0 -0
- package/es/{Message → Card}/style/index.js +0 -0
- package/es/{Message → Card}/style/index.less +0 -0
- package/es/Checkbox/index.d.ts +0 -1
- package/es/Drawer/index.d.ts +4 -0
- package/es/Drawer/index.js +3 -0
- package/es/{Notification → Drawer}/style/index.d.ts +0 -0
- package/es/{Notification → Drawer}/style/index.js +0 -0
- package/es/{Notification → Drawer}/style/index.less +0 -0
- package/es/Dropdown/Button.js +4 -3
- package/es/Empty/image/Authority.d.ts +0 -1
- package/es/Empty/image/Dataspace.d.ts +0 -1
- package/es/Empty/image/Search.d.ts +0 -1
- package/es/Empty/image/Simple.d.ts +0 -1
- package/es/Empty/image/Worksheet.d.ts +0 -1
- package/es/Empty/image/empty.d.ts +0 -1
- 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 +2 -2
- 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 -22
- package/es/Input/components/Password/index.js +11 -16
- package/es/Input/style/index.less +102 -102
- package/es/InputNumber/index.d.ts +0 -1
- package/es/InputNumber/style/index.less +69 -69
- package/es/Menu/Divider.d.ts +0 -1
- 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 +45 -45
- package/es/Navigator/components/Header/index.d.ts +0 -1
- package/es/Navigator/components/Menu/index.d.ts +0 -1
- 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/{lib/Message → es/PageHeader}/style/index.d.ts +0 -0
- package/es/PageHeader/style/index.js +2 -0
- package/{lib/Message → es/PageHeader}/style/index.less +0 -0
- package/es/Popover/index.d.ts +0 -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 +69 -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 +5 -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.js +3 -3
- package/es/Table/style/index.less +1 -1
- package/es/Tabs/index.js +7 -9
- package/es/Tabs/style/index.less +57 -25
- package/es/index.d.ts +13 -7
- package/es/index.js +6 -3
- 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 +61 -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/{Message → message}/index.d.ts +0 -0
- package/es/{Message → message}/index.js +0 -0
- package/{lib/Notification → es/message}/style/index.d.ts +0 -0
- package/es/message/style/index.js +2 -0
- package/{lib/Notification → es/message}/style/index.less +0 -0
- package/es/{Notification → notification}/index.d.ts +0 -0
- package/es/{Notification → notification}/index.js +0 -0
- package/es/notification/style/index.d.ts +2 -0
- package/es/notification/style/index.js +2 -0
- package/es/notification/style/index.less +1 -0
- package/es/style/index.less +1 -1
- package/es/style/themes/default/index.less +30 -30
- package/lib/Breadcrumb/index.d.ts +0 -1
- 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/{Message → Card}/style/index.js +0 -0
- package/lib/Card/style/index.less +1 -0
- package/lib/Checkbox/index.d.ts +0 -1
- package/lib/Drawer/index.d.ts +4 -0
- package/lib/Drawer/index.js +15 -0
- package/lib/Drawer/style/index.d.ts +2 -0
- package/lib/{Notification → Drawer}/style/index.js +0 -0
- package/lib/Drawer/style/index.less +1 -0
- package/lib/Dropdown/Button.js +8 -6
- package/lib/Empty/image/Authority.d.ts +0 -1
- package/lib/Empty/image/Dataspace.d.ts +0 -1
- package/lib/Empty/image/Search.d.ts +0 -1
- package/lib/Empty/image/Simple.d.ts +0 -1
- package/lib/Empty/image/Worksheet.d.ts +0 -1
- package/lib/Empty/image/empty.d.ts +0 -1
- 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 +2 -2
- 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 -22
- package/lib/Input/components/Password/index.js +13 -17
- package/lib/Input/style/index.less +102 -102
- package/lib/InputNumber/index.d.ts +0 -1
- package/lib/InputNumber/style/index.less +69 -69
- package/lib/Menu/Divider.d.ts +0 -1
- 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 +45 -45
- package/lib/Navigator/components/Header/index.d.ts +0 -1
- package/lib/Navigator/components/Menu/index.d.ts +0 -1
- 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 +0 -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 +69 -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 +5 -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.js +3 -3
- package/lib/Table/style/index.less +1 -1
- package/lib/Tabs/index.js +9 -11
- package/lib/Tabs/style/index.less +57 -25
- package/lib/index.d.ts +13 -7
- package/lib/index.js +34 -10
- 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 +61 -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/{Message → message}/index.d.ts +0 -0
- package/lib/{Message → message}/index.js +0 -0
- package/lib/message/style/index.d.ts +2 -0
- package/lib/message/style/index.js +5 -0
- package/lib/message/style/index.less +1 -0
- package/lib/{Notification → notification}/index.d.ts +0 -0
- package/lib/{Notification → notification}/index.js +0 -0
- package/lib/notification/style/index.d.ts +2 -0
- package/lib/notification/style/index.js +5 -0
- package/lib/notification/style/index.less +1 -0
- package/lib/style/index.less +1 -1
- package/lib/style/themes/default/index.less +30 -30
- package/package.json +11 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _excluded = ["size"];
|
|
1
|
+
var _excluded = ["size", "className"];
|
|
2
2
|
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
4
|
|
|
@@ -7,35 +7,24 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import AntdInput from 'antd/lib/input/Input';
|
|
9
9
|
import classnames from 'classnames';
|
|
10
|
+
export function getSizeType(sizeType) {
|
|
11
|
+
if (['mini', 'small', 'middle', 'large'].includes(sizeType)) {
|
|
12
|
+
return sizeType;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return 'middle';
|
|
16
|
+
}
|
|
10
17
|
var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
11
18
|
var _props$size = props.size,
|
|
12
|
-
size = _props$size === void 0 ? '
|
|
19
|
+
size = _props$size === void 0 ? 'middle' : _props$size,
|
|
20
|
+
className = props.className,
|
|
13
21
|
rest = _objectWithoutProperties(props, _excluded);
|
|
14
22
|
|
|
15
|
-
var getInputSize = function getInputSize(inputSize) {
|
|
16
|
-
if (inputSize === 'small' || inputSize === 'large') {
|
|
17
|
-
return inputSize;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return 'middle';
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
var getClassName = function getClassName(inputSize) {
|
|
24
|
-
return classnames('ald-input', {
|
|
25
|
-
'ald-input-small': inputSize === 'small',
|
|
26
|
-
'ald-input-large': inputSize === 'large',
|
|
27
|
-
'ald-input-mini': inputSize === 'mini',
|
|
28
|
-
'ald-input-middle': !['small', 'mini', 'large'].includes(inputSize),
|
|
29
|
-
'ald-input-showCount': props.showCount
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
|
|
33
23
|
return /*#__PURE__*/React.createElement(AntdInput, Object.assign({}, rest, {
|
|
34
24
|
// @ts-ignore
|
|
35
25
|
ref: ref,
|
|
36
|
-
size: getInputSize(size),
|
|
37
26
|
bordered: true,
|
|
38
|
-
className:
|
|
27
|
+
className: classnames('ald-input', "ald-input-".concat(getSizeType(size)), className),
|
|
39
28
|
addonAfter: null,
|
|
40
29
|
addonBefore: null,
|
|
41
30
|
suffix: null
|
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
import "@aloudata/icons-react/styles/index.less";
|
|
2
|
+
import _EyeOffLine from "@aloudata/icons-react/es/icons/EyeOffLine";
|
|
3
|
+
import "@aloudata/icons-react/styles/index.less";
|
|
4
|
+
import _EyeOnLine from "@aloudata/icons-react/es/icons/EyeOnLine";
|
|
5
|
+
var _excluded = ["size", "className"];
|
|
2
6
|
|
|
3
7
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
8
|
|
|
5
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
10
|
|
|
7
11
|
import React from 'react';
|
|
8
|
-
import EyeOffLine from '../../../Icon/icons/EyeOffLine';
|
|
9
|
-
import EyeOnLine from '../../../Icon/icons/EyeOnLine';
|
|
10
12
|
import AntdPassword from 'antd/lib/input/Password';
|
|
13
|
+
import { getSizeType } from '../Input';
|
|
11
14
|
import classnames from 'classnames'; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
12
15
|
|
|
13
16
|
export default /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
14
17
|
var _props$size = props.size,
|
|
15
|
-
size = _props$size === void 0 ? '
|
|
18
|
+
size = _props$size === void 0 ? 'middle' : _props$size,
|
|
19
|
+
className = props.className,
|
|
16
20
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
17
21
|
|
|
18
|
-
var getClassName = function getClassName(inputSize) {
|
|
19
|
-
return classnames('ald-input', {
|
|
20
|
-
'ald-input-small': inputSize === 'small',
|
|
21
|
-
'ald-input-large': inputSize === 'large',
|
|
22
|
-
'ald-input-mini': inputSize === 'mini',
|
|
23
|
-
'ald-input-middle': !['small', 'mini', 'large'].includes(inputSize)
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
|
|
27
22
|
return /*#__PURE__*/React.createElement(AntdPassword, Object.assign({}, restProps, {
|
|
28
23
|
ref: ref,
|
|
29
|
-
className:
|
|
24
|
+
className: classnames('ald-input', "ald-input-".concat(getSizeType(size)), className),
|
|
30
25
|
iconRender: function iconRender(visible) {
|
|
31
|
-
return visible ? /*#__PURE__*/React.createElement(
|
|
26
|
+
return visible ? /*#__PURE__*/React.createElement(_EyeOnLine, {
|
|
32
27
|
fill: "currentColor"
|
|
33
|
-
}) : /*#__PURE__*/React.createElement(
|
|
28
|
+
}) : /*#__PURE__*/React.createElement(_EyeOffLine, {
|
|
34
29
|
fill: "currentColor"
|
|
35
30
|
});
|
|
36
31
|
}
|
|
@@ -6,57 +6,57 @@
|
|
|
6
6
|
|
|
7
7
|
@ald-iconfont-css-prefix: anticon;
|
|
8
8
|
// size===large
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@input-prefix-
|
|
9
|
+
@input-height-large: 36px;
|
|
10
|
+
@input-padding-large: 5px 11px;
|
|
11
|
+
@input-font-size-large: 16px;
|
|
12
|
+
@input-border-radius-large: 8px;
|
|
13
|
+
@input-prefix-margin-right-large: 8px;
|
|
14
14
|
// size===middle
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@input-prefix-
|
|
15
|
+
@input-height-middle: 32px;
|
|
16
|
+
@input-padding-middle: 5px 11px;
|
|
17
|
+
@input-font-size-middle: 14px;
|
|
18
|
+
@input-border-radius-middle: 6px;
|
|
19
|
+
@input-prefix-margin-right-middle: 8px;
|
|
20
20
|
// size===small
|
|
21
|
-
@
|
|
22
|
-
@
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
-
@input-prefix-
|
|
21
|
+
@input-height-small: 28px;
|
|
22
|
+
@input-padding-small: 5px 7px;
|
|
23
|
+
@input-font-size-small: 12px;
|
|
24
|
+
@input-border-radius-small: 4px;
|
|
25
|
+
@input-prefix-margin-right-small: 4px;
|
|
26
26
|
// size===mini
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@input-prefix-
|
|
27
|
+
@input-height-mini: 24px;
|
|
28
|
+
@input-padding-mini: 3px 7px;
|
|
29
|
+
@input-font-size-mini: 12px;
|
|
30
|
+
@input-border-radius-mini: 4px;
|
|
31
|
+
@input-prefix-margin-right-mini: 4px;
|
|
32
32
|
//custom status
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
33
|
+
@input-border-color: @NL90;
|
|
34
|
+
@input-fontColor: @NL0;
|
|
35
|
+
@input-placeholder-color: @NL80;
|
|
36
|
+
@input-prefix-color: @NL50;
|
|
37
|
+
@input-bg-color: @BG97;
|
|
38
38
|
// active status
|
|
39
|
-
@
|
|
40
|
-
@
|
|
39
|
+
@input-active-border-color: @B60;
|
|
40
|
+
@input-box-shadow-active: 0 0 0 0.5px @B60;
|
|
41
41
|
// disabled status
|
|
42
|
-
@
|
|
43
|
-
@
|
|
44
|
-
@
|
|
42
|
+
@input-disabled-border-color: @NL90;
|
|
43
|
+
@input-disabled-bg-color: @BG95;
|
|
44
|
+
@input-disabled-font-color: @NL60;
|
|
45
45
|
|
|
46
46
|
.ant-input.ald-input {
|
|
47
47
|
color: @NL0;
|
|
48
48
|
font-weight: 400;
|
|
49
|
-
background-color: @
|
|
50
|
-
border-color: @
|
|
51
|
-
border-radius: @
|
|
49
|
+
background-color: @input-bg-color;
|
|
50
|
+
border-color: @input-border-color;
|
|
51
|
+
border-radius: @input-border-radius-middle;
|
|
52
52
|
caret-color: @B60;
|
|
53
53
|
|
|
54
54
|
&::placeholder {
|
|
55
|
-
color: @
|
|
55
|
+
color: @input-placeholder-color;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&-prefix {
|
|
59
|
-
color: @
|
|
59
|
+
color: @input-prefix-color;
|
|
60
60
|
font-size: inherit;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -67,19 +67,19 @@
|
|
|
67
67
|
&:focus,
|
|
68
68
|
&:hover,
|
|
69
69
|
&-focused {
|
|
70
|
-
border-color: @
|
|
71
|
-
box-shadow: @
|
|
70
|
+
border-color: @input-active-border-color;
|
|
71
|
+
box-shadow: @input-box-shadow-active;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&[disabled].ald-input {
|
|
75
|
-
color: @
|
|
76
|
-
background-color: @
|
|
77
|
-
border-color: @
|
|
75
|
+
color: @input-disabled-font-color;
|
|
76
|
+
background-color: @input-disabled-bg-color;
|
|
77
|
+
border-color: @input-disabled-border-color;
|
|
78
78
|
box-shadow: none;
|
|
79
79
|
cursor: default;
|
|
80
80
|
|
|
81
81
|
&::placeholder {
|
|
82
|
-
color: @
|
|
82
|
+
color: @input-placeholder-color;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -106,24 +106,24 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ant-input-affix-wrapper.ant-input-affix-wrapper {
|
|
109
|
-
background-color: @
|
|
110
|
-
border-color: @
|
|
109
|
+
background-color: @input-bg-color;
|
|
110
|
+
border-color: @input-border-color;
|
|
111
111
|
|
|
112
112
|
&:hover,
|
|
113
113
|
&:focus,
|
|
114
114
|
&-focused {
|
|
115
|
-
border-color: @
|
|
116
|
-
box-shadow: @
|
|
115
|
+
border-color: @input-active-border-color;
|
|
116
|
+
box-shadow: @input-box-shadow-active;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.ant-input {
|
|
120
120
|
color: @NL0;
|
|
121
|
-
background-color: @
|
|
121
|
+
background-color: @input-bg-color;
|
|
122
122
|
border-radius: 0;
|
|
123
123
|
caret-color: @B60;
|
|
124
124
|
|
|
125
125
|
&::placeholder {
|
|
126
|
-
color: @
|
|
126
|
+
color: @input-placeholder-color;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -154,58 +154,58 @@
|
|
|
154
154
|
|
|
155
155
|
.ant-input-affix-wrapper-focused {
|
|
156
156
|
&.ant-input-password {
|
|
157
|
-
border-color: @
|
|
158
|
-
box-shadow: @
|
|
157
|
+
border-color: @input-active-border-color;
|
|
158
|
+
box-shadow: @input-box-shadow-active;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
&:hover {
|
|
162
|
-
border-color: @
|
|
163
|
-
box-shadow: @
|
|
162
|
+
border-color: @input-active-border-color;
|
|
163
|
+
box-shadow: @input-box-shadow-active;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.ald-input {
|
|
168
168
|
&.ald-input-mini {
|
|
169
|
-
height: @
|
|
170
|
-
padding: @
|
|
171
|
-
font-size: @
|
|
172
|
-
border-radius: @
|
|
169
|
+
height: @input-height-mini;
|
|
170
|
+
padding: @input-padding-mini;
|
|
171
|
+
font-size: @input-font-size-mini;
|
|
172
|
+
border-radius: @input-border-radius-mini;
|
|
173
173
|
|
|
174
174
|
.ant-input-prefix {
|
|
175
|
-
margin-right: @input-prefix-
|
|
175
|
+
margin-right: @input-prefix-margin-right-mini;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
&.ald-input-small {
|
|
180
|
-
height: @
|
|
181
|
-
padding: @
|
|
182
|
-
font-size: @
|
|
183
|
-
border-radius: @
|
|
180
|
+
height: @input-height-small;
|
|
181
|
+
padding: @input-padding-small;
|
|
182
|
+
font-size: @input-font-size-small;
|
|
183
|
+
border-radius: @input-border-radius-small;
|
|
184
184
|
|
|
185
185
|
.ant-input-prefix {
|
|
186
|
-
margin-right: @input-prefix-
|
|
186
|
+
margin-right: @input-prefix-margin-right-small;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
&.ald-input-middle {
|
|
191
|
-
height: @
|
|
192
|
-
padding: @
|
|
193
|
-
font-size: @
|
|
194
|
-
border-radius: @
|
|
191
|
+
height: @input-height-middle;
|
|
192
|
+
padding: @input-padding-middle;
|
|
193
|
+
font-size: @input-font-size-middle;
|
|
194
|
+
border-radius: @input-border-radius-middle;
|
|
195
195
|
|
|
196
196
|
.ant-input-prefix {
|
|
197
|
-
margin-right: @input-prefix-
|
|
197
|
+
margin-right: @input-prefix-margin-right-middle;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
&.ald-input-large {
|
|
202
|
-
height: @
|
|
203
|
-
padding: @
|
|
204
|
-
font-size: @
|
|
205
|
-
border-radius: @
|
|
202
|
+
height: @input-height-large;
|
|
203
|
+
padding: @input-padding-large;
|
|
204
|
+
font-size: @input-font-size-large;
|
|
205
|
+
border-radius: @input-border-radius-large;
|
|
206
206
|
|
|
207
207
|
.ant-input-prefix {
|
|
208
|
-
margin-right: @input-prefix-
|
|
208
|
+
margin-right: @input-prefix-margin-right-large;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
}
|
|
@@ -218,27 +218,27 @@
|
|
|
218
218
|
|
|
219
219
|
.ald-input-group-large {
|
|
220
220
|
.ald-input {
|
|
221
|
-
height: @
|
|
222
|
-
padding: @
|
|
223
|
-
font-size: @
|
|
221
|
+
height: @input-height-large;
|
|
222
|
+
padding: @input-padding-large;
|
|
223
|
+
font-size: @input-font-size-large;
|
|
224
224
|
|
|
225
225
|
&.ant-input {
|
|
226
|
-
border-radius: @
|
|
226
|
+
border-radius: @input-border-radius-large;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ant-input-prefix {
|
|
230
|
-
margin-right: @input-prefix-
|
|
230
|
+
margin-right: @input-prefix-margin-right-large;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
&.ant-input-group-compact {
|
|
235
235
|
.ald-input {
|
|
236
236
|
&:first-of-type {
|
|
237
|
-
border-radius: @
|
|
237
|
+
border-radius: @input-border-radius-large 0 0 @input-border-radius-large;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
&:last-of-type {
|
|
241
|
-
border-radius: 0 @
|
|
241
|
+
border-radius: 0 @input-border-radius-large @input-border-radius-large 0;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
}
|
|
@@ -246,28 +246,28 @@
|
|
|
246
246
|
|
|
247
247
|
.ald-input-group-middle {
|
|
248
248
|
.ald-input {
|
|
249
|
-
height: @
|
|
250
|
-
padding: @
|
|
251
|
-
font-size: @
|
|
252
|
-
border-radius: @
|
|
249
|
+
height: @input-height-middle;
|
|
250
|
+
padding: @input-padding-middle;
|
|
251
|
+
font-size: @input-font-size-middle;
|
|
252
|
+
border-radius: @input-border-radius-middle;
|
|
253
253
|
|
|
254
254
|
&.ant-input {
|
|
255
|
-
border-radius: @
|
|
255
|
+
border-radius: @input-border-radius-middle;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
.ant-input-prefix {
|
|
259
|
-
margin-right: @input-prefix-
|
|
259
|
+
margin-right: @input-prefix-margin-right-middle;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
&.ant-input-group-compact {
|
|
264
264
|
.ald-input {
|
|
265
265
|
&:first-of-type {
|
|
266
|
-
border-radius: @
|
|
266
|
+
border-radius: @input-border-radius-middle 0 0 @input-border-radius-middle;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
&:last-of-type {
|
|
270
|
-
border-radius: 0 @
|
|
270
|
+
border-radius: 0 @input-border-radius-middle @input-border-radius-middle 0;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -275,28 +275,28 @@
|
|
|
275
275
|
|
|
276
276
|
.ald-input-group-small {
|
|
277
277
|
.ald-input {
|
|
278
|
-
height: @
|
|
279
|
-
padding: @
|
|
280
|
-
font-size: @
|
|
281
|
-
border-radius: @
|
|
278
|
+
height: @input-height-small;
|
|
279
|
+
padding: @input-padding-small;
|
|
280
|
+
font-size: @input-font-size-small;
|
|
281
|
+
border-radius: @input-border-radius-small;
|
|
282
282
|
|
|
283
283
|
&.ant-input {
|
|
284
|
-
border-radius: @
|
|
284
|
+
border-radius: @input-border-radius-small;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.ant-input-prefix {
|
|
288
|
-
margin-right: @input-prefix-
|
|
288
|
+
margin-right: @input-prefix-margin-right-small;
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
&.ant-input-group-compact {
|
|
293
293
|
.ald-input {
|
|
294
294
|
&:first-of-type {
|
|
295
|
-
border-radius: @
|
|
295
|
+
border-radius: @input-border-radius-small 0 0 @input-border-radius-small;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
&:last-of-type {
|
|
299
|
-
border-radius: 0 @
|
|
299
|
+
border-radius: 0 @input-border-radius-small @input-border-radius-small 0;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
}
|
|
@@ -304,28 +304,28 @@
|
|
|
304
304
|
|
|
305
305
|
.ald-input-group-mini {
|
|
306
306
|
.ald-input {
|
|
307
|
-
height: @
|
|
308
|
-
padding: @
|
|
309
|
-
font-size: @
|
|
310
|
-
border-radius: @
|
|
307
|
+
height: @input-height-mini;
|
|
308
|
+
padding: @input-padding-mini;
|
|
309
|
+
font-size: @input-font-size-mini;
|
|
310
|
+
border-radius: @input-border-radius-mini;
|
|
311
311
|
|
|
312
312
|
&.ant-input {
|
|
313
|
-
border-radius: @
|
|
313
|
+
border-radius: @input-border-radius-mini;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
.ant-input-prefix {
|
|
317
|
-
margin-right: @input-prefix-
|
|
317
|
+
margin-right: @input-prefix-margin-right-mini;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
&.ant-input-group-compact {
|
|
322
322
|
.ald-input {
|
|
323
323
|
&:first-of-type {
|
|
324
|
-
border-radius: @
|
|
324
|
+
border-radius: @input-border-radius-mini 0 0 @input-border-radius-mini;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
&:last-of-type {
|
|
328
|
-
border-radius: 0 @
|
|
328
|
+
border-radius: 0 @input-border-radius-mini @input-border-radius-mini 0;
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
}
|