@zipify/wysiwyg 1.0.0-dev.5 → 1.0.0-dev.8

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 (37) hide show
  1. package/.eslintignore +1 -0
  2. package/.stylelintignore +1 -0
  3. package/config/jest/setupTests.js +4 -0
  4. package/config/webpack/example.config.js +2 -0
  5. package/config/webpack/lib.config.js +44 -0
  6. package/config/webpack/loaders/style-loader.js +3 -1
  7. package/config/webpack/loaders/svg-loader.js +1 -1
  8. package/dist/wysiwyg.css +837 -0
  9. package/dist/wysiwyg.js +16170 -0
  10. package/dist/wysiwyg.js.LICENSE.txt +1 -0
  11. package/lib/assets/icons/alignment-center.svg +3 -0
  12. package/lib/assets/icons/alignment-justify.svg +3 -0
  13. package/lib/assets/icons/alignment-left.svg +3 -0
  14. package/lib/assets/icons/alignment-right.svg +3 -0
  15. package/lib/assets/icons/arrow.svg +3 -0
  16. package/lib/assets/icons/background-color.svg +3 -0
  17. package/lib/assets/icons/case-style.svg +3 -0
  18. package/lib/assets/icons/font-color.svg +5 -0
  19. package/lib/assets/icons/italic.svg +3 -0
  20. package/lib/assets/icons/line-height.svg +3 -0
  21. package/lib/assets/icons/list-circle.svg +3 -0
  22. package/lib/assets/icons/list-decimal.svg +3 -0
  23. package/lib/assets/icons/list-disc.svg +3 -0
  24. package/lib/assets/icons/list-latin.svg +3 -0
  25. package/lib/assets/icons/list-roman.svg +3 -0
  26. package/lib/assets/icons/list-square.svg +3 -0
  27. package/lib/assets/icons/remove-format.svg +3 -0
  28. package/lib/assets/icons/reset-styles.svg +3 -0
  29. package/lib/assets/icons/strike-through.svg +3 -0
  30. package/lib/assets/icons/superscript.svg +3 -0
  31. package/lib/assets/icons/underline.svg +3 -0
  32. package/lib/components/base/Icon.vue +17 -9
  33. package/lib/components/base/__tests__/Icon.test.js +6 -13
  34. package/lib/utils/importIcon.js +12 -0
  35. package/lib/utils/index.js +1 -0
  36. package/package.json +4 -2
  37. package/lib/assets/icons.svg +0 -69
