@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@import '../../Result/style/index.less';
|
|
6
6
|
|
|
7
7
|
.ald-data-preview-table {
|
|
8
|
-
border: 1px solid #
|
|
8
|
+
border: 1px solid var(--alias-colors-border-default, #e5e7eb);
|
|
9
9
|
font-size: 12px;
|
|
10
10
|
position: relative;
|
|
11
11
|
|
|
@@ -15,29 +15,30 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.ald-data-preview-header {
|
|
18
|
-
height:
|
|
18
|
+
height: 32px;
|
|
19
19
|
z-index: 2;
|
|
20
|
-
background
|
|
20
|
+
background: var(--alias-colors-bg-skeleton-subtle, #f9fafb);
|
|
21
21
|
width: 100%;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.ald-data-preview-header-cell {
|
|
25
25
|
height: 100%;
|
|
26
26
|
position: relative;
|
|
27
|
-
border: 1px solid #
|
|
27
|
+
border: 1px solid var(--alias-colors-border-default, #e5e7eb);
|
|
28
28
|
border-left: none;
|
|
29
29
|
border-top: none;
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
box-sizing: border-box;
|
|
33
|
-
color: #
|
|
33
|
+
color: var(--alias-colors-text-strong, #111827);
|
|
34
34
|
font-weight: 500;
|
|
35
35
|
|
|
36
36
|
.ald-data-preview-header-default {
|
|
37
|
-
padding: 4px
|
|
37
|
+
padding: 6px 4px;
|
|
38
38
|
height: 100%;
|
|
39
39
|
width: 100%;
|
|
40
40
|
line-height: 20px;
|
|
41
|
+
background: var(--alias-colors-bg-skeleton-subtle, #f9fafb);
|
|
41
42
|
|
|
42
43
|
.ald-data-preview-header-left {
|
|
43
44
|
width: 20px;
|
|
@@ -78,15 +79,14 @@
|
|
|
78
79
|
.ald-data-preview-body-cell {
|
|
79
80
|
white-space: nowrap;
|
|
80
81
|
overflow: hidden;
|
|
81
|
-
border: 1px solid #
|
|
82
|
+
border: 1px solid var(--alias-colors-border-subtle, #f3f4f6);
|
|
82
83
|
border-left: none;
|
|
83
84
|
border-top: none;
|
|
84
|
-
padding: 2px
|
|
85
|
+
padding: 2px 4px;
|
|
85
86
|
line-height: 16px;
|
|
86
87
|
box-sizing: border-box;
|
|
87
|
-
|
|
88
|
-
font-
|
|
89
|
-
text-align: left;
|
|
88
|
+
color: var(--alias-colors-text-default, #1f2937);
|
|
89
|
+
font-size: 12px;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.ald-data-preview-body-skeleton-cell {
|
package/dist/Dropdown/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MenuProps } from 'antd';
|
|
2
|
-
import React
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import DropdownButton from './Button';
|
|
4
4
|
type Align = {
|
|
5
5
|
points?: [string, string];
|
|
@@ -36,7 +36,6 @@ export interface IDropdownProps {
|
|
|
36
36
|
* @type Menu | () => Menu
|
|
37
37
|
* @default -
|
|
38
38
|
*/
|
|
39
|
-
overlay?: ReactElement | (() => ReactElement);
|
|
40
39
|
menu?: MenuProps;
|
|
41
40
|
/**
|
|
42
41
|
* @description 下拉根元素的类名称
|
|
@@ -1,134 +1,98 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
@import '../../Button/style/index.less';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
border: 1px solid #d5d5d5;
|
|
8
|
-
border-radius: 2px;
|
|
9
|
-
box-shadow: @shadow-L;
|
|
10
|
-
|
|
11
|
-
:first-child {
|
|
12
|
-
box-shadow: none !important;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ant-dropdown-menu {
|
|
16
|
-
.ant-dropdown-menu-item.ant-dropdown-menu-item-danger {
|
|
17
|
-
&:not(.ant-dropdown-menu-item-disabled) {
|
|
18
|
-
color: #b82828;
|
|
19
|
-
|
|
20
|
-
&:hover {
|
|
21
|
-
background-color: #f8f8f8;
|
|
22
|
-
color: #b82828;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ant-dropdown-menu > .ant-dropdown-menu {
|
|
30
|
-
padding: 0;
|
|
3
|
+
// dropdown Menu 和子menu的 ul样式
|
|
4
|
+
.dropdown-menu-content {
|
|
5
|
+
background: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
6
|
+
border-radius: 0;
|
|
31
7
|
box-shadow: none;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.ant-dropdown-menu-submenu-title-content {
|
|
35
|
-
padding: 6px 24px 6px 8px;
|
|
36
|
-
line-height: 20px;
|
|
37
|
-
border-radius: 0 !important;
|
|
38
|
-
|
|
39
|
-
&:hover {
|
|
40
|
-
background-color: #f8f8f8;
|
|
41
|
-
}
|
|
8
|
+
padding: 0;
|
|
42
9
|
|
|
43
|
-
.ant-dropdown-menu-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
align-items: center;
|
|
48
|
-
height: 100%;
|
|
49
|
-
top: 0;
|
|
10
|
+
.ant-dropdown-menu-item-divider,
|
|
11
|
+
.ant-dropdown-menu-submenu-title-divider {
|
|
12
|
+
background-color: var(--alias-colors-border-subtle, #f3f4f6);
|
|
13
|
+
margin: 0;
|
|
50
14
|
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ant-dropdown > .ant-dropdown-menu {
|
|
54
|
-
min-width: @Dropdown-menu-minWidth;
|
|
55
|
-
padding: 4px;
|
|
56
|
-
color: @NL0;
|
|
57
|
-
box-shadow: @shadow-L;
|
|
58
15
|
|
|
59
|
-
.ant-
|
|
60
|
-
|
|
61
|
-
.ant-dropdown-menu-submenu-title-content();
|
|
16
|
+
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
|
17
|
+
background-color: unset;
|
|
62
18
|
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.ant-dropdown-menu-submenu > .ant-dropdown-menu {
|
|
66
|
-
padding: 4px;
|
|
67
|
-
color: @NL0;
|
|
68
|
-
box-shadow: @shadow-L;
|
|
69
19
|
|
|
70
|
-
.ant-dropdown-menu-
|
|
20
|
+
.ant-dropdown-menu-item,
|
|
21
|
+
.ant-dropdown-menu-submenu .ant-dropdown-menu-submenu-title {
|
|
71
22
|
display: flex;
|
|
72
|
-
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
padding: var(--alias-padding-100, 8px) var(--alias-padding-150, 12px);
|
|
26
|
+
border-radius: 0;
|
|
27
|
+
color: var(--alias-colors-text-default, #1f2937);
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
line-height: 20px;
|
|
32
|
+
min-width: 140px;
|
|
33
|
+
gap: var(--alias-spacing-50, 4px);
|
|
73
34
|
|
|
74
35
|
&:hover {
|
|
75
|
-
background-color:
|
|
36
|
+
background-color: unset;
|
|
76
37
|
}
|
|
77
38
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
39
|
+
.ant-dropdown-menu-item-icon {
|
|
40
|
+
font-size: 20px;
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
81
43
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
44
|
+
.ant-dropdown-menu-title-content {
|
|
45
|
+
text-overflow: ellipsis;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
white-space: nowrap;
|
|
85
48
|
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
49
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
background-color: #f8f8f8;
|
|
50
|
+
svg {
|
|
51
|
+
flex-shrink: 0;
|
|
52
|
+
}
|
|
93
53
|
}
|
|
94
54
|
|
|
95
|
-
.ant-dropdown-menu-item {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
border-radius: 0;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.ant-dropdown-menu-item,
|
|
102
|
-
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title {
|
|
103
|
-
display: flex;
|
|
104
|
-
.ant-dropdown-menu-submenu-title-content();
|
|
105
|
-
|
|
106
|
-
padding: 8px 24px 8px 8px;
|
|
55
|
+
.ant-dropdown-menu-item.ant-dropdown-menu-item-disabled {
|
|
56
|
+
cursor: default;
|
|
57
|
+
color: var(--alias-colors-text-disabled, rgba(0, 0, 0, 0.25));
|
|
107
58
|
|
|
108
59
|
&:hover {
|
|
109
|
-
background-color:
|
|
60
|
+
background-color: var(--alias-colors-bg-transp, rgba(0, 0, 0, 0));
|
|
110
61
|
}
|
|
62
|
+
}
|
|
111
63
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
64
|
+
.ant-dropdown-menu-item:hover,
|
|
65
|
+
.ant-dropdown-menu-submenu:hover,
|
|
66
|
+
.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-active {
|
|
67
|
+
background-color: var(
|
|
68
|
+
--alias-colors-bg-interaction-hover,
|
|
69
|
+
rgba(0, 0, 0, 0.05)
|
|
70
|
+
);
|
|
120
71
|
}
|
|
121
72
|
}
|
|
122
73
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
border:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
74
|
+
// 容器样式
|
|
75
|
+
.dropdown-wrap {
|
|
76
|
+
border: 1px solid var(--alias-colors-border-strong, #d1d5db);
|
|
77
|
+
border-radius: var(--alias-radius-75, 6px);
|
|
78
|
+
box-shadow: 0 10px 18px -2px rgba(0, 0, 0, 0.08);
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
padding: 4px 0;
|
|
81
|
+
background-color: var(--alias-colors-bg-skeleton-subtler, #fff);
|
|
82
|
+
}
|
|
83
|
+
// dropdown的容器
|
|
84
|
+
.ant-dropdown.ant-dropdown {
|
|
85
|
+
.dropdown-wrap();
|
|
86
|
+
// dropdown内的ul
|
|
87
|
+
.ant-dropdown-menu-root.ant-dropdown-menu {
|
|
88
|
+
.dropdown-menu-content();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
// 子级menu菜单
|
|
92
|
+
.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-popup {
|
|
93
|
+
.dropdown-wrap();
|
|
94
|
+
// dropdown 二级菜单中的ul
|
|
95
|
+
.ant-dropdown-menu-sub {
|
|
96
|
+
.dropdown-menu-content();
|
|
133
97
|
}
|
|
134
98
|
}
|
|
@@ -10,9 +10,9 @@ var Search = function Search() {
|
|
|
10
10
|
}, /*#__PURE__*/React.createElement("rect", {
|
|
11
11
|
width: "240",
|
|
12
12
|
height: "240",
|
|
13
|
-
fill: "url(#
|
|
13
|
+
fill: "url(#patternSearch)"
|
|
14
14
|
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("pattern", {
|
|
15
|
-
id: "
|
|
15
|
+
id: "patternSearch",
|
|
16
16
|
patternContentUnits: "objectBoundingBox",
|
|
17
17
|
width: "1",
|
|
18
18
|
height: "1"
|
|
@@ -9,9 +9,9 @@ var SearchSmall = function SearchSmall() {
|
|
|
9
9
|
}, /*#__PURE__*/React.createElement("rect", {
|
|
10
10
|
width: "40",
|
|
11
11
|
height: "40",
|
|
12
|
-
fill: "url(#
|
|
12
|
+
fill: "url(#patternSmall)"
|
|
13
13
|
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("pattern", {
|
|
14
|
-
id: "
|
|
14
|
+
id: "patternSmall",
|
|
15
15
|
patternContentUnits: "objectBoundingBox",
|
|
16
16
|
width: "1",
|
|
17
17
|
height: "1"
|
package/dist/Empty/index.js
CHANGED
|
@@ -7,6 +7,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
7
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; }
|
|
8
8
|
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; }
|
|
9
9
|
import classNames from 'classnames';
|
|
10
|
+
import _ from 'lodash';
|
|
10
11
|
import * as React from 'react';
|
|
11
12
|
import DataEmptyImg from "./image/Data";
|
|
12
13
|
import SearchEmptyImg from "./image/Search";
|
|
@@ -52,7 +53,7 @@ var Empty = function Empty(props) {
|
|
|
52
53
|
};
|
|
53
54
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
54
55
|
className: classNames(prefixCls, _defineProperty({}, "".concat(prefixCls, "-").concat(getSize(size)), getSize(size)), className)
|
|
55
|
-
}, restProps), /*#__PURE__*/React.createElement("div", {
|
|
56
|
+
}, restProps), !_.isNull(imageNode) && /*#__PURE__*/React.createElement("div", {
|
|
56
57
|
className: "".concat(prefixCls, "-image-wrap "),
|
|
57
58
|
style: imageStyle
|
|
58
59
|
}, imageNode), title && /*#__PURE__*/React.createElement("div", {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
|
|
3
|
-
@ald-prefix:
|
|
3
|
+
@ald-prefix: ald;
|
|
4
4
|
|
|
5
5
|
.ald-empty {
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: center;
|
|
9
9
|
justify-content: center;
|
|
10
|
+
height: 100%;
|
|
10
11
|
|
|
11
12
|
.ald-empty-image-wrap {
|
|
12
13
|
display: flex;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.ant-form {
|
|
4
4
|
&.ant-form {
|
|
5
|
-
font-size:
|
|
5
|
+
font-size: 14px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.ant-form-item {
|
|
@@ -18,18 +18,31 @@
|
|
|
18
18
|
|
|
19
19
|
label {
|
|
20
20
|
overflow: hidden;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
font-style: normal;
|
|
21
|
+
height: 32px;
|
|
22
|
+
color: var(--alias-colors-text-subtle, #4b5563);
|
|
24
23
|
font-weight: 500;
|
|
25
24
|
line-height: 20px;
|
|
26
|
-
height: 32px;
|
|
27
25
|
|
|
28
26
|
&.ant-form-item-no-colon {
|
|
29
27
|
&::after {
|
|
30
28
|
display: none;
|
|
31
29
|
}
|
|
32
30
|
}
|
|
31
|
+
|
|
32
|
+
.ant-form-item-tooltip {
|
|
33
|
+
margin-left: var(--alias-spacing-25, 2px);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.ant-form-item-required:not(
|
|
37
|
+
.ant-form-item-required-mark-optional
|
|
38
|
+
)::before {
|
|
39
|
+
width: 8px;
|
|
40
|
+
margin-right: var(--alias-spacing-25, 2px);
|
|
41
|
+
color: var(--alias-colors-text-danger, #b91c1c);
|
|
42
|
+
text-align: right;
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
}
|
|
33
46
|
}
|
|
34
47
|
}
|
|
35
48
|
|
|
@@ -40,8 +53,16 @@
|
|
|
40
53
|
.ant-form-item-control-input {
|
|
41
54
|
min-height: 20px;
|
|
42
55
|
}
|
|
43
|
-
|
|
56
|
+
// 表单元素的容器
|
|
44
57
|
.ant-form-item-control-input-content {
|
|
58
|
+
.ald-select {
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ald-input-number {
|
|
63
|
+
width: 100%;
|
|
64
|
+
}
|
|
65
|
+
|
|
45
66
|
.ald-switch {
|
|
46
67
|
display: block;
|
|
47
68
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface SVGRProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleId?: string;
|
|
7
|
+
desc?: string;
|
|
8
|
+
descId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Memo: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & SVGRProps, "ref"> & React.RefAttributes<SVGSVGElement>>>;
|
|
11
|
+
export default Memo;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var _excluded = ["title", "titleId", "desc", "descId"];
|
|
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 * as React from 'react';
|
|
6
|
+
import { forwardRef, memo } from 'react';
|
|
7
|
+
var AlertTriangleLine = function AlertTriangleLine(_ref, ref) {
|
|
8
|
+
var title = _ref.title,
|
|
9
|
+
titleId = _ref.titleId,
|
|
10
|
+
desc = _ref.desc,
|
|
11
|
+
descId = _ref.descId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
width: props.width || props.size || 16,
|
|
16
|
+
height: props.height || props.size || 16,
|
|
17
|
+
fill: "none",
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
ref: ref,
|
|
20
|
+
"aria-labelledby": titleId,
|
|
21
|
+
"aria-describedby": descId
|
|
22
|
+
}, props), desc ? /*#__PURE__*/React.createElement("desc", {
|
|
23
|
+
id: descId
|
|
24
|
+
}, desc) : null, title ? /*#__PURE__*/React.createElement("title", {
|
|
25
|
+
id: titleId
|
|
26
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: props.color || 'currentColor',
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
d: "m12 3 9 16H3l9-16Zm7.29 15H4.71L12 5.04 19.29 18Zm-7.79-4V9h1v5h-1Zm1.5 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",
|
|
30
|
+
clipRule: "evenodd"
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
33
|
+
var ForwardRef = /*#__PURE__*/forwardRef(AlertTriangleLine);
|
|
34
|
+
var Memo = /*#__PURE__*/memo(ForwardRef);
|
|
35
|
+
export default Memo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface SVGRProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleId?: string;
|
|
7
|
+
desc?: string;
|
|
8
|
+
descId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Memo: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & SVGRProps, "ref"> & React.RefAttributes<SVGSVGElement>>>;
|
|
11
|
+
export default Memo;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var _excluded = ["title", "titleId", "desc", "descId"];
|
|
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 * as React from 'react';
|
|
6
|
+
import { forwardRef, memo } from 'react';
|
|
7
|
+
var ArrowDownFill = function ArrowDownFill(_ref, ref) {
|
|
8
|
+
var title = _ref.title,
|
|
9
|
+
titleId = _ref.titleId,
|
|
10
|
+
desc = _ref.desc,
|
|
11
|
+
descId = _ref.descId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
width: props.width || props.size || 16,
|
|
16
|
+
height: props.height || props.size || 16,
|
|
17
|
+
fill: "none",
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
ref: ref,
|
|
20
|
+
"aria-labelledby": titleId,
|
|
21
|
+
"aria-describedby": descId
|
|
22
|
+
}, props), desc ? /*#__PURE__*/React.createElement("desc", {
|
|
23
|
+
id: descId
|
|
24
|
+
}, desc) : null, title ? /*#__PURE__*/React.createElement("title", {
|
|
25
|
+
id: titleId
|
|
26
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: props.color || 'currentColor',
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
d: "M7.833 9.583a.833.833 0 0 0-.589 1.423l4.167 4.167a.833.833 0 0 0 1.178 0l4.167-4.167a.833.833 0 0 0-.59-1.423H7.834Z",
|
|
30
|
+
clipRule: "evenodd"
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
33
|
+
var ForwardRef = /*#__PURE__*/forwardRef(ArrowDownFill);
|
|
34
|
+
var Memo = /*#__PURE__*/memo(ForwardRef);
|
|
35
|
+
export default Memo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface SVGRProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleId?: string;
|
|
7
|
+
desc?: string;
|
|
8
|
+
descId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Memo: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & SVGRProps, "ref"> & React.RefAttributes<SVGSVGElement>>>;
|
|
11
|
+
export default Memo;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var _excluded = ["title", "titleId", "desc", "descId"];
|
|
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 * as React from 'react';
|
|
6
|
+
import { forwardRef, memo } from 'react';
|
|
7
|
+
var AttentionCircleFill = function AttentionCircleFill(_ref, ref) {
|
|
8
|
+
var title = _ref.title,
|
|
9
|
+
titleId = _ref.titleId,
|
|
10
|
+
desc = _ref.desc,
|
|
11
|
+
descId = _ref.descId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
width: props.width || props.size || 16,
|
|
16
|
+
height: props.height || props.size || 16,
|
|
17
|
+
fill: "none",
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
ref: ref,
|
|
20
|
+
"aria-labelledby": titleId,
|
|
21
|
+
"aria-describedby": descId
|
|
22
|
+
}, props), desc ? /*#__PURE__*/React.createElement("desc", {
|
|
23
|
+
id: descId
|
|
24
|
+
}, desc) : null, title ? /*#__PURE__*/React.createElement("title", {
|
|
25
|
+
id: titleId
|
|
26
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: props.color || 'currentColor',
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm10 1a1 1 0 0 1-1-1V8a1 1 0 1 1 2 0v4a1 1 0 0 1-1 1Zm-1.5 3a1.5 1.5 0 0 1 1.5-1.5h.01a1.5 1.5 0 0 1 1.5 1.5v.01a1.5 1.5 0 0 1-1.5 1.5H12a1.5 1.5 0 0 1-1.5-1.5V16Z",
|
|
30
|
+
clipRule: "evenodd"
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
33
|
+
var ForwardRef = /*#__PURE__*/forwardRef(AttentionCircleFill);
|
|
34
|
+
var Memo = /*#__PURE__*/memo(ForwardRef);
|
|
35
|
+
export default Memo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface SVGRProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleId?: string;
|
|
7
|
+
desc?: string;
|
|
8
|
+
descId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Memo: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & SVGRProps, "ref"> & React.RefAttributes<SVGSVGElement>>>;
|
|
11
|
+
export default Memo;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var _excluded = ["title", "titleId", "desc", "descId"];
|
|
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 * as React from 'react';
|
|
6
|
+
import { forwardRef, memo } from 'react';
|
|
7
|
+
var AttentionTriangleFill = function AttentionTriangleFill(_ref, ref) {
|
|
8
|
+
var title = _ref.title,
|
|
9
|
+
titleId = _ref.titleId,
|
|
10
|
+
desc = _ref.desc,
|
|
11
|
+
descId = _ref.descId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
width: props.width || props.size || 16,
|
|
16
|
+
height: props.height || props.size || 16,
|
|
17
|
+
fill: "none",
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
ref: ref,
|
|
20
|
+
"aria-labelledby": titleId,
|
|
21
|
+
"aria-describedby": descId
|
|
22
|
+
}, props), desc ? /*#__PURE__*/React.createElement("desc", {
|
|
23
|
+
id: descId
|
|
24
|
+
}, desc) : null, title ? /*#__PURE__*/React.createElement("title", {
|
|
25
|
+
id: titleId
|
|
26
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fill: props.color || 'currentColor',
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
d: "M13.515 2.119c-.674-1.164-2.355-1.164-3.03 0L1.22 18.123c-.675 1.167.166 2.627 1.515 2.627h18.53c1.349 0 2.19-1.46 1.515-2.627L13.515 2.12ZM12 12.75a.75.75 0 0 1-.75-.75V8a.75.75 0 0 1 1.5 0v4a.75.75 0 0 1-.75.75Zm-.995 3.248c0-.548.445-.993.993-.993h.014c.548 0 .993.445.993.993v.014a.993.993 0 0 1-.993.993h-.014a.993.993 0 0 1-.993-.993v-.014Z",
|
|
30
|
+
clipRule: "evenodd"
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
33
|
+
var ForwardRef = /*#__PURE__*/forwardRef(AttentionTriangleFill);
|
|
34
|
+
var Memo = /*#__PURE__*/memo(ForwardRef);
|
|
35
|
+
export default Memo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface SVGRProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleId?: string;
|
|
7
|
+
desc?: string;
|
|
8
|
+
descId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Memo: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & SVGRProps, "ref"> & React.RefAttributes<SVGSVGElement>>>;
|
|
11
|
+
export default Memo;
|