Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@assecosolutions/fox-image

Package Overview
Dependencies
Maintainers
4
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assecosolutions/fox-image - npm Package Compare versions

Comparing version 1.11.2 to 1.11.3-beta.0

src/index.d.ts

23

index.js

@@ -1556,7 +1556,7 @@ import { css, LitElement, html as html$2 } from 'lit';

let _$1 = t => t,
_t$1;
_t$1;
const styles = css(_t$1 || (_t$1 = _$1`:host{max-width:max-content;display:inline-flex}.fox-image__rounded{border-radius:50%}.fox-image__rectangle{border-radius:4px}`));
let _ = t => t,
_t;
_t;
/**

@@ -1568,3 +1568,2 @@ * This is a fox-image

*/
class FoxImage extends LitElement {

@@ -1577,3 +1576,2 @@ constructor() {

*/
this.width = '100%';

@@ -1584,3 +1582,2 @@ /**

*/
this.fit = 'cover';

@@ -1591,3 +1588,2 @@ /**

*/
this.rounded = false;

@@ -1598,6 +1594,4 @@ /**

*/
this.rectangle = false;
}
render() {

@@ -1611,3 +1605,2 @@ const imageSizes = {

};
if (this.size) {

@@ -1617,3 +1610,2 @@ this.height = imageSizes[this.size];

}
const classes = {

@@ -1633,18 +1625,13 @@ 'fox-image__rounded': this.rounded,

}
}
FoxImage.styles = [styles];
__decorate([property({
type: String
}), __metadata("design:type", String)], FoxImage.prototype, "size", void 0);
__decorate([property({
type: String
}), __metadata("design:type", Object)], FoxImage.prototype, "width", void 0);
__decorate([property({
type: String
}), __metadata("design:type", String)], FoxImage.prototype, "height", void 0);
__decorate([property({

@@ -1654,11 +1641,8 @@ type: String,

}), __metadata("design:type", String)], FoxImage.prototype, "fit", void 0);
__decorate([property({
type: Boolean
}), __metadata("design:type", Object)], FoxImage.prototype, "rounded", void 0);
__decorate([property({
type: Boolean
}), __metadata("design:type", Object)], FoxImage.prototype, "rectangle", void 0);
__decorate([property({

@@ -1668,3 +1652,2 @@ type: String,

}), __metadata("design:type", String)], FoxImage.prototype, "src", void 0);
__decorate([property({

@@ -1674,5 +1657,3 @@ type: String,

}), __metadata("design:type", String)], FoxImage.prototype, "alt", void 0);
const name = 'fox-image';
if (!customElements.get(name)) {

@@ -1679,0 +1660,0 @@ customElements.define(name, FoxImage);

{
"name": "@assecosolutions/fox-image",
"version": "1.11.2",
"version": "1.11.3-beta.0",
"public": true,

@@ -18,7 +18,7 @@ "publishConfig": {

"type": "module",
"types": "./index.d.ts",
"types": "./src/index.d.ts",
"dependencies": {},
"peerDependencies": {
"lit": "^2.0.0"
"lit": "^2.5.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc