purifier-card 2.6.3 → 2.6.5

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": "purifier-card",
3
- "version": "2.6.3",
3
+ "version": "2.6.5",
4
4
  "description": "Air Purifier card for Home Assistant Lovelace UI",
5
5
  "main": "dist/purifier-card.js",
6
6
  "scripts": {
@@ -21,7 +21,15 @@
21
21
  "custom-cards",
22
22
  "purifier"
23
23
  ],
24
- "author": "Denys Dovhan <denysdovhan@gmail.com> (http://denysdovhan.com/)",
24
+ "author": {
25
+ "name": "Denys Dovhan",
26
+ "email": "denysdovhan@gmail.com",
27
+ "url": "http://denysdovhan.com"
28
+ },
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/denysdovhan/purifier-card.git"
32
+ },
25
33
  "license": "MIT",
26
34
  "dependencies": {
27
35
  "@types/lodash": "^4.14.195",
@@ -58,7 +66,7 @@
58
66
  "rollup-plugin-serve": "^2.0.1",
59
67
  "rollup-plugin-terser": "^7.0.2",
60
68
  "rollup-plugin-typescript2": "^0.36.0",
61
- "semantic-release": "^24.0.0",
69
+ "semantic-release": "^25.0.3",
62
70
  "typescript": "^5.1.3"
63
71
  },
64
72
  "browserslist": [
@@ -157,8 +157,8 @@ export class PurifierCard extends LitElement {
157
157
  const selected = preset_modes.indexOf(preset_mode);
158
158
 
159
159
  return html`
160
- <div class="preset-mode">
161
- <ha-button-menu @click="${(e: PointerEvent) => e.stopPropagation()}">
160
+ <div class="tip preset-mode">
161
+ <ha-dropdown @click="${(e: PointerEvent) => e.stopPropagation()}">
162
162
  <mmp-icon-button slot="trigger">
163
163
  <ha-icon icon="mdi:fan"></ha-icon>
164
164
  <span>
@@ -168,16 +168,16 @@ export class PurifierCard extends LitElement {
168
168
 
169
169
  ${preset_modes.map(
170
170
  (item, index) => html`
171
- <mwc-list-item
171
+ <ha-dropdown-item
172
172
  ?activated=${selected === index}
173
173
  value=${item}
174
174
  @click=${(e: PointerEvent) => this.handlePresetMode(e)}
175
175
  >
176
176
  ${localize(`preset_mode.${item.toLowerCase()}`) || item}
177
- </mwc-list-item>
177
+ </ha-dropdown-item>
178
178
  `,
179
179
  )}
180
- </ha-button-menu>
180
+ </ha-dropdown>
181
181
  </div>
182
182
  `;
183
183
  }