@opendesign-plus-test/components 0.0.1-rc.46 → 0.0.1-rc.47

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 (49) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +1 -1
  3. package/dist/components.cjs.js +3 -3
  4. package/dist/components.css +1 -1
  5. package/dist/components.es.js +12 -12
  6. package/package.json +3 -3
  7. package/src/components/OBanner.vue +18 -18
  8. package/src/components/OCookieNotice.vue +21 -21
  9. package/src/components/OFooter.vue +18 -17
  10. package/src/components/OHeaderSearch.vue +19 -19
  11. package/src/components/OHeaderUser.vue +3 -2
  12. package/src/components/OSection.vue +4 -4
  13. package/src/components/activity/OActivityApproval.vue +4 -4
  14. package/src/components/activity/OActivityForm.vue +2 -2
  15. package/src/components/activity/OMyActivityCalendar.vue +26 -26
  16. package/src/components/common/ContentWrapper.vue +3 -3
  17. package/src/components/element-plus/OElCookieNotice.vue +26 -26
  18. package/src/components/events/OEventsApply.vue +44 -44
  19. package/src/components/events/OEventsCalendar.vue +14 -14
  20. package/src/components/events/OEventsList.vue +16 -16
  21. package/src/components/header/OHeader.vue +2 -2
  22. package/src/components/header/components/HeaderContent.vue +60 -60
  23. package/src/components/header/components/HeaderNav.vue +4 -4
  24. package/src/components/header/components/HeaderNavMobile.vue +3 -3
  25. package/src/components/meeting/OMeetingCalendar.vue +27 -27
  26. package/src/components/meeting/OMeetingForm.vue +16 -16
  27. package/src/components/meeting/OMeetingPlayback.vue +4 -4
  28. package/src/components/meeting/OMyMeetingCalendar.vue +25 -25
  29. package/src/components/meeting/OSigMeetingCalendar.vue +3 -3
  30. package/src/components/meeting/components/OMeetingCalendarList.vue +9 -9
  31. package/src/components/meeting/components/OMeetingDetail.vue +2 -2
  32. package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +1 -1
  33. package/src/components/meeting/components/OMeetingPlaybackVideo.vue +5 -5
  34. package/src/components/meeting/components/OSigMeetingAside.vue +6 -6
  35. package/src/draft/Banner.vue +6 -6
  36. package/src/draft/ButtonCards.vue +1 -1
  37. package/src/draft/Feature.vue +6 -6
  38. package/src/draft/Footer.vue +29 -22
  39. package/src/draft/HorizontalAnchor.vue +4 -4
  40. package/src/draft/ItemSwiper.vue +2 -2
  41. package/src/draft/Logo.vue +3 -3
  42. package/src/draft/LogoCard.vue +2 -2
  43. package/src/draft/MultiCard.vue +1 -1
  44. package/src/draft/MultiIconCard.vue +1 -1
  45. package/src/draft/OInfoCard.vue +4 -4
  46. package/src/draft/Section.vue +4 -4
  47. package/src/draft/SingleTabCard.vue +1 -1
  48. package/src/draft/SliderCard.vue +4 -3
  49. package/vite.config.ts +1 -1
