Skip to content

Commit 9d0a9f5

Browse files
authored
chore: revert tag style modify (#589)
* chore: revert tag style modify * Create fair-dots-nail.md
1 parent f255c12 commit 9d0a9f5

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

.changeset/fair-dots-nail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@alauda/ui": minor
3+
---
4+
5+
chore: revert tag style modify

src/select/multi-select/multi-select.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
<aui-tag
4242
*ngFor="let option of selectedOptions$ | async; trackBy: trackByValue"
4343
type="info"
44-
[round]="false"
45-
[border]="false"
44+
[round]="true"
45+
[border]="true"
4646
[size]="tagSize"
4747
[closeable]="!disabled && !option.disabled"
4848
(close)="removeValue(option.value)"

src/tag/tag.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787

8888
&--mini {
8989
padding: 0 use-var(inline-padding-xs);
90-
height: 18px;
90+
height: 20px;
9191
@include text-set(s);
9292

9393
&.isRound {
@@ -133,7 +133,7 @@
133133

134134
&--info {
135135
color: use-rgb(n-2);
136-
background-color: use-rgb(n-7);
136+
background-color: use-rgb(n-8);
137137

138138
&.hasBorder {
139139
border-color: use-rgb(n-7);

src/tag/tag.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class TagComponent {
4545
invalid = false;
4646

4747
@Input()
48-
round = false;
48+
round = true;
4949

5050
@Input()
5151
color = '';

stories/tag/basic.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default class TagBasicComponent {
9797
* 是否为圆角
9898
*/
9999
@Input()
100-
round = false;
100+
round = true;
101101

102102
/**
103103
* hover是下划线

stories/tag/basic.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const Basic: Story = {
2727
size: 'medium',
2828
closeable: false,
2929
invalid: false,
30-
round: false,
30+
round: true,
3131
allowClick: false,
3232
},
3333
parameters: {

stories/tag/tag.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import * as icon from './icon.stories';
4949
| size | ComponentSize | ComponentSize.Medium | 标签大小 |
5050
| color | string | - | 自定义颜色, `'BORDER_COLOR[,BACKGOUNRD_COLOR]'` |
5151
| border | boolean | false | 是否添加边框 |
52-
| round | boolean | false | 是否为圆角 |
52+
| round | boolean | true | 是否为圆角 |
5353
| closeable | boolean | false | 是否可以关闭 |
5454
| solid | boolean | false | 是否为实心 |
5555
| invalid | boolean | false | 是否无效 |

0 commit comments

Comments
 (0)