@qratilabs/qrati-connect 2.6.0-beta.9 → 2.7.0-beta.1
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/CHANGELOG.md +28 -0
- package/element/styles.css +284 -0
- package/element/web.es.js +2 -2
- package/package.json +3 -3
- package/react/index.cjs +1 -1
- package/react/index.mjs +2 -2
- package/umd/web.umd.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# [2.6.0-beta.12](https://github.com/qrati-labs/qrati-connect-ts/compare/v2.6.0-beta.11...v2.6.0-beta.12) (2026-03-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* restore legacy PhotoSwipe stylesheet during post-build process ([c57b555](https://github.com/qrati-labs/qrati-connect-ts/commit/c57b5551467eeba546caf302d5a94e4c058cc629))
|
|
7
|
+
|
|
8
|
+
# [2.6.0-beta.11](https://github.com/qrati-labs/qrati-connect-ts/compare/v2.6.0-beta.10...v2.6.0-beta.11) (2026-03-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* refactor PhotoSwipe styles integration and remove unused CSS imports ([86e52f2](https://github.com/qrati-labs/qrati-connect-ts/commit/86e52f21441b541d9e7c156aa502fe8b8269e939))
|
|
14
|
+
|
|
15
|
+
# [2.6.0-beta.10](https://github.com/qrati-labs/qrati-connect-ts/compare/v2.6.0-beta.9...v2.6.0-beta.10) (2026-03-30)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add missing import for PhotoSwipe CSS in global styles ([54ef1b8](https://github.com/qrati-labs/qrati-connect-ts/commit/54ef1b822cdf03cf1c2fdcfbe0eb602d1a94e5b0))
|
|
21
|
+
|
|
22
|
+
# [2.6.0-beta.9](https://github.com/qrati-labs/qrati-connect-ts/compare/v2.6.0-beta.8...v2.6.0-beta.9) (2026-03-30)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* correct selector for action button in PhotoSwipeCaption ([cc0db1c](https://github.com/qrati-labs/qrati-connect-ts/commit/cc0db1c927f849ae86844968d199a87ed5977ed9))
|
|
28
|
+
|
|
1
29
|
# [2.6.0-beta.8](https://github.com/qrati-labs/qrati-connect-ts/compare/v2.6.0-beta.7...v2.6.0-beta.8) (2026-03-26)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
.pswp,
|
|
2
|
+
.pswp:focus,
|
|
3
|
+
.pswp__icn:focus {
|
|
4
|
+
outline: 0;
|
|
5
|
+
}
|
|
6
|
+
.pswp,
|
|
7
|
+
.pswp__button,
|
|
8
|
+
.pswp__icn,
|
|
9
|
+
.pswp__item,
|
|
10
|
+
.pswp__scroll-wrap {
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
}
|
|
13
|
+
.pswp {
|
|
14
|
+
--pswp-bg: #000;
|
|
15
|
+
--pswp-placeholder-bg: #222;
|
|
16
|
+
--pswp-root-z-index: 100000;
|
|
17
|
+
--pswp-preloader-color: rgba(79, 79, 79, 0.4);
|
|
18
|
+
--pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
|
|
19
|
+
--pswp-icon-color: #fff;
|
|
20
|
+
--pswp-icon-color-secondary: #4f4f4f;
|
|
21
|
+
--pswp-icon-stroke-color: #4f4f4f;
|
|
22
|
+
--pswp-icon-stroke-width: 2px;
|
|
23
|
+
--pswp-error-text-color: var(--pswp-icon-color);
|
|
24
|
+
position: fixed;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
z-index: var(--pswp-root-z-index);
|
|
30
|
+
display: none;
|
|
31
|
+
touch-action: none;
|
|
32
|
+
opacity: 0.003;
|
|
33
|
+
contain: layout style size;
|
|
34
|
+
-webkit-tap-highlight-color: transparent;
|
|
35
|
+
}
|
|
36
|
+
.pswp * {
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
}
|
|
39
|
+
.pswp img {
|
|
40
|
+
max-width: none;
|
|
41
|
+
}
|
|
42
|
+
.pswp--open {
|
|
43
|
+
display: block;
|
|
44
|
+
}
|
|
45
|
+
.pswp,
|
|
46
|
+
.pswp__bg {
|
|
47
|
+
transform: translateZ(0);
|
|
48
|
+
will-change: opacity;
|
|
49
|
+
}
|
|
50
|
+
.pswp__bg {
|
|
51
|
+
opacity: 0.005;
|
|
52
|
+
background: var(--pswp-bg);
|
|
53
|
+
z-index: -2;
|
|
54
|
+
}
|
|
55
|
+
.pswp__bg,
|
|
56
|
+
.pswp__container,
|
|
57
|
+
.pswp__content,
|
|
58
|
+
.pswp__img,
|
|
59
|
+
.pswp__item,
|
|
60
|
+
.pswp__scroll-wrap,
|
|
61
|
+
.pswp__zoom-wrap {
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 0;
|
|
64
|
+
left: 0;
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
67
|
+
}
|
|
68
|
+
.pswp__img,
|
|
69
|
+
.pswp__zoom-wrap {
|
|
70
|
+
width: auto;
|
|
71
|
+
height: auto;
|
|
72
|
+
}
|
|
73
|
+
.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
|
|
74
|
+
cursor: -webkit-zoom-in;
|
|
75
|
+
cursor: -moz-zoom-in;
|
|
76
|
+
cursor: zoom-in;
|
|
77
|
+
}
|
|
78
|
+
.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
|
|
79
|
+
cursor: move;
|
|
80
|
+
cursor: -webkit-grab;
|
|
81
|
+
cursor: -moz-grab;
|
|
82
|
+
cursor: grab;
|
|
83
|
+
}
|
|
84
|
+
.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
|
|
85
|
+
cursor: -webkit-grabbing;
|
|
86
|
+
cursor: -moz-grabbing;
|
|
87
|
+
cursor: grabbing;
|
|
88
|
+
}
|
|
89
|
+
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
|
|
90
|
+
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
|
|
91
|
+
.pswp__img {
|
|
92
|
+
cursor: -webkit-zoom-out;
|
|
93
|
+
cursor: -moz-zoom-out;
|
|
94
|
+
cursor: zoom-out;
|
|
95
|
+
}
|
|
96
|
+
.pswp__button,
|
|
97
|
+
.pswp__container,
|
|
98
|
+
.pswp__counter,
|
|
99
|
+
.pswp__img {
|
|
100
|
+
-webkit-user-select: none;
|
|
101
|
+
-moz-user-select: none;
|
|
102
|
+
-ms-user-select: none;
|
|
103
|
+
user-select: none;
|
|
104
|
+
}
|
|
105
|
+
.pswp__item {
|
|
106
|
+
z-index: 1;
|
|
107
|
+
}
|
|
108
|
+
.pswp__hidden {
|
|
109
|
+
display: none !important;
|
|
110
|
+
}
|
|
111
|
+
.pswp__content {
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
}
|
|
114
|
+
.pswp__content > * {
|
|
115
|
+
pointer-events: auto;
|
|
116
|
+
}
|
|
117
|
+
.pswp__error-msg-container {
|
|
118
|
+
display: grid;
|
|
119
|
+
}
|
|
120
|
+
.pswp__error-msg {
|
|
121
|
+
margin: auto;
|
|
122
|
+
font-size: 1em;
|
|
123
|
+
line-height: 1;
|
|
124
|
+
color: var(--pswp-error-text-color);
|
|
125
|
+
}
|
|
126
|
+
.pswp .pswp__hide-on-close {
|
|
127
|
+
opacity: 0.005;
|
|
128
|
+
will-change: opacity;
|
|
129
|
+
transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
|
|
130
|
+
z-index: 10;
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
}
|
|
133
|
+
.pswp--ui-visible .pswp__hide-on-close {
|
|
134
|
+
opacity: 1;
|
|
135
|
+
pointer-events: auto;
|
|
136
|
+
}
|
|
137
|
+
.pswp__button {
|
|
138
|
+
position: relative;
|
|
139
|
+
display: block;
|
|
140
|
+
width: 50px;
|
|
141
|
+
height: 60px;
|
|
142
|
+
padding: 0;
|
|
143
|
+
margin: 0;
|
|
144
|
+
cursor: pointer;
|
|
145
|
+
background: 0 0;
|
|
146
|
+
border: 0;
|
|
147
|
+
box-shadow: none;
|
|
148
|
+
opacity: 0.85;
|
|
149
|
+
-webkit-appearance: none;
|
|
150
|
+
-webkit-touch-callout: none;
|
|
151
|
+
}
|
|
152
|
+
.pswp__button:active,
|
|
153
|
+
.pswp__button:focus,
|
|
154
|
+
.pswp__button:hover {
|
|
155
|
+
transition: none;
|
|
156
|
+
padding: 0;
|
|
157
|
+
background: 0 0;
|
|
158
|
+
border: 0;
|
|
159
|
+
box-shadow: none;
|
|
160
|
+
opacity: 1;
|
|
161
|
+
}
|
|
162
|
+
.pswp__button:disabled {
|
|
163
|
+
opacity: 0.3;
|
|
164
|
+
cursor: auto;
|
|
165
|
+
}
|
|
166
|
+
.pswp__icn {
|
|
167
|
+
fill: var(--pswp-icon-color);
|
|
168
|
+
color: var(--pswp-icon-color-secondary);
|
|
169
|
+
position: absolute;
|
|
170
|
+
top: 14px;
|
|
171
|
+
left: 9px;
|
|
172
|
+
width: 32px;
|
|
173
|
+
height: 32px;
|
|
174
|
+
pointer-events: none;
|
|
175
|
+
}
|
|
176
|
+
.pswp__icn-shadow {
|
|
177
|
+
stroke: var(--pswp-icon-stroke-color);
|
|
178
|
+
stroke-width: var(--pswp-icon-stroke-width);
|
|
179
|
+
fill: none;
|
|
180
|
+
}
|
|
181
|
+
.pswp__img--with-bg,
|
|
182
|
+
div.pswp__img--placeholder {
|
|
183
|
+
background: var(--pswp-placeholder-bg);
|
|
184
|
+
}
|
|
185
|
+
.pswp__top-bar {
|
|
186
|
+
position: absolute;
|
|
187
|
+
left: 0;
|
|
188
|
+
top: 0;
|
|
189
|
+
width: 100%;
|
|
190
|
+
height: 60px;
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: row;
|
|
193
|
+
justify-content: flex-end;
|
|
194
|
+
z-index: 10;
|
|
195
|
+
pointer-events: none !important;
|
|
196
|
+
}
|
|
197
|
+
.pswp--one-slide .pswp__button--arrow,
|
|
198
|
+
.pswp--zoomed-in .pswp__zoom-icn-bar-v,
|
|
199
|
+
.pswp__button--zoom {
|
|
200
|
+
display: none;
|
|
201
|
+
}
|
|
202
|
+
.pswp__top-bar > * {
|
|
203
|
+
pointer-events: auto;
|
|
204
|
+
will-change: opacity;
|
|
205
|
+
}
|
|
206
|
+
.pswp__button--close {
|
|
207
|
+
margin-right: 6px;
|
|
208
|
+
}
|
|
209
|
+
.pswp__button--arrow {
|
|
210
|
+
position: absolute;
|
|
211
|
+
width: 75px;
|
|
212
|
+
height: 100px;
|
|
213
|
+
top: 50%;
|
|
214
|
+
margin-top: -50px;
|
|
215
|
+
}
|
|
216
|
+
.pswp__button--arrow:disabled {
|
|
217
|
+
display: none;
|
|
218
|
+
cursor: default;
|
|
219
|
+
}
|
|
220
|
+
.pswp__button--arrow .pswp__icn {
|
|
221
|
+
top: 50%;
|
|
222
|
+
margin-top: -30px;
|
|
223
|
+
width: 60px;
|
|
224
|
+
height: 60px;
|
|
225
|
+
background: 0 0;
|
|
226
|
+
border-radius: 0;
|
|
227
|
+
}
|
|
228
|
+
.pswp--touch .pswp__button--arrow {
|
|
229
|
+
visibility: hidden;
|
|
230
|
+
}
|
|
231
|
+
.pswp--has_mouse .pswp__button--arrow {
|
|
232
|
+
visibility: visible;
|
|
233
|
+
}
|
|
234
|
+
.pswp__button--arrow--prev {
|
|
235
|
+
right: auto;
|
|
236
|
+
left: 0;
|
|
237
|
+
}
|
|
238
|
+
.pswp__button--arrow--next {
|
|
239
|
+
right: 0;
|
|
240
|
+
}
|
|
241
|
+
.pswp__button--arrow--next .pswp__icn {
|
|
242
|
+
left: auto;
|
|
243
|
+
right: 14px;
|
|
244
|
+
transform: scale(-1, 1);
|
|
245
|
+
}
|
|
246
|
+
.pswp--zoom-allowed .pswp__button--zoom {
|
|
247
|
+
display: block;
|
|
248
|
+
}
|
|
249
|
+
.pswp__preloader {
|
|
250
|
+
position: relative;
|
|
251
|
+
overflow: hidden;
|
|
252
|
+
width: 50px;
|
|
253
|
+
height: 60px;
|
|
254
|
+
margin-right: auto;
|
|
255
|
+
}
|
|
256
|
+
.pswp__preloader .pswp__icn {
|
|
257
|
+
opacity: 0;
|
|
258
|
+
transition: opacity 0.2s linear;
|
|
259
|
+
animation: 0.6s linear infinite pswp-clockwise;
|
|
260
|
+
}
|
|
261
|
+
.pswp__preloader--active .pswp__icn {
|
|
262
|
+
opacity: 0.85;
|
|
263
|
+
}
|
|
264
|
+
@keyframes pswp-clockwise {
|
|
265
|
+
0% {
|
|
266
|
+
transform: rotate(0);
|
|
267
|
+
}
|
|
268
|
+
100% {
|
|
269
|
+
transform: rotate(360deg);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
.pswp__counter {
|
|
273
|
+
height: 30px;
|
|
274
|
+
margin-top: 15px;
|
|
275
|
+
margin-inline-start: 20px;
|
|
276
|
+
font-size: 14px;
|
|
277
|
+
line-height: 30px;
|
|
278
|
+
color: var(--pswp-icon-color);
|
|
279
|
+
text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
|
|
280
|
+
opacity: 0.85;
|
|
281
|
+
}
|
|
282
|
+
.pswp--one-slide .pswp__counter {
|
|
283
|
+
display: none;
|
|
284
|
+
}
|