@justeattakeaway/pie-switch 0.21.0 → 0.22.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/README.md +18 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,13 +10,27 @@
|
|
|
10
10
|
|
|
11
11
|
## pie-switch
|
|
12
12
|
|
|
13
|
-
`pie-switch` is a Web Component built using the Lit library.
|
|
13
|
+
`pie-switch` is a Web Component built using the Lit library. It allows users to switch between two states or options with a single action.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Installation
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
>For full information on using this component, please refer to our [documentation page](https://pie.design/components/switch/code/).
|
|
17
|
+
To install `pie-switch` in your application, run the following on your command line:
|
|
19
18
|
|
|
19
|
+
```bash
|
|
20
|
+
# npm
|
|
21
|
+
$ npm i @justeattakeaway/pie-switch
|
|
22
|
+
|
|
23
|
+
# yarn
|
|
24
|
+
$ yarn add @justeattakeaway/pie-switch
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
Visit [Modal | PIE Design System](https://pie.design/components/modal/overview) to view more information on this component.
|
|
30
|
+
|
|
31
|
+
## Questions
|
|
32
|
+
|
|
33
|
+
Please head to [FAQs | PIE Design System](https://pie.design/support/contact-us/) to see our FAQs and get in touch.
|
|
20
34
|
|
|
21
35
|
## Contributing
|
|
22
36
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-switch",
|
|
3
3
|
"description": "PIE Design System Switch built using Web Components",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@justeattakeaway/pie-components-config": "0.7.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@justeattakeaway/pie-icons-webc": "0.
|
|
34
|
+
"@justeattakeaway/pie-icons-webc": "0.16.0",
|
|
35
35
|
"@justeattakeaway/pie-webc-core": "0.13.0",
|
|
36
36
|
"element-internals-polyfill": "1.3.9"
|
|
37
37
|
},
|