@justeattakeaway/pie-textarea 0.15.2 → 0.15.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 +2 -1
- package/dist/index.js +2 -2
- package/dist/react.d.ts +1 -1
- package/package.json +1 -1
- package/src/defs-react.ts +2 -1
- package/src/index.ts +1 -1
- package/src/react.ts +1 -1
package/custom-elements.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ var Z = Object.defineProperty, ee = (e, t, r, s) => {
|
|
|
12
12
|
};
|
|
13
13
|
class B extends L {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.v = "0.15.
|
|
15
|
+
super(...arguments), this.v = "0.15.4";
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
ee([
|
|
@@ -272,7 +272,7 @@ n([
|
|
|
272
272
|
u({ type: String })
|
|
273
273
|
], o.prototype, "assistiveText");
|
|
274
274
|
n([
|
|
275
|
-
u({ type: String })
|
|
275
|
+
u({ type: String, reflect: !0 })
|
|
276
276
|
], o.prototype, "name");
|
|
277
277
|
n([
|
|
278
278
|
u({ type: String })
|
package/dist/react.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ declare type PieTextareaEvents = {
|
|
|
95
95
|
onChange?: (event: CustomEvent) => void;
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
declare type ReactBaseType = React_2.HTMLAttributes<HTMLTextAreaElement>;
|
|
98
|
+
declare type ReactBaseType = Omit<React_2.HTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'onInput'>;
|
|
99
99
|
|
|
100
100
|
export declare const resizeModes: readonly ["auto", "manual"];
|
|
101
101
|
|
package/package.json
CHANGED
package/src/defs-react.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// Omit event types to avoid conflicting with PieTextarea's type definition
|
|
4
|
+
export type ReactBaseType = Omit<React.HTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'onInput'>
|
package/src/index.ts
CHANGED
|
@@ -65,7 +65,7 @@ export class PieTextarea extends FormControlMixin(RtlMixin(PieElement)) implemen
|
|
|
65
65
|
@property({ type: String })
|
|
66
66
|
public assistiveText: TextareaProps['assistiveText'];
|
|
67
67
|
|
|
68
|
-
@property({ type: String })
|
|
68
|
+
@property({ type: String, reflect: true })
|
|
69
69
|
public name: TextareaProps['name'];
|
|
70
70
|
|
|
71
71
|
@property({ type: String })
|
package/src/react.ts
CHANGED
|
@@ -16,7 +16,7 @@ const PieTextareaReact = createComponent({
|
|
|
16
16
|
},
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
type ReactBaseType = React.HTMLAttributes<HTMLTextAreaElement>
|
|
19
|
+
type ReactBaseType = Omit<React.HTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'onInput'>
|
|
20
20
|
|
|
21
21
|
type PieTextareaEvents = {
|
|
22
22
|
onInput?: (event: InputEvent) => void;
|