@spectrum-web-components/textfield
Advanced tools
Comparing version 0.3.9 to 0.3.10-alpha.38
@@ -21,15 +21,24 @@ { | ||
], | ||
"version": "0.3.9", | ||
"version": "0.3.10-alpha.38+3926abb2", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"main": "src/index.js", | ||
"module": "src/index.js", | ||
"type": "module", | ||
"exports": { | ||
"./src/": "./src/", | ||
"./custom-elements.json": "./custom-elements.json", | ||
"./package.json": "./package.json", | ||
"./sp-testfield": "./sp-testfield.js", | ||
"./sp-testfield.js": "./sp-testfield.js" | ||
}, | ||
"files": [ | ||
"custom-elements.json", | ||
"/lib/", | ||
"*.d.ts", | ||
"*.js", | ||
"*.js.map", | ||
"/src/" | ||
], | ||
"sideEffects": [ | ||
"./lib/index.js", | ||
"./src/index.ts" | ||
"./sp-textfield.js", | ||
"./sp-textfield.ts" | ||
], | ||
@@ -41,6 +50,2 @@ "scripts": { | ||
"license": "Apache-2.0", | ||
"peerDependencies": { | ||
"lit-element": "^2.1.0", | ||
"lit-html": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
@@ -50,8 +55,10 @@ "@spectrum-css/textfield": "^2.0.5" | ||
"dependencies": { | ||
"@spectrum-web-components/icon": "^0.4.8", | ||
"@spectrum-web-components/icons-ui": "^0.1.2", | ||
"@spectrum-web-components/shared": "^0.4.7", | ||
"@spectrum-web-components/icon": "^0.4.9-alpha.38+3926abb2", | ||
"@spectrum-web-components/icons-ui": "^0.1.3-alpha.38+3926abb2", | ||
"@spectrum-web-components/shared": "^0.4.8-alpha.38+3926abb2", | ||
"lit-element": "^2.1.0", | ||
"lit-html": "^1.0.0", | ||
"tslib": "^2.0.0" | ||
}, | ||
"gitHead": "16b57d15356859cee73278cdf796274e3245320b" | ||
"gitHead": "3926abb2769a9bab28762bf3b3e1fab7c5f03589" | ||
} |
@@ -5,3 +5,3 @@ ## Description | ||
### Installation | ||
### Usage | ||
@@ -12,9 +12,17 @@ [![See it on NPM!](https://img.shields.io/npm/v/@spectrum-web-components/textfield?style=for-the-badge)](https://www.npmjs.com/package/@spectrum-web-components/textfield) | ||
``` | ||
npm install @spectrum-web-components/textfield | ||
yarn add @spectrum-web-components/textfield | ||
``` | ||
# or | ||
Import the side effectful registration of `<sp-textfield>` via: | ||
yarn add @spectrum-web-components/textfield | ||
``` | ||
import '@spectrum-web-components/textfield/sp-textfield.js'; | ||
``` | ||
When looking to leverage the `Textfield` base class as a type and/or for extension purposes, do so via: | ||
``` | ||
import { Textfield } from '@spectrum-web-components/textfield'; | ||
``` | ||
## Example | ||
@@ -21,0 +29,0 @@ |
@@ -12,15 +12,2 @@ /* | ||
*/ | ||
export * from './textfield.js'; | ||
import { Textfield } from './textfield.js'; | ||
/* istanbul ignore else */ | ||
if (!customElements.get('sp-textfield')) { | ||
customElements.define('sp-textfield', Textfield); | ||
} | ||
declare global { | ||
interface HTMLElementTagNameMap { | ||
'sp-textfield': Textfield; | ||
} | ||
} | ||
export * from './Textfield.js'; |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 4 instances 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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
28
57
157774
4
1475
1
+ Addedlit-element@^2.1.0
+ Addedlit-html@^1.0.0
+ Added@spectrum-web-components/icon@0.4.9-alpha.38(transitive)
+ Added@spectrum-web-components/icons-ui@0.1.3-alpha.38(transitive)
+ Added@spectrum-web-components/iconset@0.1.12-alpha.38(transitive)
+ Added@spectrum-web-components/shared@0.4.8-alpha.38(transitive)
- Removed@spectrum-web-components/icon@0.4.8(transitive)
- Removed@spectrum-web-components/icons-ui@0.1.2(transitive)
- Removed@spectrum-web-components/iconset@0.1.11(transitive)
- Removed@spectrum-web-components/shared@0.4.7(transitive)
Updated@spectrum-web-components/icon@^0.4.9-alpha.38+3926abb2
Updated@spectrum-web-components/icons-ui@^0.1.3-alpha.38+3926abb2
Updated@spectrum-web-components/shared@^0.4.8-alpha.38+3926abb2