@aloudata/aloudata-design 1.10.14 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/Button/index.d.ts +3 -4
  2. package/dist/Button/index.js +7 -20
  3. package/dist/Button/style/size.less +21 -8
  4. package/dist/Button/style/type.less +61 -33
  5. package/dist/Button/style/variables.less +229 -44
  6. package/dist/Checkbox/style/index.less +111 -114
  7. package/dist/Dropdown/index.d.ts +1 -2
  8. package/dist/Dropdown/style/index.less +70 -107
  9. package/dist/Icon/components/AlertTriangleDuotone.d.ts +1 -1
  10. package/dist/Icon/components/AlertTriangleLine.d.ts +11 -0
  11. package/dist/Icon/components/AlertTriangleLine.js +35 -0
  12. package/dist/Icon/components/ArrowDownFill.d.ts +11 -0
  13. package/dist/Icon/components/ArrowDownFill.js +35 -0
  14. package/dist/Icon/components/AttentionCircleFill.d.ts +11 -0
  15. package/dist/Icon/components/AttentionCircleFill.js +35 -0
  16. package/dist/Icon/components/AttentionTriangleFill.d.ts +11 -0
  17. package/dist/Icon/components/AttentionTriangleFill.js +35 -0
  18. package/dist/Icon/components/AttentionTriangleLightLine.d.ts +11 -0
  19. package/dist/Icon/components/AttentionTriangleLightLine.js +35 -0
  20. package/dist/Icon/components/CancelCircleDuotone.d.ts +1 -1
  21. package/dist/Icon/components/CheckCircleDuotone.d.ts +1 -1
  22. package/dist/Icon/components/CheckCircleFill.d.ts +11 -0
  23. package/dist/Icon/components/CheckCircleFill.js +35 -0
  24. package/dist/Icon/components/CheckCircleLightLine.d.ts +11 -0
  25. package/dist/Icon/components/CheckCircleLightLine.js +38 -0
  26. package/dist/Icon/components/CheckLightLine.d.ts +11 -0
  27. package/dist/Icon/components/CheckLightLine.js +35 -0
  28. package/dist/Icon/components/ChevronDownLine.d.ts +1 -1
  29. package/dist/Icon/components/ChevronLeftLine.d.ts +1 -1
  30. package/dist/Icon/components/ChevronRightLine.d.ts +1 -1
  31. package/dist/Icon/components/CircleLightLine.d.ts +11 -0
  32. package/dist/Icon/components/CircleLightLine.js +38 -0
  33. package/dist/Icon/components/CloseCircleFill.d.ts +11 -0
  34. package/dist/Icon/components/CloseCircleFill.js +35 -0
  35. package/dist/Icon/components/CloseLLine.d.ts +1 -1
  36. package/dist/Icon/components/CloseLightLine.d.ts +11 -0
  37. package/dist/Icon/components/CloseLightLine.js +35 -0
  38. package/dist/Icon/components/CloseMLine.d.ts +1 -1
  39. package/dist/Icon/components/DragLine.d.ts +1 -1
  40. package/dist/Icon/components/Ellipsis.d.ts +11 -0
  41. package/dist/Icon/components/Ellipsis.js +35 -0
  42. package/dist/Icon/components/EyeOffLine.d.ts +1 -1
  43. package/dist/Icon/components/EyeOnLine.d.ts +1 -1
  44. package/dist/Icon/components/FoldDownFill.d.ts +1 -1
  45. package/dist/Icon/components/FoldUpFill.d.ts +1 -1
  46. package/dist/Icon/components/InfoCircleDuotone.d.ts +1 -1
  47. package/dist/Icon/components/InfoCircleLine.d.ts +1 -1
  48. package/dist/Icon/components/InformationCircleFill.d.ts +11 -0
  49. package/dist/Icon/components/InformationCircleFill.js +35 -0
  50. package/dist/Icon/components/InformationCircleLightLine.d.ts +11 -0
  51. package/dist/Icon/components/InformationCircleLightLine.js +38 -0
  52. package/dist/Icon/components/Loading2Line.d.ts +1 -1
  53. package/dist/Icon/components/LoadingDuotone.d.ts +11 -0
  54. package/dist/Icon/components/LoadingDuotone.js +39 -0
  55. package/dist/Icon/components/LoadingLine.d.ts +1 -1
  56. package/dist/Icon/components/MoreVerticalLine.d.ts +1 -1
  57. package/dist/Icon/components/SearchLine.d.ts +1 -1
  58. package/dist/Icon/components/TriangleLightLine.d.ts +11 -0
  59. package/dist/Icon/components/TriangleLightLine.js +35 -0
  60. package/dist/Icon/index.d.ts +16 -3
  61. package/dist/Icon/index.js +16 -2
  62. package/dist/Icon/svg/Loading-duotone.svg +6 -0
  63. package/dist/Icon/svg/alert-triangle-duotone.svg +3 -1
  64. package/dist/Icon/svg/alert-triangle-line.svg +5 -0
  65. package/dist/Icon/svg/arrow-down-fill.svg +5 -0
  66. package/dist/Icon/svg/attention-circle-fill.svg +5 -0
  67. package/dist/Icon/svg/attention-triangle-fill.svg +5 -0
  68. package/dist/Icon/svg/attention-triangle-light-line.svg +5 -0
  69. package/dist/Icon/svg/cancel-circle-duotone.svg +7 -3
  70. package/dist/Icon/svg/check-circle-duotone.svg +6 -2
  71. package/dist/Icon/svg/check-circle-fill.svg +5 -0
  72. package/dist/Icon/svg/check-circle-light-line.svg +8 -0
  73. package/dist/Icon/svg/check-light-line.svg +5 -0
  74. package/dist/Icon/svg/chevron-down-line.svg +6 -4
  75. package/dist/Icon/svg/chevron-left-line.svg +6 -4
  76. package/dist/Icon/svg/chevron-right-line.svg +6 -4
  77. package/dist/Icon/svg/circle-light-line.svg +9 -0
  78. package/dist/Icon/svg/close-L-line.svg +11 -9
  79. package/dist/Icon/svg/close-circle-fill.svg +5 -0
  80. package/dist/Icon/svg/close-light-line.svg +5 -0
  81. package/dist/Icon/svg/close-m-line.svg +6 -4
  82. package/dist/Icon/svg/drag-line.svg +6 -4
  83. package/dist/Icon/svg/ellipsis.svg +5 -0
  84. package/dist/Icon/svg/eye-off-line.svg +6 -4
  85. package/dist/Icon/svg/eye-on-line.svg +14 -8
  86. package/dist/Icon/svg/fold-down-fill.svg +7 -6
  87. package/dist/Icon/svg/fold-up-fill.svg +7 -6
  88. package/dist/Icon/svg/info-circle-duotone.svg +4 -2
  89. package/dist/Icon/svg/info-circle-line.svg +3 -1
  90. package/dist/Icon/svg/information-circle-fill.svg +5 -0
  91. package/dist/Icon/svg/information-circle-light-line.svg +9 -0
  92. package/dist/Icon/svg/loading-2-line.svg +4 -2
  93. package/dist/Icon/svg/loading-line.svg +6 -4
  94. package/dist/Icon/svg/more-vertical-line.svg +6 -4
  95. package/dist/Icon/svg/search-line.svg +6 -4
  96. package/dist/Icon/svg/triangle-light-line.svg +5 -0
  97. package/dist/IconButton/index.d.ts +2 -2
  98. package/dist/IconButton/index.js +8 -19
  99. package/dist/IconButton/style/index.less +49 -25
  100. package/dist/Input/components/Input/index.js +18 -2
  101. package/dist/Input/components/Password/index.d.ts +0 -5
  102. package/dist/Input/components/Password/index.js +10 -10
  103. package/dist/Input/components/TextArea/index.js +15 -2
  104. package/dist/Input/index.d.ts +2 -5
  105. package/dist/Input/index.js +1 -3
  106. package/dist/Input/style/index.less +4 -565
  107. package/dist/Input/style/reset.less +22 -0
  108. package/dist/Input/style/size.less +82 -0
  109. package/dist/Input/style/status.less +105 -0
  110. package/dist/MemberPicker/style/index.less +2 -2
  111. package/dist/Menu/index.js +6 -9
  112. package/dist/Menu/style/index.less +72 -133
  113. package/dist/Modal/index.d.ts +1 -1
  114. package/dist/Modal/index.js +32 -43
  115. package/dist/Modal/style/index.less +3 -191
  116. package/dist/Modal/style/modal.less +132 -0
  117. package/dist/Modal/style/modalConfirm.less +100 -0
  118. package/dist/Pagination/index.js +4 -2
  119. package/dist/Pagination/style/index.less +11 -4
  120. package/dist/Popconfirm/index.js +8 -7
  121. package/dist/Popconfirm/style/index.less +16 -6
  122. package/dist/Popover/style/index.less +29 -29
  123. package/dist/Radio/components/Group/index.js +3 -5
  124. package/dist/Radio/components/Radio/index.js +2 -1
  125. package/dist/Radio/interface/radioGroup.d.ts +1 -1
  126. package/dist/Radio/style/index.less +69 -56
  127. package/dist/Select/components/{MultipleOption.d.ts → Option.d.ts} +2 -2
  128. package/dist/Select/components/{MultipleOption.js → Option.js} +14 -11
  129. package/dist/Select/components/SingleOption.d.ts +2 -2
  130. package/dist/Select/components/SingleOption.js +3 -1
  131. package/dist/Select/index.d.ts +5 -0
  132. package/dist/Select/index.js +26 -40
  133. package/dist/Select/style/index.less +96 -76
  134. package/dist/Select/style/layout.less +41 -0
  135. package/dist/Select/style/option.less +42 -3
  136. package/dist/Select/style/selectDropdown.less +17 -0
  137. package/dist/Select/style/size.less +95 -82
  138. package/dist/Select/style/status.less +69 -21
  139. package/dist/Select/style/variables.less +8 -15
  140. package/dist/Skeleton/style/index.less +84 -4
  141. package/dist/Spin/CustomIcon/index.d.ts +3 -0
  142. package/dist/Spin/CustomIcon/index.js +20 -15
  143. package/dist/Spin/CustomIcon/index.less +32 -105
  144. package/dist/Spin/index.d.ts +2 -0
  145. package/dist/Spin/index.js +8 -2
  146. package/dist/Spin/style/index.less +9 -1
  147. package/dist/Switch/index.d.ts +1 -1
  148. package/dist/Switch/style/index.less +130 -56
  149. package/dist/Table/style/index.less +16 -8
  150. package/dist/Tabs/index.d.ts +2 -2
  151. package/dist/Tabs/index.js +4 -4
  152. package/dist/Tabs/style/index.less +20 -16
  153. package/dist/TextLink/index.d.ts +44 -0
  154. package/dist/TextLink/index.js +25 -0
  155. package/dist/TextLink/style/index.d.ts +2 -0
  156. package/dist/TextLink/style/index.js +2 -0
  157. package/dist/TextLink/style/index.less +9 -0
  158. package/dist/TextLink/style/size.less +37 -0
  159. package/dist/TextLink/style/type.less +44 -0
  160. package/dist/Tree/style/var.less +1 -1
  161. package/dist/ald.min.css +1 -1
  162. package/dist/index.d.ts +2 -1
  163. package/dist/index.js +1 -1
  164. package/dist/index.less +1 -0
  165. package/dist/message/index.js +15 -14
  166. package/dist/message/style/color.less +22 -41
  167. package/dist/message/style/index.less +15 -16
  168. package/dist/notification/demo/index.js +1 -0
  169. package/dist/notification/index.js +18 -18
  170. package/dist/notification/style/index.less +12 -6
  171. package/dist/style/index.less +1 -0
  172. package/dist/style/themes/default/default.less +1 -1
  173. package/dist/style/themes/default/index.less +3 -3
  174. package/dist/style/themes/default/scrollBar.less +1 -1
  175. package/dist/style/var/default.css +1334 -0
  176. package/package.json +4 -3
  177. package/dist/Icon/components/Icon.d.ts +0 -32
  178. package/dist/Icon/components/Icon.js +0 -25
  179. package/dist/Input/components/Group/index.d.ts +0 -18
  180. package/dist/Input/components/Group/index.js +0 -19
  181. package/dist/Menu/style/dropdown.less +0 -61
  182. package/dist/Select/style/multiple.less +0 -55
  183. package/dist/Select/style/single.less +0 -44
