unika-components 1.0.38 → 1.0.39

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.
@@ -15,31 +15,31 @@ declare const _default: import("vue").DefineComponent<{
15
15
  type: NumberConstructor;
16
16
  default: number;
17
17
  };
18
- weddingDate: {
18
+ date: {
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
- boxBackgroundColor: {
22
+ backgroundColor: {
23
23
  type: StringConstructor;
24
24
  default: string;
25
25
  };
26
- boxBorderColor: {
26
+ borderColor: {
27
27
  type: StringConstructor;
28
28
  default: string;
29
29
  };
30
- boxBorderRadius: {
30
+ borderRadius: {
31
31
  type: StringConstructor;
32
32
  default: string;
33
33
  };
34
- boxBorderStyle: {
34
+ borderStyle: {
35
35
  type: StringConstructor;
36
36
  default: string;
37
37
  };
38
- boxBorderWidth: {
38
+ borderWidth: {
39
39
  type: StringConstructor;
40
40
  default: string;
41
41
  };
42
- frontColor: {
42
+ dateColor: {
43
43
  type: StringConstructor;
44
44
  default: string;
45
45
  };
@@ -82,31 +82,31 @@ declare const _default: import("vue").DefineComponent<{
82
82
  type: NumberConstructor;
83
83
  default: number;
84
84
  };
85
- weddingDate: {
85
+ date: {
86
86
  type: StringConstructor;
87
87
  default: string;
88
88
  };
89
- boxBackgroundColor: {
89
+ backgroundColor: {
90
90
  type: StringConstructor;
91
91
  default: string;
92
92
  };
93
- boxBorderColor: {
93
+ borderColor: {
94
94
  type: StringConstructor;
95
95
  default: string;
96
96
  };
97
- boxBorderRadius: {
97
+ borderRadius: {
98
98
  type: StringConstructor;
99
99
  default: string;
100
100
  };
101
- boxBorderStyle: {
101
+ borderStyle: {
102
102
  type: StringConstructor;
103
103
  default: string;
104
104
  };
105
- boxBorderWidth: {
105
+ borderWidth: {
106
106
  type: StringConstructor;
107
107
  default: string;
108
108
  };
109
- frontColor: {
109
+ dateColor: {
110
110
  type: StringConstructor;
111
111
  default: string;
112
112
  };
@@ -127,13 +127,13 @@ declare const _default: import("vue").DefineComponent<{
127
127
  top: string;
128
128
  transform: string;
129
129
  opacity: number;
130
- weddingDate: string;
131
- boxBackgroundColor: string;
132
- boxBorderColor: string;
133
- boxBorderRadius: string;
134
- boxBorderStyle: string;
135
- boxBorderWidth: string;
136
- frontColor: string;
130
+ date: string;
131
+ backgroundColor: string;
132
+ borderColor: string;
133
+ borderRadius: string;
134
+ borderStyle: string;
135
+ borderWidth: string;
136
+ dateColor: string;
137
137
  heartColor: string;
138
138
  themeStyle: string;
139
139
  lannguage: string;
@@ -239,13 +239,13 @@ export declare const calendarDefaultProps: {
239
239
  top: string;
240
240
  transform: string;
241
241
  opacity: number;
242
- weddingDate: string;
243
- boxBackgroundColor: string;
244
- boxBorderColor: string;
245
- boxBorderRadius: string;
246
- boxBorderStyle: string;
247
- boxBorderWidth: string;
248
- frontColor: string;
242
+ date: string;
243
+ backgroundColor: string;
244
+ borderColor: string;
245
+ borderRadius: string;
246
+ borderStyle: string;
247
+ borderWidth: string;
248
+ dateColor: string;
249
249
  heartColor: string;
250
250
  themeStyle: string;
251
251
  lannguage: string;
@@ -557,13 +557,13 @@ export declare const componentsDefaultProps: {
557
557
  top: string;
558
558
  transform: string;
559
559
  opacity: number;
560
- weddingDate: string;
561
- boxBackgroundColor: string;
562
- boxBorderColor: string;
563
- boxBorderRadius: string;
564
- boxBorderStyle: string;
565
- boxBorderWidth: string;
566
- frontColor: string;
560
+ date: string;
561
+ backgroundColor: string;
562
+ borderColor: string;
563
+ borderRadius: string;
564
+ borderStyle: string;
565
+ borderWidth: string;
566
+ dateColor: string;
567
567
  heartColor: string;
568
568
  themeStyle: string;
569
569
  lannguage: string;
@@ -1,4 +1,56 @@
1
1
 
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+
6
+ h2.uni-text-component, p.uni-text-component {
7
+ margin-bottom: 0;
8
+ }
9
+ button.uni-text-component {
10
+ padding: 5px 10px;
11
+ cursor: pointer;
12
+ }
13
+ .uni-text-component {
14
+ box-sizing: border-box;
15
+ white-space: pre-wrap;
16
+ }
17
+
18
+ .uni-background-component {
19
+ width: 100%;
20
+ }
21
+ .bg-img {
22
+ width: 100%;
23
+ height: 100%;
24
+ object-fit: cover;
25
+ z-index:1;
26
+ }
27
+ .watermark {
28
+ height: 100%;
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ right: 0;
33
+ bottom: 0;
34
+ }
35
+ .watermark-div {
36
+ height: 100%;
37
+ width:100%;
38
+ position:absolute;
39
+ z-index:99999999;
40
+ }
41
+ body:before{
42
+ content: '';
43
+ position: fixed;
44
+ top: 0;
45
+ bottom: 0;
46
+ left: 0;
47
+ right: 0;
48
+ z-index: -1;
49
+ /* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
50
+ background-position: center;
51
+ opacity: 0.1;
52
+ }
53
+
2
54
  .slide-guide {
3
55
  position: absolute;
4
56
  bottom: 90px;
@@ -71,18 +123,35 @@ body, html {
71
123
  transform: translate3d(-50%, -50%, 0);
72
124
  }
73
125
  }
74
-
75
- h2.uni-text-component, p.uni-text-component {
76
- margin-bottom: 0;
77
- }
78
- button.uni-text-component {
79
- padding: 5px 10px;
80
- cursor: pointer;
81
- }
82
- .uni-text-component {
83
- box-sizing: border-box;
84
- white-space: pre-wrap;
85
- }
126
+
127
+ .uni-video-component {
128
+ position: relative;
129
+ text-align: center;
130
+ }
131
+ .play-pause-button {
132
+ position: absolute;
133
+ top: 50%;
134
+ left: 50%;
135
+ transform: translate(-50%, -50%);
136
+ cursor: pointer;
137
+ font-size: 2rem;
138
+ color: #fff;
139
+ background: rgba(0, 0, 0, 0.6);
140
+ border-radius: 50%;
141
+ padding: 10px;
142
+ transition: background 0.3s;
143
+ }
144
+ .play-pause-button:hover {
145
+ background: rgba(0, 0, 0, 0.8);
146
+ }
147
+
148
+ .slot-number {
149
+ position: absolute;
150
+ bottom: 2px;
151
+ left: 7px;
152
+ font-size: 12px;
153
+ color: #666
154
+ }
86
155
 
87
156
  #audio {
88
157
  position: absolute;
@@ -178,38 +247,41 @@ button.uni-text-component {
178
247
  -webkit-transform: rotate(360deg);
179
248
  }
180
249
  }
181
-
182
- .uni-image-component {
183
- max-width: 100%;
184
- }
185
250
 
186
- .uni-video-component {
187
- position: relative;
188
- text-align: center;
189
- }
190
- .play-pause-button {
191
- position: absolute;
192
- top: 50%;
193
- left: 50%;
194
- transform: translate(-50%, -50%);
195
- cursor: pointer;
196
- font-size: 2rem;
197
- color: #fff;
198
- background: rgba(0, 0, 0, 0.6);
199
- border-radius: 50%;
200
- padding: 10px;
201
- transition: background 0.3s;
251
+ #app1 {
252
+ position: relative;
253
+ }
254
+ .snowflake {
255
+ position: absolute;
256
+ top: 0;
257
+ left: 0;
258
+ width: 10px;
259
+ height: 10px;
260
+ background: red;
261
+ border-radius: 50%;
262
+ animation: falling 10s linear infinite;
263
+ }
264
+ @keyframes falling {
265
+ from {
266
+ transform: translateY(0) rotate(0deg);
202
267
  }
203
- .play-pause-button:hover {
204
- background: rgba(0, 0, 0, 0.8);
268
+ to {
269
+ transform: translateY(100vh) rotate(360deg);
205
270
  }
271
+ }
206
272
 
207
- .slot-number {
208
- position: absolute;
209
- bottom: 2px;
210
- left: 7px;
211
- font-size: 12px;
212
- color: #666
273
+ .swiper-container {
274
+ width: 100%;
275
+ height: 300px;
276
+ }
277
+
278
+ .swiper-slide {
279
+ text-align: center;
280
+ }
281
+
282
+ .swiper-slide img {
283
+ max-width: 100%;
284
+ max-height: 100%;
213
285
  }
214
286
 
215
287
  .like-button {
@@ -234,56 +306,6 @@ button.uni-text-component {
234
306
  color: #333;
235
307
  }
236
308
 
237
- .uni-background-component {
238
- width: 100%;
239
- }
240
- .bg-img {
241
- width: 100%;
242
- height: 100%;
243
- object-fit: cover;
244
- z-index:1;
245
- }
246
- .watermark {
247
- height: 100%;
248
- position: absolute;
249
- top: 0;
250
- left: 0;
251
- right: 0;
252
- bottom: 0;
253
- }
254
- .watermark-div {
255
- height: 100%;
256
- width:100%;
257
- position:absolute;
258
- z-index:99999999;
259
- }
260
- body:before{
261
- content: '';
262
- position: fixed;
263
- top: 0;
264
- bottom: 0;
265
- left: 0;
266
- right: 0;
267
- z-index: -1;
268
- /* background: url(https://unika-static-dev.unika.cc/logo.png) 0 0 repeat; */
269
- background-position: center;
270
- opacity: 0.1;
271
- }
272
-
273
- .swiper-container {
274
- width: 100%;
275
- height: 300px;
276
- }
277
-
278
- .swiper-slide {
279
- text-align: center;
280
- }
281
-
282
- .swiper-slide img {
283
- max-width: 100%;
284
- max-height: 100%;
285
- }
286
-
287
309
  .video-player {
288
310
  position: relative;
289
311
  text-align: center;
@@ -304,28 +326,6 @@ button.uni-text-component {
304
326
  .play-pause-button:hover {
305
327
  background: rgba(0, 0, 0, 0.8);
306
328
  }
307
-
308
- #app1 {
309
- position: relative;
310
- }
311
- .snowflake {
312
- position: absolute;
313
- top: 0;
314
- left: 0;
315
- width: 10px;
316
- height: 10px;
317
- background: red;
318
- border-radius: 50%;
319
- animation: falling 10s linear infinite;
320
- }
321
- @keyframes falling {
322
- from {
323
- transform: translateY(0) rotate(0deg);
324
- }
325
- to {
326
- transform: translateY(100vh) rotate(360deg);
327
- }
328
- }
329
329
  /**
330
330
  * Swiper 6.8.4
331
331
  * Most modern mobile touch slider and framework with hardware accelerated transitions
@@ -4175,13 +4175,13 @@ const calendarDefaultProps = {
4175
4175
  top: '204.5px',
4176
4176
  transform: 'scale(0.855)',
4177
4177
  opacity: 1,
4178
- weddingDate: '2024-05-21',
4179
- boxBackgroundColor: 'rgb(255, 255, 255)',
4180
- boxBorderColor: 'rgb(237, 85, 102)',
4181
- boxBorderRadius: '0px',
4182
- boxBorderStyle: 'solid',
4183
- boxBorderWidth: '2px',
4184
- frontColor: '#000000',
4178
+ date: '2024-05-21',
4179
+ backgroundColor: 'rgb(255, 255, 255)',
4180
+ borderColor: 'rgb(237, 85, 102)',
4181
+ borderRadius: '0px',
4182
+ borderStyle: 'solid',
4183
+ borderWidth: '2px',
4184
+ dateColor: '#000000',
4185
4185
  heartColor: 'rgb(237, 85, 102)',
4186
4186
  themeStyle: '3',
4187
4187
  lannguage: 'en',
@@ -14901,31 +14901,31 @@ var script$9 = defineComponent({
14901
14901
  type: Number,
14902
14902
  default: 1
14903
14903
  },
14904
- weddingDate: {
14904
+ date: {
14905
14905
  type: String,
14906
14906
  default: formattedDate$1
14907
14907
  },
14908
- boxBackgroundColor: {
14908
+ backgroundColor: {
14909
14909
  type: String,
14910
14910
  default: 'rgb(255, 255, 255)'
14911
14911
  },
14912
- boxBorderColor: {
14912
+ borderColor: {
14913
14913
  type: String,
14914
14914
  default: 'rgb(237, 85, 102)'
14915
14915
  },
14916
- boxBorderRadius: {
14916
+ borderRadius: {
14917
14917
  type: String,
14918
14918
  default: '0px'
14919
14919
  },
14920
- boxBorderStyle: {
14920
+ borderStyle: {
14921
14921
  type: String,
14922
14922
  default: 'solid'
14923
14923
  },
14924
- boxBorderWidth: {
14924
+ borderWidth: {
14925
14925
  type: String,
14926
14926
  default: '2px'
14927
14927
  },
14928
- frontColor: {
14928
+ dateColor: {
14929
14929
  type: String,
14930
14930
  default: '#000000'
14931
14931
  },
@@ -14989,13 +14989,13 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
14989
14989
  }, [
14990
14990
  createVNode(_component_Calendar, {
14991
14991
  ref: "calendarRef",
14992
- weddingDate: _ctx.weddingDate,
14993
- boxBackgroundColor: _ctx.boxBackgroundColor,
14994
- boxBorderColor: _ctx.boxBorderColor,
14995
- boxBorderRadius: _ctx.boxBorderRadius,
14996
- boxBorderStyle: _ctx.boxBorderStyle,
14997
- boxBorderWidth: _ctx.boxBorderWidth,
14998
- frontColor: _ctx.frontColor,
14992
+ weddingDate: _ctx.date,
14993
+ boxBackgroundColor: _ctx.backgroundColor,
14994
+ boxBorderColor: _ctx.borderColor,
14995
+ boxBorderRadius: _ctx.borderRadius,
14996
+ boxBorderStyle: _ctx.borderStyle,
14997
+ boxBorderWidth: _ctx.borderWidth,
14998
+ frontColor: _ctx.dateColor,
14999
14999
  heartColor: _ctx.heartColor,
15000
15000
  themeStyle: _ctx.themeStyle,
15001
15001
  lannguage: _ctx.lannguage
@@ -4182,13 +4182,13 @@
4182
4182
  top: '204.5px',
4183
4183
  transform: 'scale(0.855)',
4184
4184
  opacity: 1,
4185
- weddingDate: '2024-05-21',
4186
- boxBackgroundColor: 'rgb(255, 255, 255)',
4187
- boxBorderColor: 'rgb(237, 85, 102)',
4188
- boxBorderRadius: '0px',
4189
- boxBorderStyle: 'solid',
4190
- boxBorderWidth: '2px',
4191
- frontColor: '#000000',
4185
+ date: '2024-05-21',
4186
+ backgroundColor: 'rgb(255, 255, 255)',
4187
+ borderColor: 'rgb(237, 85, 102)',
4188
+ borderRadius: '0px',
4189
+ borderStyle: 'solid',
4190
+ borderWidth: '2px',
4191
+ dateColor: '#000000',
4192
4192
  heartColor: 'rgb(237, 85, 102)',
4193
4193
  themeStyle: '3',
4194
4194
  lannguage: 'en',
@@ -14908,31 +14908,31 @@
14908
14908
  type: Number,
14909
14909
  default: 1
14910
14910
  },
14911
- weddingDate: {
14911
+ date: {
14912
14912
  type: String,
14913
14913
  default: formattedDate$1
14914
14914
  },
14915
- boxBackgroundColor: {
14915
+ backgroundColor: {
14916
14916
  type: String,
14917
14917
  default: 'rgb(255, 255, 255)'
14918
14918
  },
14919
- boxBorderColor: {
14919
+ borderColor: {
14920
14920
  type: String,
14921
14921
  default: 'rgb(237, 85, 102)'
14922
14922
  },
14923
- boxBorderRadius: {
14923
+ borderRadius: {
14924
14924
  type: String,
14925
14925
  default: '0px'
14926
14926
  },
14927
- boxBorderStyle: {
14927
+ borderStyle: {
14928
14928
  type: String,
14929
14929
  default: 'solid'
14930
14930
  },
14931
- boxBorderWidth: {
14931
+ borderWidth: {
14932
14932
  type: String,
14933
14933
  default: '2px'
14934
14934
  },
14935
- frontColor: {
14935
+ dateColor: {
14936
14936
  type: String,
14937
14937
  default: '#000000'
14938
14938
  },
@@ -14996,13 +14996,13 @@
14996
14996
  }, [
14997
14997
  vue.createVNode(_component_Calendar, {
14998
14998
  ref: "calendarRef",
14999
- weddingDate: _ctx.weddingDate,
15000
- boxBackgroundColor: _ctx.boxBackgroundColor,
15001
- boxBorderColor: _ctx.boxBorderColor,
15002
- boxBorderRadius: _ctx.boxBorderRadius,
15003
- boxBorderStyle: _ctx.boxBorderStyle,
15004
- boxBorderWidth: _ctx.boxBorderWidth,
15005
- frontColor: _ctx.frontColor,
14999
+ weddingDate: _ctx.date,
15000
+ boxBackgroundColor: _ctx.backgroundColor,
15001
+ boxBorderColor: _ctx.borderColor,
15002
+ boxBorderRadius: _ctx.borderRadius,
15003
+ boxBorderStyle: _ctx.borderStyle,
15004
+ boxBorderWidth: _ctx.borderWidth,
15005
+ frontColor: _ctx.dateColor,
15006
15006
  heartColor: _ctx.heartColor,
15007
15007
  themeStyle: _ctx.themeStyle,
15008
15008
  lannguage: _ctx.lannguage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",