@fluid-topics/ft-card
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -18,7 +18,7 @@ import { ElementDefinitionsMap, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils"; | ||
static elementDefinitions: ElementDefinitionsMap; | ||
protected getStyles(): import("lit").CSSResult; | ||
static get styles(): import("lit").CSSResult; | ||
title: string; | ||
selected: boolean; | ||
protected getTemplate(): import("lit-html").TemplateResult<1>; | ||
protected render(): import("lit-html").TemplateResult<1>; | ||
} | ||
//# sourceMappingURL=ft-card.d.ts.map |
@@ -9,3 +9,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { property } from "lit/decorators.js"; | ||
import { customElement, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils"; | ||
import { FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils"; | ||
import { FtRipple } from "@fluid-topics/ft-ripple"; | ||
@@ -24,3 +24,3 @@ import { designSystemVariables } from "@fluid-topics/ft-wc-utils/build/designSystemVariables"; | ||
}; | ||
let FtCard = class FtCard extends FtLitElement { | ||
export class FtCard extends FtLitElement { | ||
constructor() { | ||
@@ -31,3 +31,3 @@ super(...arguments); | ||
} | ||
getStyles() { | ||
static get styles() { | ||
// language=CSS | ||
@@ -90,3 +90,3 @@ return css ` | ||
} | ||
getTemplate() { | ||
render() { | ||
return html ` | ||
@@ -110,3 +110,3 @@ <div id="container" part="container" class=${this.selected ? "selected" : ""}> | ||
} | ||
}; | ||
} | ||
FtCard.elementDefinitions = { | ||
@@ -122,6 +122,2 @@ "ft-ripple": FtRipple, | ||
], FtCard.prototype, "selected", void 0); | ||
FtCard = __decorate([ | ||
customElement("ft-card") | ||
], FtCard); | ||
export { FtCard }; | ||
//# sourceMappingURL=ft-card.js.map |
{ | ||
"name": "@fluid-topics/ft-card", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"description": "A file uploader with drag and drop", | ||
@@ -10,5 +10,5 @@ "keywords": [ | ||
"license": "ISC", | ||
"main": "build/ft-card.js", | ||
"main": "build/index.js", | ||
"web": "build/ft-card.min.js", | ||
"typings": "build/ft-card", | ||
"typings": "build/index", | ||
"files": [ | ||
@@ -23,8 +23,8 @@ "build/*.ts", | ||
"dependencies": { | ||
"@fluid-topics/ft-ripple": "^0.1.17", | ||
"@fluid-topics/ft-typography": "^0.1.17", | ||
"@fluid-topics/ft-wc-utils": "^0.1.17", | ||
"@fluid-topics/ft-ripple": "^0.1.18", | ||
"@fluid-topics/ft-typography": "^0.1.18", | ||
"@fluid-topics/ft-wc-utils": "^0.1.18", | ||
"lit": "2.1.3" | ||
}, | ||
"gitHead": "59fc7ad4bb79bb7a36b5edc8217d1279abf471f3" | ||
"gitHead": "cb05ea190a9302378594a08d3a62a7002e461433" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
11
0
1514
155282