@spectrum-web-components/close-button 0.0.2-express.2380 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/README.md +0 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/close-button",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
"lit-html"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@spectrum-web-components/base": "^0.5.
|
|
45
|
+
"@spectrum-web-components/base": "^0.5.3",
|
|
46
46
|
"tslib": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@spectrum-css/closebutton": "^1.2.
|
|
49
|
+
"@spectrum-css/closebutton": "^1.2.3"
|
|
50
50
|
},
|
|
51
51
|
"types": "./src/index.d.ts",
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
53
53
|
"sideEffects": [
|
|
54
54
|
"./sp-*.js"
|
|
55
55
|
],
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "57aba8030b6af96af4015a0aa830e342a17dc219"
|
|
57
57
|
}
|
package/README.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
## Description
|
|
2
|
-
|
|
3
|
-
### Usage
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/@spectrum-web-components/close-button)
|
|
6
|
-
[](https://bundlephobia.com/result?p=@spectrum-web-components/close-button)
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
yarn add @spectrum-web-components/close-button
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Import the side effectful registration of `<sp-close-button>` via:
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
import '@spectrum-web-components/close-button/sp-close-button.js';
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
When looking to leverage the `CloseButton` base class as a type and/or for extension purposes, do so via:
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
import { CloseButton } from '@spectrum-web-components/close-button';
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Example
|
|
25
|
-
|
|
26
|
-
```html
|
|
27
|
-
<sp-close-button></sp-close-button>
|
|
28
|
-
```
|