@@ -1,195 +1,7 @@
1
- @import '../../IconButton/style/index.less';
2
1
  @import '../../style/index.less';
2
+ @import '../../IconButton/style/index.less';
3
3
  @import '../../ScrollArea/style/index.less';
4
4
  @import '../../Button/style/index.less';
5
5
  @import './polyfill/index.less';
6
-
7
- .ald-modal.ald-modal {
8
- animation-duration: 10ms !important;
9
- // 移除缩放效果
10
- &.ant-zoom-enter,
11
- &.ant-zoom-leave {
12
- animation-duration: 10ms !important;
13
- }
14
-
15
- .ant-modal-content {
16
- padding: 0;
17
- box-shadow: none;
18
- border-radius: 4px;
19
- border: 1px solid @BG60;
20
- overflow: hidden;
21
-
22
- .ant-modal-body {
23
- min-height: 130px;
24
- max-height: 68vh;
25
- line-height: 20px;
26
- font-size: 13px;
27
- overflow-y: auto;
28
- padding: 16px 20px;
29
- }
30
- }
31
-
32
- .ald-modal-close {
33
- position: relative;
34
- // top: 5px;
35
- // left: -4px;
36
- }
37
-
38
- .ald-modal-title-container {
39
- display: flex;
40
- align-items: center;
41
- gap: 8px;
42
-
43
- .ald-modal-text-container {
44
- // margin-left: 12px;
45
- flex: 1;
46
- }
47
-
48
- .title {
49
- color: @NL0;
50
- font-weight: 600;
51
- font-size: 16px;
52
- line-height: 24px;
53
- }
54
-
55
- .subTitle {
56
- margin-top: 4px;
57
- color: @NL40;
58
- font-weight: 400;
59
- font-size: 12px;
60
- line-height: 16px;
61
- }
62
- }
63
-
64
- .ant-modal-header {
65
- padding: 16px 20px;
66
- margin-bottom: 0;
67
-
68
- .ant-modal-title {
69
- width: 95%;
70
- color: @NL0;
71
- font-weight: 600;
72
- font-size: 16px;
73
- font-family: 'PingFang SC', sans-serif;
74
- font-style: normal;
75
- line-height: 24px;
76
- }
77
- }
78
-
79
- &.ald-modal-virtual-scroll-bar {
80
- .ant-modal-body {
81
- overflow: hidden;
82
- padding: 0;
83
- }
84
-
85
- .ald-modal-body-wrap {
86
- .ald-modal-body-wrap-inner {
87
- max-height: 68vh;
88
- padding: 0 23px;
89
- }
90
- }
91
- }
92
-
93
- &.ald-modal-padding-less {
94
- .ant-modal-body {
95
- padding: 0;
96
- }
97
- }
98
-
99
- .ant-modal-footer {
100
- position: relative;
101
- margin-top: 0;
102
- padding: 12px 20px;
103
- background: #f4f4f4;
104
-
105
- .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
106
- margin-bottom: 0;
107
- margin-left: 12px;
108
- }
109
-
110
- &::before {
111
- content: '';
112
- position: absolute;
113
- top: 0;
114
- left: 0;
115
- width: 100%;
116
- height: 1px;
117
- background-color: var(--colors-gray-300, #e8e8e8);
118
- }
119
- }
120
-
121
- .ant-modal-close-x {
122
- width: 24px;
123
- background-color: #fff;
124
- }
125
- }
126
-
127
- .ald-modal-header-bottom-border {
128
- .ant-modal-header {
129
- border-bottom: 1px solid #dbdbdb;
130
- }
131
- }
132
-
133
- .ald-modal-padding-less {
134
- .ant-modal-content {
135
- .ant-modal-body {
136
- .ald-modal-body-wrap {
137
- .ald-modal-body-wrap-inner {
138
- padding: 0;
139
- }
140
- }
141
- }
142
- }
143
- }
144
-
145
- .ald-modal.ant-modal-confirm {
146
- .ant-modal-body {
147
- padding-bottom: 12px !important;
148
- }
149
-
150
- .ant-modal-confirm-body > .i-icon {
151
- & + .ant-modal-confirm-title {
152
- flex: 1;
153
- overflow: initial;
154
- margin-inline-start: 12px;
155
-
156
- & + .ant-modal-confirm-content {
157
- margin-block-start: 16px;
158
- margin-left: 28px;
159
- }
160
- }
161
- }
162
-
163
- .ant-modal-confirm-body {
164
- display: block;
165
-
166
- > span.anticon {
167
- display: none;
168
-
169
- + .ant-modal-confirm-title + .ant-modal-confirm-content {
170
- margin-left: 40px;
171
- margin-top: 4px;
172
- }
173
- }
174
- }
175
-
176
- .ant-modal-confirm-btns {
177
- margin-block-start: 16px;
178
- }
179
- }
180
-
181
- // .ald-modal.ald-modal-warning {
182
- // .ant-modal-confirm-btns {
183
- // .ald-btn {
184
- // background-color: @SB40;
185
- // border-color: @SB40;
186
-
187
- // &:hover,
188
- // &:active,
189
- // &:focus {
190
- // background-color: @SB40;
191
- // border-color: @SB40;
192
- // }
193
- // }
194
- // }
195
- // }
6
+ @import './modal.less';
7
+ @import './modalConfirm.less';
@@ -0,0 +1,132 @@
1
+ .ald-modal.ald-modal {
2
+ animation-duration: 10ms !important;
3
+ // 移除缩放效果
4
+ &.ant-zoom-enter,
5
+ &.ant-zoom-leave {
6
+ animation-duration: 10ms !important;
7
+ }
8
+
9
+ .ant-modal-content {
10
+ padding: 0;
11
+ border-radius: var(--alias-radius-75, 6px);
12
+ background: var(--alias-colors-bg-skeleton-subtler, #fff);
13
+ box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.04),
14
+ 0 20px 25px -5px rgba(0, 0, 0, 0.1);
15
+ overflow: hidden;
16
+
17
+ .ant-modal-close {
18
+ width: 24px;
19
+ height: 24px;
20
+ top: var(--alias-spacing-200, 16px);
21
+ right: var(--alias-spacing-250, 20px);
22
+
23
+ .ant-modal-close-x {
24
+ background-color: #fff;
25
+ }
26
+ }
27
+
28
+ .ant-modal-header {
29
+ padding: var(--alias-spacing-200, 16px) var(--alias-spacing-250, 20px);
30
+ margin-bottom: 0;
31
+ border-bottom: 1px solid var(--alias-colors-border-default, #e5e7eb);
32
+ background: var(--alias-colors-bg-skeleton-subtler, #fff);
33
+
34
+ .ant-modal-title {
35
+ width: 95%;
36
+ color: var(--alias-colors-text-strong, #111827);
37
+ font-weight: 600;
38
+ font-size: 16px;
39
+ line-height: 24px;
40
+
41
+ .ald-modal-title-container {
42
+ display: flex;
43
+ align-items: center;
44
+ gap: var(--alias-spacing-100, 8px);
45
+
46
+ .ald-modal-text-container {
47
+ display: flex;
48
+ flex-direction: column;
49
+ flex: 1;
50
+ gap: 4px;
51
+
52
+ .ald-modal-text-title {
53
+ color: var(--alias-colors-text-strong, #111827);
54
+ font-weight: 600;
55
+ font-size: 18px;
56
+ line-height: 28px;
57
+ }
58
+
59
+ .ald-modal-text-sub-title {
60
+ color: var(--alias-colors-text-subtle, #4b5563);
61
+ font-size: 12px;
62
+ font-weight: 400;
63
+ line-height: 16px;
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+
70
+ .ant-modal-body {
71
+ min-height: 130px;
72
+ max-height: 68vh;
73
+ line-height: 20px;
74
+ font-size: 14px;
75
+ overflow-y: auto;
76
+ padding: var(--alias-spacing-200, 16px) var(--alias-spacing-250, 20px);
77
+ }
78
+
79
+ .ant-modal-footer {
80
+ position: relative;
81
+ margin-top: 0;
82
+ padding: var(--alias-spacing-150, 12px) var(--alias-padding-300, 24px);
83
+ border-top: 1px solid var(--alias-colors-border-default, #e5e7eb);
84
+ background: var(--alias-colors-bg-skeleton-subtler, #fff);
85
+
86
+ .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
87
+ margin-bottom: 0;
88
+ margin-left: 8px;
89
+ }
90
+ }
91
+ }
92
+
93
+ &.ald-modal-virtual-scroll-bar {
94
+ .ant-modal-body {
95
+ overflow: hidden;
96
+ padding: 0;
97
+ }
98
+
99
+ .ald-modal-body-wrap {
100
+ .ald-modal-body-wrap-inner {
101
+ max-height: 68vh;
102
+ padding: 0 23px;
103
+ }
104
+ }
105
+ }
106
+
107
+ &.ald-modal-padding-less {
108
+ .ant-modal-body {
109
+ padding: 0;
110
+ }
111
+ }
112
+
113
+ &.ald-modal-hide-header-bottom-border {
114
+ .ant-modal-content {
115
+ .ant-modal-header {
116
+ border-bottom: none;
117
+ }
118
+ }
119
+ }
120
+ }
121
+
122
+ .ald-modal-padding-less {
123
+ .ant-modal-content {
124
+ .ant-modal-body {
125
+ .ald-modal-body-wrap {
126
+ .ald-modal-body-wrap-inner {
127
+ padding: 0;
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
@@ -0,0 +1,100 @@
1
+ //
2
+ .ald-modal.ant-modal-confirm {
3
+ .ant-modal-content {
4
+ .ant-modal-body {
5
+ padding-bottom: 12px !important;
6
+
7
+ .ant-modal-confirm-body-wrapper {
8
+ .ant-modal-confirm-body {
9
+ display: block;
10
+
11
+ .anticon {
12
+ display: none;
13
+ }
14
+
15
+ .ant-modal-confirm-title {
16
+ .ald-modal-title-container {
17
+ display: flex;
18
+ align-items: center;
19
+ gap: var(--alias-spacing-200, 16px);
20
+
21
+ .ald-modal-icon-container {
22
+ display: grid;
23
+ place-items: center;
24
+ width: 40px;
25
+ height: 40px;
26
+ border-radius: var(--global-grid-250, 20px);
27
+
28
+ &.ald-modal-cion-info-container {
29
+ background: var(
30
+ --alias-colors-bg-accent-blue-subtle-default,
31
+ #d4e7fd
32
+ );
33
+ }
34
+
35
+ &.ald-modal-cion-warning-container {
36
+ background: var(
37
+ --alias-colors-bg-accent-yellow-subtle-default,
38
+ #fef9c3
39
+ );
40
+ }
41
+
42
+ &.ald-modal-cion-success-container {
43
+ background: var(
44
+ --alias-colors-bg-accent-green-subtle-default,
45
+ #dcfce7
46
+ );
47
+ }
48
+
49
+ &.ald-modal-cion-confirm-container {
50
+ background: var(
51
+ --alias-colors-bg-accent-blue-subtle-default,
52
+ #d4e7fd
53
+ );
54
+ }
55
+
56
+ &.ald-modal-cion-error-container {
57
+ background: var(
58
+ --alias-colors-bg-accent-red-subtle-default,
59
+ #fee2e2
60
+ );
61
+ }
62
+ }
63
+
64
+ .ald-modal-text-container {
65
+ display: flex;
66
+ flex-direction: column;
67
+ align-items: flex-start;
68
+ gap: var(--alias-spacing-100, 8px);
69
+ flex: 1 0 0;
70
+
71
+ .ald-modal-text-title {
72
+ color: var(--alias-colors-text-strong, #111827);
73
+ font-size: 18px;
74
+ font-weight: 600;
75
+ line-height: 28px;
76
+ }
77
+
78
+ .ald-modal-text-sub-title {
79
+ color: var(--alias-colors-text-subtle, #4b5563);
80
+ font-size: 14px;
81
+ font-weight: 400;
82
+ line-height: 20px;
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ .ant-modal-confirm-content {
89
+ margin-top: var(--alias-spacing-100, 8px);
90
+ margin-left: 56px;
91
+ }
92
+ }
93
+
94
+ .ant-modal-confirm-btns {
95
+ margin-block-start: 16px;
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
@@ -12,7 +12,7 @@ import classnames from 'classnames';
12
12
  import _ from 'lodash';
13
13
  import React, { useCallback, useEffect, useState } from 'react';
14
14
  import Button from "../Button";
15
- import { ChevronLeftLine, ChevronRightLine } from "../Icon";
15
+ import { ChevronLeftLine, ChevronRightLine, Ellipsis } from "../Icon";
16
16
  function Pagination(props) {
17
17
  var _props$current = props.current,
18
18
  currPage = _props$current === void 0 ? 1 : _props$current,
@@ -54,7 +54,9 @@ function Pagination(props) {
54
54
  return /*#__PURE__*/React.createElement("span", {
55
55
  key: index,
56
56
  className: prefixCls('ellipsis')
57
- }, "...");
57
+ }, /*#__PURE__*/React.createElement(Ellipsis, {
58
+ size: 20
59
+ }));
58
60
  }
59
61
  return /*#__PURE__*/React.createElement(Button, {
60
62
  key: index,
@@ -11,16 +11,23 @@
11
11
  &,
12
12
  &:focus,
13
13
  &:hover {
14
- border: 1px solid #3271c9;
15
- color: #3271c9;
14
+ border: 1px solid
15
+ var(--alias-colors-border-accent-blue-subtle-default, #7fb6f8);
16
+ color: var(--alias-colors-border-accent-blue-subtle-default, #7fb6f8);
17
+ background-color: var(--alias-colors-bg-selected-default, #e8f2fe);
16
18
  }
17
19
  }
18
20
 
19
21
  .ald-pagination-ellipsis {
20
22
  border: none;
21
- color: #858585;
23
+ width: 32px;
24
+ height: 32px;
25
+ display: flex;
26
+ justify-content: center;
27
+ align-items: center;
22
28
  }
23
29
 
24
30
  .ald-btn.ald-btn.ald-btn-secondary.ald-pagination-button {
25
- font-weight: 400;
31
+ font-size: 12px;
32
+ font-weight: 500;
26
33
  }
@@ -1,4 +1,4 @@
1
- var _excluded = ["okButtonProps", "cancelButtonProps", "okType", "icon"];
1
+ var _excluded = ["okButtonProps", "cancelButtonProps", "okType", "rootClassName", "icon"];
2
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
3
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
4
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -6,19 +6,19 @@ import { Popconfirm } from 'antd';
6
6
  import classNames from 'classnames';
7
7
  import React from 'react';
8
8
  import { btnPrefix, getButtonSizeClass, getButtonType, getDangerStatus, getShape } from "../Button";
9
- import { AlertTriangleDuotone } from "../Icon";
10
- import themeColor from "../style/themes/default/themeColor.module.less";
9
+ import { AlertTriangleLine } from "../Icon";
11
10
  function MyPopconfirm(props) {
12
11
  var _props$okButtonProps = props.okButtonProps,
13
12
  okButtonProps = _props$okButtonProps === void 0 ? {} : _props$okButtonProps,
14
13
  _props$cancelButtonPr = props.cancelButtonProps,
15
14
  cancelButtonProps = _props$cancelButtonPr === void 0 ? {} : _props$cancelButtonPr,
16
15
  okType = props.okType,
16
+ rootClassName = props.rootClassName,
17
17
  _props$icon = props.icon,
18
- icon = _props$icon === void 0 ? /*#__PURE__*/React.createElement(AlertTriangleDuotone, {
19
- size: 16,
20
- color: themeColor.SB40,
21
- fill: themeColor.BG100
18
+ icon = _props$icon === void 0 ? /*#__PURE__*/React.createElement(AlertTriangleLine, {
19
+ size: 20,
20
+ color: "#D64343",
21
+ fill: "#fff"
22
22
  }) : _props$icon,
23
23
  restProps = _objectWithoutProperties(props, _excluded);
24
24
  function getButtonProps(buttonProps, defaultBtnType) {
@@ -42,6 +42,7 @@ function MyPopconfirm(props) {
42
42
  }
43
43
  return /*#__PURE__*/React.createElement(Popconfirm, _extends({}, restProps, {
44
44
  icon: icon,
45
+ rootClassName: classNames('ald-pop-confirm', rootClassName),
45
46
  okButtonProps: getButtonProps(okButtonProps, 'dangerous'),
46
47
  cancelButtonProps: getButtonProps(cancelButtonProps, 'secondary'),
47
48
  description: null
@@ -1,19 +1,21 @@
1
1
  @import '../../style/index.less';
2
2
  @import '../../Button/style/index.less';
3
3
 
4
- .ant-popover.ant-popover .ant-popover-inner {
5
- padding: 16px;
6
- border-radius: 4px;
4
+ .ald-pop-confirm.ant-popover.ant-popover .ant-popover-inner {
5
+ padding: 12px;
6
+ border-radius: 2px;
7
+ box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08),
8
+ 0 4px 6px -2px rgba(16, 24, 40, 0.03);
7
9
 
8
10
  .ant-popover-inner-content {
9
11
  .ant-popconfirm-message {
10
- padding-bottom: 16px;
12
+ padding-bottom: 12px;
11
13
  margin-bottom: 0;
12
14
  align-items: center;
13
15
  }
14
16
 
15
17
  .ant-popconfirm-buttons {
16
- padding-top: 16px;
18
+ padding-top: 12px;
17
19
  }
18
20
  }
19
21
  }
@@ -29,7 +31,15 @@
29
31
  font-weight: 400;
30
32
  font-size: 13px;
31
33
  line-height: 20px;
32
- color: @NL40;
34
+ color: var(--colors-gray-900, #171717);
33
35
  margin-inline-start: 4px;
36
+ margin-left: 4px !important;
37
+ }
38
+ }
39
+
40
+ .ald-pop-confirm.ant-popover.ant-popover .ant-popover-arrow {
41
+ &::after {
42
+ box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08),
43
+ 0 4px 6px -2px rgba(16, 24, 40, 0.03);
34
44
  }
35
45
  }
@@ -1,33 +1,33 @@
1
1
  @import '../../style/index.less';
2
2
 
3
- .ald-popover.ald-popover {
4
- .ant-popover-title {
5
- min-width: 312px;
6
- height: 24px;
7
- min-height: 24px;
8
- padding: 0;
9
- color: @NL0;
10
- font-weight: 600;
11
- font-size: 16px;
12
- font-family: 'PingFang SC', sans-serif;
13
- font-style: normal;
14
- line-height: 24px;
15
- border-bottom-width: 0;
16
- }
3
+ // .ald-popover.ald-popover {
4
+ // .ant-popover-title {
5
+ // min-width: 312px;
6
+ // height: 24px;
7
+ // min-height: 24px;
8
+ // padding: 0;
9
+ // color: @NL0;
10
+ // font-weight: 600;
11
+ // font-size: 16px;
12
+ // font-family: 'PingFang SC', sans-serif;
13
+ // font-style: normal;
14
+ // line-height: 24px;
15
+ // border-bottom-width: 0;
16
+ // }
17
17
 
18
- .ant-popover-inner-content {
19
- min-height: 112px;
20
- padding: 24px 0 0;
21
- color: @NL0;
22
- font-weight: 400;
23
- font-size: 14px;
24
- font-family: 'PingFang SC', sans-serif;
25
- font-style: normal;
26
- line-height: 20px;
27
- }
18
+ // .ant-popover-inner-content {
19
+ // min-height: 112px;
20
+ // padding: 24px 0 0;
21
+ // color: @NL0;
22
+ // font-weight: 400;
23
+ // font-size: 14px;
24
+ // font-family: 'PingFang SC', sans-serif;
25
+ // font-style: normal;
26
+ // line-height: 20px;
27
+ // }
28
28
 
29
- .ant-popover-inner {
30
- padding: 16px 24px;
31
- border-radius: 8px;
32
- }
33
- }
29
+ // .ant-popover-inner {
30
+ // padding: 16px 24px;
31
+ // border-radius: 8px;
32
+ // }
33
+ // }
@@ -16,7 +16,7 @@ export var RadioGroupContext = /*#__PURE__*/createContext({});
16
16
  export default function RadioGroup(props) {
17
17
  var children = props.children,
18
18
  _props$radioGroupStyl = props.radioGroupStyle,
19
- radioGroupStyle = _props$radioGroupStyl === void 0 ? 'border' : _props$radioGroupStyl,
19
+ radioGroupStyle = _props$radioGroupStyl === void 0 ? 'filled' : _props$radioGroupStyl,
20
20
  _props$size = props.size,
21
21
  size = _props$size === void 0 ? 'middle' : _props$size,
22
22
  _props$type = props.type,
@@ -64,10 +64,8 @@ export default function RadioGroup(props) {
64
64
  }
65
65
  }, /*#__PURE__*/React.createElement("div", {
66
66
  className: getWrapperClass()
67
- }, children, (radioGroupStyle === 'filled' || radioGroupStyle === 'filter') && type !== 'radio' ? /*#__PURE__*/React.createElement("div", {
68
- className: classNames('ald-radio-filled-slider ', {
69
- 'ald-radio-filled-slider-filter': radioGroupStyle === 'filter'
70
- }),
67
+ }, children, type !== 'radio' ? /*#__PURE__*/React.createElement("div", {
68
+ className: classNames('ald-radio-filled-slider'),
71
69
  ref: sliderRef
72
70
  }) : null));
73
71
  }
@@ -9,6 +9,7 @@ import _ from 'lodash';
9
9
  import React, { useContext, useEffect, useRef } from 'react';
10
10
  import { getUUID } from "../../../_utils/hooks/useId";
11
11
  import { RadioGroupContext } from "../Group";
12
+ var FILL_BUTTON_MARGIN = 4;
12
13
  export default function Radio(props) {
13
14
  var groupContext = useContext(RadioGroupContext);
14
15
  var labelRef = useRef(null);
@@ -63,7 +64,7 @@ export default function Radio(props) {
63
64
  var _groupContext$sliderR;
64
65
  if (radioProps.checked && groupContext !== null && groupContext !== void 0 && (_groupContext$sliderR = groupContext.sliderRef) !== null && _groupContext$sliderR !== void 0 && _groupContext$sliderR.current && labelRef !== null && labelRef !== void 0 && labelRef.current) {
65
66
  groupContext.sliderRef.current.style.left = "".concat(labelRef.current.offsetLeft, "px");
66
- groupContext.sliderRef.current.style.width = "".concat(labelRef.current.offsetWidth, "px");
67
+ groupContext.sliderRef.current.style.width = "".concat(labelRef.current.offsetWidth - FILL_BUTTON_MARGIN, "px");
67
68
  }
68
69
  }, [groupContext.sliderRef, radioProps.checked]);
69
70
  var onChange = function onChange() {
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export type TRadioGroupStyle = 'border' | 'filled' | 'borderPrimary' | 'filter';
2
+ export type TRadioGroupStyle = 'filled';
3
3
  export type TRadioSize = 'large' | 'middle' | 'small' | 'default';
4
4
  export type TRadioType = 'radio' | 'button' | 'iconButton';
5
5
  export interface IRadioGroupProps {