@operato/board 0.3.22 → 0.3.28

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 (32) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +1 -1
  3. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +4 -2
  4. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -1
  5. package/dist/src/modeller/property-sidebar/effects/effects.d.ts +1 -0
  6. package/dist/src/modeller/property-sidebar/effects/effects.js +5 -2
  7. package/dist/src/modeller/property-sidebar/effects/effects.js.map +1 -1
  8. package/dist/src/modeller/property-sidebar/effects/property-animations.d.ts +1 -0
  9. package/dist/src/modeller/property-sidebar/effects/property-animations.js +5 -2
  10. package/dist/src/modeller/property-sidebar/effects/property-animations.js.map +1 -1
  11. package/dist/src/modeller/property-sidebar/effects/property-event.d.ts +1 -0
  12. package/dist/src/modeller/property-sidebar/effects/property-event.js +4 -3
  13. package/dist/src/modeller/property-sidebar/effects/property-event.js.map +1 -1
  14. package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +1 -0
  15. package/dist/src/modeller/property-sidebar/shapes/shapes.js +9 -8
  16. package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -1
  17. package/dist/src/modeller/property-sidebar/specifics/specifics.d.ts +1 -1
  18. package/dist/src/modeller/property-sidebar/specifics/specifics.js +3 -3
  19. package/dist/src/modeller/property-sidebar/specifics/specifics.js.map +1 -1
  20. package/dist/src/modeller/property-sidebar/styles/styles.d.ts +1 -1
  21. package/dist/src/modeller/property-sidebar/styles/styles.js +7 -7
  22. package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -1
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +12 -13
  25. package/src/modeller/property-sidebar/data-binding/data-binding.ts +4 -2
  26. package/src/modeller/property-sidebar/effects/effects.ts +5 -2
  27. package/src/modeller/property-sidebar/effects/property-animations.ts +7 -3
  28. package/src/modeller/property-sidebar/effects/property-event.ts +6 -4
  29. package/src/modeller/property-sidebar/shapes/shapes.ts +9 -8
  30. package/src/modeller/property-sidebar/specifics/specifics.ts +5 -4
  31. package/src/modeller/property-sidebar/styles/styles.ts +7 -7
  32. package/yarn-error.log +18355 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/board",
3
- "version": "0.3.22",
3
+ "version": "0.3.28",
4
4
  "description": "Webcomponent for board following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "license": "MIT",
@@ -49,18 +49,17 @@
49
49
  "storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
50
50
  },
51
51
  "dependencies": {
52
- "@operato/data-grist": "^0.3.22",
53
- "@operato/graphql": "^0.3.22",
54
- "@operato/i18n": "^0.3.22",
55
- "@operato/input": "^0.3.22",
56
- "@operato/markdown": "^0.3.22",
57
- "@operato/popup": "^0.3.22",
58
- "@operato/property-editor": "^0.3.22",
59
- "@operato/styles": "^0.3.22",
60
- "@operato/utils": "^0.3.22",
52
+ "@operato/data-grist": "^0.3.28",
53
+ "@operato/graphql": "^0.3.28",
54
+ "@operato/i18n": "^0.3.28",
55
+ "@operato/input": "^0.3.28",
56
+ "@operato/markdown": "^0.3.28",
57
+ "@operato/popup": "^0.3.28",
58
+ "@operato/property-editor": "^0.3.28",
59
+ "@operato/styles": "^0.3.28",
60
+ "@operato/utils": "^0.3.28",
61
61
  "@polymer/paper-dropdown-menu": "^3.2.0",
62
- "@things-factory/help": "^4.0.27",
63
- "@things-factory/modeller-ui": "^4.0.27",
62
+ "@things-factory/modeller-ui": "^4.0.44",
64
63
  "@types/file-saver": "^2.0.4",
65
64
  "@types/sortablejs": "^1.10.7",
66
65
  "file-saver": "^2.0.5",
@@ -107,5 +106,5 @@
107
106
  "prettier --write"
108
107
  ]
109
108
  },
110
- "gitHead": "368032e9ae07d6e82a2d7f35486f67a197db179c"
109
+ "gitHead": "5df96b8e79c130b4a85c83181ce83015ec2b1727"
111
110
  }
