unika-components 1.0.166 → 1.0.168
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/dist/src/index.d.ts +2 -1
- package/dist/unika-components.css +65 -65
- package/dist/unika-components.esm.js +19386 -606
- package/dist/unika-components.umd.js +19389 -609
- package/package.json +2 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -18,8 +18,9 @@ import UniSwiper from './components/UniSwiper';
|
|
|
18
18
|
import UniButton from './components/UniButton';
|
|
19
19
|
import UniBulidUp from './components/UniBulidUp';
|
|
20
20
|
import UniTest from './components/UniTest';
|
|
21
|
+
import UniSvg from './components/UniSvg';
|
|
21
22
|
declare const install: (app: App) => void;
|
|
22
|
-
export { UniText, UniImage, UniShape, LongPage, SwiperPage, UniBackground, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, UniBulidUp, UniTest, install };
|
|
23
|
+
export { UniText, UniImage, UniShape, LongPage, SwiperPage, UniBackground, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, UniBulidUp, UniSvg, UniTest, install };
|
|
23
24
|
declare const _default: {
|
|
24
25
|
install: (app: App<any>) => void;
|
|
25
26
|
};
|
|
@@ -3,6 +3,51 @@
|
|
|
3
3
|
max-width: 100%;
|
|
4
4
|
}
|
|
5
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-video-component {
|
|
19
|
+
position: relative;
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
.play-pause-button {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 50%;
|
|
25
|
+
left: 50%;
|
|
26
|
+
transform: translate(-50%, -50%);
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
font-size: 2rem;
|
|
29
|
+
color: #fff;
|
|
30
|
+
background: rgba(0, 0, 0, 0.6);
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
padding: 10px;
|
|
33
|
+
transition: background 0.3s;
|
|
34
|
+
}
|
|
35
|
+
.play-pause-button:hover {
|
|
36
|
+
background: rgba(0, 0, 0, 0.8);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
.uni-calendar-component {
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
.slot-number {
|
|
44
|
+
position: absolute;
|
|
45
|
+
bottom: 2px;
|
|
46
|
+
left: 7px;
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
color: #666
|
|
49
|
+
}
|
|
50
|
+
|
|
6
51
|
.slide-guide {
|
|
7
52
|
position: absolute;
|
|
8
53
|
bottom: 90px;
|
|
@@ -75,39 +120,25 @@ body, html {
|
|
|
75
120
|
transform: translate3d(-50%, -50%, 0);
|
|
76
121
|
}
|
|
77
122
|
}
|
|
78
|
-
|
|
79
|
-
h2.uni-text-component, p.uni-text-component {
|
|
80
|
-
margin-bottom: 0;
|
|
81
|
-
}
|
|
82
|
-
button.uni-text-component {
|
|
83
|
-
padding: 5px 10px;
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
}
|
|
86
|
-
.uni-text-component {
|
|
87
|
-
box-sizing: border-box;
|
|
88
|
-
white-space: pre-wrap;
|
|
89
|
-
}
|
|
90
123
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
background: rgba(0, 0, 0, 0.8);
|
|
110
|
-
}
|
|
124
|
+
.effect {
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 100%;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.swiper-warp {
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 100%;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.swiper-slide-component {
|
|
135
|
+
text-align: center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.swiper-slide img {
|
|
139
|
+
max-width: 100%;
|
|
140
|
+
max-height: 100%;
|
|
141
|
+
}
|
|
111
142
|
|
|
112
143
|
.like-button {
|
|
113
144
|
display: flex;
|
|
@@ -131,35 +162,6 @@ button.uni-text-component {
|
|
|
131
162
|
color: #333;
|
|
132
163
|
}
|
|
133
164
|
|
|
134
|
-
|
|
135
|
-
.uni-calendar-component {
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
.slot-number {
|
|
139
|
-
position: absolute;
|
|
140
|
-
bottom: 2px;
|
|
141
|
-
left: 7px;
|
|
142
|
-
font-size: 12px;
|
|
143
|
-
color: #666
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.uni-build-up-component {
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.swiper-warp {
|
|
150
|
-
width: 100%;
|
|
151
|
-
height: 100%;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.swiper-slide-component {
|
|
155
|
-
text-align: center;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.swiper-slide img {
|
|
159
|
-
max-width: 100%;
|
|
160
|
-
max-height: 100%;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
165
|
.ant-input-number {
|
|
164
166
|
box-sizing: border-box;
|
|
165
167
|
margin: 0;
|
|
@@ -195,10 +197,8 @@ button.uni-text-component {
|
|
|
195
197
|
vertical-align: top;
|
|
196
198
|
}
|
|
197
199
|
|
|
198
|
-
.
|
|
199
|
-
|
|
200
|
-
height: 100%;
|
|
201
|
-
}
|
|
200
|
+
.uni-build-up-component {
|
|
201
|
+
}
|
|
202
202
|
/**
|
|
203
203
|
* Swiper 6.8.4
|
|
204
204
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|