@justeattakeaway/pie-form-label 0.14.3 → 0.14.4
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/custom-elements.json +6 -6
- package/dist/index.d.ts +3 -3
- package/dist/react.d.ts +3 -3
- package/package.json +3 -3
- package/src/index.ts +3 -3
package/custom-elements.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"kind": "field",
|
|
28
28
|
"name": "for",
|
|
29
29
|
"type": {
|
|
30
|
-
"text": "
|
|
30
|
+
"text": "FormLabelProps['for']"
|
|
31
31
|
},
|
|
32
32
|
"privacy": "public",
|
|
33
33
|
"attribute": "for",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"kind": "field",
|
|
38
38
|
"name": "optional",
|
|
39
39
|
"type": {
|
|
40
|
-
"text": "
|
|
40
|
+
"text": "FormLabelProps['optional']"
|
|
41
41
|
},
|
|
42
42
|
"privacy": "public",
|
|
43
43
|
"attribute": "optional"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"kind": "field",
|
|
47
47
|
"name": "trailing",
|
|
48
48
|
"type": {
|
|
49
|
-
"text": "
|
|
49
|
+
"text": "FormLabelProps['trailing']"
|
|
50
50
|
},
|
|
51
51
|
"privacy": "public",
|
|
52
52
|
"attribute": "trailing"
|
|
@@ -71,21 +71,21 @@
|
|
|
71
71
|
{
|
|
72
72
|
"name": "for",
|
|
73
73
|
"type": {
|
|
74
|
-
"text": "
|
|
74
|
+
"text": "FormLabelProps['for']"
|
|
75
75
|
},
|
|
76
76
|
"fieldName": "for"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"name": "optional",
|
|
80
80
|
"type": {
|
|
81
|
-
"text": "
|
|
81
|
+
"text": "FormLabelProps['optional']"
|
|
82
82
|
},
|
|
83
83
|
"fieldName": "optional"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"name": "trailing",
|
|
87
87
|
"type": {
|
|
88
|
-
"text": "
|
|
88
|
+
"text": "FormLabelProps['trailing']"
|
|
89
89
|
},
|
|
90
90
|
"fieldName": "trailing"
|
|
91
91
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ export declare interface FormLabelProps {
|
|
|
23
23
|
* @tagname pie-form-label
|
|
24
24
|
*/
|
|
25
25
|
export declare class PieFormLabel extends PieFormLabel_base implements FormLabelProps {
|
|
26
|
-
for
|
|
27
|
-
optional
|
|
28
|
-
trailing
|
|
26
|
+
for: FormLabelProps['for'];
|
|
27
|
+
optional: FormLabelProps['optional'];
|
|
28
|
+
trailing: FormLabelProps['trailing'];
|
|
29
29
|
private _renderOptionalLabel;
|
|
30
30
|
private handleClick;
|
|
31
31
|
render(): TemplateResult<1>;
|
package/dist/react.d.ts
CHANGED
|
@@ -26,9 +26,9 @@ export declare const PieFormLabel: React_2.ForwardRefExoticComponent<FormLabelPr
|
|
|
26
26
|
* @tagname pie-form-label
|
|
27
27
|
*/
|
|
28
28
|
declare class PieFormLabel_2 extends PieFormLabel_base implements FormLabelProps {
|
|
29
|
-
for
|
|
30
|
-
optional
|
|
31
|
-
trailing
|
|
29
|
+
for: FormLabelProps['for'];
|
|
30
|
+
optional: FormLabelProps['optional'];
|
|
31
|
+
trailing: FormLabelProps['trailing'];
|
|
32
32
|
private _renderOptionalLabel;
|
|
33
33
|
private handleClick;
|
|
34
34
|
render(): TemplateResult<1>;
|
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.14.
|
|
4
|
+
"version": "0.14.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
39
39
|
"@justeattakeaway/pie-components-config": "0.18.0",
|
|
40
40
|
"@justeattakeaway/pie-css": "0.13.1",
|
|
41
|
-
"@justeattakeaway/pie-switch": "0.30.
|
|
42
|
-
"@justeattakeaway/pie-text-input": "0.24.
|
|
41
|
+
"@justeattakeaway/pie-switch": "0.30.6",
|
|
42
|
+
"@justeattakeaway/pie-text-input": "0.24.5",
|
|
43
43
|
"@justeattakeaway/pie-wrapper-react": "0.14.2",
|
|
44
44
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
45
45
|
},
|
package/src/index.ts
CHANGED
|
@@ -17,13 +17,13 @@ const componentSelector = 'pie-form-label';
|
|
|
17
17
|
*/
|
|
18
18
|
export class PieFormLabel extends RtlMixin(LitElement) implements FormLabelProps {
|
|
19
19
|
@property({ type: String, reflect: true })
|
|
20
|
-
public for
|
|
20
|
+
public for: FormLabelProps['for'];
|
|
21
21
|
|
|
22
22
|
@property({ type: String })
|
|
23
|
-
public optional
|
|
23
|
+
public optional: FormLabelProps['optional'];
|
|
24
24
|
|
|
25
25
|
@property({ type: String })
|
|
26
|
-
public trailing
|
|
26
|
+
public trailing: FormLabelProps['trailing'];
|
|
27
27
|
|
|
28
28
|
private _renderOptionalLabel (): TemplateResult | typeof nothing {
|
|
29
29
|
const { optional } = this;
|