@aloudata/aloudata-design 1.10.14 → 2.0.0-beta.10
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/Avatar/component/Avatar/index.js +9 -7
- package/dist/Avatar/style/index.less +8 -1
- 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 +236 -48
- package/dist/Checkbox/index.js +10 -4
- package/dist/Checkbox/style/index.less +117 -108
- package/dist/Checkbox/type.d.ts +11 -0
- package/dist/ColorPicker/style/index.less +1 -2
- package/dist/DataPreviewTable/constant.d.ts +1 -1
- package/dist/DataPreviewTable/constant.js +1 -1
- package/dist/DataPreviewTable/style/index.less +11 -11
- package/dist/Dropdown/index.d.ts +1 -2
- package/dist/Dropdown/style/index.less +71 -107
- package/dist/Empty/image/Search.js +2 -2
- package/dist/Empty/image/SearchSmall.js +2 -2
- package/dist/Empty/index.js +2 -1
- package/dist/Empty/style/index.less +2 -1
- package/dist/Form/style/index.less +27 -6
- 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/CloseCircleLightLine.d.ts +11 -0
- package/dist/Icon/components/CloseCircleLightLine.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/components/User.d.ts +11 -0
- package/dist/Icon/components/User.js +41 -0
- package/dist/Icon/components/UserGroup.d.ts +11 -0
- package/dist/Icon/components/UserGroup.js +39 -0
- package/dist/Icon/index.d.ts +19 -3
- package/dist/Icon/index.js +19 -2
- package/dist/Icon/svg/Close-Circle-light-line.svg +5 -0
- 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/Icon/svg/user.svg +4 -0
- package/dist/Icon/svg/userGroup.svg +7 -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/InputNumber/style/index.less +12 -9
- package/dist/MemberPicker/components/MultipleOption.js +4 -3
- package/dist/MemberPicker/components/NickLabel.d.ts +2 -0
- package/dist/MemberPicker/components/NickLabel.js +8 -2
- package/dist/MemberPicker/components/Panel.js +2 -2
- package/dist/MemberPicker/components/SelectedMemberTags.js +4 -1
- package/dist/MemberPicker/components/SingleOption.js +1 -0
- package/dist/MemberPicker/index.js +2 -0
- package/dist/MemberPicker/interface.d.ts +1 -0
- package/dist/MemberPicker/style/index.less +38 -30
- package/dist/Menu/index.js +6 -9
- package/dist/Menu/style/index.less +71 -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/Navigator/style/index.less +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +11 -3
- package/dist/Pagination/style/index.less +11 -4
- package/dist/Pagination/types.d.ts +1 -0
- package/dist/Popconfirm/index.js +8 -7
- package/dist/Popconfirm/style/index.less +58 -12
- 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/ScrollArea/index.d.ts +1 -0
- package/dist/ScrollArea/index.js +5 -2
- package/dist/ScrollArea/style/index.less +5 -0
- 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 +28 -40
- package/dist/Select/style/index.less +109 -77
- package/dist/Select/style/layout.less +43 -0
- package/dist/Select/style/option.less +42 -3
- package/dist/Select/style/selectDropdown.less +16 -0
- package/dist/Select/style/size.less +316 -84
- package/dist/Select/style/status.less +69 -21
- package/dist/Select/style/variables.less +13 -17
- 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 +10 -5
- package/dist/Spin/style/index.less +17 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/style/index.less +130 -56
- package/dist/Table/components/Pagination/index.js +3 -1
- package/dist/Table/index.js +18 -3
- package/dist/Table/style/index.less +24 -10
- package/dist/Table/types.d.ts +1 -0
- package/dist/Tabs/index.d.ts +7 -2
- package/dist/Tabs/index.js +9 -6
- package/dist/Tabs/style/index.less +29 -18
- package/dist/TextLink/index.d.ts +44 -0
- package/dist/TextLink/index.js +26 -0
- package/dist/TextLink/style/index.d.ts +2 -0
- package/dist/TextLink/style/index.js +2 -0
- package/dist/TextLink/style/index.less +14 -0
- package/dist/TextLink/style/size.less +37 -0
- package/dist/TextLink/style/type.less +44 -0
- package/dist/Tree/DirectoryTree.js +0 -12
- package/dist/Tree/Tree.js +2 -2
- package/dist/Tree/demo/directoryTree/index.d.ts +3 -0
- package/dist/Tree/demo/directoryTree/index.js +44 -0
- package/dist/Tree/style/index.less +31 -12
- package/dist/Tree/style/mixin.less +3 -5
- package/dist/Tree/style/reset.less +15 -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/footer.d.ts +3 -0
- package/dist/notification/demo/footer.js +44 -0
- package/dist/notification/demo/index.js +1 -0
- package/dist/notification/index.js +84 -55
- package/dist/notification/style/index.less +53 -9
- package/dist/style/index.less +1 -0
- package/dist/style/themes/default/default.less +1 -1
- package/dist/style/themes/default/index.less +4 -4
- 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/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export type { CollapsePanelProps, CollapseProps } from './Collapse';
|
|
|
22
22
|
export { default as ColorPicker } from './ColorPicker';
|
|
23
23
|
export type { IColorPickerProps } from './ColorPicker';
|
|
24
24
|
export { default as ConfigProvider } from './ConfigProvider';
|
|
25
|
+
export type { SizeType } from './ConfigProvider/sizeContext';
|
|
25
26
|
export { default as DataPreviewTable } from './DataPreviewTable';
|
|
26
27
|
export type { ITableProps as DataPreviewTableProps, DataPreviewTableRef, PreviewColumn, } from './DataPreviewTable/interface';
|
|
27
28
|
export { default as DatePicker } from './DatePicker';
|
|
@@ -36,7 +37,6 @@ export { default as Empty } from './Empty';
|
|
|
36
37
|
export type { IEmptyProps as EmptyProps } from './Empty';
|
|
37
38
|
export { default as Form } from './Form';
|
|
38
39
|
export type { FormInstance, FormItemProps, FormProps } from './Form';
|
|
39
|
-
export { default as Icon } from './Icon';
|
|
40
40
|
export { default as IconButton } from './IconButton';
|
|
41
41
|
export { default as Input } from './Input';
|
|
42
42
|
export type { IInputProps as InputProps, InputRef, TSize, TextAreaRef, } from './Input';
|
|
@@ -83,6 +83,7 @@ export { default as Tabs } from './Tabs';
|
|
|
83
83
|
export type { ITabsProps as TabsProps, TabsSize } from './Tabs';
|
|
84
84
|
export { default as Tag } from './Tag';
|
|
85
85
|
export type { TagProps, TagType } from './Tag';
|
|
86
|
+
export { default as TextLink } from './TextLink';
|
|
86
87
|
export { default as Tooltip } from './Tooltip';
|
|
87
88
|
export type { ActionType as TooltipActionType, ITooltipProps as TooltipProps, } from './Tooltip';
|
|
88
89
|
export { default as Tree } from './Tree';
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,6 @@ export { default as Drawer } from "./Drawer";
|
|
|
20
20
|
export { default as Dropdown } from "./Dropdown";
|
|
21
21
|
export { default as Empty } from "./Empty";
|
|
22
22
|
export { default as Form } from "./Form";
|
|
23
|
-
export { default as Icon } from "./Icon";
|
|
24
23
|
export { default as IconButton } from "./IconButton";
|
|
25
24
|
export { default as Input } from "./Input";
|
|
26
25
|
export { default as InputNumber } from "./InputNumber";
|
|
@@ -46,6 +45,7 @@ export { default as Switch } from "./Switch";
|
|
|
46
45
|
export { default as Table } from "./Table";
|
|
47
46
|
export { default as Tabs } from "./Tabs";
|
|
48
47
|
export { default as Tag } from "./Tag";
|
|
48
|
+
export { default as TextLink } from "./TextLink";
|
|
49
49
|
export { default as Tooltip } from "./Tooltip";
|
|
50
50
|
export { default as Tree } from "./Tree";
|
|
51
51
|
export { default as Typography } from "./Typography";
|
package/dist/index.less
CHANGED
package/dist/message/index.js
CHANGED
|
@@ -6,8 +6,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
6
6
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
7
7
|
import { message as AntdMessage } from 'antd';
|
|
8
8
|
import React from 'react';
|
|
9
|
-
import {
|
|
10
|
-
import styles from "../style/themes/default/themeColor.module.less";
|
|
9
|
+
import { AttentionTriangleFill, CheckCircleFill, CloseCircleFill, InformationCircleFill, LoadingLine } from "../Icon";
|
|
11
10
|
function isReactNode(value) {
|
|
12
11
|
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean' || _typeof(value) === 'symbol' || value === null || value === undefined || /*#__PURE__*/React.isValidElement(value);
|
|
13
12
|
}
|
|
@@ -15,35 +14,36 @@ var iconMap = {
|
|
|
15
14
|
info: {
|
|
16
15
|
icon: /*#__PURE__*/React.createElement("div", {
|
|
17
16
|
className: "ald-message-icon-wrap"
|
|
18
|
-
}, /*#__PURE__*/React.createElement(
|
|
19
|
-
|
|
17
|
+
}, /*#__PURE__*/React.createElement(InformationCircleFill, {
|
|
18
|
+
color: 'var(--alias-colors-icon-information)',
|
|
19
|
+
size: 20
|
|
20
20
|
})),
|
|
21
21
|
type: 'info'
|
|
22
22
|
},
|
|
23
23
|
success: {
|
|
24
24
|
icon: /*#__PURE__*/React.createElement("div", {
|
|
25
25
|
className: "ald-message-icon-wrap"
|
|
26
|
-
}, /*#__PURE__*/React.createElement(
|
|
27
|
-
color:
|
|
28
|
-
|
|
26
|
+
}, /*#__PURE__*/React.createElement(CheckCircleFill, {
|
|
27
|
+
color: 'var(--alias-colors-icon-success)',
|
|
28
|
+
size: 20
|
|
29
29
|
})),
|
|
30
30
|
type: 'success'
|
|
31
31
|
},
|
|
32
32
|
error: {
|
|
33
33
|
icon: /*#__PURE__*/React.createElement("div", {
|
|
34
34
|
className: "ald-message-icon-wrap"
|
|
35
|
-
}, /*#__PURE__*/React.createElement(
|
|
36
|
-
color:
|
|
37
|
-
|
|
35
|
+
}, /*#__PURE__*/React.createElement(CloseCircleFill, {
|
|
36
|
+
color: 'var(--alias-colors-icon-danger)',
|
|
37
|
+
size: 20
|
|
38
38
|
})),
|
|
39
39
|
type: 'error'
|
|
40
40
|
},
|
|
41
41
|
warning: {
|
|
42
42
|
icon: /*#__PURE__*/React.createElement("div", {
|
|
43
43
|
className: "ald-message-icon-wrap"
|
|
44
|
-
}, /*#__PURE__*/React.createElement(
|
|
45
|
-
color:
|
|
46
|
-
|
|
44
|
+
}, /*#__PURE__*/React.createElement(AttentionTriangleFill, {
|
|
45
|
+
color: 'var(--alias-colors-icon-warning)',
|
|
46
|
+
size: 20
|
|
47
47
|
})),
|
|
48
48
|
type: 'warning'
|
|
49
49
|
},
|
|
@@ -51,7 +51,8 @@ var iconMap = {
|
|
|
51
51
|
icon: /*#__PURE__*/React.createElement("div", {
|
|
52
52
|
className: "ald-message-icon-wrap"
|
|
53
53
|
}, /*#__PURE__*/React.createElement(LoadingLine, {
|
|
54
|
-
className: "ald-loading-spin"
|
|
54
|
+
className: "ald-loading-spin",
|
|
55
|
+
size: 20
|
|
55
56
|
})),
|
|
56
57
|
type: 'loading'
|
|
57
58
|
}
|
|
@@ -1,55 +1,36 @@
|
|
|
1
1
|
// info
|
|
2
|
-
.ant-message-notice-info{
|
|
3
|
-
.ant-message-custom-content{
|
|
4
|
-
background
|
|
5
|
-
color
|
|
6
|
-
|
|
7
|
-
.ald-message-icon-wrap{
|
|
8
|
-
background-color: @B95;
|
|
9
|
-
}
|
|
2
|
+
.ant-message-notice-info {
|
|
3
|
+
.ant-message-custom-content {
|
|
4
|
+
background: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
5
|
+
color: var(--colors-gray-900, #171717);
|
|
6
|
+
border-radius: var(--alias-radius-75, 6px);
|
|
10
7
|
}
|
|
11
8
|
}
|
|
12
9
|
// success
|
|
13
|
-
.ant-message-notice-success{
|
|
14
|
-
.ant-message-custom-content{
|
|
15
|
-
background
|
|
16
|
-
color
|
|
17
|
-
|
|
18
|
-
.ald-message-icon-wrap{
|
|
19
|
-
background-color: @SA40;
|
|
20
|
-
}
|
|
10
|
+
.ant-message-notice-success {
|
|
11
|
+
.ant-message-custom-content {
|
|
12
|
+
background: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
13
|
+
color: var(--global-colors-base-white-950a, #fff);
|
|
21
14
|
}
|
|
22
15
|
}
|
|
23
16
|
// error
|
|
24
|
-
.ant-message-notice-error{
|
|
25
|
-
.ant-message-custom-content{
|
|
26
|
-
background
|
|
27
|
-
color
|
|
28
|
-
|
|
29
|
-
.ald-message-icon-wrap{
|
|
30
|
-
background-color: @SC40;
|
|
31
|
-
}
|
|
17
|
+
.ant-message-notice-error {
|
|
18
|
+
.ant-message-custom-content {
|
|
19
|
+
background: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
20
|
+
color: var(--global-colors-base-white-950a, #fff);
|
|
32
21
|
}
|
|
33
22
|
}
|
|
34
23
|
// warning
|
|
35
|
-
.ant-message-notice-warning{
|
|
36
|
-
.ant-message-custom-content{
|
|
37
|
-
background
|
|
38
|
-
color
|
|
39
|
-
|
|
40
|
-
.ald-message-icon-wrap{
|
|
41
|
-
background-color: @SB40;
|
|
42
|
-
}
|
|
24
|
+
.ant-message-notice-warning {
|
|
25
|
+
.ant-message-custom-content {
|
|
26
|
+
background: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
27
|
+
color: var(--global-colors-base-white-950a, #fff);
|
|
43
28
|
}
|
|
44
29
|
}
|
|
45
30
|
// loading
|
|
46
|
-
.ant-message-notice-loading{
|
|
47
|
-
.ant-message-custom-content{
|
|
48
|
-
background
|
|
49
|
-
color
|
|
50
|
-
|
|
51
|
-
.ald-message-icon-wrap{
|
|
52
|
-
background-color: @B95;
|
|
53
|
-
}
|
|
31
|
+
.ant-message-notice-loading {
|
|
32
|
+
.ant-message-custom-content {
|
|
33
|
+
background: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
34
|
+
color: var(--colors-gray-900, #171717);
|
|
54
35
|
}
|
|
55
|
-
}
|
|
36
|
+
}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
|
-
@import './color.less';
|
|
3
2
|
|
|
4
3
|
.ant-message .ant-message-notice {
|
|
5
4
|
.ant-message-notice-content {
|
|
6
5
|
padding: 0;
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
border-radius: var(--alias-radius-75, 6px);
|
|
7
|
+
border: 1px solid var(--alias-colors-border-strong, #d1d5db);
|
|
8
|
+
background: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
9
|
+
box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.04),
|
|
10
|
+
0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
|
9
11
|
|
|
10
12
|
.ant-message-custom-content {
|
|
11
|
-
padding: 0;
|
|
12
13
|
display: flex;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
padding: var(--alias-padding-150-minus-1, 12px)
|
|
16
|
+
var(--alias-padding-200-minus-1, 16px);
|
|
13
17
|
align-items: center;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
font-
|
|
18
|
+
color: var(--alias-colors-text-default, #1f2937);
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
font-weight: 500;
|
|
17
21
|
line-height: 20px;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
font-weight: 600;
|
|
20
22
|
|
|
21
23
|
.ald-message-icon-wrap {
|
|
24
|
+
display: grid;
|
|
25
|
+
place-items: center;
|
|
22
26
|
flex-shrink: 0;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
align-items: center;
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
margin-right: 16px;
|
|
27
|
+
font-size: 20px;
|
|
28
|
+
margin-right: 6px;
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
31
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { App, Button, notification, Space, TextLink } from "../..";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default (function () {
|
|
4
|
+
var notices = function notices(type) {
|
|
5
|
+
notification[type]({
|
|
6
|
+
message: 'Notification Message',
|
|
7
|
+
description: 'description,description,description,description,description,description,description,description',
|
|
8
|
+
style: {
|
|
9
|
+
width: 360,
|
|
10
|
+
maxHeight: 500,
|
|
11
|
+
overflow: 'auto'
|
|
12
|
+
},
|
|
13
|
+
footer: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
14
|
+
type: "text",
|
|
15
|
+
onClick: function onClick() {
|
|
16
|
+
return console.log('Dismiss');
|
|
17
|
+
}
|
|
18
|
+
}, "Dismiss"), /*#__PURE__*/React.createElement(TextLink, {
|
|
19
|
+
onClick: function onClick() {
|
|
20
|
+
return console.log('Confirm');
|
|
21
|
+
}
|
|
22
|
+
}, "Confirm"))
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
return /*#__PURE__*/React.createElement(App, null, /*#__PURE__*/React.createElement(Space, {
|
|
26
|
+
direction: "vertical"
|
|
27
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
28
|
+
onClick: function onClick() {
|
|
29
|
+
return notices('success');
|
|
30
|
+
}
|
|
31
|
+
}, "Notification success with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
|
|
32
|
+
onClick: function onClick() {
|
|
33
|
+
return notices('error');
|
|
34
|
+
}
|
|
35
|
+
}, "Notification error with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
|
|
36
|
+
onClick: function onClick() {
|
|
37
|
+
return notices('warning');
|
|
38
|
+
}
|
|
39
|
+
}, "Notification warning with message\u3001description"), /*#__PURE__*/React.createElement(Button, {
|
|
40
|
+
onClick: function onClick() {
|
|
41
|
+
return notices('info');
|
|
42
|
+
}
|
|
43
|
+
}, "Notification info with message\u3001description")));
|
|
44
|
+
});
|
|
@@ -1,65 +1,58 @@
|
|
|
1
|
-
var _excluded = ["icon", "closeIcon"],
|
|
2
|
-
_excluded2 = ["icon", "closeIcon"],
|
|
3
|
-
_excluded3 = ["icon", "closeIcon"],
|
|
4
|
-
_excluded4 = ["icon", "closeIcon"];
|
|
5
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
var _excluded = ["icon", "closeIcon", "description", "footer"],
|
|
3
|
+
_excluded2 = ["icon", "closeIcon", "description", "footer"],
|
|
4
|
+
_excluded3 = ["icon", "closeIcon", "description", "footer"],
|
|
5
|
+
_excluded4 = ["icon", "closeIcon", "description", "footer"];
|
|
8
6
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9
7
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10
8
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
9
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
12
10
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11
|
+
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; }
|
|
12
|
+
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; }
|
|
13
13
|
import { notification as AntdNotification } from 'antd';
|
|
14
14
|
import classnames from 'classnames';
|
|
15
15
|
import React from 'react';
|
|
16
|
-
import {
|
|
16
|
+
import { AttentionTriangleLightLine, CheckCircleLightLine, CloseCircleLightLine, CloseLLine, InformationCircleLightLine } from "../Icon";
|
|
17
17
|
import theme from "../style/themes/default/themeColor.module.less";
|
|
18
18
|
var iconMap = {
|
|
19
|
-
info: /*#__PURE__*/React.createElement(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
19
|
+
info: /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: "ald-notification-notice-icon-success"
|
|
21
|
+
}, /*#__PURE__*/React.createElement(InformationCircleLightLine, {
|
|
22
|
+
color: "#22C55E",
|
|
23
|
+
size: 24
|
|
24
|
+
})),
|
|
25
|
+
success: /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
className: "ald-notification-notice-icon-success"
|
|
27
|
+
}, /*#__PURE__*/React.createElement(CheckCircleLightLine, {
|
|
28
|
+
color: 'var(--global-colors-green-600)',
|
|
29
|
+
size: 24
|
|
30
|
+
})),
|
|
31
|
+
error: /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: "ald-notification-notice-icon-error"
|
|
33
|
+
}, /*#__PURE__*/React.createElement(CloseCircleLightLine, {
|
|
34
|
+
color: "#EF4444",
|
|
35
|
+
size: 24
|
|
36
|
+
})),
|
|
37
|
+
warning: /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
className: "ald-notification-notice-icon-warning"
|
|
39
|
+
}, /*#__PURE__*/React.createElement(AttentionTriangleLightLine, {
|
|
34
40
|
color: "#FFB01F",
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
})
|
|
41
|
+
size: 24
|
|
42
|
+
}))
|
|
38
43
|
};
|
|
39
|
-
var closeX = /*#__PURE__*/React.createElement(
|
|
44
|
+
var closeX = /*#__PURE__*/React.createElement(CloseLLine, {
|
|
40
45
|
size: 20,
|
|
41
|
-
color:
|
|
46
|
+
color: "#171717"
|
|
42
47
|
});
|
|
43
|
-
var getSDefaultStyle = function getSDefaultStyle(
|
|
44
|
-
return
|
|
45
|
-
padding: '
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
background: theme.SC95,
|
|
52
|
-
borderColor: theme.SC60
|
|
53
|
-
}), type === 'success' && {
|
|
54
|
-
background: theme.SA95,
|
|
55
|
-
borderColor: theme.SA60
|
|
56
|
-
}), type === 'warning' && {
|
|
57
|
-
background: theme.SB95,
|
|
58
|
-
borderColor: theme.SB60
|
|
59
|
-
}), type === 'info' && {
|
|
60
|
-
background: theme.B95,
|
|
61
|
-
borderColor: theme.B60
|
|
62
|
-
});
|
|
48
|
+
var getSDefaultStyle = function getSDefaultStyle() {
|
|
49
|
+
return {
|
|
50
|
+
padding: '24px',
|
|
51
|
+
border: '1px solid #D1D5DB',
|
|
52
|
+
borderRadius: '2px',
|
|
53
|
+
boxShadow: theme.SHADOW_LG,
|
|
54
|
+
background: '#FFF'
|
|
55
|
+
};
|
|
63
56
|
};
|
|
64
57
|
var notification = {
|
|
65
58
|
open: function open(config) {
|
|
@@ -70,12 +63,21 @@ var notification = {
|
|
|
70
63
|
icon = _config$icon === void 0 ? iconMap.success : _config$icon,
|
|
71
64
|
_config$closeIcon = config.closeIcon,
|
|
72
65
|
closeIcon = _config$closeIcon === void 0 ? closeX : _config$closeIcon,
|
|
66
|
+
description = config.description,
|
|
67
|
+
footer = config.footer,
|
|
73
68
|
rest = _objectWithoutProperties(config, _excluded);
|
|
74
69
|
return AntdNotification.success(_objectSpread(_objectSpread({}, rest), {}, {
|
|
75
|
-
style: Object.assign({}, getSDefaultStyle(
|
|
70
|
+
style: Object.assign({}, getSDefaultStyle(), config.style),
|
|
76
71
|
className: classnames('ald-notification-notice', config.className),
|
|
77
72
|
icon: icon,
|
|
78
|
-
closeIcon: closeIcon
|
|
73
|
+
closeIcon: closeIcon,
|
|
74
|
+
description: /*#__PURE__*/React.createElement("div", {
|
|
75
|
+
className: "ald-notification-content"
|
|
76
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
77
|
+
className: 'ald-notification-desc'
|
|
78
|
+
}, description), footer && /*#__PURE__*/React.createElement("div", {
|
|
79
|
+
className: 'ald-notification-footer'
|
|
80
|
+
}, footer))
|
|
79
81
|
}));
|
|
80
82
|
},
|
|
81
83
|
error: function error(config) {
|
|
@@ -83,12 +85,21 @@ var notification = {
|
|
|
83
85
|
icon = _config$icon2 === void 0 ? iconMap.error : _config$icon2,
|
|
84
86
|
_config$closeIcon2 = config.closeIcon,
|
|
85
87
|
closeIcon = _config$closeIcon2 === void 0 ? closeX : _config$closeIcon2,
|
|
88
|
+
description = config.description,
|
|
89
|
+
footer = config.footer,
|
|
86
90
|
rest = _objectWithoutProperties(config, _excluded2);
|
|
87
91
|
return AntdNotification.error(_objectSpread(_objectSpread({}, rest), {}, {
|
|
88
92
|
className: classnames('ald-notification-notice', config.className),
|
|
89
|
-
style: Object.assign(getSDefaultStyle(
|
|
93
|
+
style: Object.assign(getSDefaultStyle(), config.style),
|
|
90
94
|
icon: icon,
|
|
91
|
-
closeIcon: closeIcon
|
|
95
|
+
closeIcon: closeIcon,
|
|
96
|
+
description: /*#__PURE__*/React.createElement("div", {
|
|
97
|
+
className: "ald-notification-content"
|
|
98
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
99
|
+
className: 'ald-notification-desc'
|
|
100
|
+
}, description), footer && /*#__PURE__*/React.createElement("div", {
|
|
101
|
+
className: 'ald-notification-footer'
|
|
102
|
+
}, footer))
|
|
92
103
|
}));
|
|
93
104
|
},
|
|
94
105
|
warning: function warning(config) {
|
|
@@ -96,12 +107,21 @@ var notification = {
|
|
|
96
107
|
icon = _config$icon3 === void 0 ? iconMap.warning : _config$icon3,
|
|
97
108
|
_config$closeIcon3 = config.closeIcon,
|
|
98
109
|
closeIcon = _config$closeIcon3 === void 0 ? closeX : _config$closeIcon3,
|
|
110
|
+
description = config.description,
|
|
111
|
+
footer = config.footer,
|
|
99
112
|
rest = _objectWithoutProperties(config, _excluded3);
|
|
100
113
|
return AntdNotification.warning(_objectSpread(_objectSpread({}, rest), {}, {
|
|
101
114
|
className: classnames('ald-notification-notice', config.className),
|
|
102
|
-
style: Object.assign(getSDefaultStyle(
|
|
115
|
+
style: Object.assign(getSDefaultStyle(), config.style),
|
|
103
116
|
icon: icon,
|
|
104
|
-
closeIcon: closeIcon
|
|
117
|
+
closeIcon: closeIcon,
|
|
118
|
+
description: /*#__PURE__*/React.createElement("div", {
|
|
119
|
+
className: "ald-notification-content"
|
|
120
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
121
|
+
className: 'ald-notification-desc'
|
|
122
|
+
}, description), footer && /*#__PURE__*/React.createElement("div", {
|
|
123
|
+
className: 'ald-notification-footer'
|
|
124
|
+
}, footer))
|
|
105
125
|
}));
|
|
106
126
|
},
|
|
107
127
|
info: function info(config) {
|
|
@@ -109,12 +129,21 @@ var notification = {
|
|
|
109
129
|
icon = _config$icon4 === void 0 ? iconMap.info : _config$icon4,
|
|
110
130
|
_config$closeIcon4 = config.closeIcon,
|
|
111
131
|
closeIcon = _config$closeIcon4 === void 0 ? closeX : _config$closeIcon4,
|
|
132
|
+
description = config.description,
|
|
133
|
+
footer = config.footer,
|
|
112
134
|
rest = _objectWithoutProperties(config, _excluded4);
|
|
113
135
|
return AntdNotification.info(_objectSpread(_objectSpread({}, rest), {}, {
|
|
114
136
|
className: classnames('ald-notification-notice', config.className),
|
|
115
|
-
style: Object.assign(getSDefaultStyle(
|
|
137
|
+
style: Object.assign(getSDefaultStyle(), config.style),
|
|
116
138
|
icon: icon,
|
|
117
|
-
closeIcon: closeIcon
|
|
139
|
+
closeIcon: closeIcon,
|
|
140
|
+
description: /*#__PURE__*/React.createElement("div", {
|
|
141
|
+
className: "ald-notification-content"
|
|
142
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
143
|
+
className: 'ald-notification-desc'
|
|
144
|
+
}, description), footer && /*#__PURE__*/React.createElement("div", {
|
|
145
|
+
className: 'ald-notification-footer'
|
|
146
|
+
}, footer))
|
|
118
147
|
}));
|
|
119
148
|
},
|
|
120
149
|
destroy: function destroy(key) {
|
|
@@ -2,28 +2,72 @@
|
|
|
2
2
|
|
|
3
3
|
.ald-notification-notice.ant-notification-notice {
|
|
4
4
|
.ant-notification-notice-icon {
|
|
5
|
-
top:
|
|
5
|
+
top: 24px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.ant-notification-notice-message {
|
|
9
9
|
margin-inline-start: 28px;
|
|
10
10
|
padding-inline-end: 28px;
|
|
11
|
-
margin-bottom:
|
|
11
|
+
margin-bottom: 8px !important;
|
|
12
|
+
margin-left: 56px !important;
|
|
13
|
+
color: var(--alias-colors-text-strong, #111827);
|
|
14
|
+
font-size: 18px;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
line-height: 28px; /* 155.556% */
|
|
12
17
|
}
|
|
13
18
|
|
|
14
19
|
.ant-notification-notice-description {
|
|
15
20
|
margin-inline-start: 28px;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
padding-inline-end: 28px;
|
|
22
|
+
margin-bottom: 8px !important;
|
|
23
|
+
margin-left: 56px !important;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: 16px;
|
|
27
|
+
|
|
28
|
+
.ald-notification-desc {
|
|
29
|
+
color: var(--alias-colors-text-subtle, #4b5563);
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
line-height: 20px; /* 142.857% */
|
|
33
|
+
}
|
|
20
34
|
}
|
|
21
35
|
|
|
22
36
|
.ant-notification-notice-close {
|
|
23
|
-
top:
|
|
37
|
+
top: 24px;
|
|
38
|
+
right: 24px;
|
|
39
|
+
width: fit-content;
|
|
40
|
+
height: fit-content;
|
|
24
41
|
|
|
25
|
-
&:hover{
|
|
26
|
-
background:none;
|
|
42
|
+
&:hover {
|
|
43
|
+
background: none;
|
|
27
44
|
}
|
|
28
45
|
}
|
|
29
46
|
}
|
|
47
|
+
|
|
48
|
+
.ald-notification-notice-icon-success,
|
|
49
|
+
.ald-notification-notice-icon-error,
|
|
50
|
+
.ald-notification-notice-icon-warning,
|
|
51
|
+
.ald-notification-notice-icon-info {
|
|
52
|
+
display: grid;
|
|
53
|
+
place-items: center;
|
|
54
|
+
width: 40px;
|
|
55
|
+
height: 40px;
|
|
56
|
+
border-radius: 20px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ald-notification-notice-icon-success {
|
|
60
|
+
background: var(--alias-colors-bg-accent-green-subtle-default, #dcfce7);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ald-notification-notice-icon-error {
|
|
64
|
+
background: var(--alias-colors-bg-accent-red-subtle-default, #fee2e2);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.ald-notification-notice-icon-warning {
|
|
68
|
+
background: var(--alias-colors-bg-accent-yellow-subtle-default, #fef9c3);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ald-notification-notice-icon-info {
|
|
72
|
+
background: var(--alias-colors-bg-accent-blue-subtle-default, #d4e7fd);
|
|
73
|
+
}
|
package/dist/style/index.less
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import './default.less';
|
|
3
3
|
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
4
4
|
@font-family:inter, -apple-system, PingFang SC, BlinkMacSystemFont,"Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
|
|
5
|
-
@ald-prefix:
|
|
5
|
+
@ald-prefix: ald;
|
|
6
6
|
@error-color: #d64343;
|
|
7
7
|
// large
|
|
8
8
|
@font-size-large: 16px;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@padding-bottom-large: 6px;
|
|
12
12
|
@padding-left-large: 12px;
|
|
13
13
|
@padding-right-large: 12px;
|
|
14
|
-
@border-radius-large:
|
|
14
|
+
@border-radius-large: 8px;
|
|
15
15
|
|
|
16
16
|
// middle
|
|
17
17
|
@font-size-middle: 13px;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@padding-bottom-middle: 6px;
|
|
21
21
|
@padding-left-middle: 12px;
|
|
22
22
|
@padding-right-middle: 12px;
|
|
23
|
-
@border-radius-middle:
|
|
23
|
+
@border-radius-middle: 8px;
|
|
24
24
|
|
|
25
25
|
// small
|
|
26
26
|
@font-size-small: 12px;
|
|
@@ -29,4 +29,4 @@
|
|
|
29
29
|
@padding-bottom-small: 6px;
|
|
30
30
|
@padding-left-small: 8px;
|
|
31
31
|
@padding-right-small: 8px;
|
|
32
|
-
@border-radius-small:
|
|
32
|
+
@border-radius-small: 8px;
|