@zipify/wysiwyg 1.0.0-dev.46 → 1.0.0-dev.47

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.
@@ -11,7 +11,7 @@ export default defineConfig({
11
11
  },
12
12
 
13
13
  rollupOptions: {
14
- external: ['vue', 'zipify-colorpicker'],
14
+ external: ['vue', '@zipify/colorpicker'],
15
15
  output: {
16
16
  assetFileNames: (asset) => {
17
17
  return asset.name === 'style.css' ? 'wysiwyg.css' : asset.name;
package/dist/wysiwyg.mjs CHANGED
@@ -2,7 +2,7 @@ var ty = Object.defineProperty;
2
2
  var ry = (r, e, t) => e in r ? ty(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var xn = (r, e, t) => (ry(r, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import { computed as T, ref as q, watch as tn, inject as z, onUnmounted as Dl, nextTick as pp, provide as ut, onMounted as mp, toRef as fe, reactive as ny } from "vue";
5
- import { ColorModel as iy, ZipifyColorPicker as oy } from "zipify-colorpicker";
5
+ import { ColorModel as iy, ZipifyColorPicker as oy } from "@zipify/colorpicker";
6
6
  function ce(r) {
7
7
  this.content = r;
8
8
  }
@@ -122,7 +122,7 @@ export default {
122
122
  </script>
123
123
 
124
124
  <style>
125
- @import url("zipify-colorpicker/dist/zipify-colorpicker.css");
125
+ @import url("@zipify/colorpicker/dist/colorpicker.css");
126
126
  @import url("simplebar/dist/simplebar.css");
127
127
 
128
128
  body {
package/jest.config.js CHANGED
@@ -4,9 +4,9 @@ module.exports = {
4
4
  transform: {
5
5
  '^.+\\.js$': 'babel-jest',
6
6
  '^.+\\.vue$': '@vue/vue2-jest',
7
- 'node_modules/zipify-colorpicker.+': 'babel-jest'
7
+ 'node_modules/@zipify/.+': 'babel-jest'
8
8
  },
9
- transformIgnorePatterns: ['node_modules/(?!zipify-colorpicker)/'],
9
+ transformIgnorePatterns: ['node_modules/(?!@zipify)/'],
10
10
  moduleNameMapper: {
11
11
  '^.+\\.svg$': '<rootDir>/lib/__mocks__/svgMock.js'
12
12
  },
@@ -20,7 +20,7 @@
20
20
  </template>
21
21
 
22
22
  <script>
23
- import { ZipifyColorPicker } from 'zipify-colorpicker';
23
+ import { ZipifyColorPicker } from '@zipify/colorpicker';
24
24
  import { inject, ref, toRef } from 'vue';
25
25
  import { outClick } from '../../../directives';
26
26
  import { InjectionTokens } from '../../../injectionTokens';
@@ -1,4 +1,4 @@
1
- import { ColorModel } from 'zipify-colorpicker';
1
+ import { ColorModel } from '@zipify/colorpicker';
2
2
 
3
3
  export function convertColor(raw) {
4
4
  const model = ColorModel.create(raw);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zipify/wysiwyg",
3
- "version": "1.0.0-dev.46",
3
+ "version": "1.0.0-dev.47",
4
4
  "description": "Zipify modification of TipTap text editor",
5
5
  "main": "dist/wysiwyg.mjs",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "simplebar": "^5.3.8"
40
40
  },
41
41
  "peerDependencies": {
42
- "vue": "2.7.*",
43
- "zipify-colorpicker": "2.*"
42
+ "@zipify/colorpicker": "2.*",
43
+ "vue": "2.7.*"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@babel/core": "^7.18.9",
@@ -50,6 +50,7 @@
50
50
  "@babel/runtime": "^7.18.9",
51
51
  "@vue/test-utils": "^1.3.0",
52
52
  "@vue/vue2-jest": "^28.0.1",
53
+ "@zipify/colorpicker": "^2.0.0-dev.3",
53
54
  "babel-jest": "^28.1.3",
54
55
  "eslint": "^8.20.0",
55
56
  "eslint-plugin-import": "^2.26.0",
@@ -66,7 +67,6 @@
66
67
  "vite": "^3.0.4",
67
68
  "vite-plugin-vue2": "^2.0.2",
68
69
  "vue": "^2.7.8",
69
- "vue-template-compiler": "^2.7.8",
70
- "zipify-colorpicker": "2.0.0-dev.1"
70
+ "vue-template-compiler": "^2.7.8"
71
71
  }
72
72
  }