@zipify/wysiwyg 1.0.0-dev.67 → 1.0.0-dev.68
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/wysiwyg.css
CHANGED
|
@@ -630,14 +630,15 @@
|
|
|
630
630
|
width: 234px;
|
|
631
631
|
}
|
|
632
632
|
|
|
633
|
-
.zw-toolbar[data-v-
|
|
633
|
+
.zw-toolbar[data-v-0068707a] {
|
|
634
634
|
border-radius: 2px;
|
|
635
635
|
background-color: rgb(var(--zw-color-n15));
|
|
636
636
|
color: rgb(var(--zw-color-n70));
|
|
637
637
|
z-index: 999999;
|
|
638
|
+
text-align: left;
|
|
638
639
|
}
|
|
639
|
-
.zw-toolbar[data-v-
|
|
640
|
-
.zw-toolbar[data-v-
|
|
640
|
+
.zw-toolbar[data-v-0068707a]::before,
|
|
641
|
+
.zw-toolbar[data-v-0068707a]::after {
|
|
641
642
|
content: "";
|
|
642
643
|
display: block;
|
|
643
644
|
width: 100%;
|
|
@@ -645,21 +646,21 @@
|
|
|
645
646
|
position: absolute;
|
|
646
647
|
--zw-toolbar-safe-zone: calc(-1 * var(--zw-toolbar-offset-y));
|
|
647
648
|
}
|
|
648
|
-
.zw-toolbar[data-v-
|
|
649
|
+
.zw-toolbar[data-v-0068707a]::before {
|
|
649
650
|
top: var(--zw-toolbar-safe-zone);
|
|
650
651
|
}
|
|
651
|
-
.zw-toolbar[data-v-
|
|
652
|
+
.zw-toolbar[data-v-0068707a]::after {
|
|
652
653
|
bottom: var(--zw-toolbar-safe-zone);
|
|
653
654
|
}
|
|
654
|
-
.zw-toolbar--enter-active[data-v-
|
|
655
|
-
.zw-toolbar--leave-active[data-v-
|
|
655
|
+
.zw-toolbar--enter-active[data-v-0068707a],
|
|
656
|
+
.zw-toolbar--leave-active[data-v-0068707a] {
|
|
656
657
|
transition: opacity 150ms ease-out;
|
|
657
658
|
}
|
|
658
|
-
.zw-toolbar--leave-active[data-v-
|
|
659
|
+
.zw-toolbar--leave-active[data-v-0068707a] {
|
|
659
660
|
transition: opacity 0s ease-in;
|
|
660
661
|
}
|
|
661
|
-
.zw-toolbar--enter[data-v-
|
|
662
|
-
.zw-toolbar--leave-to[data-v-
|
|
662
|
+
.zw-toolbar--enter[data-v-0068707a],
|
|
663
|
+
.zw-toolbar--leave-to[data-v-0068707a] {
|
|
663
664
|
opacity: 0;
|
|
664
665
|
}
|
|
665
666
|
.zw-wysiwyg {
|
package/dist/wysiwyg.mjs
CHANGED
|
@@ -20481,7 +20481,8 @@ var render$q = function __render__20() {
|
|
|
20481
20481
|
ref: "pickerRef",
|
|
20482
20482
|
attrs: {
|
|
20483
20483
|
"placement": "bottom-end",
|
|
20484
|
-
"favorite-colors": _vm.favoriteColors
|
|
20484
|
+
"favorite-colors": _vm.favoriteColors,
|
|
20485
|
+
"window": _vm.window
|
|
20485
20486
|
},
|
|
20486
20487
|
on: {
|
|
20487
20488
|
"changeFavoriteColors": _vm.updateFavoriteColors
|
|
@@ -20559,7 +20560,8 @@ const __vue2_script$q = {
|
|
|
20559
20560
|
close: api.close,
|
|
20560
20561
|
toggle: api.toggle,
|
|
20561
20562
|
favoriteColors: favoriteColors.listRef,
|
|
20562
|
-
updateFavoriteColors
|
|
20563
|
+
updateFavoriteColors,
|
|
20564
|
+
window: ContextWindow.window
|
|
20563
20565
|
};
|
|
20564
20566
|
}
|
|
20565
20567
|
};
|
|
@@ -22740,7 +22742,7 @@ var __component__$1 = /* @__PURE__ */ normalizeComponent(
|
|
|
22740
22742
|
staticRenderFns$1,
|
|
22741
22743
|
false,
|
|
22742
22744
|
__vue2_injectStyles$1,
|
|
22743
|
-
"
|
|
22745
|
+
"0068707a",
|
|
22744
22746
|
null,
|
|
22745
22747
|
null
|
|
22746
22748
|
);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
ref="pickerRef"
|
|
4
4
|
placement="bottom-end"
|
|
5
5
|
:favorite-colors="favoriteColors"
|
|
6
|
+
:window="window"
|
|
6
7
|
@changeFavoriteColors="updateFavoriteColors"
|
|
7
8
|
v-model="editingColor"
|
|
8
9
|
v-out-click="{ onOutClick: close, isDisabled: !isOpened }"
|
|
@@ -24,6 +25,7 @@ import { ZipifyColorPicker } from '@zipify/colorpicker';
|
|
|
24
25
|
import { inject, ref, toRef } from 'vue';
|
|
25
26
|
import { outClick } from '../../../directives';
|
|
26
27
|
import { InjectionTokens } from '../../../injectionTokens';
|
|
28
|
+
import { ContextWindow } from '../../../services';
|
|
27
29
|
import { useDeselectionLock } from '../composables';
|
|
28
30
|
import { usePickerApi, usePickerHotkeys } from './composables';
|
|
29
31
|
|
|
@@ -86,7 +88,8 @@ export default {
|
|
|
86
88
|
close: api.close,
|
|
87
89
|
toggle: api.toggle,
|
|
88
90
|
favoriteColors: favoriteColors.listRef,
|
|
89
|
-
updateFavoriteColors
|
|
91
|
+
updateFavoriteColors,
|
|
92
|
+
window: ContextWindow.window
|
|
90
93
|
};
|
|
91
94
|
}
|
|
92
95
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zipify/wysiwyg",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.68",
|
|
4
4
|
"description": "Zipify modification of TipTap text editor",
|
|
5
5
|
"main": "dist/wysiwyg.mjs",
|
|
6
6
|
"repository": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"url": "https://github.com/ZipifyApps/ZipifyWysiwyg/issues"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"lib:
|
|
18
|
-
"lib:
|
|
19
|
-
"lib:release": "export $(cat ./.env | xargs) && npm run lib:build && release-it",
|
|
17
|
+
"lib:build": "vite build --config ./config/vite/lib.config.js",
|
|
18
|
+
"lib:pre-release": "npm run lint:js && npm run lint:css && npm run test:unit",
|
|
19
|
+
"lib:release": "export $(cat ./.env | xargs) && npm run lib:pre-release && npm run lib:build && release-it",
|
|
20
20
|
"example:start": "NODE_ENV=development vite serve --config ./config/vite/example.config.js",
|
|
21
21
|
"example:build": "NODE_ENV=production vite build --config ./config/vite/example.config.js",
|
|
22
22
|
"test:unit": "jest .",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"simplebar": "^5.3.8"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@zipify/colorpicker": "2
|
|
46
|
-
"vue": "2.7
|
|
45
|
+
"@zipify/colorpicker": "^2.1",
|
|
46
|
+
"vue": "^2.7"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@babel/core": "^7.18.9",
|