@operato/board 1.1.5 → 1.1.8

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": "1.1.5",
3
+ "version": "1.1.8",
4
4
  "description": "Webcomponent for board following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "license": "MIT",
@@ -56,15 +56,15 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@open-wc/scoped-elements": "^2.0.0-next.6",
59
- "@operato/app": "^1.1.5",
60
- "@operato/data-grist": "^1.1.5",
61
- "@operato/font": "^1.1.5",
59
+ "@operato/app": "^1.1.7",
60
+ "@operato/data-grist": "^1.1.7",
61
+ "@operato/font": "^1.1.7",
62
62
  "@operato/graphql": "^1.1.1",
63
63
  "@operato/i18n": "^1.1.4",
64
- "@operato/input": "^1.1.5",
64
+ "@operato/input": "^1.1.7",
65
65
  "@operato/markdown": "^1.1.1",
66
66
  "@operato/popup": "^1.1.1",
67
- "@operato/property-editor": "^1.1.5",
67
+ "@operato/property-editor": "^1.1.7",
68
68
  "@operato/styles": "^1.1.1",
69
69
  "@operato/utils": "^1.1.1",
70
70
  "@polymer/paper-dropdown-menu": "^3.2.0",
@@ -115,5 +115,5 @@
115
115
  "prettier --write"
116
116
  ]
117
117
  },
118
- "gitHead": "86483763adb4972ed03daad933ef9562140e1480"
118
+ "gitHead": "76943c6b4d6bd8a18d6a2505a5115e4ce11e1b24"
119
119
  }
@@ -118,11 +118,7 @@ export class ComponentMenu extends ScopedElementsMixin(LitElement) {
118
118
  ? html`
119
119
  <h2 onclick=${(e: MouseEvent) => e.stopPropagation()}>${this.group} list</h2>
120
120
 
121
- <div
122
- templates
123
- @mouseover=${(e: MouseEvent) => this.onHoverComponent(e)}
124
- @mouseout=${(e: MouseEvent) => (this.template = null)}
125
- >
121
+ <div templates @mouseover=${(e: MouseEvent) => this.onHoverComponent(e)}>
126
122
  ${(this.templates || []).map(
127
123
  template => html`
128
124
  <div @click=${this.onClickTemplate} data-type=${template.type} template>
@@ -248,7 +248,9 @@ export class PropertyDataBinding extends ScopedElementsMixin(AbstractProperty) {
248
248
 
249
249
  <fieldset collapsable ?collapsed=${!this._dataExpanded}>
250
250
  <legend>
251
- <ox-i18n msgid="label.initial-data">initial value</ox-i18n>
251
+ <ox-title-with-help topic="board-modeller/initial-data" msgid="label.initial-data"
252
+ >initial value</ox-title-with-help
253
+ >
252
254
  <mwc-icon
253
255
  @click=${() => {
254
256
  this._dataExpanded = !this._dataExpanded
@@ -260,7 +262,12 @@ export class PropertyDataBinding extends ScopedElementsMixin(AbstractProperty) {
260
262
  </fieldset>
261
263
 
262
264
  <fieldset>
263
- <legend><ox-i18n msgid="label.data-spread">Data Spread</ox-i18n></legend>
265
+ <legend>
266
+ <ox-title-with-help topic="board-modeller/data-spread" msgid="label.data-spread"
267
+ >Data Spread</ox-title-with-help
268
+ >
269
+ </legend>
270
+
264
271
  <div id="tab-header">
265
272
  <mwc-icon
266
273
  id="tab-nav-left-button"
@@ -294,11 +301,11 @@ export class PropertyDataBinding extends ScopedElementsMixin(AbstractProperty) {
294
301
  </div>
295
302
 
296
303
  <div binding>
297
- <mwc-icon style="font-size:19px" @click=${() => this._clearDataBindingMapper()} title="delete"
304
+ <mwc-icon style="font-size:19px" @click=${() => this._clearDataBindingMapper()} title="delete current tab"
298
305
  >delete_forever</mwc-icon
299
306
  >
300
- <mwc-icon @click=${() => this._pasteDataBindingMapper()} title="past">content_paste</mwc-icon>
301
- <mwc-icon style="font-size:17px" @click=${() => this._copyDataBindingMapper()} title="copy"
307
+ <mwc-icon @click=${() => this._pasteDataBindingMapper()} title="replace all tabs">content_paste</mwc-icon>
308
+ <mwc-icon style="font-size:17px" @click=${() => this._copyDataBindingMapper()} title="copy all tabs"
302
309
  >content_copy</mwc-icon
303
310
  >
304
311
  </div>
@@ -3,6 +3,7 @@ import '@operato/input/ox-input-search.js'
3
3
  import { css, html, LitElement, PropertyValues, TemplateResult } from 'lit'
4
4
  import { property, state } from 'lit/decorators.js'
5
5
  import Sortable from 'sortablejs'
6
+ import { i18next } from '@operato/i18n'
6
7
 
7
8
  import { Component, Container, Scene } from '@hatiolab/things-scene'
8
9
 
@@ -129,6 +130,7 @@ export class SceneInspector extends LitElement {
129
130
  return html`
130
131
  <ox-input-search
131
132
  @change=${(e: Event) => (this.searchText = (e.target as HTMLInputElement).value)}
133
+ .placeholder=${i18next.t('text.search with type, id or tag')}
132
134
  ></ox-input-search>
133
135
 
134
136
  <div result>${!this.scene ? html`` : this.renderComponent(this.scene.root, 0)}</div>