@blockquote-web-components/blockquote-base-embedded-webview 1.5.0 → 1.5.2

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": "@blockquote-web-components/blockquote-base-embedded-webview",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Webcomponent blockquote-base-embedded-webview following open-wc recommendations",
5
5
  "keywords": [
6
6
  "lit",
@@ -170,7 +170,7 @@
170
170
  "lit": "^2.0.2"
171
171
  },
172
172
  "devDependencies": {
173
- "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.4.2",
173
+ "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.4.4",
174
174
  "@blockquote-web-components/blockquote-foundations-sass": "^1.0.0",
175
175
  "@polymer/iron-test-helpers": "^3.0.1"
176
176
  },
@@ -178,5 +178,5 @@
178
178
  "access": "public"
179
179
  },
180
180
  "customElements": "custom-elements.json",
181
- "gitHead": "1e2c4a8e7117f9d24e0eb303f34b7d93ab461e54"
181
+ "gitHead": "f395648f8748ca2496345c5182b1b4dd8a60c662"
182
182
  }
@@ -172,18 +172,19 @@ export class BlockquoteBaseEmbeddedWebviewSize extends LitElement {
172
172
  get _toolbarTpl() {
173
173
  return html`
174
174
  ${this.screenSizes.map(
175
- (item, index) => html`<button
176
- @click="${this._setSelected}"
177
- id="${item.id}"
178
- data-index="${index + 1}"
179
- ?data-selected="${this.selected === index + 1}"
180
- ?hidden="${!this.showOverflowSize && item.width > this.computedStyleWidth}"
181
- style="${this.widthInPercent
182
- ? `width: calc(100% / ${index + 1});`
183
- : `width: ${item.width}px;`}"
184
- >
185
- <span>${item.id}</span>
186
- </button>`,
175
+ (item, index) =>
176
+ html`<button
177
+ @click="${this._setSelected}"
178
+ id="${item.id}"
179
+ data-index="${index + 1}"
180
+ ?data-selected="${this.selected === index + 1}"
181
+ ?hidden="${!this.showOverflowSize && item.width > this.computedStyleWidth}"
182
+ style="${this.widthInPercent
183
+ ? `width: calc(100% / ${index + 1});`
184
+ : `width: ${item.width}px;`}"
185
+ >
186
+ <span>${item.id}</span>
187
+ </button>`,
187
188
  )}
188
189
  `;
189
190
  }