simple-window-manager 2.1.2 → 2.1.3

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 (9) hide show
  1. package/.jsdoc.json +1 -1
  2. package/package.json +14 -14
  3. package/public/simple-window-manager.es.js +352 -338
  4. package/public/simple-window-manager.es.js.map +1 -1
  5. package/public/simple-window-manager.min.js +1 -1
  6. package/public/simple-window-manager.min.js.map +1 -1
  7. package/rollup.config.js +1 -1
  8. package/src/Window.js +2 -0
  9. package/images/src/images.js/export const close = '<?xml version=/"1.0/" encoding=/"UTF-8/" standalone=/"no/"?><!DOCTYPE svg PUBLIC /"-/W3C/DTD SVG 1.1/EN/" /"http:/www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd/"><svg width=/"100%/" height=/"100%/" viewBox=/"0 0 20 20/" version=/"1.1/" xmlns=/"http:/www.w3.org/2000/svg/" xmlns:xlink=/"http:/www.w3.org/1999/xlink/" xml:space=/"preserve/" xmlns:serif=/"http:/www.serif.com//" style=/"fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;/"><rect id=/"close/" x=/"0/" y=/"0/" width=/"20/" height=/"20/" style=/"fill:none;/"/><g><path d=/"M3.5,3.5l13,13/" style=/"fill:none;stroke:#fff;stroke-width:3px;/"/><path d=/"M16.5,3.5l-13,13/" style=/"fill:none;stroke:#fff;stroke-width:3px;/"/></g></svg>';export const minimize = '<?xml version=/"1.0/" encoding=/"UTF-8/" standalone=/"no/"?><!DOCTYPE svg PUBLIC /"-/W3C/DTD SVG 1.1/EN/" /"http:/www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd/"><svg width=/"100%/" height=/"100%/" viewBox=/"0 0 20 20/" version=/"1.1/" xmlns=/"http:/www.w3.org/2000/svg/" xmlns:xlink=/"http:/www.w3.org/1999/xlink/" xml:space=/"preserve/" xmlns:serif=/"http:/www.serif.com//" style=/"fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;/"><rect id=/"minimize/" x=/"0/" y=/"0/" width=/"20/" height=/"20/" style=/"fill:none;/"/><rect x=/"2/" y=/"15.6/" width=/"16/" height=/"3.2/" style=/"fill:#fff;/"/></svg>';export const resize = '<?xml version=/"1.0/" encoding=/"UTF-8/" standalone=/"no/"?><!DOCTYPE svg PUBLIC /"-/W3C/DTD SVG 1.1/EN/" /"http:/www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd/"><svg width=/"100%/" height=/"100%/" viewBox=/"0 0 20 20/" version=/"1.1/" xmlns=/"http:/www.w3.org/2000/svg/" xmlns:xlink=/"http:/www.w3.org/1999/xlink/" xml:space=/"preserve/" xmlns:serif=/"http:/www.serif.com//" style=/"fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;/"><rect id=/"resize/" x=/"0/" y=/"0/" width=/"20/" height=/"20/" style=/"fill:none;/"/><clipPath id=/"_clip1/"><rect x=/"0/" y=/"0/" width=/"20/" height=/"20/"/></clipPath><g clip-path=/"url(#_clip1)/"><rect x=/"0/" y=/"16.8/" width=/"20/" height=/"3.2/" style=/"fill:#fff;/"/><path d=/"M17.737,3.595l-14.142,14.142l2.263,2.263l14.142,-14.142l-2.263,-2.263Z/" style=/"fill:#fff;/"/><path d=/"M16.8,0l0,20l3.2,0l0,-20l-3.2,0Z/" style=/"fill:#fff;/"/><path d=/"M7.099,18.4l11.301,-11.123l0,11.123l-11.301,0Z/" style=/"fill:#fff;/"/></g></svg>';export const restore = '<?xml version=/"1.0/" encoding=/"UTF-8/" standalone=/"no/"?><!DOCTYPE svg PUBLIC /"-/W3C/DTD SVG 1.1/EN/" /"http:/www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd/"><svg width=/"100%/" height=/"100%/" viewBox=/"0 0 20 20/" version=/"1.1/" xmlns=/"http:/www.w3.org/2000/svg/" xmlns:xlink=/"http:/www.w3.org/1999/xlink/" xml:space=/"preserve/" xmlns:serif=/"http:/www.serif.com//" style=/"fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;/"><rect id=/"restore/" x=/"0/" y=/"0/" width=/"20/" height=/"20/" style=/"fill:none;/"/><g><rect x=/"7/" y=/"2.5/" width=/"10/" height=/"10/" style=/"fill:none;stroke:#fff;stroke-width:1.5px;/"/><rect x=/"7/" y=/"2.5/" width=/"10/" height=/"2/" style=/"fill:#fff;/"/></g><g><rect x=/"3/" y=/"7.5/" width=/"10/" height=/"10/" style=/"fill:none;stroke:#fff;stroke-width:1.5px;/"/><g><rect x=/"3/" y=/"7.5/" width=/"10/" height=/"2/" style=/"fill:#fff;/"/></g></g></svg>';" +0 -1
package/.jsdoc.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "private": false,
22
22
  "lenient": true,
23
23
  "destination": "./docs/jsdoc",
24
- "template": "../jsdoc-template"
24
+ "template": "./node_modules/yy-jsdoc-template"
25
25
  },
26
26
  "plugins": [
27
27
  "./node_modules/yy-jsdoc-template/plugins/skip-node_modules.js"
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "simple-window-manager",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "A vanilla javascript Window Manager with optional application-level menu and keyboard accelerators",
5
5
  "main": "public/simple-window-manager.min.js",
6
6
  "module": "src/index.js",
7
7
  "scripts": {
8
- "start": "rollup --watch -c docs/rollup.debug.js",
8
+ "start": "rollup --bundleConfigAsCjs --watch -c docs/rollup.debug.js",
9
9
  "docs": "jsdoc -c .jsdoc.json",
10
10
  "build-images": "node images/import",
11
- "build-demo": "rollup -c docs/rollup.config.js",
12
- "build": "rollup -c rollup.config.js",
11
+ "build-demo": "rollup --bundleConfigAsCjs -c docs/rollup.config.js",
12
+ "build": "rollup --bundleConfigAsCjs -c rollup.config.js",
13
13
  "prepublishOnly": "yarn build-demo && yarn docs && yarn build"
14
14
  },
15
15
  "repository": {
@@ -27,15 +27,15 @@
27
27
  "eventemitter3": "^3.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@rollup/plugin-commonjs": "^11.1.0",
31
- "@rollup/plugin-node-resolve": "^7.1.3",
32
- "fs-extra": "^9.0.0",
33
- "jsdoc": "^3.6.5",
34
- "rollup": "^2.10.2",
35
- "rollup-plugin-livereload": "^1.3.0",
36
- "rollup-plugin-serve": "^1.0.1",
37
- "rollup-plugin-terser": "^5.3.0",
38
- "yy-fps": "^0.6.0",
39
- "yy-jsdoc-template": "^1.3.0"
30
+ "@rollup/plugin-commonjs": "^29",
31
+ "@rollup/plugin-node-resolve": "^16",
32
+ "@rollup/plugin-terser": "^1",
33
+ "fs-extra": "^11",
34
+ "jsdoc": "^4",
35
+ "rollup": "^4",
36
+ "rollup-plugin-livereload": "^2",
37
+ "rollup-plugin-serve": "^3",
38
+ "yy-fps": "^2",
39
+ "yy-jsdoc-template": "^1.3"
40
40
  }
41
41
  }