@veltra/mobile 1.1.2 → 1.1.4

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.
@@ -98,7 +98,7 @@
98
98
  border-color: transparent;
99
99
  box-shadow: none;
100
100
  }
101
- .um-button .um-icon {
101
+ .um-button .um-button__icon {
102
102
  display: inline-flex;
103
103
  align-items: center;
104
104
  justify-content: center;
@@ -108,11 +108,11 @@
108
108
  height: 1em;
109
109
  user-select: none;
110
110
  }
111
- .um-button .um-icon svg {
111
+ .um-button .um-button__icon svg {
112
112
  width: 1em;
113
113
  height: 1em;
114
114
  }
115
- .um-button .um-icon.is-loading {
115
+ .um-button .um-button__icon.is-loading {
116
116
  transform-origin: center;
117
117
  animation: um-button-icon-rotating 2s linear infinite;
118
118
  }
@@ -128,15 +128,14 @@
128
128
  border: none;
129
129
  background: none;
130
130
  font-size: var(--um-font-size-main, 16px);
131
- color: var(--u-text-color-main);
131
+ color: var(--u-color-primary);
132
132
  cursor: pointer;
133
133
  }
134
134
  .um-date-picker__nav svg {
135
135
  width: 1em;
136
136
  height: 1em;
137
- }
138
- .um-date-picker__nav:active {
139
- color: var(--u-color-primary);
137
+ stroke: currentColor;
138
+ stroke-width: 0.5px;
140
139
  }
141
140
  .um-date-picker__panel-title {
142
141
  font-size: var(--um-font-size-main, 16px);
@@ -44,7 +44,7 @@
44
44
  justify-content: flex-start;
45
45
  align-items: center;
46
46
  flex-wrap: nowrap;
47
- animation: um-tag-zoom-in 0.25s cubic-bezier(0.23, 1, 0.32, 1);
47
+ animation: um-tag-zoom-in 0.25s cubic-bezier(0.33, 1, 0.68, 1);
48
48
  }
49
49
  .um-tag__content {
50
50
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltra/mobile",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "homepage": "https://github.com/cabinet-fe/ultra-ui#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/cabinet-fe/ultra-ui/issues"
@@ -96,7 +96,7 @@ $size-padding: (
96
96
  box-shadow: none;
97
97
  }
98
98
 
99
- @include m.bem(icon) {
99
+ @include m.bem($root-name, icon) {
100
100
  display: inline-flex;
101
101
  align-items: center;
102
102
  justify-content: center;
@@ -122,16 +122,15 @@ $root-name: date-picker;
122
122
  border: none;
123
123
  background: none;
124
124
  font-size: t.use-var('font-size-main');
125
- color: fn.use-var(text-color, main);
125
+ color: fn.use-var(color, primary);
126
126
  cursor: pointer;
127
127
 
128
128
  svg {
129
129
  width: 1em;
130
130
  height: 1em;
131
- }
132
-
133
- &:active {
134
- color: fn.use-var(color, primary);
131
+ // 图标为填充路径,同色描边让箭头视觉加粗
132
+ stroke: currentColor;
133
+ stroke-width: 0.5px;
135
134
  }
136
135
  }
137
136
 
@@ -40,7 +40,7 @@ $size-padding: (
40
40
  border: 1px solid fn.use-var(text-color, main);
41
41
  @include m.flex(inline-flex, flex-start, center);
42
42
 
43
- animation: um-tag-zoom-in 0.25s cubic-bezier(0.23, 1, 0.32, 1);
43
+ animation: um-tag-zoom-in 0.25s cubic-bezier(0.33, 1, 0.68, 1);
44
44
 
45
45
  @include m.e(content) {
46
46
  @include m.ellipsis;