@wix/editor-react-components 1.2636.0 → 1.2638.0
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/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/BoxContainer/component.js +1 -1
- package/dist/site/components/BoxContainer/manifest.js +1 -1
- package/dist/site/components/Breadcrumbs/component.js +1 -1
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Checkbox/component.js +1 -1
- package/dist/site/components/Checkbox/manifest.js +1 -1
- package/dist/site/components/CheckboxGroup/component.js +1 -1
- package/dist/site/components/CheckboxGroup/manifest.js +1 -1
- package/dist/site/components/CollapsibleText/component.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +1 -1
- package/dist/site/components/DatePicker/component.js +1 -1
- package/dist/site/components/DatePicker/manifest.js +1 -1
- package/dist/site/components/Dropdown/component.js +1 -1
- package/dist/site/components/Dropdown/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HeadingTextBlock/component.js +3 -42
- package/dist/site/components/HeadingTextBlock/css.css +20 -21
- package/dist/site/components/HeadingTextBlock/manifest.js +1 -1
- package/dist/site/components/HipaaIcon/component.js +1 -1
- package/dist/site/components/HipaaIcon/manifest.js +1 -1
- package/dist/site/components/ImageReveal/ImageReveal.d.ts +4 -0
- package/dist/site/components/ImageReveal/component.d.ts +2 -0
- package/dist/site/components/ImageReveal/component.js +317 -0
- package/dist/site/components/ImageReveal/constants.d.ts +49 -0
- package/dist/site/components/ImageReveal/css.css +364 -0
- package/dist/site/components/ImageReveal/index.d.ts +2 -0
- package/dist/site/components/ImageReveal/index.js +6 -0
- package/dist/site/components/ImageReveal/manifest.d.ts +5 -0
- package/dist/site/components/ImageReveal/manifest.js +330 -0
- package/dist/site/components/ImageReveal/types.d.ts +27 -0
- package/dist/site/components/chunks/constants32.js +49 -24
- package/dist/site/components/chunks/constants33.js +25 -56
- package/dist/site/components/chunks/constants34.js +59 -10
- package/dist/site/components/chunks/constants35.js +10 -206
- package/dist/site/components/chunks/constants36.js +182 -153
- package/dist/site/components/chunks/constants37.js +162 -49
- package/dist/site/components/chunks/constants38.js +51 -102
- package/dist/site/components/chunks/constants39.js +69 -39
- package/dist/site/components/chunks/constants40.js +72 -69
- package/dist/site/components/chunks/constants41.js +73 -77
- package/dist/site/components/chunks/constants42.js +75 -56
- package/dist/site/components/chunks/constants43.js +72 -0
- package/dist/site/components/chunks/index14.js +46 -0
- package/dist/site/components/extensions.js +35 -33
- package/package.json +4 -4
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const manifestClasses: {
|
|
2
|
+
readonly root: "image-reveal";
|
|
3
|
+
readonly divider: "image-reveal-divider";
|
|
4
|
+
readonly btn: "image-reveal-btn";
|
|
5
|
+
readonly arrowIcon: "image-reveal-arrow-icon";
|
|
6
|
+
readonly labelBefore: "image-reveal-label-before";
|
|
7
|
+
readonly labelAfter: "image-reveal-label-after";
|
|
8
|
+
};
|
|
9
|
+
export declare const defaultValues: {
|
|
10
|
+
readonly beforeLabel: "Before";
|
|
11
|
+
readonly afterLabel: "After";
|
|
12
|
+
readonly labelPosition: "horizontal";
|
|
13
|
+
};
|
|
14
|
+
export declare const DisplayNames: {
|
|
15
|
+
readonly root: {
|
|
16
|
+
readonly elementDisplayName: "Image Reveal";
|
|
17
|
+
readonly data: {
|
|
18
|
+
readonly beforeImage: "Before Image";
|
|
19
|
+
readonly afterImage: "After Image";
|
|
20
|
+
readonly beforeLabel: "Before Label";
|
|
21
|
+
readonly afterLabel: "After Label";
|
|
22
|
+
readonly labelPosition: {
|
|
23
|
+
readonly displayName: "Label Position";
|
|
24
|
+
readonly options: {
|
|
25
|
+
readonly horizontal: "Horizontal";
|
|
26
|
+
readonly vertical: "Vertical";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
readonly elements: {
|
|
31
|
+
readonly divider: "Divider";
|
|
32
|
+
readonly btn: "Buttons";
|
|
33
|
+
readonly arrowIcon: "Arrow";
|
|
34
|
+
readonly labelBefore: "Before Label";
|
|
35
|
+
readonly labelAfter: "After Label";
|
|
36
|
+
};
|
|
37
|
+
readonly displayGroups: {
|
|
38
|
+
readonly iconGroup: "Icon";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare const CHEVRON_PATH = "M15.5 4.5 8 12l7.5 7.5";
|
|
43
|
+
export declare const DEFAULT_SLIDER_POSITION = 50;
|
|
44
|
+
export declare const SLIDER_STEP = 10;
|
|
45
|
+
export declare const ARIA_LABELS: {
|
|
46
|
+
readonly prevButton: "Move slider left";
|
|
47
|
+
readonly nextButton: "Move slider right";
|
|
48
|
+
readonly handle: "Drag to compare before and after";
|
|
49
|
+
};
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
.root__hnYp0 {
|
|
2
|
+
position: relative;
|
|
3
|
+
overflow: visible;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
pointer-events: auto;
|
|
8
|
+
border-radius: var(--border-radius, 12px);
|
|
9
|
+
border: var(--border, none);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.imageContainer__sTfbZ {
|
|
13
|
+
position: relative;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
border-start-start-radius: inherit;
|
|
18
|
+
border-start-end-radius: inherit;
|
|
19
|
+
border-end-start-radius: inherit;
|
|
20
|
+
border-end-end-radius: inherit;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
background: #f0f0f0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.before__x99i- {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
object-fit: cover;
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.after__EMOb9 {
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
object-fit: cover;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
display: block;
|
|
47
|
+
clip-path: inset(0 0 0 var(--slider-position, 50%));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.handle__I7Ck5 {
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 0;
|
|
53
|
+
bottom: 0;
|
|
54
|
+
left: var(--slider-position, 50%);
|
|
55
|
+
transform: translateX(-50%);
|
|
56
|
+
width: 80px;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
cursor: col-resize;
|
|
59
|
+
pointer-events: auto;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.dragControl__gopA- {
|
|
67
|
+
position: absolute;
|
|
68
|
+
inset: 0;
|
|
69
|
+
touch-action: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.dragControl__gopA-:focus-visible {
|
|
73
|
+
outline: 2px solid #6366f1;
|
|
74
|
+
outline-offset: -2px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.divider__6oJYS {
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 0;
|
|
80
|
+
bottom: 0;
|
|
81
|
+
left: 50%;
|
|
82
|
+
width: var(--width, 2px);
|
|
83
|
+
transform: translateX(-50%);
|
|
84
|
+
background: var(--background, rgba(255, 255, 255, 0.85));
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
pointer-events: none;
|
|
87
|
+
display: var(--display, block);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.buttonGroup__0RZrR {
|
|
91
|
+
direction: ltr;
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: 50%;
|
|
94
|
+
left: 50%;
|
|
95
|
+
transform: translate(-50%, -50%);
|
|
96
|
+
display: flex;
|
|
97
|
+
gap: 0;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.btn__uzPRE {
|
|
104
|
+
width: auto;
|
|
105
|
+
height: auto;
|
|
106
|
+
flex: 0 0 auto;
|
|
107
|
+
margin-inline-start: var(--arrow-spacing, 3px);
|
|
108
|
+
margin-inline-end: var(--arrow-spacing, 3px);
|
|
109
|
+
border-radius: var(--border-radius, 50%);
|
|
110
|
+
border: var(--border, none);
|
|
111
|
+
background: var(--background, rgb(255, 255, 255));
|
|
112
|
+
box-shadow: var(--box-shadow, 0 4px 12px rgba(0, 0, 0, 0.22));
|
|
113
|
+
color: #1e293b;
|
|
114
|
+
font-size: 18px;
|
|
115
|
+
line-height: 1;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
display: var(--display, flex);
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
box-sizing: border-box;
|
|
121
|
+
pointer-events: auto;
|
|
122
|
+
padding: var(--padding, 9px);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.btn__uzPRE.image-reveal-btn--hover,
|
|
126
|
+
.btn__uzPRE:hover {
|
|
127
|
+
background: rgb(255, 255, 255);
|
|
128
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.btn__uzPRE.image-reveal-btn--focus,
|
|
132
|
+
.btn__uzPRE:focus-visible {
|
|
133
|
+
outline: 2px solid #6366f1;
|
|
134
|
+
outline-offset: 2px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.btn__uzPRE:disabled,
|
|
138
|
+
.btn__uzPRE.image-reveal-btn--disabled {
|
|
139
|
+
opacity: 0.5;
|
|
140
|
+
cursor: default;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.icon__eetK8 {
|
|
144
|
+
width: var(--icon-size, 18px);
|
|
145
|
+
height: var(--icon-size, 18px);
|
|
146
|
+
color: #1e293b;
|
|
147
|
+
flex: 0 0 auto;
|
|
148
|
+
box-sizing: border-box;
|
|
149
|
+
pointer-events: none;
|
|
150
|
+
overflow: visible;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.iconFlipped__dXYVO {
|
|
154
|
+
scale: -1 1;
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.labelBefore__oqyAj {
|
|
159
|
+
margin: 0;
|
|
160
|
+
position: absolute;
|
|
161
|
+
bottom: 0;
|
|
162
|
+
right: 100%;
|
|
163
|
+
width: var(--width, 36px);
|
|
164
|
+
height: var(--height, 90px);
|
|
165
|
+
writing-mode: vertical-rl;
|
|
166
|
+
transform: rotate(180deg);
|
|
167
|
+
background: var(--background, #ffb6c1);
|
|
168
|
+
border-start-start-radius: var(--border-start-start-radius, 0);
|
|
169
|
+
border-start-end-radius: var(--border-start-end-radius, 20px);
|
|
170
|
+
border-end-start-radius: var(--border-end-start-radius, 0);
|
|
171
|
+
border-end-end-radius: var(--border-end-end-radius, 20px);
|
|
172
|
+
padding: 10px 8px;
|
|
173
|
+
box-sizing: border-box;
|
|
174
|
+
pointer-events: none;
|
|
175
|
+
font: var(--font, var(--wst-paragraph-2-font));
|
|
176
|
+
line-height: var(--line-height, normal);
|
|
177
|
+
letter-spacing: var(--letter-spacing, 0.04em);
|
|
178
|
+
text-decoration-line: var(--text-decoration-line, none);
|
|
179
|
+
text-transform: var(--text-transform, none);
|
|
180
|
+
text-align: var(--text-align, center);
|
|
181
|
+
text-shadow: var(--text-shadow, none);
|
|
182
|
+
color: var(--color, #1e293b);
|
|
183
|
+
white-space: nowrap;
|
|
184
|
+
overflow: hidden;
|
|
185
|
+
display: var(--display, flex);
|
|
186
|
+
align-items: center;
|
|
187
|
+
justify-content: center;
|
|
188
|
+
box-shadow: inherit;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.labelAfter__bwrPv {
|
|
192
|
+
margin: 0;
|
|
193
|
+
position: absolute;
|
|
194
|
+
top: 0;
|
|
195
|
+
left: 100%;
|
|
196
|
+
width: var(--width, 36px);
|
|
197
|
+
height: var(--height, 90px);
|
|
198
|
+
writing-mode: vertical-rl;
|
|
199
|
+
background: var(--background, #ffb6c1);
|
|
200
|
+
border-start-start-radius: var(--border-start-start-radius, 0);
|
|
201
|
+
border-start-end-radius: var(--border-start-end-radius, 20px);
|
|
202
|
+
border-end-start-radius: var(--border-end-start-radius, 0);
|
|
203
|
+
border-end-end-radius: var(--border-end-end-radius, 20px);
|
|
204
|
+
padding: 10px 8px;
|
|
205
|
+
box-sizing: border-box;
|
|
206
|
+
pointer-events: none;
|
|
207
|
+
font: var(--font, var(--wst-paragraph-2-font));
|
|
208
|
+
line-height: var(--line-height, normal);
|
|
209
|
+
letter-spacing: var(--letter-spacing, 0.04em);
|
|
210
|
+
text-decoration-line: var(--text-decoration-line, none);
|
|
211
|
+
text-transform: var(--text-transform, none);
|
|
212
|
+
text-align: var(--text-align, center);
|
|
213
|
+
text-shadow: var(--text-shadow, none);
|
|
214
|
+
color: var(--color, #1e293b);
|
|
215
|
+
white-space: nowrap;
|
|
216
|
+
overflow: hidden;
|
|
217
|
+
display: var(--display, flex);
|
|
218
|
+
align-items: center;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
box-shadow: inherit;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.labelBeforeVertical__y6xqy {
|
|
224
|
+
bottom: auto;
|
|
225
|
+
right: auto;
|
|
226
|
+
top: 100%;
|
|
227
|
+
left: 0;
|
|
228
|
+
width: auto;
|
|
229
|
+
height: auto;
|
|
230
|
+
writing-mode: horizontal-tb;
|
|
231
|
+
transform: none;
|
|
232
|
+
border-radius: 0 0 20px 20px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.labelAfterVertical__KD2TH {
|
|
236
|
+
top: auto;
|
|
237
|
+
left: auto;
|
|
238
|
+
bottom: 100%;
|
|
239
|
+
right: 0;
|
|
240
|
+
width: auto;
|
|
241
|
+
height: auto;
|
|
242
|
+
writing-mode: horizontal-tb;
|
|
243
|
+
transform: none;
|
|
244
|
+
border-radius: 20px 20px 0 0;
|
|
245
|
+
}
|
|
246
|
+
.image__iWj48 {
|
|
247
|
+
container-type: size;
|
|
248
|
+
display: block;
|
|
249
|
+
width: 100%;
|
|
250
|
+
height: 100%;
|
|
251
|
+
contain: paint;
|
|
252
|
+
}
|
|
253
|
+
.image__iWj48 img {
|
|
254
|
+
display: block;
|
|
255
|
+
width: 100%;
|
|
256
|
+
height: 100%;
|
|
257
|
+
object-fit: var(--object-fit, cover);
|
|
258
|
+
--position-left: calc(50cqw - 1cqh * var(--focal-x, 50) * var(--aspect-ratio, 1));
|
|
259
|
+
--position-top: calc(50cqh - 1cqw * var(--focal-y, 50) / var(--aspect-ratio, 1));
|
|
260
|
+
object-position: clamp(100%, var(--position-left), 0%) clamp(100%, var(--position-top), 0%);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@container style(--object-fit) and (not style(--object-fit: cover)) {
|
|
264
|
+
.image__iWj48 img {
|
|
265
|
+
object-position: center;
|
|
266
|
+
}
|
|
267
|
+
}.root__FuiJG {
|
|
268
|
+
mix-blend-mode: var(--blend-mode, normal);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.image3__6ufCe {
|
|
272
|
+
position: relative;
|
|
273
|
+
block-size: 100%;
|
|
274
|
+
overflow: clip;
|
|
275
|
+
border-color: var(--border-color);
|
|
276
|
+
border-width: var(--border-width, 0);
|
|
277
|
+
border-style: var(--border-style, solid);
|
|
278
|
+
border-radius: var(--border-radius);
|
|
279
|
+
box-shadow: var(--box-shadow);
|
|
280
|
+
box-sizing: border-box;
|
|
281
|
+
}
|
|
282
|
+
.image3__6ufCe.fitWidth__0L5O4 {
|
|
283
|
+
block-size: auto;
|
|
284
|
+
aspect-ratio: var(--original-aspect-ratio, 1);
|
|
285
|
+
}
|
|
286
|
+
.image3__6ufCe .imageLayer__w0TXF {
|
|
287
|
+
position: relative;
|
|
288
|
+
block-size: 100%;
|
|
289
|
+
}
|
|
290
|
+
.image3__6ufCe .imageLayer__w0TXF picture {
|
|
291
|
+
position: relative;
|
|
292
|
+
}
|
|
293
|
+
.image3__6ufCe .imageLayer__w0TXF img {
|
|
294
|
+
opacity: var(--opacity, 1);
|
|
295
|
+
}
|
|
296
|
+
.image3__6ufCe .wowImage__1yncg {
|
|
297
|
+
position: absolute;
|
|
298
|
+
inline-size: 100%;
|
|
299
|
+
block-size: 100%;
|
|
300
|
+
mask-position: 0px 0px;
|
|
301
|
+
mask-size: 100% 100%;
|
|
302
|
+
mask-repeat: no-repeat;
|
|
303
|
+
mask-image: var(--maskImage, none);
|
|
304
|
+
}
|
|
305
|
+
.image3__6ufCe .wowImage__1yncg img {
|
|
306
|
+
inline-size: 100%;
|
|
307
|
+
block-size: 100%;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.linkLayer__hoVt- {
|
|
311
|
+
display: block;
|
|
312
|
+
inline-size: 100%;
|
|
313
|
+
block-size: 100%;
|
|
314
|
+
}
|
|
315
|
+
.h1-go2_mI {
|
|
316
|
+
font: var(--wst-heading-1-font);
|
|
317
|
+
color: var(--wst-heading-1-color);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.h2-dAyvwd {
|
|
321
|
+
font: var(--wst-heading-2-font);
|
|
322
|
+
color: var(--wst-heading-2-color);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.h3-LClqyK {
|
|
326
|
+
font: var(--wst-heading-3-font);
|
|
327
|
+
color: var(--wst-heading-3-color);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.h4-pzBHGr {
|
|
331
|
+
font: var(--wst-heading-4-font);
|
|
332
|
+
color: var(--wst-heading-4-color);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.h5-HOx5Wp {
|
|
336
|
+
font: var(--wst-heading-5-font);
|
|
337
|
+
color: var(--wst-heading-5-color);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.h6-zCNm1M {
|
|
341
|
+
font: var(--wst-heading-6-font);
|
|
342
|
+
color: var(--wst-heading-6-color);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.p1-pY02jM {
|
|
346
|
+
font: var(--wst-paragraph-1-font);
|
|
347
|
+
color: var(--wst-paragraph-1-color);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.p2-TsZIq5 {
|
|
351
|
+
font: var(--wst-paragraph-2-font);
|
|
352
|
+
color: var(--wst-paragraph-2-color);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.p3-N6QdAQ {
|
|
356
|
+
font: var(--wst-paragraph-3-font);
|
|
357
|
+
color: var(--wst-paragraph-3-color);
|
|
358
|
+
}
|
|
359
|
+
.fallbackDirection__HeRgn:not([dir]) {
|
|
360
|
+
direction: var(--wix-opt-in-direction);
|
|
361
|
+
}
|
|
362
|
+
.presetWrapper__J1yzj {
|
|
363
|
+
display: contents;
|
|
364
|
+
}
|