@operato/board 0.4.3 → 0.4.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/board",
3
- "version": "0.4.3",
3
+ "version": "0.4.6",
4
4
  "description": "Webcomponent for board following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "license": "MIT",
@@ -49,15 +49,15 @@
49
49
  "storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
50
50
  },
51
51
  "dependencies": {
52
- "@operato/data-grist": "^0.4.3",
53
- "@operato/graphql": "^0.4.3",
54
- "@operato/i18n": "^0.4.3",
55
- "@operato/input": "^0.4.3",
56
- "@operato/markdown": "^0.4.3",
57
- "@operato/popup": "^0.4.3",
58
- "@operato/property-editor": "^0.4.3",
59
- "@operato/styles": "^0.4.3",
60
- "@operato/utils": "^0.4.3",
52
+ "@operato/data-grist": "^0.4.6",
53
+ "@operato/graphql": "^0.4.6",
54
+ "@operato/i18n": "^0.4.6",
55
+ "@operato/input": "^0.4.6",
56
+ "@operato/markdown": "^0.4.6",
57
+ "@operato/popup": "^0.4.6",
58
+ "@operato/property-editor": "^0.4.6",
59
+ "@operato/styles": "^0.4.6",
60
+ "@operato/utils": "^0.4.6",
61
61
  "@polymer/paper-dropdown-menu": "^3.2.0",
62
62
  "@things-factory/modeller-ui": "^4.0.44",
63
63
  "@types/file-saver": "^2.0.4",
@@ -70,7 +70,7 @@
70
70
  "devDependencies": {
71
71
  "@custom-elements-manifest/analyzer": "^0.4.17",
72
72
  "@hatiolab/prettier-config": "^1.0.0",
73
- "@hatiolab/things-scene": "^2.7.34",
73
+ "@hatiolab/things-scene": "^2.8.2",
74
74
  "@material/mwc-fab": "^0.25.3",
75
75
  "@material/mwc-icon": "^0.25.3",
76
76
  "@open-wc/eslint-config": "^4.3.0",
@@ -106,5 +106,5 @@
106
106
  "prettier --write"
107
107
  ]
108
108
  },
109
- "gitHead": "fe9c1b9d5017b264c4aa9cec68babe75c6e8ab2c"
109
+ "gitHead": "a1d844554c447ef0d0e034c6c139953b11a04122"
110
110
  }
@@ -6,7 +6,7 @@ import { html, LitElement, PropertyValues } from 'lit'
6
6
  import { customElement, property, query, queryAll } from 'lit/decorators.js'
7
7
 
8
8
  import { Component, Scene } from '@hatiolab/things-scene'
9
- import { isMacOS } from '@operato/utils'
9
+ import { copyToClipboard, isMacOS } from '@operato/utils'
10
10
 
11
11
  import { style } from './edit-toolbar-style'
12
12
 
@@ -461,12 +461,12 @@ export class EditToolbar extends LitElement {
461
461
  this.scene?.cut()
462
462
  }
463
463
 
464
- onTapCopy() {
464
+ async onTapCopy() {
465
465
  var copied = this.scene?.copy()
466
466
 
467
467
  if (!copied) return
468
468
 
469
- navigator.clipboard.writeText(copied)
469
+ await copyToClipboard(copied)
470
470
  this.cliped = copied
471
471
  }
472
472