@justeattakeaway/pie-form-label 0.13.4 → 0.13.6
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 +4 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -29,11 +29,9 @@ This component can be easily integrated into various frontend frameworks and cus
|
|
|
29
29
|
To install `pie-form-label` in your application, run the following on your command line:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
|
|
33
|
-
$ npm i @justeattakeaway/pie-form-label
|
|
32
|
+
npm i @justeattakeaway/pie-form-label
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
$ yarn add @justeattakeaway/pie-form-label
|
|
34
|
+
yarn add @justeattakeaway/pie-form-label
|
|
37
35
|
```
|
|
38
36
|
|
|
39
37
|
For full information on using PIE components as part of an application, check out the [Getting Started Guide](https://github.com/justeattakeaway/pie/wiki/Getting-started-with-PIE-Web-Components).
|
|
@@ -82,12 +80,12 @@ In your markup or JSX, you can then use these to set the properties for the `pie
|
|
|
82
80
|
```html
|
|
83
81
|
<!-- Native HTML -->
|
|
84
82
|
<pie-form-label for="username">Label</pie-form-label>
|
|
85
|
-
<pie-input id="username" name="username" type="text"></pie-input>
|
|
83
|
+
<pie-text-input id="username" name="username" type="text"></pie-text-input>
|
|
86
84
|
|
|
87
85
|
|
|
88
86
|
<!-- JSX -->
|
|
89
87
|
<PieFormLabel for="username">Label</PieFormLabel>
|
|
90
|
-
<
|
|
88
|
+
<PieTextInput id="username" name="username" type="text"></PieTextInput>
|
|
91
89
|
```
|
|
92
90
|
|
|
93
91
|
Note that the `for` prop should match the `id` of the input element you want to associate the label with.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-form-label",
|
|
3
3
|
"description": "PIE Design System Form Label built using Web Components",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
39
39
|
"@justeattakeaway/pie-components-config": "0.16.0",
|
|
40
|
-
"@justeattakeaway/pie-
|
|
41
|
-
"@justeattakeaway/pie-
|
|
42
|
-
"@justeattakeaway/pie-wrapper-react": "0.14.
|
|
40
|
+
"@justeattakeaway/pie-switch": "0.29.10",
|
|
41
|
+
"@justeattakeaway/pie-text-input": "0.23.1",
|
|
42
|
+
"@justeattakeaway/pie-wrapper-react": "0.14.1",
|
|
43
43
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@justeattakeaway/pie-webc-core": "0.
|
|
46
|
+
"@justeattakeaway/pie-webc-core": "0.24.0"
|
|
47
47
|
},
|
|
48
48
|
"volta": {
|
|
49
49
|
"extends": "../../../package.json"
|