@@ -652,12 +652,12 @@ defineExpose({
652
652
 
653
653
  .vjs-progress-holder {
654
654
  margin: 0;
655
- background: rgba(var(--o-mixedgray-1), 0.3);
655
+ background: rgba(var(--o-grey-1), 0.3);
656
656
  }
657
657
 
658
658
  .vjs-load-progress {
659
659
  div {
660
- background: rgba(var(--o-mixedgray-1), 0.5);
660
+ background: rgba(var(--o-grey-1), 0.5);
661
661
  }
662
662
  }
663
663
 
@@ -724,7 +724,7 @@ defineExpose({
724
724
  background-repeat: no-repeat;
725
725
  background-size: cover;
726
726
  border: 0.5px solid rgba(var(--o-white), 0.6);
727
- background-color: rgba(var(--o-mixedgray-1), 0.2);
727
+ background-color: rgba(var(--o-grey-1), 0.2);
728
728
 
729
729
  .vjs-icon-placeholder::before {
730
730
  content: none;
@@ -733,8 +733,8 @@ defineExpose({
733
733
 
734
734
  @include hover {
735
735
  .vjs-big-play-button {
736
- border: 0.5px solid rgba(var(--o-mixedgray-1), 0.6);
737
- background-color: rgba(var(--o-mixedgray-1), 0.2);
736
+ border: 0.5px solid rgba(var(--o-grey-1), 0.6);
737
+ background-color: rgba(var(--o-grey-1), 0.2);
738
738
  }
739
739
  }
740
740
  }
@@ -84,17 +84,17 @@ const changeMonth = (step: number) => {
84
84
  display: flex;
85
85
  flex-direction: column;
86
86
  border-right: 1px solid var(--o-color-control4);
87
- @include respond-to('<=pad') {
87
+ @include respond('<=pad') {
88
88
  padding: var(--o-gap-4);
89
89
  border-right: none;
90
90
  }
91
- @include respond-to('phone') {
91
+ @include respond('phone') {
92
92
  padding: 16px;
93
93
  .title {
94
94
  margin-bottom: var(--o-gap-2);
95
95
  }
96
96
  }
97
- @include respond-to('<=pad_v') {
97
+ @include respond('<=pad_v') {
98
98
  width: 100%;
99
99
  }
100
100
 
@@ -112,7 +112,7 @@ const changeMonth = (step: number) => {
112
112
  display: grid;
113
113
  grid-template-columns: repeat(2, 1fr);
114
114
 
115
- @include respond-to('<=pad_v') {
115
+ @include respond('<=pad_v') {
116
116
  display: flex;
117
117
  }
118
118
 
@@ -185,11 +185,11 @@ const changeMonth = (step: number) => {
185
185
  }
186
186
  }
187
187
 
188
- @include respond-to('<=pad_v') {
188
+ @include respond('<=pad_v') {
189
189
  .day-item {
190
190
  }
191
191
  }
192
- @include respond-to('<=pad_v') {
192
+ @include respond('<=pad_v') {
193
193
  .day-item {
194
194
  width: min(128px, calc((100% - var(--o-gap-2)) / 2));
195
195
  }
@@ -128,7 +128,7 @@ onMounted(() => {
128
128
  }
129
129
  }
130
130
 
131
- @include respond-to('pad_h') {
131
+ @include respond('pad_h') {
132
132
  height: 180px;
133
133
 
134
134
  .banner-title {
@@ -141,7 +141,7 @@ onMounted(() => {
141
141
  }
142
142
  }
143
143
 
144
- @include respond-to('<=pad_v') {
144
+ @include respond('<=pad_v') {
145
145
  display: none;
146
146
  }
147
147
  }
@@ -176,7 +176,7 @@ onMounted(() => {
176
176
  }
177
177
  }
178
178
 
179
- @include respond-to('pad_h') {
179
+ @include respond('pad_h') {
180
180
  height: 220px;
181
181
 
182
182
  .banner-title {
@@ -189,7 +189,7 @@ onMounted(() => {
189
189
  }
190
190
  }
191
191
 
192
- @include respond-to('<=pad_v') {
192
+ @include respond('<=pad_v') {
193
193
  height: 120px;
194
194
 
195
195
  .banner-title {
@@ -234,7 +234,7 @@ onMounted(() => {
234
234
  }
235
235
  }
236
236
 
237
- @include respond-to('pad_h') {
237
+ @include respond('pad_h') {
238
238
  height: 320px;
239
239
 
240
240
  .banner-title {
@@ -247,7 +247,7 @@ onMounted(() => {
247
247
  }
248
248
  }
249
249
 
250
- @include respond-to('<=pad_v') {
250
+ @include respond('<=pad_v') {
251
251
  height: 184px;
252
252
 
253
253
  .banner-title {
@@ -96,7 +96,7 @@ const getAction = (action: OperationAction) => {
96
96
  margin-left: var(--grid-column-gutter);
97
97
  }
98
98
 
99
- @include respond-to("phone") {
99
+ @include respond("phone") {
100
100
  --card-header-text-size: 16px;
101
101
  --card-header-text-height: 24px;
102
102
  --card-content-text-size: 14px;
@@ -37,7 +37,7 @@ const props = defineProps<{
37
37
  row-gap: var(--o3-gap-7);
38
38
  border-radius: var(--o3-radius-l);
39
39
 
40
- @include respond-to('phone') {
40
+ @include respond('phone') {
41
41
  gap: 0;
42
42
  display: flex;
43
43
  white-space: nowrap;
@@ -62,7 +62,7 @@ const props = defineProps<{
62
62
  background-color: rgba(0, 0, 0, 0.1);
63
63
  width: 1px;
64
64
 
65
- @include respond-to('<=pad_v') {
65
+ @include respond('<=pad_v') {
66
66
  top: 16px;
67
67
  height: 36px;
68
68
  }
@@ -79,13 +79,13 @@ const props = defineProps<{
79
79
  .feature-content {
80
80
  max-width: 288px;
81
81
 
82
- @include respond-to('<=laptop') {
82
+ @include respond('<=laptop') {
83
83
  max-width: 252px;
84
84
  }
85
85
  }
86
86
  }
87
87
 
88
- @include respond-to('phone') {
88
+ @include respond('phone') {
89
89
  &::after {
90
90
  display: none;
91
91
  }
@@ -98,7 +98,7 @@ const props = defineProps<{
98
98
  display: inline-block;
99
99
  max-width: 320px;
100
100
 
101
- @include respond-to('phone') {
101
+ @include respond('phone') {
102
102
  flex: 0 0 auto;
103
103
  width: 25vw;
104
104
  padding: 0 24px;
@@ -117,7 +117,7 @@ const props = defineProps<{
117
117
  margin-bottom: var(--o3-gap-2);
118
118
  color: var(--o-color-info1);
119
119
 
120
- @include respond-to('phone') {
120
+ @include respond('phone') {
121
121
  white-space: pre-wrap;
122
122
 
123
123
  @include tip2;
@@ -176,7 +176,7 @@ $color: #fff;
176
176
  .atom-logo {
177
177
  height: 32px;
178
178
  margin-top: 12px;
179
- @include respond-to('<=pad_v') {
179
+ @include respond('<=pad_v') {
180
180
  margin-top: 16px;
181
181
  height: 30px;
182
182
  }
@@ -186,7 +186,7 @@ $color: #fff;
186
186
  .footer-content {
187
187
  @include tip1;
188
188
  background: url('@/assets/category/footer/footer-bg.png') no-repeat bottom center;
189
- @include respond-to('<=pad_v') {
189
+ @include respond('<=pad_v') {
190
190
  background: url('@/assets/category/footer/footer-bg-mo.png') no-repeat bottom center;
191
191
  }
192
192
  .quick-nav {
@@ -194,7 +194,7 @@ $color: #fff;
194
194
  display: flex;
195
195
  justify-content: space-between;
196
196
  max-width: 1140px;
197
- @include respond-to('<=pad_v') {
197
+ @include respond('<=pad_v') {
198
198
  display: none;
199
199
  }
200
200
  .category {
@@ -229,7 +229,7 @@ $color: #fff;
229
229
  @include tip2;
230
230
  //TODO: 颜色变量
231
231
  border-bottom: 1px solid rgba(229, 229, 229, 0.12);
232
- @include respond-to('<=pad_v') {
232
+ @include respond('<=pad_v') {
233
233
  flex-direction: column;
234
234
  padding-bottom: 16px;
235
235
  .friendship-link-box {
@@ -239,7 +239,7 @@ $color: #fff;
239
239
  .friendship-link-title {
240
240
  color: var(--o-color-white);
241
241
  margin-right: 38px;
242
- @include respond-to('<=pad') {
242
+ @include respond('<=pad') {
243
243
  margin-right: 24px;
244
244
  min-width: 48px;
245
245
  }
@@ -248,7 +248,7 @@ $color: #fff;
248
248
  white-space: nowrap;
249
249
  &:not(:last-of-type) {
250
250
  margin-right: 24px;
251
- @include respond-to('<=pad') {
251
+ @include respond('<=pad') {
252
252
  margin-right: 12px;
253
253
  }
254
254
  }
@@ -264,7 +264,7 @@ $color: #fff;
264
264
  justify-content: space-between;
265
265
  padding: 8px 0 32px;
266
266
  position: relative;
267
- @include respond-to('<=pad_v') {
267
+ @include respond('<=pad_v') {
268
268
  margin: 0 auto;
269
269
  padding: 12px 0 24px;
270
270
  flex-direction: column;
@@ -284,7 +284,8 @@ $color: #fff;
284
284
  .show-mo {
285
285
  display: none;
286
286
  }
287
- @include respond-to('<=pad_v') {
287
+
288
+ @include respond('<=pad_v') {
288
289
  text-align: center;
289
290
  margin: 16px 0;
290
291
  .show-pc {
@@ -306,11 +307,11 @@ $color: #fff;
306
307
  display: flex;
307
308
  gap: var(--o-gap-2);
308
309
 
309
- @include respond-to('<=pad') {
310
+ @include respond('<=pad') {
310
311
  flex-direction: column;
311
312
  gap: 6px;
312
313
  }
313
- @include respond-to('<=pad_v') {
314
+ @include respond('<=pad_v') {
314
315
  margin-top: 4px;
315
316
  gap: 4px;
316
317
  }
@@ -338,7 +339,8 @@ $color: #fff;
338
339
  span {
339
340
  color: rgba(255, 255, 255, 0.6);
340
341
  }
341
- @include respond-to('<=pad_v') {
342
+
343
+ @include respond('<=pad_v') {
342
344
  margin-top: 4px;
343
345
  }
344
346
  }
@@ -353,7 +355,8 @@ $color: #fff;
353
355
  .footer-option-item {
354
356
  align-items: center;
355
357
  }
356
- @include respond-to('<=pad_v') {
358
+
359
+ @include respond('<=pad_v') {
357
360
  order: -1;
358
361
  }
359
362
  }
@@ -400,7 +403,8 @@ $color: #fff;
400
403
  transform: translateX(-50%);
401
404
  display: block;
402
405
  }
403
- @include respond-to('<=pad_v') {
406
+
407
+ @include respond('<=pad_v') {
404
408
  display: block;
405
409
  position: initial;
406
410
  background: none;
@@ -419,17 +423,18 @@ $color: #fff;
419
423
  display: block;
420
424
  }
421
425
  }
422
- @include respond-to('pad_h') {
426
+ @include respond('pad_h') {
423
427
  height: 18px;
424
428
  }
425
- @include respond-to('<=pad_v') {
429
+ @include respond('<=pad_v') {
426
430
  height: auto;
427
431
  > img {
428
432
  display: none;
429
433
  }
430
434
  }
431
435
  }
432
- @include respond-to('<=pad_v') {
436
+
437
+ @include respond('<=pad_v') {
433
438
  justify-content: space-between;
434
439
  }
435
440
  }
@@ -446,11 +451,11 @@ $color: #fff;
446
451
  padding: 0 14px;
447
452
  background-color: #2b2b2f;
448
453
  border-radius: var(--o-radius-xs);
449
- @include respond-to('pad_h') {
454
+ @include respond('pad_h') {
450
455
  height: 26px;
451
456
  padding: 0 8px;
452
457
  }
453
- @include respond-to('<=pad_v') {
458
+ @include respond('<=pad_v') {
454
459
  height: 26px;
455
460
  padding: 0 8px;
456
461
  }
@@ -458,10 +463,11 @@ $color: #fff;
458
463
  object-fit: cover;
459
464
  }
460
465
  }
461
- @include respond-to('pad_h') {
466
+
467
+ @include respond('pad_h') {
462
468
  margin-left: 32px;
463
469
  }
464
- @include respond-to('<=pad_v') {
470
+ @include respond('<=pad_v') {
465
471
  justify-content: center;
466
472
  display: flex;
467
473
  text-align: center;
@@ -474,7 +480,8 @@ $color: #fff;
474
480
  padding: 0 9px;
475
481
  height: 20px;
476
482
  }
477
- @include respond-to('<=pad') {
483
+
484
+ @include respond('<=pad') {
478
485
  display: flex;
479
486
  flex-wrap: wrap;
480
487
  text-align: center;
@@ -497,7 +504,7 @@ $color: #fff;
497
504
  .footer {
498
505
  .footer-content {
499
506
  .inner {
500
- @include respond-to('<=pad_v') {
507
+ @include respond('<=pad_v') {
501
508
  margin: 0 auto;
502
509
  max-width: fit-content;
503
510
  padding: 14px 0 24px;
@@ -54,7 +54,7 @@ useIntersectionObserver(target, ([entry]) => {
54
54
  background-color: var(--o-color-control2-light);
55
55
  @include text1;
56
56
 
57
- @include respond-to('<=pad_v') {
57
+ @include respond('<=pad_v') {
58
58
  top: 48px;
59
59
  height: 54px;
60
60
  }
@@ -67,7 +67,7 @@ useIntersectionObserver(target, ([entry]) => {
67
67
  margin: 0 auto;
68
68
  height: 68px;
69
69
 
70
- @include respond-to('<=pad_v') {
70
+ @include respond('<=pad_v') {
71
71
  height: 54px;
72
72
  }
73
73
 
@@ -119,10 +119,10 @@ useIntersectionObserver(target, ([entry]) => {
119
119
  height: 48px;
120
120
  backdrop-filter: blur(10px);
121
121
  z-index: 10;
122
- background-color: rgba($color: var(--o-mixedgray-1), $alpha: 0.25);
122
+ background-color: rgba($color: var(--o-grey-1), $alpha: 0.25);
123
123
  @include text1;
124
124
 
125
- @include respond-to('<=pad_v') {
125
+ @include respond('<=pad_v') {
126
126
  display: none;
127
127
  }
128
128
 
@@ -68,7 +68,7 @@ defineProps({
68
68
  .swiper-list {
69
69
  display: flex;
70
70
  animation: marque 100s linear infinite;
71
- @include respond-to('>phone') {
71
+ @include respond('>phone') {
72
72
  @include hover {
73
73
  animation-play-state: paused;
74
74
  }
@@ -124,7 +124,7 @@ defineProps({
124
124
  }
125
125
  }
126
126
 
127
- @include respond-to('phone') {
127
+ @include respond('phone') {
128
128
  .swiper-card {
129
129
  width: 160px;
130
130
  margin-right: 12px;
@@ -110,15 +110,15 @@ const col = computed(() => {
110
110
  &+.partner-swiper {
111
111
  margin-top: 24px;
112
112
 
113
- @include respond-to('laptop') {
113
+ @include respond('laptop') {
114
114
  margin-top: 20px;
115
115
  }
116
116
 
117
- @include respond-to('pad_h') {
117
+ @include respond('pad_h') {
118
118
  margin-top: 16px;
119
119
  }
120
120
 
121
- @include respond-to('<=pad_v') {
121
+ @include respond('<=pad_v') {
122
122
  margin-top: 12px;
123
123
  }
124
124
  }
@@ -64,11 +64,11 @@ const columns = computed(() => {
64
64
  height: 100%;
65
65
  }
66
66
 
67
- @include respond-to('<=pad_v') {
67
+ @include respond('<=pad_v') {
68
68
  height: 72px;
69
69
  }
70
70
 
71
- @include respond-to('phone') {
71
+ @include respond('phone') {
72
72
  height: 68px;
73
73
  }
74
74
  }
@@ -81,7 +81,7 @@ const coverRatio = computed(() => {
81
81
  margin-right: 0;
82
82
  }
83
83
 
84
- @include respond-to('<=pad_v') {
84
+ @include respond('<=pad_v') {
85
85
  :deep(.o-card-cover-img) {
86
86
  height: 120px;
87
87
  }
@@ -64,7 +64,7 @@ const gridTemplateColumns = computed(() => {
64
64
  }
65
65
  .o-card {
66
66
  --card-content-color: var(--o-color-info3);
67
- @include respond-to("phone") {
67
+ @include respond("phone") {
68
68
  --card-header-text-size: 16px;
69
69
  --card-header-text-height: 24px;
70
70
  --card-content-text-size: 14px;
@@ -78,7 +78,7 @@ watch(
78
78
  background-size: 100% auto;
79
79
  background-repeat: no-repeat;
80
80
  position: relative;
81
- @include respond-to('<=pad_v') {
81
+ @include respond('<=pad_v') {
82
82
  background-size: auto var(--bg-height);
83
83
  height: auto;
84
84
  &.has-bg-img {
@@ -92,7 +92,7 @@ watch(
92
92
  display: flex;
93
93
  flex-direction: column;
94
94
  justify-content: space-between;
95
- @include respond-to('<=pad_v') {
95
+ @include respond('<=pad_v') {
96
96
  padding-bottom: var(--padding-bottom);
97
97
  }
98
98
  }
@@ -137,7 +137,7 @@ watch(
137
137
  }
138
138
  }
139
139
 
140
- @include respond-to('>pad_v') {
140
+ @include respond('>pad_v') {
141
141
  :deep(.o-link-main) {
142
142
  overflow: hidden;
143
143
  text-overflow: ellipsis;
@@ -163,7 +163,7 @@ watch(
163
163
  }
164
164
  }
165
165
 
166
- @include respond-to('<=pad_v') {
166
+ @include respond('<=pad_v') {
167
167
  border-top: 1px solid #edeff2;
168
168
  margin: 8px -12 px 0 -12px;
169
169
  padding: 0 12px;
@@ -122,11 +122,11 @@ const props = withDefaults(defineProps<SectionPropsT>(), {
122
122
  color: var(--o-color-info2);
123
123
  @include text1;
124
124
 
125
- @include respond-to('pad-laptop') {
125
+ @include respond('pad-laptop') {
126
126
  margin-top: 8px;
127
127
  }
128
128
 
129
- @include respond-to('phone') {
129
+ @include respond('phone') {
130
130
  margin-top: 12px;
131
131
  text-align: center;
132
132
  }
@@ -151,11 +151,11 @@ const props = withDefaults(defineProps<SectionPropsT>(), {
151
151
 
152
152
  margin-top: 32px;
153
153
 
154
- @include respond-to('<=laptop') {
154
+ @include respond('<=laptop') {
155
155
  margin-top: 16px;
156
156
  }
157
157
 
158
- @include respond-to('phone') {
158
+ @include respond('phone') {
159
159
  margin-top: 12px;
160
160
  }
161
161
  }
@@ -76,7 +76,7 @@ defineProps({
76
76
  }
77
77
 
78
78
  .single-card {
79
- @include respond-to('<=pad_v') {
79
+ @include respond('<=pad_v') {
80
80
  :deep(.o-figure-img) {
81
81
  height: 184px;
82
82
  }
@@ -67,13 +67,14 @@ const props = defineProps({
67
67
  border-radius: 6px;
68
68
  }
69
69
  }
70
- @include respond-to('pc_s') {
70
+
71
+ @include respond('pc_s') {
71
72
  height: 300px;
72
73
  }
73
- @include respond-to('<=laptop') {
74
+ @include respond('<=laptop') {
74
75
  height: 280px;
75
76
  }
76
- @include respond-to('<=pad_v') {
77
+ @include respond('<=pad_v') {
77
78
  --slide-width: calc(100vw - 64px);
78
79
  width: calc(var(--slide-gap) + var(--slide-width));
79
80
  height: 184px;
package/vite.config.ts CHANGED
@@ -75,7 +75,7 @@ export default defineConfig(({ mode }) => {
75
75
  scss: {
76
76
  charset: false,
77
77
  additionalData: `
78
- @use "@opendesign-plus/styles/mixin/screen.scss" as *;
78
+ @use '@opensig/opendesign/es/_styles/mixin.scss' as *;
79
79
  @use "@opendesign-plus/styles/mixin/font.scss" as *;
80
80
  @use "@opendesign-plus/styles/mixin/common.scss" as *;
81
81
  @use "@opendesign-plus/styles/mixin/gap.scss" as *;