@ysgroup/ui 0.1.10 → 0.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/ui",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -51,7 +51,9 @@ const emit = defineEmits<{ open: [app: AppCard] }>();
51
51
  padding: 20px 12px;
52
52
  text-align: center;
53
53
  cursor: pointer;
54
- transition: transform 0.12s, box-shadow 0.12s;
54
+ transition:
55
+ transform 0.12s,
56
+ box-shadow 0.12s;
55
57
  }
56
58
  .ys-portal__card:hover {
57
59
  transform: translateY(-2px);
@@ -90,7 +90,10 @@ defineExpose({
90
90
  show-icon
91
91
  class="ys-settings__notice"
92
92
  />
93
- <el-button tag="a" type="primary" :href="passwordManagementUrl" target="_blank" rel="noopener noreferrer"> 前往 Auth系统 修改密码 </el-button>
93
+ <div class="ys-settings__password-link">
94
+ <span>前往 Auth系统修改密码:</span>
95
+ <el-button tag="a" type="primary" :href="passwordManagementUrl" target="_blank" rel="noopener noreferrer">前往</el-button>
96
+ </div>
94
97
  </template>
95
98
  <template v-else-if="canChangePassword">
96
99
  <h3 class="ys-settings__title">修改登录密码</h3>
@@ -132,4 +135,10 @@ defineExpose({
132
135
  .ys-settings__notice {
133
136
  margin-bottom: 18px;
134
137
  }
138
+ .ys-settings__password-link {
139
+ display: flex;
140
+ align-items: center;
141
+ gap: 8px;
142
+ color: var(--ys-color-text-2);
143
+ }
135
144
  </style>