@opendesign-plus/components 0.0.1-rc.32 → 0.0.1-rc.33

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": "@opendesign-plus/components",
3
- "version": "0.0.1-rc.32",
3
+ "version": "0.0.1-rc.33",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -34,8 +34,8 @@
34
34
  "vue-dompurify-html": "^3.1.2",
35
35
  "vue": "^3.5.13",
36
36
  "element-plus": "2.13.1",
37
- "@opendesign-plus/composables": "0.0.1-rc.9",
38
- "@opendesign-plus/styles": "0.0.1-rc.2"
37
+ "@opendesign-plus/styles": "0.0.1-rc.2",
38
+ "@opendesign-plus/composables": "0.0.1-rc.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@vitejs/plugin-vue": "^5.2.1",
@@ -1,4 +1,4 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
- <path opacity="0.8" fill="#000"
3
- d="M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"></path>
4
- </svg>
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path opacity="0.8" fill="#000"
3
+ d="M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"></path>
4
+ </svg>
@@ -144,13 +144,13 @@
144
144
 
145
145
  &.start-date {
146
146
  .el-date-table-cell {
147
- border-radius: var(--cell-radius) 0 0 var(--cell-radius);
147
+ border-radius: var(--cell-radius);
148
148
  }
149
149
  }
150
150
 
151
151
  &.end-date {
152
152
  .el-date-table-cell {
153
- border-radius: 0 var(--cell-radius) var(--cell-radius) 0;
153
+ border-radius: var(--cell-radius);
154
154
  }
155
155
  }
156
156
  }
@@ -177,6 +177,36 @@
177
177
  border: 1px solid var(--el-input-border-color);
178
178
  }
179
179
 
180
+ .el-date-editor {
181
+ &.is-focus {
182
+
183
+ .el-input__wrapper {
184
+ box-shadow: none;
185
+ --el-input-border-color: var(--o-color-primary3);
186
+ }
187
+ }
188
+
189
+ &:hover {
190
+
191
+ .el-input__wrapper {
192
+ box-shadow: none;
193
+ --el-input-border-color: var(--o-color-primary2);
194
+ }
195
+ }
196
+
197
+ &.el-input__wrapper {
198
+ &:hover {
199
+ box-shadow: none;
200
+ --el-input-border-color: var(--o-color-primary2);
201
+ }
202
+
203
+ &.is-active {
204
+ --el-input-border-color: var(--o-color-primary3);
205
+ }
206
+ }
207
+ }
208
+
209
+
180
210
  .el-select__wrapper {
181
211
  background: var(--o-color-fill2);
182
212
  }
@@ -203,6 +203,15 @@ const changeMeetingDay = useDebounceFn((day: string, event?: Event) => {
203
203
  }, 300)
204
204
 
205
205
 
