@aloudata/aloudata-design 1.1.0 → 1.1.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/App/index.d.ts +4 -0
- package/dist/App/index.js +26 -0
- package/dist/App/style/index.d.ts +2 -0
- package/dist/App/style/index.js +2 -0
- package/dist/App/style/index.less +1 -0
- package/dist/Breadcrumb/style/index.less +1 -1
- package/dist/Button/style/index.less +26 -16
- package/dist/Button/style/variables.less +9 -6
- package/dist/Checkbox/style/index.less +2 -2
- package/dist/Divider/style/index.less +1 -1
- package/dist/Dropdown/style/index.less +22 -7
- package/dist/Empty/style/index.less +3 -3
- package/dist/Input/style/index.less +21 -20
- package/dist/InputNumber/style/index.less +7 -7
- package/dist/Menu/style/dropdown.less +10 -5
- package/dist/Menu/style/index.less +4 -4
- package/dist/Modal/style/index.less +20 -20
- package/dist/Popconfirm/style/index.less +2 -1
- package/dist/Popover/style/index.less +1 -1
- package/dist/Radio/style/index.less +5 -5
- package/dist/Select/style/index.less +67 -58
- package/dist/Select/style/size.less +58 -49
- package/dist/Select/style/status.less +1 -1
- package/dist/Select/style/variables.less +6 -6
- package/dist/Spin/index.js +1 -0
- package/dist/Spin/style/index.less +7 -1
- package/dist/Steps/style/index.less +7 -7
- package/dist/Switch/style/index.less +12 -2
- package/dist/Tooltip/style/index.less +1 -1
- package/dist/Tree/demo/basic/index.js +3 -3
- package/dist/Tree/style/index.less +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/notification/demo/index.js +3 -3
- package/dist/style/mixins/index.less +4 -0
- package/dist/style/themes/default/index.less +3 -8
- package/package.json +3 -2
|
@@ -6,19 +6,20 @@
|
|
|
6
6
|
@import './size.less';
|
|
7
7
|
@import './status.less';
|
|
8
8
|
|
|
9
|
-
.ant-select-dropdown {
|
|
9
|
+
.ant-select-dropdown.ant-select-dropdown {
|
|
10
10
|
padding-left: 0;
|
|
11
11
|
padding-right: 0;
|
|
12
|
+
border-radius: 2px;
|
|
12
13
|
|
|
13
14
|
&.ald-select-popup {
|
|
14
15
|
// max-height: 264px;
|
|
15
16
|
overflow-y: auto;
|
|
16
17
|
overflow-y: overlay;
|
|
17
|
-
border:1px solid @BG70;
|
|
18
|
+
border: 1px solid @BG70;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
.ald-select {
|
|
22
|
+
.ald-select.ald-select {
|
|
22
23
|
display: inline-block;
|
|
23
24
|
position: relative;
|
|
24
25
|
box-sizing: border-box;
|
|
@@ -29,10 +30,6 @@
|
|
|
29
30
|
cursor: pointer;
|
|
30
31
|
width: 100%;
|
|
31
32
|
|
|
32
|
-
.ant-select-selector {
|
|
33
|
-
color: @NL0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
33
|
.ald-select-prefix {
|
|
37
34
|
color: @NL40;
|
|
38
35
|
display: inline-flex;
|
|
@@ -51,69 +48,81 @@
|
|
|
51
48
|
}
|
|
52
49
|
}
|
|
53
50
|
|
|
54
|
-
.ant-select
|
|
51
|
+
.ant-select {
|
|
55
52
|
.ant-select-selector {
|
|
56
|
-
|
|
53
|
+
color: @NL0;
|
|
54
|
+
align-items: center;
|
|
57
55
|
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
56
|
|
|
61
|
-
.ant-select-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
.ant-select.ald-select-prefix-select {
|
|
58
|
+
.ant-select-selector {
|
|
59
|
+
border: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
66
62
|
|
|
67
|
-
.ant-select-selection-
|
|
68
|
-
|
|
69
|
-
margin-top: 0;
|
|
63
|
+
.ant-select-selection-overflow {
|
|
64
|
+
align-self: normal;
|
|
70
65
|
|
|
71
|
-
.ant-select-selection-item
|
|
66
|
+
.ant-select-selection-overflow-item {
|
|
72
67
|
// display: flex;
|
|
73
|
-
// align-items: center;
|
|
74
|
-
margin: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ant-select-selection-item-remove {
|
|
78
|
-
display: flex;
|
|
79
68
|
align-items: center;
|
|
80
|
-
|
|
81
|
-
|
|
69
|
+
line-height: inherit;
|
|
70
|
+
height: 100%;
|
|
71
|
+
|
|
72
|
+
.ant-select-selection-item {
|
|
73
|
+
height: auto;
|
|
74
|
+
margin-top: 0;
|
|
75
|
+
|
|
76
|
+
.ant-select-selection-item-content {
|
|
77
|
+
// display: flex;
|
|
78
|
+
// align-items: center;
|
|
79
|
+
margin: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ant-select-selection-item-remove {
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
margin: 0;
|
|
86
|
+
font-size: inherit;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.ant-select-selection-overflow-item-rest {
|
|
91
|
+
.ant-select-selection-item {
|
|
92
|
+
border: none;
|
|
93
|
+
background: none;
|
|
94
|
+
margin-bottom: 0;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ald-select-multiple-tag-default {
|
|
99
|
+
color: inherit;
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
|
|
103
|
+
&::before {
|
|
104
|
+
content: ',';
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ant-select-selection-search-input {
|
|
109
|
+
height: inherit;
|
|
110
|
+
line-height: inherit;
|
|
111
|
+
caret-color: @B60;
|
|
112
|
+
}
|
|
82
113
|
}
|
|
83
|
-
}
|
|
84
114
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
margin-bottom: 0;
|
|
115
|
+
.ant-select-selection-overflow-item-rest {
|
|
116
|
+
.ant-select-selection-item {
|
|
117
|
+
padding-inline-start: 0;
|
|
118
|
+
}
|
|
90
119
|
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.ald-select-multiple-tag-default {
|
|
94
|
-
color: inherit;
|
|
95
120
|
|
|
96
|
-
|
|
97
|
-
|
|
121
|
+
.ant-select-selection-overflow-item:first-of-type {
|
|
122
|
+
.ald-select-multiple-tag-default::before {
|
|
123
|
+
content: '';
|
|
124
|
+
}
|
|
98
125
|
}
|
|
99
126
|
}
|
|
100
|
-
|
|
101
|
-
.ant-select-selection-search-input {
|
|
102
|
-
height: inherit;
|
|
103
|
-
line-height: inherit;
|
|
104
|
-
caret-color: @B60;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.ant-select-selection-overflow-item-rest {
|
|
109
|
-
.ant-select-selection-item {
|
|
110
|
-
padding-inline-start: 0;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.ant-select-selection-overflow-item:first-of-type {
|
|
115
|
-
.ald-select-multiple-tag-default::before {
|
|
116
|
-
content: '';
|
|
117
|
-
}
|
|
118
127
|
}
|
|
119
128
|
}
|
|
@@ -1,159 +1,168 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
&.ald-select-small{
|
|
1
|
+
.ald-select.ald-select {
|
|
2
|
+
&.ald-select-small {
|
|
4
3
|
height: @select-height-small;
|
|
5
4
|
font-size: @select-font-size-small;
|
|
6
5
|
// line-height: @select-line-height-small;
|
|
7
6
|
border-radius: @select-border-radius-small;
|
|
8
7
|
|
|
9
|
-
.ald-select-prefix{
|
|
8
|
+
.ald-select-prefix {
|
|
10
9
|
margin-left: @select-padding-left-small;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
.ant-select .ant-select-selector{
|
|
12
|
+
.ant-select .ant-select-selector {
|
|
14
13
|
height: @selector-height-small;
|
|
15
|
-
padding-left:calc(
|
|
14
|
+
padding-left: calc(
|
|
15
|
+
@select-padding-left-small + var(--ald-select-prefix-width)
|
|
16
|
+
);
|
|
16
17
|
|
|
17
|
-
.ant-select-selection-item{
|
|
18
|
+
.ant-select-selection-item {
|
|
18
19
|
line-height: @selector-height-small;
|
|
19
20
|
font-size: @select-font-size-small;
|
|
21
|
+
height: 100%;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
.ald-select-multiple-tag-default{
|
|
24
|
+
.ald-select-multiple-tag-default {
|
|
23
25
|
font-size: @select-font-size-small;
|
|
24
|
-
line-height: @selector-height-small;
|
|
26
|
+
line-height: @selector-height-small;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
|
-
.ant-select-selection-search .ant-select-selection-search-input{
|
|
29
|
+
.ant-select-selection-search .ant-select-selection-search-input {
|
|
28
30
|
height: @selector-height-small;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
|
-
.ant-select-selection-placeholder{
|
|
33
|
+
.ant-select-selection-placeholder {
|
|
32
34
|
line-height: @selector-height-small;
|
|
33
35
|
font-size: @select-font-size-small;
|
|
34
|
-
left:calc(@select-padding-left-small + var(--ald-select-prefix-width));
|
|
35
|
-
}
|
|
36
|
+
left: calc(@select-padding-left-small + var(--ald-select-prefix-width));
|
|
37
|
+
}
|
|
36
38
|
|
|
37
|
-
.ant-select-selection-overflow{
|
|
39
|
+
.ant-select-selection-overflow {
|
|
38
40
|
margin-left: @selector-item-margin-left-small;
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
.ald-select-prefix-select{
|
|
43
|
-
.ant-select-selection-item{
|
|
44
|
+
.ald-select-prefix-select {
|
|
45
|
+
.ant-select-selection-item {
|
|
44
46
|
margin-left: @selector-item-margin-left-small;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
.ant-select-selection-placeholder{
|
|
49
|
+
.ant-select-selection-placeholder {
|
|
48
50
|
margin-left: @selector-item-margin-left-small;
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
|
|
53
|
-
&.ald-select-middle{
|
|
54
|
+
|
|
55
|
+
&.ald-select-middle {
|
|
54
56
|
height: @select-height-middle;
|
|
55
57
|
font-size: @select-font-size-middle;
|
|
56
58
|
// line-height: @select-line-height-middle;
|
|
57
59
|
border-radius: @select-border-radius-middle;
|
|
58
60
|
|
|
59
|
-
.ald-select-prefix{
|
|
61
|
+
.ald-select-prefix {
|
|
60
62
|
margin-left: @select-padding-left-middle;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
.ant-select .ant-select-selector{
|
|
65
|
+
.ant-select .ant-select-selector {
|
|
64
66
|
height: @selector-height-middle;
|
|
65
|
-
padding-left:calc(
|
|
67
|
+
padding-left: calc(
|
|
68
|
+
@select-padding-left-middle + var(--ald-select-prefix-width)
|
|
69
|
+
);
|
|
66
70
|
|
|
67
|
-
.ant-select-selection-item{
|
|
71
|
+
.ant-select-selection-item {
|
|
68
72
|
line-height: @selector-height-middle;
|
|
69
73
|
font-size: @select-font-size-middle;
|
|
74
|
+
height: 100%;
|
|
70
75
|
}
|
|
71
76
|
|
|
72
|
-
.ald-select-multiple-tag-default{
|
|
77
|
+
.ald-select-multiple-tag-default {
|
|
73
78
|
font-size: @select-font-size-middle;
|
|
74
79
|
line-height: @selector-height-middle;
|
|
75
80
|
}
|
|
76
81
|
|
|
77
|
-
.ant-select-selection-search .ant-select-selection-search-input{
|
|
82
|
+
.ant-select-selection-search .ant-select-selection-search-input {
|
|
78
83
|
height: @selector-height-middle;
|
|
79
84
|
}
|
|
80
85
|
|
|
81
|
-
.ant-select-selection-placeholder{
|
|
86
|
+
.ant-select-selection-placeholder {
|
|
82
87
|
line-height: @selector-height-middle;
|
|
83
88
|
font-size: @select-font-size-middle;
|
|
84
|
-
left:calc(
|
|
89
|
+
left: calc(
|
|
90
|
+
@select-padding-left-middle + var(--ald-select-prefix-width)
|
|
91
|
+
);
|
|
85
92
|
}
|
|
86
93
|
|
|
87
|
-
.ant-select-selection-overflow{
|
|
94
|
+
.ant-select-selection-overflow {
|
|
88
95
|
margin-left: @selector-item-margin-left-middle;
|
|
89
96
|
}
|
|
90
97
|
}
|
|
91
98
|
|
|
92
|
-
.ald-select-prefix-select{
|
|
93
|
-
.ant-select-selection-item{
|
|
99
|
+
.ald-select-prefix-select {
|
|
100
|
+
.ant-select-selection-item {
|
|
94
101
|
margin-left: @selector-item-margin-left-middle;
|
|
95
102
|
}
|
|
96
103
|
|
|
97
|
-
.ant-select-selection-placeholder{
|
|
104
|
+
.ant-select-selection-placeholder {
|
|
98
105
|
margin-left: @selector-item-margin-left-middle;
|
|
99
106
|
}
|
|
100
107
|
}
|
|
101
108
|
}
|
|
102
|
-
|
|
103
|
-
&.ald-select-large{
|
|
109
|
+
|
|
110
|
+
&.ald-select-large {
|
|
104
111
|
height: @select-height-large;
|
|
105
112
|
font-size: @select-font-size-large;
|
|
106
113
|
// line-height: @select-line-height-large;
|
|
107
114
|
border-radius: @select-border-radius-large;
|
|
108
|
-
|
|
109
|
-
.ald-select-prefix{
|
|
115
|
+
|
|
116
|
+
.ald-select-prefix {
|
|
110
117
|
margin-left: @select-padding-left-large;
|
|
111
118
|
}
|
|
112
119
|
|
|
113
|
-
.ant-select .ant-select-selector{
|
|
120
|
+
.ant-select .ant-select-selector {
|
|
114
121
|
height: @selector-height-large;
|
|
115
|
-
padding-left:calc(
|
|
122
|
+
padding-left: calc(
|
|
123
|
+
@select-padding-left-large + var(--ald-select-prefix-width)
|
|
124
|
+
);
|
|
116
125
|
|
|
117
|
-
.ant-select-selection-item{
|
|
126
|
+
.ant-select-selection-item {
|
|
118
127
|
line-height: @selector-height-large;
|
|
119
128
|
font-size: @select-font-size-large;
|
|
129
|
+
height: 100%;
|
|
120
130
|
}
|
|
121
131
|
|
|
122
|
-
.ald-select-multiple-tag-default{
|
|
132
|
+
.ald-select-multiple-tag-default {
|
|
123
133
|
font-size: @select-font-size-large;
|
|
124
134
|
line-height: @selector-height-large;
|
|
125
135
|
}
|
|
126
136
|
|
|
127
|
-
.ant-select-selection-search .ant-select-selection-search-input{
|
|
137
|
+
.ant-select-selection-search .ant-select-selection-search-input {
|
|
128
138
|
height: @selector-height-large;
|
|
129
139
|
}
|
|
130
140
|
|
|
131
|
-
.ant-select-selection-placeholder{
|
|
141
|
+
.ant-select-selection-placeholder {
|
|
132
142
|
line-height: @selector-height-large;
|
|
133
143
|
font-size: @select-font-size-large;
|
|
134
144
|
left: calc(@select-padding-left-large + var(--ald-select-prefix-width));
|
|
135
145
|
}
|
|
136
146
|
|
|
137
|
-
.ant-select-selection-overflow{
|
|
147
|
+
.ant-select-selection-overflow {
|
|
138
148
|
margin-left: @selector-item-margin-left-large;
|
|
139
149
|
|
|
140
|
-
.ant-select-selection-overflow-item-rest{
|
|
141
|
-
.ant-select-selection-item{
|
|
150
|
+
.ant-select-selection-overflow-item-rest {
|
|
151
|
+
.ant-select-selection-item {
|
|
142
152
|
padding-inline-start: 0;
|
|
143
153
|
}
|
|
144
|
-
|
|
145
154
|
}
|
|
146
155
|
}
|
|
147
156
|
}
|
|
148
157
|
}
|
|
149
158
|
|
|
150
|
-
.ald-select-prefix-select{
|
|
151
|
-
.ant-select-selection-item{
|
|
159
|
+
.ald-select-prefix-select {
|
|
160
|
+
.ant-select-selection-item {
|
|
152
161
|
margin-left: @selector-item-margin-left-large;
|
|
153
162
|
}
|
|
154
163
|
|
|
155
|
-
.ant-select-selection-placeholder{
|
|
164
|
+
.ant-select-selection-placeholder {
|
|
156
165
|
margin-left: @selector-item-margin-left-large;
|
|
157
166
|
}
|
|
158
167
|
}
|
|
159
|
-
}
|
|
168
|
+
}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
// large size
|
|
5
5
|
@select-height-large: 36px;
|
|
6
|
-
@select-border-radius-large:
|
|
6
|
+
@select-border-radius-large: 4px;
|
|
7
7
|
@select-font-size-large: 16px;
|
|
8
8
|
@select-line-height-large: 24px;
|
|
9
|
-
@select-padding-left-large:
|
|
9
|
+
@select-padding-left-large: 11px;
|
|
10
10
|
@selector-height-large: 34px;
|
|
11
11
|
@selector-item-margin-left-large: 8px;
|
|
12
12
|
// @prefix-margin-right-large: 8px;
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
// medium size
|
|
16
16
|
@select-height-middle: 32px;
|
|
17
|
-
@select-border-radius-middle:
|
|
17
|
+
@select-border-radius-middle: 2px;
|
|
18
18
|
@select-font-size-middle: 14px;
|
|
19
19
|
@select-line-height-middle: 20px;
|
|
20
|
-
@select-padding-left-middle:
|
|
20
|
+
@select-padding-left-middle: 7px;
|
|
21
21
|
@selector-height-middle: 30px;
|
|
22
22
|
@selector-item-margin-left-middle: 4px;
|
|
23
23
|
// @prefix-margin-right-middle: 8px;
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
|
|
26
26
|
// small size
|
|
27
27
|
@select-height-small: 28px;
|
|
28
|
-
@select-border-radius-small:
|
|
28
|
+
@select-border-radius-small: 2px;
|
|
29
29
|
@select-font-size-small: 12px;
|
|
30
30
|
@select-line-height-small: 16px;
|
|
31
|
-
@select-padding-left-small:
|
|
31
|
+
@select-padding-left-small: 7px;
|
|
32
32
|
@selector-height-small: 26px;
|
|
33
33
|
@selector-item-margin-left-small: 4px;
|
|
34
34
|
// @prefix-margin-right-small: 4px;
|
package/dist/Spin/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
|
|
3
3
|
// 水平状态下
|
|
4
|
-
.ant-steps.ald-steps {
|
|
4
|
+
.ant-steps.ald-steps.ald-steps {
|
|
5
5
|
padding: 24px;
|
|
6
6
|
|
|
7
7
|
.ant-steps-item .ant-steps-item-container .ant-steps-item-icon {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
// 竖直状态下
|
|
147
|
-
.ant-steps.ald-steps.ant-steps-vertical {
|
|
147
|
+
.ant-steps.ald-steps.ant-steps-vertical.ald-steps {
|
|
148
148
|
height: 100%;
|
|
149
149
|
|
|
150
150
|
.ant-steps-item .ant-steps-item-container .ant-steps-item-icon {
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
.ant-steps.ald-steps
|
|
248
|
+
.ant-steps.ald-steps.ald-steps
|
|
249
249
|
.ant-steps-item:not(.ant-steps-item-active)
|
|
250
250
|
> .ant-steps-item-container[role='button'] {
|
|
251
251
|
cursor: pointer;
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
color: @B40;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
.ald-steps .finish-icon-box {
|
|
280
|
+
.ald-steps.ald-steps .finish-icon-box {
|
|
281
281
|
position: relative;
|
|
282
282
|
background-color: @B40;
|
|
283
283
|
display: grid;
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
.ald-steps .error-icon-box {
|
|
292
|
+
.ald-steps.ald-steps .error-icon-box {
|
|
293
293
|
position: relative;
|
|
294
294
|
background-color: @SC50;
|
|
295
295
|
display: grid;
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
// 提升该类名的优先级,不然会被.iconBox覆盖掉
|
|
305
|
-
.ald-steps .process-icon-box {
|
|
305
|
+
.ald-steps.ald-steps .process-icon-box {
|
|
306
306
|
position: relative;
|
|
307
307
|
background-color: @B40;
|
|
308
308
|
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
.ald-steps .wait-icon-box {
|
|
322
|
+
.ald-steps.ald-steps .wait-icon-box {
|
|
323
323
|
position: relative;
|
|
324
324
|
background-color: @BG60;
|
|
325
325
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@switch-aspect-ratio: 2; //宽高比
|
|
11
11
|
@switch-height-radius-ratio: 2; //高度和边框圆角比
|
|
12
12
|
|
|
13
|
-
.ald-switch {
|
|
13
|
+
.ald-switch.ald-switch {
|
|
14
14
|
display: inline-block;
|
|
15
15
|
font-size: 0;
|
|
16
16
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
.ald-switch-btn {
|
|
39
39
|
background-color: @B40;
|
|
40
40
|
|
|
41
|
-
&:hover{
|
|
41
|
+
&:hover {
|
|
42
42
|
background-color: @B40;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -79,6 +79,11 @@
|
|
|
79
79
|
width: @switch-handle-middle - 4px;
|
|
80
80
|
height: @switch-handle-middle - 4px;
|
|
81
81
|
font-size: @switch-handle-middle - 4px;
|
|
82
|
+
|
|
83
|
+
svg {
|
|
84
|
+
width: @switch-handle-middle - 4px;
|
|
85
|
+
height: @switch-handle-middle - 4px;
|
|
86
|
+
}
|
|
82
87
|
}
|
|
83
88
|
}
|
|
84
89
|
}
|
|
@@ -117,6 +122,11 @@
|
|
|
117
122
|
width: @switch-handle-small - 4px;
|
|
118
123
|
height: @switch-handle-small - 4px;
|
|
119
124
|
font-size: @switch-handle-small - 4px;
|
|
125
|
+
|
|
126
|
+
svg {
|
|
127
|
+
width: @switch-handle-small - 4px;
|
|
128
|
+
height: @switch-handle-small - 4px;
|
|
129
|
+
}
|
|
120
130
|
}
|
|
121
131
|
}
|
|
122
132
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Tree } from "../../..";
|
|
1
|
+
import { App, Tree } from "../../..";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export default (function () {
|
|
4
|
-
return /*#__PURE__*/React.createElement(Tree, {
|
|
4
|
+
return /*#__PURE__*/React.createElement(App, null, /*#__PURE__*/React.createElement(Tree, {
|
|
5
5
|
treeData: [{
|
|
6
6
|
title: 'parent 1',
|
|
7
7
|
key: '0-0',
|
|
@@ -30,5 +30,5 @@ export default (function () {
|
|
|
30
30
|
}]
|
|
31
31
|
}]
|
|
32
32
|
}]
|
|
33
|
-
});
|
|
33
|
+
}));
|
|
34
34
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -78,3 +78,4 @@ export type { PopconfirmProps } from './Popconfirm';
|
|
|
78
78
|
export { default as Popconfirm } from './Popconfirm';
|
|
79
79
|
export { default as Collapse } from './Collapse';
|
|
80
80
|
export type { CollapsePanelProps, CollapseProps } from './Collapse';
|
|
81
|
+
export { default as App } from './App';
|
package/dist/index.js
CHANGED
|
@@ -41,4 +41,5 @@ export { default as Empty } from "./Empty";
|
|
|
41
41
|
export { default as Avatar } from "./Avatar";
|
|
42
42
|
export { default as Icon } from "./Icon";
|
|
43
43
|
export { default as Popconfirm } from "./Popconfirm";
|
|
44
|
-
export { default as Collapse } from "./Collapse";
|
|
44
|
+
export { default as Collapse } from "./Collapse";
|
|
45
|
+
export { default as App } from "./App";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button, notification, Space } from "../..";
|
|
1
|
+
import { App, Button, notification, Space } from "../..";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export default (function () {
|
|
4
4
|
var notices = function notices(type) {
|
|
@@ -12,7 +12,7 @@ export default (function () {
|
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
return /*#__PURE__*/React.createElement(Space, {
|
|
15
|
+
return /*#__PURE__*/React.createElement(App, null, /*#__PURE__*/React.createElement(Space, {
|
|
16
16
|
direction: "vertical"
|
|
17
17
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
18
18
|
onClick: function onClick() {
|
|
@@ -30,5 +30,5 @@ export default (function () {
|
|
|
30
30
|
onClick: function onClick() {
|
|
31
31
|
return notices('info');
|
|
32
32
|
}
|
|
33
|
-
}, "Notification info with message\u3001description"));
|
|
33
|
+
}, "Notification info with message\u3001description")));
|
|
34
34
|
});
|
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
@font-family:inter, -apple-system, PingFang SC, BlinkMacSystemFont,"Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
|
|
4
4
|
@ald-prefix: ant;
|
|
5
5
|
|
|
6
|
-
// base 不分大小写情况
|
|
7
|
-
@border-radius-base: 8px;
|
|
8
|
-
@line-height-base: 20px;
|
|
9
|
-
@font-size-base: 14px;
|
|
10
|
-
|
|
11
6
|
// large
|
|
12
7
|
@font-size-large: 16px;
|
|
13
8
|
@line-height-large: 24px;
|
|
@@ -15,7 +10,7 @@
|
|
|
15
10
|
@padding-bottom-large: 6px;
|
|
16
11
|
@padding-left-large: 12px;
|
|
17
12
|
@padding-right-large: 12px;
|
|
18
|
-
@border-radius-large:
|
|
13
|
+
@border-radius-large: 4px;
|
|
19
14
|
|
|
20
15
|
// middle
|
|
21
16
|
@font-size-middle: 13px;
|
|
@@ -24,7 +19,7 @@
|
|
|
24
19
|
@padding-bottom-middle: 6px;
|
|
25
20
|
@padding-left-middle: 12px;
|
|
26
21
|
@padding-right-middle: 12px;
|
|
27
|
-
@border-radius-middle:
|
|
22
|
+
@border-radius-middle: 2px;
|
|
28
23
|
|
|
29
24
|
// small
|
|
30
25
|
@font-size-small: 12px;
|
|
@@ -33,4 +28,4 @@
|
|
|
33
28
|
@padding-bottom-small: 6px;
|
|
34
29
|
@padding-left-small: 8px;
|
|
35
30
|
@padding-right-small: 8px;
|
|
36
|
-
@border-radius-small:
|
|
31
|
+
@border-radius-small: 2px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aloudata/aloudata-design",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@aloudata/icons-react": "^0.2.2",
|
|
55
55
|
"@aloudata/icons-svg": "0.1.7",
|
|
56
|
-
"
|
|
56
|
+
"@ant-design/cssinjs": "^1.9.1",
|
|
57
|
+
"antd": "5.4.3",
|
|
57
58
|
"compare-func": "^2.0.0",
|
|
58
59
|
"conventional-changelog": "^3.1.25",
|
|
59
60
|
"conventional-changelog-cli": "^2.2.2",
|