@@ -4,7 +4,7 @@
4
4
 
5
5
  import './data-binding-mapper'
6
6
  import '@material/mwc-icon'
7
- import '@things-factory/help'
7
+ import '@operato/help/ox-title-with-help.js'
8
8
  import '@operato/input/ox-buttons-radio.js'
9
9
  import '@operato/input/ox-input-data.js'
10
10
  import '@operato/i18n/ox-i18n.js'
@@ -202,7 +202,9 @@ class PropertyDataBinding extends AbstractProperty {
202
202
  return html`
203
203
  <fieldset>
204
204
  <legend>
205
- <title-with-help topic="board-modeller/data-binding" msgid="label.identifier">identifier</title-with-help>
205
+ <ox-title-with-help topic="board-modeller/data-binding" msgid="label.identifier"
206
+ >identifier</ox-title-with-help
207
+ >
206
208
  </legend>
207
209
  <div class="property-grid">
208
210
  <label> <ox-i18n msgid="label.id">ID</ox-i18n> </label>
@@ -6,6 +6,7 @@ import './property-animations'
6
6
  import './property-event'
7
7
  import './property-shadow'
8
8
  import '@operato/i18n/ox-i18n.js'
9
+ import '@operato/help/ox-title-with-help.js'
9
10
 
10
11
  import { html } from 'lit'
11
12
  import { customElement, property } from 'lit/decorators.js'
@@ -32,7 +33,7 @@ class PropertyEffects extends AbstractProperty {
32
33
  return html`
33
34
  <fieldset>
34
35
  <legend>
35
- <title-with-help topic="board-modeller/effects/shadow" msgid="label.shadow">shadow</title-with-help>
36
+ <ox-title-with-help topic="board-modeller/effects/shadow" msgid="label.shadow">shadow</ox-title-with-help>
36
37
  </legend>
37
38
 
38
39
  <property-shadow value-key="shadow" .value=${value.shadow || {}}> </property-shadow>
@@ -40,7 +41,9 @@ class PropertyEffects extends AbstractProperty {
40
41
 
41
42
  <fieldset>
42
43
  <legend>
43
- <title-with-help topic="board-modeller/effects/retention" msgid="label.retention">retention</title-with-help>
44
+ <ox-title-with-help topic="board-modeller/effects/retention" msgid="label.retention"
45
+ >retention</ox-title-with-help
46
+ >
44
47
  </legend>
45
48
 
46
49
  <div class="property-grid">
@@ -4,11 +4,13 @@
4
4
 
5
5
  import './property-animation'
6
6
  import '@material/mwc-icon'
7
+ import '@operato/help/ox-title-with-help.js'
7
8
 
8
- import { LitElement, css, html } from 'lit'
9
- import { Properties, Scene } from '@hatiolab/things-scene'
9
+ import { css, html, LitElement } from 'lit'
10
10
  import { customElement, property, state } from 'lit/decorators.js'
11
11
 
12
+ import { Properties, Scene } from '@hatiolab/things-scene'
13
+
12
14
  import { PropertySharedStyle } from '../property-shared-style'
13
15
  import { convert } from './value-converter'
14
16
 
@@ -50,7 +52,9 @@ class PropertyAnimations extends LitElement {
50
52
  return html`
51
53
  <fieldset collapsable ?collapsed=${!this._expanded}>
52
54
  <legend>
53
- <title-with-help topic="board-modeller/effects/animation" msgid="label.animation">animation</title-with-help>
55
+ <ox-title-with-help topic="board-modeller/effects/animation" msgid="label.animation"
56
+ >animation</ox-title-with-help
57
+ >
54
58
  <mwc-icon
55
59
  @click=${() => {
56
60
  this._expanded = !this._expanded
@@ -4,11 +4,13 @@
4
4
 
5
5
  import './property-event-hover'
6
6
  import './property-event-tap'
7
+ import '@operato/help/ox-title-with-help.js'
7
8
 
8
- import { LitElement, html } from 'lit'
9
- import { Properties, Scene } from '@hatiolab/things-scene'
9
+ import { html, LitElement } from 'lit'
10
10
  import { customElement, property } from 'lit/decorators.js'
11
11
 
12
+ import { Properties, Scene } from '@hatiolab/things-scene'
13
+
12
14
  import { PropertySharedStyle } from '../property-shared-style'
13
15
  import { convert } from './value-converter'
14
16
 
@@ -29,7 +31,7 @@ class PropertyEvent extends LitElement {
29
31
  return html`
30
32
  <fieldset>
31
33
  <legend>
32
- <title-with-help msgid="label.hover-event" topic="board-modeller/effects/hover-event"></title-with-help>
34
+ <ox-title-with-help msgid="label.hover-event" topic="board-modeller/effects/hover-event"></ox-title-with-help>
33
35
  </legend>
34
36
 
35
37
  <property-event-hover value-key="hover" .scene=${this.scene} .value=${value.hover || {}}>
@@ -38,7 +40,7 @@ class PropertyEvent extends LitElement {
38
40
 
39
41
  <fieldset>
40
42
  <legend>
41
- <title-with-help msgid="label.tap-event" topic="board-modeller/effects/tap-event"></title-with-help>
43
+ <ox-title-with-help msgid="label.tap-event" topic="board-modeller/effects/tap-event"></ox-title-with-help>
42
44
  </legend>
43
45
 
44
46
  <property-event-tap value-key="tap" .scene=${this.scene} .value=${value.tap || {}}> </property-event-tap>
@@ -6,6 +6,7 @@ import '@operato/input/ox-input-angle.js'
6
6
  import '@operato/input/ox-buttons-radio.js'
7
7
  import '@material/mwc-icon'
8
8
  import '@operato/i18n/ox-i18n.js'
9
+ import '@operato/help/ox-title-with-help.js'
9
10
 
10
11
  import { css, html } from 'lit'
11
12
  import { customElement, property, state } from 'lit/decorators.js'
@@ -194,7 +195,7 @@ class PropertyShapes extends AbstractProperty {
194
195
  ? html`
195
196
  <fieldset class="icon-label unit ratio">
196
197
  <legend>
197
- <title-with-help topic="board-modeller/shapes/size" msgid="label.size">size</title-with-help>
198
+ <ox-title-with-help topic="board-modeller/shapes/size" msgid="label.size">size</ox-title-with-help>
198
199
  </legend>
199
200
 
200
201
  <div class="property-grid">
@@ -217,7 +218,7 @@ class PropertyShapes extends AbstractProperty {
217
218
  ? html`
218
219
  <fieldset class="icon-label unit ratio" collapsable ?collapsed=${!this._3dExpanded}>
219
220
  <legend>
220
- <title-with-help topic="board-modeller/shapes/3dish" msgid="label.3dish">3D</title-with-help>
221
+ <ox-title-with-help topic="board-modeller/shapes/3dish" msgid="label.3dish">3D</ox-title-with-help>
221
222
  <mwc-icon
222
223
  @click=${(e: Event) => {
223
224
  this._3dExpanded = !this._3dExpanded
@@ -248,8 +249,8 @@ class PropertyShapes extends AbstractProperty {
248
249
  ? html`
249
250
  <fieldset>
250
251
  <legend>
251
- <title-with-help topic="board-modeller/shapes/text-box" msgid="label.text-box"
252
- >text box</title-with-help
252
+ <ox-title-with-help topic="board-modeller/shapes/text-box" msgid="label.text-box"
253
+ >text box</ox-title-with-help
253
254
  >
254
255
  </legend>
255
256
 
@@ -305,8 +306,8 @@ class PropertyShapes extends AbstractProperty {
305
306
  ? html`
306
307
  <fieldset class="icon-label">
307
308
  <legend>
308
- <title-with-help topic="board-modeller/shapes/viewer-option" msgid="label.viewer-option"
309
- >Viewer Option</title-with-help
309
+ <ox-title-with-help topic="board-modeller/shapes/viewer-option" msgid="label.viewer-option"
310
+ >Viewer Option</ox-title-with-help
310
311
  >
311
312
  </legend>
312
313
 
@@ -323,8 +324,8 @@ class PropertyShapes extends AbstractProperty {
323
324
  </fieldset>
324
325
  <fieldset class="icon-label">
325
326
  <legend>
326
- <title-with-help topic="board-modeller/shapes/print-option" msgid="label.label-print"
327
- >Print Option</title-with-help
327
+ <ox-title-with-help topic="board-modeller/shapes/print-option" msgid="label.label-print"
328
+ >Print Option</ox-title-with-help
328
329
  >
329
330
  </legend>
330
331
 
@@ -2,13 +2,14 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/help'
5
+ import '@operato/help/ox-help-icon.js'
6
6
  import './specific-properties-builder'
7
7
 
8
- import { Component, Scene } from '@hatiolab/things-scene'
9
- import { LitElement, css, html } from 'lit'
8
+ import { css, html, LitElement } from 'lit'
10
9
  import { customElement, property } from 'lit/decorators.js'
11
10
 
11
+ import { Component, Scene } from '@hatiolab/things-scene'
12
+
12
13
  import { PropertySharedStyle } from '../property-shared-style'
13
14
 
14
15
  @customElement('property-specific')
@@ -53,7 +54,7 @@ class PropertySpecific extends LitElement {
53
54
  const value = this.value || {}
54
55
 
55
56
  return html`
56
- <label>${value.type}<help-icon .topic=${selected?.nature?.help}></help-icon></label>
57
+ <label>${value.type}<ox-help-icon .topic=${selected?.nature?.help}></ox-help-icon></label>
57
58
 
58
59
  <specific-properties-builder .value=${value} .props=${this.props} .propertyEditor=${this.propertyEditor}>
59
60
  </specific-properties-builder>
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import '@polymer/paper-dropdown-menu/paper-dropdown-menu'
6
- import '@things-factory/help'
6
+ import '@operato/help/ox-title-with-help.js'
7
7
  import '@things-factory/modeller-ui/client/editors/things-editor-color'
8
8
  import '@things-factory/modeller-ui/client/editors/things-editor-color-style'
9
9
  import '@things-factory/modeller-ui/client/editors/things-editor-font-selector'
@@ -357,15 +357,15 @@ class PropertyStyles extends AbstractProperty {
357
357
  return html`
358
358
  <fieldset>
359
359
  <legend>
360
- <title-with-help topic="board-modeller/styles/opacity" msgid="label.opacity">opacity</title-with-help>
360
+ <ox-title-with-help topic="board-modeller/styles/opacity" msgid="label.opacity">opacity</ox-title-with-help>
361
361
  </legend>
362
362
  <paper-slider min="0" max="1" step="0.1" value-key="alpha" .value=${alpha || 1} editable> </paper-slider>
363
363
  </fieldset>
364
364
 
365
365
  <fieldset>
366
366
  <legend>
367
- <title-with-help topic="board-modeller/styles/text-style" msgid="label.text-style"
368
- >text style</title-with-help
367
+ <ox-title-with-help topic="board-modeller/styles/text-style" msgid="label.text-style"
368
+ >text style</ox-title-with-help
369
369
  >
370
370
  </legend>
371
371
 
@@ -401,8 +401,8 @@ class PropertyStyles extends AbstractProperty {
401
401
 
402
402
  <fieldset>
403
403
  <legend>
404
- <title-with-help topic="board-modeller/styles/fill-style" msgid="label.fill-style"
405
- >fill style</title-with-help
404
+ <ox-title-with-help topic="board-modeller/styles/fill-style" msgid="label.fill-style"
405
+ >fill style</ox-title-with-help
406
406
  >
407
407
  </legend>
408
408
 
@@ -411,7 +411,7 @@ class PropertyStyles extends AbstractProperty {
411
411
 
412
412
  <fieldset>
413
413
  <legend>
414
- <title-with-help msgid="label.line-style" topic="board-modeller/styles/line-style"></title-with-help>
414
+ <ox-title-with-help msgid="label.line-style" topic="board-modeller/styles/line-style"></ox-title-with-help>
415
415
  </legend>
416
416
 
417
417
  <div class="property-grid">