@@ -0,0 +1,837 @@
1
+
2
+ .zw-toolbar__divider[data-v-034e1143] {
3
+ border-color: rgba(var(--zw-color-n90), 0.1);
4
+ border-style: solid;
5
+ border-width: 0;
6
+ }
7
+ .zw-toolbar__divider--vertical[data-v-034e1143] {
8
+ border-left-width: 1px;
9
+ }
10
+ .zw-toolbar__divider--horizontal[data-v-034e1143] {
11
+ border-bottom-width: 1px;
12
+ }
13
+
14
+
15
+ .zw-toolbar__row[data-v-65916ef8] {
16
+ display: flex;
17
+ column-gap: var(--zw-offset-xs);
18
+ padding: var(--zw-offset-xxs) var(--zw-offset-xs);
19
+ }
20
+
21
+
22
+ .zw-toolbar__group[data-v-06bbae29] {
23
+ display: flex;
24
+ column-gap: var(--zw-offset-xxs);
25
+ }
26
+
27
+
28
+ .zw-button[data-v-610825a2] {
29
+ display: inline-flex;
30
+ align-items: center;
31
+ vertical-align: middle;
32
+ touch-action: manipulation;
33
+ cursor: pointer;
34
+ background-image: none;
35
+ background-color: transparent;
36
+ border: 0;
37
+ padding: 0;
38
+ white-space: nowrap;
39
+ appearance: none;
40
+ user-select: none;
41
+ text-transform: none;
42
+ letter-spacing: normal;
43
+ color: inherit;
44
+ transition: 0.1s opacity ease-out;
45
+ will-change: opacity;
46
+ }
47
+ .zw-button[data-v-610825a2]::-moz-focus-inner {
48
+ border: 0 !important;
49
+ }
50
+ .zw-button[data-v-610825a2]:hover,
51
+ .zw-button[data-v-610825a2]:focus {
52
+ text-decoration: none;
53
+ outline: none;
54
+ }
55
+ .zw-button[data-v-610825a2]:disabled {
56
+ user-select: none;
57
+ box-shadow: none;
58
+ cursor: not-allowed;
59
+ opacity: 0.35;
60
+ }
61
+ .zw-button--toolbar[data-v-610825a2] {
62
+ border-radius: 1px;
63
+ min-height: 28px;
64
+ font-weight: var(--zw-font-weight-semibold);
65
+ font-size: var(--zw-font-size-xs);
66
+ line-height: var(--zw-line-height-xxs);
67
+ color: rgb(var(--zw-color-n70));
68
+ transition-property: background-color, color, opacity;
69
+ will-change: background-color, color, opacity;
70
+ }
71
+ .zw-button--toolbar[data-v-610825a2]:not(.zw-button--icon) {
72
+ padding: var(--zw-offset-xxs) var(--zw-offset-xs);
73
+ }
74
+ .zw-button--toolbar[data-v-610825a2]:not(:disabled):hover,
75
+ .zw-button--toolbar[data-v-610825a2]:not(:disabled):focus,
76
+ .zw-button--toolbar.zw-button--active[data-v-610825a2]:not(:disabled) {
77
+ color: rgb(var(--zw-color-white));
78
+ background-color: rgb(var(--zw-color-n5));
79
+ }
80
+
81
+
82
+ .zw-button-toggle[data-v-de5fa53a] {
83
+ display: flex;
84
+ column-gap: var(--zw-offset-xxs);
85
+ }
86
+
87
+
88
+ .zw-icon[data-v-d4624794] {
89
+ display: inline-block;
90
+ }
91
+ .zw-icon--auto-color[data-v-d4624794] {
92
+ --zw-icon-foreground: currentColor;
93
+ }
94
+
95
+ [data-simplebar] {
96
+ position: relative;
97
+ flex-direction: column;
98
+ flex-wrap: wrap;
99
+ justify-content: flex-start;
100
+ align-content: flex-start;
101
+ align-items: flex-start;
102
+ }
103
+
104
+ .simplebar-wrapper {
105
+ overflow: hidden;
106
+ width: inherit;
107
+ height: inherit;
108
+ max-width: inherit;
109
+ max-height: inherit;
110
+ }
111
+
112
+ .simplebar-mask {
113
+ direction: inherit;
114
+ position: absolute;
115
+ overflow: hidden;
116
+ padding: 0;
117
+ margin: 0;
118
+ left: 0;
119
+ top: 0;
120
+ bottom: 0;
121
+ right: 0;
122
+ width: auto !important;
123
+ height: auto !important;
124
+ z-index: 0;
125
+ }
126
+
127
+ .simplebar-offset {
128
+ direction: inherit !important;
129
+ box-sizing: inherit !important;
130
+ resize: none !important;
131
+ position: absolute;
132
+ top: 0;
133
+ left: 0;
134
+ bottom: 0;
135
+ right: 0;
136
+ padding: 0;
137
+ margin: 0;
138
+ -webkit-overflow-scrolling: touch;
139
+ }
140
+
141
+ .simplebar-content-wrapper {
142
+ direction: inherit;
143
+ box-sizing: border-box !important;
144
+ position: relative;
145
+ display: block;
146
+ height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */
147
+ width: auto;
148
+ max-width: 100%; /* Not required for horizontal scroll to trigger */
149
+ max-height: 100%; /* Needed for vertical scroll to trigger */
150
+ scrollbar-width: none;
151
+ -ms-overflow-style: none;
152
+ }
153
+
154
+ .simplebar-content-wrapper::-webkit-scrollbar,
155
+ .simplebar-hide-scrollbar::-webkit-scrollbar {
156
+ width: 0;
157
+ height: 0;
158
+ }
159
+
160
+ .simplebar-content:before,
161
+ .simplebar-content:after {
162
+ content: ' ';
163
+ display: table;
164
+ }
165
+
166
+ .simplebar-placeholder {
167
+ max-height: 100%;
168
+ max-width: 100%;
169
+ width: 100%;
170
+ pointer-events: none;
171
+ }
172
+
173
+ .simplebar-height-auto-observer-wrapper {
174
+ box-sizing: inherit !important;
175
+ height: 100%;
176
+ width: 100%;
177
+ max-width: 1px;
178
+ position: relative;
179
+ float: left;
180
+ max-height: 1px;
181
+ overflow: hidden;
182
+ z-index: -1;
183
+ padding: 0;
184
+ margin: 0;
185
+ pointer-events: none;
186
+ flex-grow: inherit;
187
+ flex-shrink: 0;
188
+ flex-basis: 0;
189
+ }
190
+
191
+ .simplebar-height-auto-observer {
192
+ box-sizing: inherit;
193
+ display: block;
194
+ opacity: 0;
195
+ position: absolute;
196
+ top: 0;
197
+ left: 0;
198
+ height: 1000%;
199
+ width: 1000%;
200
+ min-height: 1px;
201
+ min-width: 1px;
202
+ overflow: hidden;
203
+ pointer-events: none;
204
+ z-index: -1;
205
+ }
206
+
207
+ .simplebar-track {
208
+ z-index: 1;
209
+ position: absolute;
210
+ right: 0;
211
+ bottom: 0;
212
+ pointer-events: none;
213
+ overflow: hidden;
214
+ }
215
+
216
+ [data-simplebar].simplebar-dragging .simplebar-content {
217
+ pointer-events: none;
218
+ user-select: none;
219
+ -webkit-user-select: none;
220
+ }
221
+
222
+ [data-simplebar].simplebar-dragging .simplebar-track {
223
+ pointer-events: all;
224
+ }
225
+
226
+ .simplebar-scrollbar {
227
+ position: absolute;
228
+ left: 0;
229
+ right: 0;
230
+ min-height: 10px;
231
+ }
232
+
233
+ .simplebar-scrollbar:before {
234
+ position: absolute;
235
+ content: '';
236
+ background: black;
237
+ border-radius: 7px;
238
+ left: 2px;
239
+ right: 2px;
240
+ opacity: 0;
241
+ transition: opacity 0.2s linear;
242
+ }
243
+
244
+ .simplebar-scrollbar.simplebar-visible:before {
245
+ /* When hovered, remove all transitions from drag handle */
246
+ opacity: 0.5;
247
+ transition: opacity 0s linear;
248
+ }
249
+
250
+ .simplebar-track.simplebar-vertical {
251
+ top: 0;
252
+ width: 11px;
253
+ }
254
+
255
+ .simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
256
+ top: 2px;
257
+ bottom: 2px;
258
+ }
259
+
260
+ .simplebar-track.simplebar-horizontal {
261
+ left: 0;
262
+ height: 11px;
263
+ }
264
+
265
+ .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
266
+ height: 100%;
267
+ left: 2px;
268
+ right: 2px;
269
+ }
270
+
271
+ .simplebar-track.simplebar-horizontal .simplebar-scrollbar {
272
+ right: auto;
273
+ left: 0;
274
+ top: 2px;
275
+ height: 7px;
276
+ min-height: 0;
277
+ min-width: 10px;
278
+ width: auto;
279
+ }
280
+
281
+ /* Rtl support */
282
+ [data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {
283
+ right: auto;
284
+ left: 0;
285
+ }
286
+
287
+ .hs-dummy-scrollbar-size {
288
+ direction: rtl;
289
+ position: fixed;
290
+ opacity: 0;
291
+ visibility: hidden;
292
+ height: 500px;
293
+ width: 500px;
294
+ overflow-y: hidden;
295
+ overflow-x: scroll;
296
+ }
297
+
298
+ .simplebar-hide-scrollbar {
299
+ position: fixed;
300
+ left: 0;
301
+ visibility: hidden;
302
+ overflow-y: scroll;
303
+ scrollbar-width: none;
304
+ -ms-overflow-style: none;
305
+ }
306
+
307
+
308
+ .zw-scroll-view[data-v-56dc828f] .simplebar-placeholder {
309
+ display: none;
310
+ }
311
+ .zw-scroll-view[data-v-56dc828f] .simplebar-track {
312
+ width: 4px;
313
+ background-color: rgb(var(--zw-color-n20));
314
+ pointer-events: initial;
315
+ }
316
+ .zw-scroll-view[data-v-56dc828f] .simplebar-scrollbar {
317
+ width: 4px;
318
+ }
319
+ .zw-scroll-view[data-v-56dc828f] .simplebar-scrollbar::before {
320
+ top: 0;
321
+ left: 0;
322
+ background-color: rgb(var(--zw-color-n5));
323
+ cursor: pointer;
324
+ height: 100%;
325
+ width: 100%;
326
+ opacity: 1;
327
+ border-radius: 0;
328
+ }
329
+
330
+
331
+ .zw-field-label[data-v-2be4d197] {
332
+ font-weight: var(--zw-font-weight-thin);
333
+ font-size: var(--zw-font-size-xxs);
334
+ line-height: var(--zw-line-height-xxs);
335
+ color: rgb(var(--zw-color-n70));
336
+ display: block;
337
+ }
338
+
339
+
340
+ .zw-range[data-v-4cc06850] {
341
+ width: 100%;
342
+ height: 32px;
343
+ background: none;
344
+ cursor: pointer;
345
+ flex-grow: 1;
346
+ -webkit-appearance: none;
347
+
348
+ --zw-range-track-background-color: transparent;
349
+ --zw-range-track-background-image: linear-gradient(to right, #B3B3B3 var(--zw-range-progress), #3B3B3B var(--zw-range-progress));
350
+ --zw-range-thumb-background: rgb(var(--zw-color-white));
351
+ --zw-range-thumb-box-shadow: -1px -1px 3px rgba(59, 59, 59, 0.35), 1px 1px 3px rgba(59, 59, 59, 0.35);
352
+ }
353
+ .zw-range[data-v-4cc06850]::-webkit-slider-runnable-track {
354
+ width: 100%;
355
+ height: 4px;
356
+ border: 0;
357
+ border-radius: 0;
358
+ background-size: 100%;
359
+ background-color: var(--zw-range-track-background-color);
360
+ background-image: var(--zw-range-track-background-image);
361
+ }
362
+ .zw-range[data-v-4cc06850]::-moz-range-track {
363
+ width: 100%;
364
+ height: 4px;
365
+ border: 0;
366
+ border-radius: 0;
367
+ background-size: 100%;
368
+ background-color: var(--zw-range-track-background-color);
369
+ background-image: var(--zw-range-track-background-image);
370
+ }
371
+ .zw-range[data-v-4cc06850]::-ms-track {
372
+ width: 100%;
373
+ height: 4px;
374
+ border: 0;
375
+ border-radius: 0;
376
+ background-size: 100%;
377
+ background-color: var(--zw-range-track-background-color);
378
+ background-image: var(--zw-range-track-background-image);
379
+ }
380
+ .zw-range[data-v-4cc06850]::-webkit-slider-thumb {
381
+ height: 13px;
382
+ width: 13px;
383
+ border-radius: 100%;
384
+ margin-top: -5px;
385
+ background: var(--zw-range-thumb-background);
386
+ box-shadow: var(--zw-range-thumb-box-shadow);
387
+ -webkit-appearance: none;
388
+ transition: box-shadow 150ms cubic-bezier(0, 0, 0.2, 1);
389
+ }
390
+ .zw-range[data-v-4cc06850]::-moz-range-thumb {
391
+ height: 13px;
392
+ width: 13px;
393
+ border-radius: 100%;
394
+ margin-top: -5px;
395
+ background: var(--zw-range-thumb-background);
396
+ box-shadow: var(--zw-range-thumb-box-shadow);
397
+ -webkit-appearance: none;
398
+ transition: box-shadow 150ms cubic-bezier(0, 0, 0.2, 1);
399
+ }
400
+ .zw-range[data-v-4cc06850]::-ms-thumb {
401
+ height: 13px;
402
+ width: 13px;
403
+ border-radius: 100%;
404
+ margin-top: -5px;
405
+ background: var(--zw-range-thumb-background);
406
+ box-shadow: var(--zw-range-thumb-box-shadow);
407
+ -webkit-appearance: none;
408
+ transition: box-shadow 150ms cubic-bezier(0, 0, 0.2, 1);
409
+ }
410
+
411
+ /* Browser hacks */
412
+ .zw-range[data-v-4cc06850]::-moz-focus-outer,
413
+ .zw-range[data-v-4cc06850]::-moz-range-thumb {
414
+ border: 0;
415
+ }
416
+
417
+ /* In IE don't know how it count margin for thumb */
418
+ /* but it works */
419
+ .zw-range[data-v-4cc06850]::-ms-thumb {
420
+ margin-top: -2px;
421
+ }
422
+
423
+ /* END browser hacks */
424
+ .zw-range[data-v-4cc06850]:focus {
425
+ outline: none;
426
+ }
427
+ .zw-range[data-v-4cc06850]:disabled {
428
+ cursor: not-allowed;
429
+ opacity: 0.6;
430
+ --zw-range-track-background-color: #3B3B3B;
431
+ --zw-range-track-background-image: linear-gradient(to right, #B3B3B3 var(--zw-range-progress), #3B3B3B var(--zw-range-progress));
432
+ }
433
+ .zw-range[data-v-4cc06850]:disabled {
434
+ --zw-range-thumb-background: #B3B3B3;
435
+ --zw-range-thumb-box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
436
+ }
437
+ .zw-range[data-v-4cc06850]:not(:disabled):hover {
438
+ --zw-range-thumb-box-shadow: 0 0 0 8px rgba(240, 240, 240, 0.15);
439
+ }
440
+ .zw-range[data-v-4cc06850]:not(:disabled):active {
441
+ --zw-range-thumb-box-shadow: 0 0 0 12px rgba(240, 240, 240, 0.15);
442
+ }
443
+
444
+
445
+ .zw-number-field[data-v-289baff8] {
446
+ --border-color: rgb(var(--zw-color-n60));
447
+ --text-color: rgb(var(--zw-color-n85));
448
+ --buttons-color: rgb(var(--zw-color-n70));
449
+
450
+ padding: 2px 4px;
451
+ border: solid 1px var(--border-color);
452
+ align-items: stretch;
453
+ display: flex;
454
+ }
455
+ .zw-number-field[data-v-289baff8]:hover {
456
+ --border-color: rgb(var(--zw-color-n80));
457
+ --text-color: rgb(var(--zw-color-n85));
458
+ }
459
+ .zw-number-field[data-v-289baff8]:focus,
460
+ .zw-number-field[data-v-289baff8]:focus-within {
461
+ --border-color: rgb(var(--zw-color-white));
462
+ --text-color: rgb(var(--zw-color-white));
463
+ }
464
+ .zw-number-field__input[data-v-289baff8] {
465
+ color: var(--text-color);
466
+ background-color: rgb(var(--zw-color-n15));
467
+ border: 0;
468
+ display: block;
469
+ width: 100%;
470
+ outline: none !important;
471
+ line-height: var(--zw-line-height-md);
472
+ font-size: var(--zw-font-size-xs);
473
+ -moz-appearance: textfield;
474
+ }
475
+ .zw-number-field__buttons[data-v-289baff8] {
476
+ display: none;
477
+ flex-direction: column;
478
+ height: 100%;
479
+ }
480
+ .zw-number-field:hover .zw-number-field__buttons[data-v-289baff8],
481
+ .zw-number-field:focus .zw-number-field__buttons[data-v-289baff8],
482
+ .zw-number-field:focus-within .zw-number-field__buttons[data-v-289baff8] {
483
+ display: flex;
484
+ }
485
+ .zw-number-field__input[data-v-289baff8]::placeholder {
486
+ color: var(--text-color);
487
+ }
488
+ .zw-number-field__input[data-v-289baff8]::-webkit-outer-spin-button,
489
+ .zw-number-field__input[data-v-289baff8]::-webkit-inner-spin-button {
490
+ color: var(--text-color);
491
+ -webkit-appearance: none;
492
+ }
493
+ .zw-number-field__controls[data-v-289baff8] {
494
+ min-width: var(--zw-offset-sm);
495
+ }
496
+ .zw-number-field--disabled[data-v-289baff8] {
497
+ opacity: 0.5;
498
+ }
499
+ .zw-number-field--disabled[data-v-289baff8],
500
+ .zw-number-field--disabled .zw-number-field__input[data-v-289baff8] {
501
+ cursor: not-allowed;
502
+ }
503
+ .zw-number-field__increment-button[data-v-289baff8],
504
+ .zw-number-field__decrement-button[data-v-289baff8] {
505
+ width: 100%;
506
+ height: 50%;
507
+ display: flex;
508
+ align-items: center;
509
+ justify-content: center;
510
+ }
511
+ .zw-number-field__increment-button[data-v-289baff8]::after,
512
+ .zw-number-field__decrement-button[data-v-289baff8]::after {
513
+ content: "";
514
+ border-left: 3px solid transparent;
515
+ border-right: 3px solid transparent;
516
+ }
517
+ .zw-number-field__increment-button[data-v-289baff8]::after {
518
+ border-bottom: 3px solid var(--buttons-color);
519
+ }
520
+ .zw-number-field__decrement-button[data-v-289baff8]::after {
521
+ border-top: 3px solid var(--buttons-color);
522
+ }
523
+ .zw-number-field__increment-button[data-v-289baff8]:hover,
524
+ .zw-number-field__decrement-button[data-v-289baff8]:hover {
525
+ background-color: rgb(var(--zw-color-n20));
526
+ --buttons-color: rgb(var(--zw-color-white));
527
+ }
528
+ .zw-number-field__units[data-v-289baff8] {
529
+ color: rgb(var(--zw-color-n70));
530
+ font-size: var(--zw-font-size-xs);
531
+ line-height: var(--zw-line-height-md);
532
+ text-align: center;
533
+ display: inline-block;
534
+ width: 100%;
535
+ }
536
+ .zw-number-field:hover .zw-number-field__units[data-v-289baff8],
537
+ .zw-number-field:focus .zw-number-field__units[data-v-289baff8] {
538
+ display: none;
539
+ }
540
+
541
+
542
+ .zw-modal[data-v-0a3c1c80] {
543
+ border-radius: 2px;
544
+ overflow: hidden;
545
+ box-shadow: 0 0 4px rgba(var(--zw-color-black), 0.3);
546
+ background-color: rgb(var(--zw-color-n15));
547
+ max-height: var(--zw-modal-max-height);
548
+ max-width: var(--zw-modal-max-width);
549
+ z-index: 1000;
550
+ will-change: transform;
551
+ }
552
+ .zw-modal--enter-active[data-v-0a3c1c80] {
553
+ transition: opacity 0.15s ease-out;
554
+ }
555
+ .zw-modal--enter[data-v-0a3c1c80],
556
+ .zw-modal--leave-to[data-v-0a3c1c80] {
557
+ opacity: 0;
558
+ }
559
+ .zw-modal--leave-active[data-v-0a3c1c80] {
560
+ transition: opacity 0.1s ease-in;
561
+ }
562
+
563
+ /* Scrollbar overrides in modal */
564
+ .zw-modal[data-v-0a3c1c80] .simplebar-offset,
565
+ .zw-modal[data-v-0a3c1c80] .simplebar-mask {
566
+ position: initial;
567
+ }
568
+ .zw-modal[data-v-0a3c1c80] .simplebar-content {
569
+ max-height: var(--zw-modal-max-height);
570
+ padding: 0 !important;
571
+ }
572
+ .zw-modal[data-v-0a3c1c80] .simplebar-content-wrapper {
573
+ overscroll-behavior: contain;
574
+ }
575
+
576
+
577
+ .zw-dropdown__activator[data-v-4865ea7a] {
578
+ width: 100%;
579
+ }
580
+ .zw-dropdown__activator-title[data-v-4865ea7a] {
581
+ margin-right: var(--zw-offset-xs);
582
+ }
583
+ .zw-dropdown__activator-arrow[data-v-4865ea7a] {
584
+ margin-left: auto;
585
+ }
586
+ .zw-dropdown__activator--active .zw-dropdown__activator-arrow[data-v-4865ea7a] {
587
+ transform: rotateX(180deg);
588
+ }
589
+
590
+
591
+ .zw-dropdown__option[data-v-10a0f0b7] {
592
+ width: 100%;
593
+ display: block;
594
+ color: rgb(var(--zw-color-white));
595
+ padding-top: var(--zw-offset-xxs);
596
+ padding-right: var(--zw-offset-sm);
597
+ padding-left: calc(var(--zw-offset-sm) + var(--zw-option-offset, 0px));
598
+ padding-bottom: var(--zw-offset-xxs);
599
+ text-align: left;
600
+ transition: 0.1s background-color ease-out;
601
+ will-change: background-color;
602
+ }
603
+ .zw-dropdown__option[data-v-10a0f0b7]:hover,
604
+ .zw-dropdown__option[data-v-10a0f0b7]:focus,
605
+ .zw-dropdown__option--active[data-v-10a0f0b7] {
606
+ background-color: rgb(var(--zw-color-n30));
607
+ }
608
+
609
+
610
+ .zw-dropdown__group[data-v-207aa7a6] {
611
+ padding-top: var(--zw-offset-xs);
612
+ padding-bottom: var(--zw-offset-xs);
613
+ --zw-option-offset: var(--zw-offset-xs);
614
+ }
615
+ .zw-dropdown__group-title[data-v-207aa7a6] {
616
+ color: var(--zw-color-n70);
617
+ font-weight: var(--zw-font-weight-semibold);
618
+ padding-left: var(--zw-offset-sm);
619
+ padding-right: var(--zw-offset-sm);
620
+ margin-top: 0;
621
+ margin-bottom: var(--zw-offset-xs);
622
+ }
623
+
624
+
625
+ .zw-dropdown__divider[data-v-72e4c372] {
626
+ padding: 0 var(--zw-offset-sm);
627
+ }
628
+ .zw-dropdown__divider[data-v-72e4c372]::before {
629
+ content: "";
630
+ display: block;
631
+ border-bottom: 1px solid rgb(var(--zw-color-n30));
632
+ }
633
+
634
+
635
+ .zw-dropdown__menu {
636
+ padding-top: var(--zw-offset-xs);
637
+ padding-bottom: var(--zw-offset-xs);
638
+ }
639
+
640
+
641
+ .zw-dropdown[data-v-35f81e22] {
642
+ position: relative;
643
+ font-size: var(--zw-font-size-xs);
644
+ line-height: var(--zw-line-height-xxs);
645
+ }
646
+
647
+
648
+ .zw-style-preset-control[data-v-0f6b31b1] {
649
+ display: flex;
650
+ align-items: center;
651
+ }
652
+ .zw-style-preset-control__dropdown[data-v-0f6b31b1] {
653
+ width: 96px;
654
+ }
655
+ .zw-style-preset-control__reset[data-v-0f6b31b1] {
656
+ color: rgb(var(--zw-color-n70));
657
+ }
658
+ .zw-style-preset-control__reset[data-v-0f6b31b1]:not(:disabled):hover,
659
+ .zw-style-preset-control__reset[data-v-0f6b31b1]:not(:disabled):focus,
660
+ .zw-style-preset-control__reset[data-v-0f6b31b1]:not(:disabled):focus-within {
661
+ color: rgb(var(--zw-color-white));
662
+ }
663
+
664
+
665
+ .zw-font-family-control[data-v-2e95c716] {
666
+ width: 96px;
667
+ }
668
+ .zw-font-family-control__option[data-v-2e95c716] {
669
+ font-weight: 400;
670
+ font-family: var(--zw-font-family-option);
671
+ width: 150px;
672
+ }
673
+
674
+
675
+ .zw-alignment-control__modal[data-v-9713d430] {
676
+ padding: var(--zw-offset-xxs);
677
+ }
678
+ .zw-alignment-control__toggle[data-v-9713d430] {
679
+ flex-direction: column;
680
+ }
681
+
682
+
683
+ .zw-line-height-control__modal[data-v-b87c3724] {
684
+ padding: var(--zw-offset-sm);
685
+ }
686
+ .zw-line-height-control__row[data-v-b87c3724] {
687
+ display: flex;
688
+ align-items: center;
689
+ }
690
+ .zw-line-height-control__range[data-v-b87c3724] {
691
+ width: 156px;
692
+ }
693
+ .zw-line-height-control__field[data-v-b87c3724] {
694
+ width: 52px;
695
+ margin-left: var(--zw-offset-sm);
696
+ }
697
+
698
+
699
+ .zw-list-control__option[data-v-305d852b] {
700
+ padding: 0 var(--zw-offset-xs);
701
+ display: flex;
702
+ }
703
+
704
+
705
+ .zw-toolbar[data-v-05accea6] {
706
+ border-radius: 2px;
707
+ background-color: rgb(var(--zw-color-n15));
708
+ color: rgb(var(--zw-color-n70));
709
+ z-index: 999;
710
+ }
711
+ .zw-toolbar--enter-active[data-v-05accea6],
712
+ .zw-toolbar--leave-active[data-v-05accea6] {
713
+ transition: opacity 0.15s ease-out;
714
+ }
715
+ .zw-toolbar--leave-active[data-v-05accea6] {
716
+ transition: opacity 0s ease-in;
717
+ }
718
+ .zw-toolbar--enter[data-v-05accea6],
719
+ .zw-toolbar--leave-to[data-v-05accea6] {
720
+ opacity: 0;
721
+ }
722
+
723
+ .zw-wysiwyg {
724
+ --zw-color-n5: 13, 13, 13; /* #0D0D0D; */
725
+ --zw-color-n15: 38, 38, 38; /* #262626; */
726
+ --zw-color-n20: 59, 59, 59; /* #3B3B3B; */
727
+ --zw-color-n30: 77, 77, 77; /* #4D4D4D; */
728
+ --zw-color-n60: 153, 153, 153; /* #999999 */
729
+ --zw-color-n70: 179, 179, 179; /* #B3B3B3 */
730
+ --zw-color-n80: 196, 196, 196; /* #C4C4C4 */
731
+ --zw-color-n85: 217, 217, 217; /* #D9D9D9 */
732
+ --zw-color-n90: 230, 230, 230; /* #E6E6E6 */
733
+ --zw-color-black: 0, 0, 0;
734
+ --zw-color-white: 255, 255, 255;
735
+
736
+ --zw-offset-xxs: 4px;
737
+ --zw-offset-xs: 8px;
738
+ --zw-offset-xsm: 12px;
739
+ --zw-offset-sm: 16px;
740
+
741
+ --zw-font-weight-thin: 400;
742
+ --zw-font-weight-semibold: 500;
743
+
744
+ --zw-font-size-xxs: 12px;
745
+ --zw-font-size-xs: 14px;
746
+
747
+ --zw-line-height-xxs: 1.21;
748
+ --zw-line-height-md: 1.72;
749
+ }
750
+
751
+ /*
752
+ $builder-N5: #0D0D0D;
753
+ $builder-N10: #1A1A1A;
754
+ $builder-N15: #262626;
755
+ $builder-N20: #3B3B3B;
756
+ $builder-N30: #4D4D4D;
757
+ $builder-N40: #666;
758
+ $builder-N50: #808080;
759
+ $builder-N60: #999;
760
+ $builder-N70: #B3B3B3;
761
+ $builder-N80: #C4C4C4;
762
+ $builder-N85: #D9D9D9;
763
+ $builder-N90: #E6E6E6;
764
+ $builder-N94: #F0F0F0;
765
+ $builder-N96: #F5F5F5;
766
+ $builder-N98: #FAFAFA;
767
+
768
+ $font-size-xxs: 12px;
769
+ $font-size-xs: 14px;
770
+ $font-size-sm: 16px;
771
+ $font-size-md: 18px;
772
+ $font-size-lmd: 20px;
773
+ $font-size-lg: 24px;
774
+
775
+ $font-height--xxs: 1.2;
776
+ $font-height--xs: 1.33;
777
+ $font-height--sm: 1.43;
778
+ $font-height--md: 1.72;
779
+ */
780
+
781
+ .zw-wysiwyg [contenteditable] {
782
+ outline: none;
783
+ }
784
+
785
+ .zw-style {
786
+ font-weight: var(--zw-font-weight, var(--zw-preset-font-weight));
787
+ font-family: var(--zw-font-family, var(--zw-preset-font-family));
788
+ color: var(--zw-font-color, var(--zw-preset-color));
789
+ font-style: var(--zw-font-style, var(--zw-preset-font-style));
790
+ text-decoration: var(--zw-text-decoration, var(--zw-preset-text-decoration));
791
+ background-color: var(--zw-background-color, var(--zw-preset-background-color));
792
+ }
793
+
794
+ @media (min-width: 1200px) {
795
+
796
+ .zw-style {
797
+ font-size: var(--zw-desktop-font-size, var(--zw-preset-desktop-font-size));
798
+ text-align: var(--zw-desktop-text-align, var(--zw-preset-desktop-text-align));
799
+ line-height: var(--zw-desktop-line-height, var(--zw-preset-desktop-line-height));
800
+ }
801
+ }
802
+
803
+ @media (min-width: 769px) and (max-width: 1199.98px) {
804
+
805
+ .zw-style {
806
+ font-size: var(--zw-tablet-font-size, var(--zw-preset-tablet-font-size));
807
+ text-align: var(--zw-tablet-text-align, var(--zw-preset-tablet-text-align));
808
+ line-height: var(--zw-tablet-line-height, var(--zw-preset-tablet-line-height));
809
+ }
810
+ }
811
+
812
+ @media (max-width: 768.98px) {
813
+
814
+ .zw-style {
815
+ font-size: var(--zw-mobile-font-size, var(--zw-preset-mobile-font-size));
816
+ text-align: var(--zw-mobile-text-align, var(--zw-preset-mobile-text-align));
817
+ line-height: var(--zw-mobile-line-height, var(--zw-preset-mobile-line-height));
818
+ }
819
+ }
820
+
821
+ .zw-text--truncate {
822
+ white-space: nowrap;
823
+ overflow: hidden;
824
+ text-overflow: ellipsis;
825
+ max-width: 100%;
826
+ }
827
+
828
+ .zw-position--relative {
829
+ position: relative;
830
+ }
831
+
832
+ .zw-margin-bottom--xs {
833
+ margin-bottom: var(--zw-offset-xs);
834
+ }
835
+
836
+
837
+