Skip to content

Commit

Permalink
Autocommit: Config at 2024-09-28 09:25:28
Browse files Browse the repository at this point in the history
  • Loading branch information
avbor committed Sep 28, 2024
1 parent e5d6518 commit 6bd5340
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
10 changes: 5 additions & 5 deletions www/community/custom-brand-icons/custom-brand-icons.js

Large diffs are not rendered by default.

Binary file modified www/community/custom-brand-icons/custom-brand-icons.js.gz
Binary file not shown.
21 changes: 17 additions & 4 deletions www/community/vertical-stack-in-card/vertical-stack-in-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,23 @@ class VerticalStackInCard extends HTMLElement {
const sizes = await Promise.all(this._refCards.map(this._computeCardSize));
return sizes.reduce((a, b) => a + b, 0);
}
}

customElements.define('vertical-stack-in-card', VerticalStackInCard);
static getConfigElement() {
return customElements.get('hui-vertical-stack-card').getConfigElement();
}

window.customElements.get('vertical-stack-in-card').getConfigElement = function() {
return document.createElement('hui-stack-card-editor');
static getStubConfig() {
return {
cards: [],
};
}
}

customElements.define('vertical-stack-in-card', VerticalStackInCard);
window.customCards = window.customCards || [];
window.customCards.push({
type: 'vertical-stack-in-card',
name: 'Vertical Stack In Card',
description: 'Group multiple cards into a single sleek card.',
preview: false,
});
Binary file modified www/community/vertical-stack-in-card/vertical-stack-in-card.js.gz
Binary file not shown.

0 comments on commit 6bd5340

Please sign in to comment.