@aloudata/aloudata-design 1.10.14 → 2.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button/index.d.ts +3 -4
- package/dist/Button/index.js +7 -20
- package/dist/Button/style/size.less +21 -8
- package/dist/Button/style/type.less +61 -33
- package/dist/Button/style/variables.less +229 -44
- package/dist/Checkbox/style/index.less +111 -114
- package/dist/Dropdown/index.d.ts +1 -2
- package/dist/Dropdown/style/index.less +70 -107
- package/dist/Icon/components/AlertTriangleDuotone.d.ts +1 -1
- package/dist/Icon/components/AlertTriangleLine.d.ts +11 -0
- package/dist/Icon/components/AlertTriangleLine.js +35 -0
- package/dist/Icon/components/ArrowDownFill.d.ts +11 -0
- package/dist/Icon/components/ArrowDownFill.js +35 -0
- package/dist/Icon/components/AttentionCircleFill.d.ts +11 -0
- package/dist/Icon/components/AttentionCircleFill.js +35 -0
- package/dist/Icon/components/AttentionTriangleFill.d.ts +11 -0
- package/dist/Icon/components/AttentionTriangleFill.js +35 -0
- package/dist/Icon/components/AttentionTriangleLightLine.d.ts +11 -0
- package/dist/Icon/components/AttentionTriangleLightLine.js +35 -0
- package/dist/Icon/components/CancelCircleDuotone.d.ts +1 -1
- package/dist/Icon/components/CheckCircleDuotone.d.ts +1 -1
- package/dist/Icon/components/CheckCircleFill.d.ts +11 -0
- package/dist/Icon/components/CheckCircleFill.js +35 -0
- package/dist/Icon/components/CheckCircleLightLine.d.ts +11 -0
- package/dist/Icon/components/CheckCircleLightLine.js +38 -0
- package/dist/Icon/components/CheckLightLine.d.ts +11 -0
- package/dist/Icon/components/CheckLightLine.js +35 -0
- package/dist/Icon/components/ChevronDownLine.d.ts +1 -1
- package/dist/Icon/components/ChevronLeftLine.d.ts +1 -1
- package/dist/Icon/components/ChevronRightLine.d.ts +1 -1
- package/dist/Icon/components/CircleLightLine.d.ts +11 -0
- package/dist/Icon/components/CircleLightLine.js +38 -0
- package/dist/Icon/components/CloseCircleFill.d.ts +11 -0
- package/dist/Icon/components/CloseCircleFill.js +35 -0
- package/dist/Icon/components/CloseLLine.d.ts +1 -1
- package/dist/Icon/components/CloseLightLine.d.ts +11 -0
- package/dist/Icon/components/CloseLightLine.js +35 -0
- package/dist/Icon/components/CloseMLine.d.ts +1 -1
- package/dist/Icon/components/DragLine.d.ts +1 -1
- package/dist/Icon/components/Ellipsis.d.ts +11 -0
- package/dist/Icon/components/Ellipsis.js +35 -0
- package/dist/Icon/components/EyeOffLine.d.ts +1 -1
- package/dist/Icon/components/EyeOnLine.d.ts +1 -1
- package/dist/Icon/components/FoldDownFill.d.ts +1 -1
- package/dist/Icon/components/FoldUpFill.d.ts +1 -1
- package/dist/Icon/components/InfoCircleDuotone.d.ts +1 -1
- package/dist/Icon/components/InfoCircleLine.d.ts +1 -1
- package/dist/Icon/components/InformationCircleFill.d.ts +11 -0
- package/dist/Icon/components/InformationCircleFill.js +35 -0
- package/dist/Icon/components/InformationCircleLightLine.d.ts +11 -0
- package/dist/Icon/components/InformationCircleLightLine.js +38 -0
- package/dist/Icon/components/Loading2Line.d.ts +1 -1
- package/dist/Icon/components/LoadingDuotone.d.ts +11 -0
- package/dist/Icon/components/LoadingDuotone.js +39 -0
- package/dist/Icon/components/LoadingLine.d.ts +1 -1
- package/dist/Icon/components/MoreVerticalLine.d.ts +1 -1
- package/dist/Icon/components/SearchLine.d.ts +1 -1
- package/dist/Icon/components/TriangleLightLine.d.ts +11 -0
- package/dist/Icon/components/TriangleLightLine.js +35 -0
- package/dist/Icon/index.d.ts +16 -3
- package/dist/Icon/index.js +16 -2
- package/dist/Icon/svg/Loading-duotone.svg +6 -0
- package/dist/Icon/svg/alert-triangle-duotone.svg +3 -1
- package/dist/Icon/svg/alert-triangle-line.svg +5 -0
- package/dist/Icon/svg/arrow-down-fill.svg +5 -0
- package/dist/Icon/svg/attention-circle-fill.svg +5 -0
- package/dist/Icon/svg/attention-triangle-fill.svg +5 -0
- package/dist/Icon/svg/attention-triangle-light-line.svg +5 -0
- package/dist/Icon/svg/cancel-circle-duotone.svg +7 -3
- package/dist/Icon/svg/check-circle-duotone.svg +6 -2
- package/dist/Icon/svg/check-circle-fill.svg +5 -0
- package/dist/Icon/svg/check-circle-light-line.svg +8 -0
- package/dist/Icon/svg/check-light-line.svg +5 -0
- package/dist/Icon/svg/chevron-down-line.svg +6 -4
- package/dist/Icon/svg/chevron-left-line.svg +6 -4
- package/dist/Icon/svg/chevron-right-line.svg +6 -4
- package/dist/Icon/svg/circle-light-line.svg +9 -0
- package/dist/Icon/svg/close-L-line.svg +11 -9
- package/dist/Icon/svg/close-circle-fill.svg +5 -0
- package/dist/Icon/svg/close-light-line.svg +5 -0
- package/dist/Icon/svg/close-m-line.svg +6 -4
- package/dist/Icon/svg/drag-line.svg +6 -4
- package/dist/Icon/svg/ellipsis.svg +5 -0
- package/dist/Icon/svg/eye-off-line.svg +6 -4
- package/dist/Icon/svg/eye-on-line.svg +14 -8
- package/dist/Icon/svg/fold-down-fill.svg +7 -6
- package/dist/Icon/svg/fold-up-fill.svg +7 -6
- package/dist/Icon/svg/info-circle-duotone.svg +4 -2
- package/dist/Icon/svg/info-circle-line.svg +3 -1
- package/dist/Icon/svg/information-circle-fill.svg +5 -0
- package/dist/Icon/svg/information-circle-light-line.svg +9 -0
- package/dist/Icon/svg/loading-2-line.svg +4 -2
- package/dist/Icon/svg/loading-line.svg +6 -4
- package/dist/Icon/svg/more-vertical-line.svg +6 -4
- package/dist/Icon/svg/search-line.svg +6 -4
- package/dist/Icon/svg/triangle-light-line.svg +5 -0
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/IconButton/index.js +8 -19
- package/dist/IconButton/style/index.less +49 -25
- package/dist/Input/components/Input/index.js +18 -2
- package/dist/Input/components/Password/index.d.ts +0 -5
- package/dist/Input/components/Password/index.js +10 -10
- package/dist/Input/components/TextArea/index.js +15 -2
- package/dist/Input/index.d.ts +2 -5
- package/dist/Input/index.js +1 -3
- package/dist/Input/style/index.less +4 -565
- package/dist/Input/style/reset.less +22 -0
- package/dist/Input/style/size.less +82 -0
- package/dist/Input/style/status.less +105 -0
- package/dist/MemberPicker/style/index.less +2 -2
- package/dist/Menu/index.js +6 -9
- package/dist/Menu/style/index.less +72 -133
- package/dist/Modal/index.d.ts +1 -1
- package/dist/Modal/index.js +32 -43
- package/dist/Modal/style/index.less +3 -191
- package/dist/Modal/style/modal.less +132 -0
- package/dist/Modal/style/modalConfirm.less +100 -0
- package/dist/Pagination/index.js +4 -2
- package/dist/Pagination/style/index.less +11 -4
- package/dist/Popconfirm/index.js +8 -7
- package/dist/Popconfirm/style/index.less +16 -6
- package/dist/Popover/style/index.less +29 -29
- package/dist/Radio/components/Group/index.js +3 -5
- package/dist/Radio/components/Radio/index.js +2 -1
- package/dist/Radio/interface/radioGroup.d.ts +1 -1
- package/dist/Radio/style/index.less +69 -56
- package/dist/Select/components/{MultipleOption.d.ts → Option.d.ts} +2 -2
- package/dist/Select/components/{MultipleOption.js → Option.js} +14 -11
- package/dist/Select/components/SingleOption.d.ts +2 -2
- package/dist/Select/components/SingleOption.js +3 -1
- package/dist/Select/index.d.ts +5 -0
- package/dist/Select/index.js +26 -40
- package/dist/Select/style/index.less +96 -76
- package/dist/Select/style/layout.less +41 -0
- package/dist/Select/style/option.less +42 -3
- package/dist/Select/style/selectDropdown.less +17 -0
- package/dist/Select/style/size.less +95 -82
- package/dist/Select/style/status.less +69 -21
- package/dist/Select/style/variables.less +8 -15
- package/dist/Skeleton/style/index.less +84 -4
- package/dist/Spin/CustomIcon/index.d.ts +3 -0
- package/dist/Spin/CustomIcon/index.js +20 -15
- package/dist/Spin/CustomIcon/index.less +32 -105
- package/dist/Spin/index.d.ts +2 -0
- package/dist/Spin/index.js +8 -2
- package/dist/Spin/style/index.less +9 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/style/index.less +130 -56
- package/dist/Table/style/index.less +16 -8
- package/dist/Tabs/index.d.ts +2 -2
- package/dist/Tabs/index.js +4 -4
- package/dist/Tabs/style/index.less +20 -16
- package/dist/TextLink/index.d.ts +44 -0
- package/dist/TextLink/index.js +25 -0
- package/dist/TextLink/style/index.d.ts +2 -0
- package/dist/TextLink/style/index.js +2 -0
- package/dist/TextLink/style/index.less +9 -0
- package/dist/TextLink/style/size.less +37 -0
- package/dist/TextLink/style/type.less +44 -0
- package/dist/Tree/style/var.less +1 -1
- package/dist/ald.min.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.less +1 -0
- package/dist/message/index.js +15 -14
- package/dist/message/style/color.less +22 -41
- package/dist/message/style/index.less +15 -16
- package/dist/notification/demo/index.js +1 -0
- package/dist/notification/index.js +18 -18
- package/dist/notification/style/index.less +12 -6
- package/dist/style/index.less +1 -0
- package/dist/style/themes/default/default.less +1 -1
- package/dist/style/themes/default/index.less +3 -3
- package/dist/style/themes/default/scrollBar.less +1 -1
- package/dist/style/var/default.css +1334 -0
- package/package.json +4 -3
- package/dist/Icon/components/Icon.d.ts +0 -32
- package/dist/Icon/components/Icon.js +0 -25
- package/dist/Input/components/Group/index.d.ts +0 -18
- package/dist/Input/components/Group/index.js +0 -19
- package/dist/Menu/style/dropdown.less +0 -61
- package/dist/Select/style/multiple.less +0 -55
- package/dist/Select/style/single.less +0 -44
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aloudata/aloudata-design",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -12,11 +12,12 @@
|
|
|
12
12
|
"build": "father build && npm run build:minCss",
|
|
13
13
|
"build:minCss": "webpack --mode=production --node-env=production",
|
|
14
14
|
"build:watch": "father dev",
|
|
15
|
-
"cmt": "zx ./scripts/createComponentTemplate.mjs",
|
|
16
|
-
"dev": "npm run gen:icon && dumi dev",
|
|
15
|
+
"cmt": "npx zx ./scripts/createComponentTemplate.mjs",
|
|
16
|
+
"dev": "npm run gen:icon && npm run gen:vars && dumi dev",
|
|
17
17
|
"docs:build": "dumi build",
|
|
18
18
|
"doctor": "father doctor",
|
|
19
19
|
"gen:icon": "node ./scripts/genIcon.mjs",
|
|
20
|
+
"gen:vars": "npx zx ./scripts/genVariables.mjs",
|
|
20
21
|
"jest": "jest",
|
|
21
22
|
"jest:watch": "jest --watch",
|
|
22
23
|
"linkToLocal": "npm run build && node ./scripts/linkToLocal.mjs",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IBaseIconProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
type?: string;
|
|
5
|
-
size?: number | string;
|
|
6
|
-
color?: string;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
}
|
|
9
|
-
declare global {
|
|
10
|
-
interface IIconParkIconAttributes<T> extends IBaseIconProps, React.HTMLAttributes<T> {
|
|
11
|
-
'icon-id'?: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
size?: string;
|
|
14
|
-
type?: string;
|
|
15
|
-
width?: string;
|
|
16
|
-
height?: string;
|
|
17
|
-
color?: string;
|
|
18
|
-
stroke?: string;
|
|
19
|
-
fill?: string;
|
|
20
|
-
rtl?: boolean;
|
|
21
|
-
spin?: boolean;
|
|
22
|
-
className?: string;
|
|
23
|
-
style?: React.CSSProperties;
|
|
24
|
-
}
|
|
25
|
-
namespace JSX {
|
|
26
|
-
interface IntrinsicElements {
|
|
27
|
-
'iconpark-icon': React.DetailedHTMLProps<IIconParkIconAttributes<HTMLElement>, HTMLElement>;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export { IBaseIconProps };
|
|
32
|
-
export default function Icon(props: IBaseIconProps): React.JSX.Element;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
var _excluded = ["type", "size", "className", "color"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
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
|
-
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; }
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import classnames from 'classnames';
|
|
7
|
-
export default function Icon(props) {
|
|
8
|
-
var type = props.type,
|
|
9
|
-
_props$size = props.size,
|
|
10
|
-
size = _props$size === void 0 ? '1em' : _props$size,
|
|
11
|
-
_props$className = props.className,
|
|
12
|
-
className = _props$className === void 0 ? 'ald-icon' : _props$className,
|
|
13
|
-
_props$color = props.color,
|
|
14
|
-
color = _props$color === void 0 ? 'currentColor' : _props$color,
|
|
15
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
16
|
-
return /*#__PURE__*/React.createElement("iconpark-icon", _extends({
|
|
17
|
-
name: type
|
|
18
|
-
// @ts-ignore react里web-component 只能使用class
|
|
19
|
-
,
|
|
20
|
-
class: classnames('ald-icon', className),
|
|
21
|
-
size: String(size),
|
|
22
|
-
color: color,
|
|
23
|
-
fill: color
|
|
24
|
-
}, rest));
|
|
25
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GroupProps } from 'antd/lib/input';
|
|
3
|
-
import { TSize } from '../Input';
|
|
4
|
-
export interface IGroupProps extends Omit<GroupProps, 'size'> {
|
|
5
|
-
/**
|
|
6
|
-
* @description 是否用紧凑模式
|
|
7
|
-
* @default false
|
|
8
|
-
*/
|
|
9
|
-
compact?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* @description Input.Group 中所有的 Input 的大小,可选 large default small
|
|
12
|
-
* @type 'mini'|'small' | 'middle' | 'large';
|
|
13
|
-
* @default default
|
|
14
|
-
*/
|
|
15
|
-
size?: TSize;
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
export default function Group(props: IGroupProps): React.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
var _excluded = ["size", "className"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
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
|
-
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; }
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import AntdInput from 'antd/lib/input';
|
|
7
|
-
import { getSizeType } from "../Input";
|
|
8
|
-
import classnames from 'classnames';
|
|
9
|
-
var AntdGroup = AntdInput.Group;
|
|
10
|
-
export default function Group(props) {
|
|
11
|
-
var _props$size = props.size,
|
|
12
|
-
size = _props$size === void 0 ? 'middle' : _props$size,
|
|
13
|
-
_props$className = props.className,
|
|
14
|
-
className = _props$className === void 0 ? '' : _props$className,
|
|
15
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
16
|
-
return /*#__PURE__*/React.createElement(AntdGroup, _extends({
|
|
17
|
-
className: classnames("ald-input-group-".concat(getSizeType(size)), className)
|
|
18
|
-
}, rest));
|
|
19
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// Menu 和子menu的样式
|
|
2
|
-
.dropdown-menu-content {
|
|
3
|
-
background: @BG100;
|
|
4
|
-
// border: 1px solid @BG70;
|
|
5
|
-
border-radius: 0;
|
|
6
|
-
box-shadow: @shadow-L;
|
|
7
|
-
padding: 0;
|
|
8
|
-
|
|
9
|
-
.ant-dropdown-menu-item-divider,
|
|
10
|
-
.ant-dropdown-menu-submenu-title-divider {
|
|
11
|
-
background-color: @BG70;
|
|
12
|
-
margin: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
|
16
|
-
background-color: unset;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ant-dropdown-menu-item {
|
|
20
|
-
padding: 6px 8px;
|
|
21
|
-
line-height: 20px;
|
|
22
|
-
font-size: 13px;
|
|
23
|
-
border-radius: 0;
|
|
24
|
-
|
|
25
|
-
&:hover {
|
|
26
|
-
background-color: @BG90;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.ant-dropdown-menu-item-disabled {
|
|
30
|
-
color: @NL50;
|
|
31
|
-
background-color: @BG100;
|
|
32
|
-
cursor: default;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ant-dropdown.ant-dropdown {
|
|
38
|
-
.ant-dropdown-menu.ant-dropdown-menu {
|
|
39
|
-
.dropdown-menu-content();
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu {
|
|
44
|
-
.ant-dropdown-menu-sub {
|
|
45
|
-
.dropdown-menu-content();
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.ant-dropdown-menu-submenu-popup {
|
|
49
|
-
border: 1px solid #d5d5d5;
|
|
50
|
-
border-radius: 2px;
|
|
51
|
-
min-width: 140px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&.ant-dropdown-menu-submenu-active {
|
|
55
|
-
background-color: @BG90;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.ant-dropdown-menu-submenu-expand-icon {
|
|
60
|
-
top: 8px;
|
|
61
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
@import './variables.less';
|
|
2
|
-
|
|
3
|
-
.ald-multiple-option-list {
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
color: @NL0;
|
|
8
|
-
font-size: 13px;
|
|
9
|
-
line-height: 20px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.ald-multiple-option {
|
|
13
|
-
padding: 8px 12px;
|
|
14
|
-
// height: 20px;
|
|
15
|
-
margin-left: 0;
|
|
16
|
-
display: flex;
|
|
17
|
-
height: @select-multiple-option-height;
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
|
|
21
|
-
&:hover {
|
|
22
|
-
background-color: @BG90;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.ald-multiple-option-disabled {
|
|
26
|
-
opacity: 0.5;
|
|
27
|
-
|
|
28
|
-
&:hover {
|
|
29
|
-
background: none;
|
|
30
|
-
cursor: default;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ald-multiple-option-label {
|
|
36
|
-
white-space: nowrap;
|
|
37
|
-
margin-left: 4px;
|
|
38
|
-
flex: 1;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.ald-select-multiple .ant-select {
|
|
42
|
-
.ant-select-selector {
|
|
43
|
-
border: none;
|
|
44
|
-
background: none;
|
|
45
|
-
padding: 0;
|
|
46
|
-
height: auto;
|
|
47
|
-
min-height: 0;
|
|
48
|
-
cursor: text;
|
|
49
|
-
align-items: flex-start;
|
|
50
|
-
|
|
51
|
-
.ant-select-selection-overflow {
|
|
52
|
-
height: 100%;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
.ald-single-option-list {
|
|
2
|
-
color: @NL0;
|
|
3
|
-
font-size: 13px;
|
|
4
|
-
line-height: 20px;
|
|
5
|
-
|
|
6
|
-
.ald-single-option {
|
|
7
|
-
padding: 4px 12px;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
margin-left: 0;
|
|
11
|
-
height: @select-single-option-height;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
|
|
15
|
-
&:hover {
|
|
16
|
-
background-color: @BG90;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ald-icons-check-line {
|
|
20
|
-
height: 20px;
|
|
21
|
-
width: 20px;
|
|
22
|
-
margin-right: 8px;
|
|
23
|
-
flex-shrink: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ald-single-option-text {
|
|
27
|
-
white-space: nowrap;
|
|
28
|
-
flex: 1;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.ald-single-option-disabled {
|
|
32
|
-
opacity: 0.5;
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
background: none;
|
|
36
|
-
cursor: default;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.ald-single-option-selected {
|
|
41
|
-
background: var(--colors-blue-100, #f0f6ff);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|