206
+ watch(() => latestDay.value,
207
+ () => {
208
+ changeMeetingDay(latestDay.value);
209
+ },
210
+ {
211
+ immediate: true,
212
+ },
213
+ );
214
+
206
215
  const selectDate = (val: string, date: string) => {
207
216
  if (formatDate(date) === formatDate(limitTime) && val === 'prev-month') {
208
217
  isLimit.value = true;
@@ -249,7 +258,6 @@ const getCalendarHeight = async () => {
249
258
 
250
259
  onMounted(() => {
251
260
  getCalendarHeight();
252
- getDateData();
253
261
  });
254
262
 
255
263
  const stopWatchData = watch(
@@ -924,9 +924,10 @@ const cancelActions = computed<DialogActionT[]>(() => {
924
924
  display: table;
925
925
 
926
926
  th {
927
- text-align: center;
927
+ text-align: left;
928
928
  border: none;
929
929
  --o-color-control3-light: transparent;
930
+ padding-left: calc(17px - 0.5em);
930
931
  }
931
932
 
932
933
  tr {
@@ -1232,7 +1233,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
1232
1233
  border-top: none;
1233
1234
  border-radius: var(--meeting-card-radius);
1234
1235
  transition: margin var(--o-easing-standard) var(--o-duration-s);
1235
- --copy-display: none;
1236
1236
  --icon-size: 24px;
1237
1237
  @include respond('<=pad_v') {
1238
1238
  padding: var(--o-gap-3) var(--o-gap-4);
@@ -1246,8 +1246,12 @@ const cancelActions = computed<DialogActionT[]>(() => {
1246
1246
  .title-text {
1247
1247
  color: var(--o-color-primary1);
1248
1248
  }
1249
- @include respond('>pad_v') {
1250
- --copy-display: block;
1249
+
1250
+ .o-collapse-item-title {
1251
+ .copy-icon {
1252
+ opacity: 1;
1253
+ visibility: visible;
1254
+ }
1251
1255
  }
1252
1256
  }
1253
1257
 
@@ -1273,12 +1277,26 @@ const cancelActions = computed<DialogActionT[]>(() => {
1273
1277
  border-bottom: none;
1274
1278
  background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent) !important;
1275
1279
 
1276
- @include respond('<=pad_v') {
1277
- --copy-display: block;
1278
- }
1279
-
1280
1280
  .o-collapse-item-header {
1281
- border-bottom: 1px solid var(--o-color-control4);
1281
+ padding-bottom: var(--o-gap-2);
1282
+ position: relative;
1283
+
1284
+ &::after {
1285
+ content: '';
1286
+ position: absolute;
1287
+ left: calc(var(--o-gap-3) + var(--icon-size));
1288
+ right: 0;
1289
+ bottom: 0;
1290
+ height: 1px;
1291
+ background-color: var(--o-color-control4);
1292
+ }
1293
+
1294
+ .o-collapse-item-title {
1295
+ .copy-icon {
1296
+ opacity: 1;
1297
+ visibility: visible;
1298
+ }
1299
+ }
1282
1300
  }
1283
1301
  }
1284
1302
  }
@@ -1286,7 +1304,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
1286
1304
  .o-collapse-item-header {
1287
1305
  border-bottom: none;
1288
1306
  padding-top: 0;
1289
- padding-bottom: var(--o-gap-4);
1307
+ padding-bottom: 0;
1290
1308
  display: flex;
1291
1309
  align-items: center;
1292
1310
  gap: var(--o-gap-4);
@@ -1389,7 +1407,11 @@ const cancelActions = computed<DialogActionT[]>(() => {
1389
1407
  display: flex;
1390
1408
  align-items: center;
1391
1409
  font-weight: 400;
1392
- @include tip1;
1410
+ font-size: 14px;
1411
+ line-height: 22px;
1412
+ @include respond('<=pad_v') {
1413
+ @include tip1;
1414
+ }
1393
1415
  @include respond('phone') {
1394
1416
  flex-direction: column;
1395
1417
  align-items: flex-start;
@@ -1433,7 +1455,8 @@ const cancelActions = computed<DialogActionT[]>(() => {
1433
1455
  .copy-icon {
1434
1456
  flex-shrink: 0;
1435
1457
  font-size: 24px;
1436
- display: var(--copy-display);
1458
+ visibility: hidden;
1459
+ opacity: 0;
1437
1460
  color: var(--o-color-info1);
1438
1461
  height: 1em;
1439
1462
  @include respond('<=laptop') {
@@ -1457,7 +1480,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
1457
1480
 
1458
1481
  .o-collapse-item-body {
1459
1482
  margin-bottom: 0;
1460
- padding: var(--o-gap-4) 0 0;
1483
+ padding: var(--o-gap-2) 0 0;
1461
1484
 
1462
1485
  .meeting-detail {
1463
1486
  padding-left: calc(var(--o-gap-3) + var(--icon-size));
@@ -1468,13 +1491,23 @@ const cancelActions = computed<DialogActionT[]>(() => {
1468
1491
 
1469
1492
  .meeting-btn {
1470
1493
  border-top: 1px solid var(--o-color-control4);
1471
- margin-top: var(--o-gap-5);
1494
+ margin-top: var(--o-gap-4);
1472
1495
  padding-top: var(--o-gap-4);
1473
- padding-bottom: var(--o-gap-4);
1496
+ padding-bottom: calc(var(--o-gap-4) - var(--o-gap-2));
1474
1497
  display: flex;
1475
1498
  align-items: center;
1476
1499
  justify-content: flex-end;
1477
1500
  gap: var(--o-gap-5);
1501
+ @include respond('pad_h') {
1502
+ margin-top: var(--o-gap-3);
1503
+ padding-top: var(--o-gap-3);
1504
+ padding-bottom: calc(var(--o-gap-3) - var(--o-gap-2));
1505
+ }
1506
+ @include respond('<=pad_v') {
1507
+ margin-top: var(--o-gap-2);
1508
+ padding-top: var(--o-gap-2);
1509
+ padding-bottom: 0;
1510
+ }
1478
1511
 
1479
1512
  .o-link {
1480
1513
  --link-color: inherit;
@@ -372,11 +372,6 @@ const computedList = computed<any[]>(() => {
372
372
  display: none;
373
373
  }
374
374
 
375
- @include hover {
376
- .text {
377
- color: var(--o-color-primary1);
378
- }
379
- }
380
375
  @include respond('<=pad_v') {
381
376
  &::after {
382
377
  width: calc(100% - 2 * 16px);
@@ -409,9 +404,14 @@ const computedList = computed<any[]>(() => {
409
404
 
410
405
  .o-collapse-item-header {
411
406
  align-items: center;
412
- padding: var(--o-gap-4) var(--o-gap-5);
407
+ padding: var(--o-gap-4) var(--o-gap-4) var(--o-gap-3) var(--o-gap-4);
413
408
  position: relative;
414
409
 
410
+ @include hover {
411
+ .text {
412
+ color: var(--o-color-primary1);
413
+ }
414
+ }
415
415
  @include respond('>pad_v') {
416
416
  &:hover {
417
417
  .o-collapse-item-title {
@@ -423,7 +423,7 @@ const computedList = computed<any[]>(() => {
423
423
  }
424
424
  }
425
425
  @include respond('<=pad_v') {
426
- padding: 12px 16px;
426
+ padding: var(--o-gap-4) var(--o-gap-3) var(--o-gap-2) var(--o-gap-3);
427
427
  }
428
428
 
429
429
  .o-collapse-item-title {
@@ -586,8 +586,6 @@ const computedList = computed<any[]>(() => {
586
586
  .text {
587
587
  display: block;
588
588
  font-weight: 600;
589
- min-width: 0;
590
- flex: 1;
591
589
  @include text-truncate(1);
592
590
  }
593
591
  }
@@ -174,42 +174,40 @@ defineExpose({ copyInfo });
174
174
  <style lang="scss">
175
175
  .o-meeting-detail {
176
176
  position: relative;
177
+ display: grid;
178
+ grid-template-columns: auto 1fr;
179
+ row-gap: var(--o-gap-2);
180
+ column-gap: var(--o-gap-4);
181
+
182
+ @include respond('<=pad_v') {
183
+ row-gap: var(--o-gap-1);
184
+ column-gap: var(--o-gap-1);
185
+ }
186
+
177
187
  .label-item {
178
188
  color: var(--o-color-info3);
179
- display: flex;
180
- align-items: flex-start;
189
+ display: grid;
190
+ grid-template-columns: auto 1fr;
191
+ grid-template-columns: subgrid;
192
+ grid-column: 1 / -1;
193
+ align-items: start;
181
194
  font-size: 14px;
182
- gap: var(--o-gap-2);
183
-
195
+ line-height: 22px;
184
196
  @include respond('<=pad_v') {
185
197
  font-size: 12px;
186
- gap: var(--o-gap-1);
187
- }
188
-
189
- &:not(.is-empty) {
190
- margin-bottom: var(--o-gap-2);
191
- }
192
-
193
- &:last-child {
194
- margin-bottom: 0;
198
+ line-height: 18px;
195
199
  }
196
200
 
197
201
  &.record-item {
198
- align-items: flex-start;
202
+ align-items: start;
199
203
 
200
204
  .value {
201
205
  margin-bottom: 0;
202
206
  }
203
207
  }
204
208
 
205
- &.is-en {
206
- .label {
207
- width: 6em;
208
- }
209
- }
210
-
211
209
  .label {
212
- width: 4em;
210
+ white-space: nowrap;
213
211
  flex-shrink: 0;
214
212
  display: flex;
215
213
 
@@ -222,18 +220,21 @@ defineExpose({ copyInfo });
222
220
  }
223
221
 
224
222
  .split-mark {
225
- width: 0;
226
- height: 0;
227
- opacity: 0;
228
- overflow: hidden;
223
+ display: none;
229
224
  }
230
225
 
231
226
  .more-text-wrapper {
232
- position: relative;
233
- top: -2px;
227
+ //position: relative;
228
+ //top: -2px;
234
229
  }
235
230
 
236
231
  .o-link {
232
+ font-size: 14px;
233
+ line-height: 22px;
234
+ @include respond('<=pad_v') {
235
+ font-size: 12px;
236
+ line-height: 18px;
237
+ }
237
238
  .o-link-main {
238
239
  word-wrap: break-word;
239
240
  @include text-truncate(3);
@@ -261,7 +262,7 @@ defineExpose({ copyInfo });
261
262
  }
262
263
 
263
264
  .label-item.is-empty {
264
- margin: 0;
265
+ display: none;
265
266
  }
266
267
 
267
268
  .meeting-action {
package/src/i18n/en.ts CHANGED
@@ -144,7 +144,7 @@ export default {
144
144
  'meeting.version2512Banner': 'openUBMC 25.12 LTS 社区发行版正式上线',
145
145
  'meeting.sigs': 'SIG Groups',
146
146
  'meeting.groups': 'Groups',
147
- 'meeting.activityAddress': 'Address',
147
+ 'meeting.activityAddress': 'Location',
148
148
  'meeting.livePlatform': 'Live Platform',
149
149
  'meeting.meetingTopic': 'Topics',
150
150
  'meeting.eventsTitle': 'Name',