@spectrum-web-components/avatar
Advanced tools
Comparing version 0.7.7-alpha.59 to 0.7.7
{ | ||
"version": "experimental", | ||
"tags": [ | ||
"schemaVersion": "1.0.0", | ||
"readme": "", | ||
"modules": [ | ||
{ | ||
"name": "sp-avatar", | ||
"path": "./sp-avatar.d.ts", | ||
"description": "Avatar component", | ||
"attributes": [ | ||
"kind": "javascript-module", | ||
"path": "src/Avatar.ts", | ||
"declarations": [ | ||
{ | ||
"name": "label", | ||
"type": "string", | ||
"default": "\"\"" | ||
}, | ||
"kind": "class", | ||
"description": "Avatar component", | ||
"name": "Avatar", | ||
"members": [ | ||
{ | ||
"kind": "field", | ||
"name": "label", | ||
"type": { | ||
"text": "string" | ||
}, | ||
"privacy": "public", | ||
"default": "''", | ||
"attribute": "label" | ||
}, | ||
{ | ||
"kind": "field", | ||
"name": "src", | ||
"type": { | ||
"text": "string" | ||
}, | ||
"privacy": "public", | ||
"default": "''", | ||
"attribute": "src" | ||
} | ||
], | ||
"attributes": [ | ||
{ | ||
"name": "label", | ||
"type": { | ||
"text": "string" | ||
}, | ||
"default": "''", | ||
"fieldName": "label" | ||
}, | ||
{ | ||
"name": "src", | ||
"type": { | ||
"text": "string" | ||
}, | ||
"default": "''", | ||
"fieldName": "src" | ||
} | ||
], | ||
"superclass": { | ||
"name": "SpectrumElement", | ||
"package": "@spectrum-web-components/base" | ||
} | ||
} | ||
], | ||
"exports": [ | ||
{ | ||
"name": "src", | ||
"type": "string", | ||
"default": "\"\"" | ||
"kind": "js", | ||
"name": "Avatar", | ||
"declaration": { | ||
"name": "Avatar", | ||
"module": "src/Avatar.ts" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"kind": "javascript-module", | ||
"path": "src/avatar.css.ts", | ||
"declarations": [ | ||
{ | ||
"kind": "variable", | ||
"name": "styles", | ||
"default": "css`\n:host{width:var(--spectrum-avatar-size-50-width,var(--spectrum-alias-avatar-size-50));height:var(--spectrum-avatar-size-50-height,var(--spectrum-alias-avatar-size-50));border-radius:var(--spectrum-avatar-size-50-border-radius,50%);border-style:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;opacity:var(--spectrum-avatar-size-100-opacity,1)}:host([disabled]){opacity:var(--spectrum-avatar-size-100-opacity-disabled,.3)}:host{display:block;overflow:hidden}img{width:100%;height:auto;vertical-align:top}\n`" | ||
} | ||
], | ||
"properties": [ | ||
"exports": [ | ||
{ | ||
"name": "label", | ||
"attribute": "label", | ||
"type": "string", | ||
"default": "\"\"" | ||
}, | ||
"kind": "js", | ||
"name": "default", | ||
"declaration": { | ||
"name": "styles", | ||
"module": "src/avatar.css.ts" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"kind": "javascript-module", | ||
"path": "src/index.ts", | ||
"declarations": [], | ||
"exports": [ | ||
{ | ||
"name": "src", | ||
"attribute": "src", | ||
"type": "string", | ||
"default": "\"\"" | ||
"kind": "js", | ||
"name": "*", | ||
"declaration": { | ||
"name": "*", | ||
"package": "./Avatar.js" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"kind": "javascript-module", | ||
"path": "src/spectrum-avatar.css.ts", | ||
"declarations": [ | ||
{ | ||
"kind": "variable", | ||
"name": "styles", | ||
"default": "css`\n:host{width:var(--spectrum-avatar-size-50-width,var(--spectrum-alias-avatar-size-50));height:var(--spectrum-avatar-size-50-height,var(--spectrum-alias-avatar-size-50));border-radius:var(--spectrum-avatar-size-50-border-radius,50%);border-style:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;opacity:var(--spectrum-avatar-size-100-opacity,1)}:host([disabled]){opacity:var(--spectrum-avatar-size-100-opacity-disabled,.3)}\n`" | ||
} | ||
], | ||
"exports": [ | ||
{ | ||
"kind": "js", | ||
"name": "default", | ||
"declaration": { | ||
"name": "styles", | ||
"module": "src/spectrum-avatar.css.ts" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"kind": "javascript-module", | ||
"path": "test/avatar.test-vrt.ts", | ||
"declarations": [], | ||
"exports": [] | ||
} | ||
] | ||
} | ||
} |
{ | ||
"name": "@spectrum-web-components/avatar", | ||
"version": "0.7.7-alpha.59+7b33b99a3", | ||
"version": "0.7.7", | ||
"publishConfig": { | ||
@@ -47,3 +47,3 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.4.5-alpha.59+7b33b99a3", | ||
"@spectrum-web-components/base": "^0.4.5", | ||
"tslib": "^2.0.0" | ||
@@ -55,7 +55,7 @@ }, | ||
"types": "./src/index.d.ts", | ||
"customElementsManifest": "custom-elements.json", | ||
"customElements": "custom-elements.json", | ||
"sideEffects": [ | ||
"./sp-*.js" | ||
], | ||
"gitHead": "7b33b99a3b1747fffb387f4e6696dcaa4a3618a4" | ||
"gitHead": "fbd509e0f30f1da0dcb972fa9ac5492acc00d96e" | ||
} |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -12,3 +12,3 @@ /* | ||
*/ | ||
import { html } from '@spectrum-web-components/base'; | ||
import { html } from 'lit-html'; | ||
import '../sp-avatar.js'; | ||
@@ -15,0 +15,0 @@ import { avatar } from './images'; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
75745
31
462
0
10