@operato/board 1.4.50 → 1.4.52

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.4.50",
3
+ "version": "1.4.52",
4
4
  "description": "Webcomponent for board following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "main": "dist/src/index.js",
@@ -148,5 +148,5 @@
148
148
  "prettier --write"
149
149
  ]
150
150
  },
151
- "gitHead": "fafd040b94cba363dd96359543fd221cb7d27d64"
151
+ "gitHead": "a2f3f4cb18c6d9e8168ed066465f7357d887cd51"
152
152
  }
@@ -240,7 +240,7 @@ export class DataBindingMapper extends LitElement {
240
240
  />
241
241
 
242
242
  <datalist id="source-list">
243
- <option value="">(self)</option>
243
+ <option value="(self)"></option>
244
244
  ${this._componentIds.length
245
245
  ? html`
246
246
  ${this._componentIds.map(
@@ -424,8 +424,10 @@ export class PropertyDataBinding extends ScopedElementsMixin(AbstractProperty) {
424
424
 
425
425
  await this.requestUpdate()
426
426
  } else if (!mapping.target && !mapping.property) {
427
- // accessor 입력중인 경우 tabIndex Change 방지
428
- if (e.detail && e.detail.changed && !e.detail.changed.accessor) {
427
+ const { accessor, source } = e.detail?.changed || {}
428
+
429
+ // accessor나 source를 입력중인 경우 tabIndex Change 방지
430
+ if (!accessor && !source) {
429
431
  mappings[this.mappingIndex] = null
430
432
  var nextMappingIdx = Math.max(this.mappingIndex - 1, 0)
431
433
  this._afterRender = () => {
@@ -53,6 +53,9 @@ export class PropertyAnimation extends LitElement {
53
53
  <label> <ox-i18n msgid="label.duration">duration</ox-i18n> </label>
54
54
  <input type="number" value-key="duration" .value=${value.duration} placeholder="ms" />
55
55
 
56
+ <label> <ox-i18n msgid="label.interval">interval</ox-i18n> </label>
57
+ <input type="number" value-key="interval" .value=${value.interval} placeholder="ms" />
58
+
56
59
  ${value.type == 'rotation' || value.type == 'vibration'
57
60
  ? html`
58
61
  <label> <ox-i18n msgid="label.theta">theta</ox-i18n> </label>