@justeattakeaway/pie-textarea 0.17.10 → 0.17.12

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.
@@ -42,7 +42,7 @@
42
42
  "type": {
43
43
  "text": "DefaultProps"
44
44
  },
45
- "default": "{\r\n disabled: false,\r\n size: 'medium',\r\n resize: 'auto',\r\n value: '',\r\n placeholder: '',\r\n status: 'default',\r\n autoFocus: false,\r\n readonly: false,\r\n required: false,\r\n}",
45
+ "default": "{\n disabled: false,\n size: 'medium',\n resize: 'auto',\n value: '',\n placeholder: '',\n status: 'default',\n autoFocus: false,\n readonly: false,\n required: false,\n}",
46
46
  "description": "Default values for optional properties that have default fallback values in the component."
47
47
  }
48
48
  ],
@@ -206,7 +206,7 @@
206
206
  "text": "ValidityState"
207
207
  },
208
208
  "privacy": "public",
209
- "description": "(Read-only) returns a ValidityState with the validity states that this element is in.\r\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity",
209
+ "description": "(Read-only) returns a ValidityState with the validity states that this element is in.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity",
210
210
  "readonly": true
211
211
  },
212
212
  {
@@ -227,7 +227,7 @@
227
227
  "description": "The latest disabled state of the input."
228
228
  }
229
229
  ],
230
- "description": "Called after the disabled state of the element changes,\r\neither because the disabled attribute of this element was added or removed;\r\nor because the disabled state changed on a <fieldset> that's an ancestor of this element."
230
+ "description": "Called after the disabled state of the element changes,\neither because the disabled attribute of this element was added or removed;\nor because the disabled state changed on a <fieldset> that's an ancestor of this element."
231
231
  },
232
232
  {
233
233
  "kind": "method",
@@ -238,7 +238,7 @@
238
238
  "text": "void"
239
239
  }
240
240
  },
241
- "description": "Called when the form that owns this component is reset.\r\nResets the value to the default value."
241
+ "description": "Called when the form that owns this component is reset.\nResets the value to the default value."
242
242
  },
243
243
  {
244
244
  "kind": "method",
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ const _ = class _ extends N {
10
10
  this.getAttribute("v") || this.setAttribute("v", _.v);
11
11
  }
12
12
  };
13
- _.v = "0.17.10";
13
+ _.v = "0.17.12";
14
14
  let w = _;
15
15
  var $ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
16
16
  function ee(e) {
package/dist/react.d.ts CHANGED
@@ -19,7 +19,7 @@ declare type DefaultProps = ComponentDefaultProps<TextareaProps, keyof Omit<Text
19
19
  */
20
20
  export declare const defaultProps: DefaultProps;
21
21
 
22
- export declare const PieTextarea: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<TextareaProps> & React_2.RefAttributes<PieTextarea_2> & PieTextareaEvents & ReactBaseType>;
22
+ export declare const PieTextarea: React_2.ForwardRefExoticComponent<React_2.PropsWithChildren<Omit<React_2.PropsWithoutRef<TextareaProps>, "children">> & React_2.RefAttributes<PieTextarea_2> & PieTextareaEvents & ReactBaseType>;
23
23
 
24
24
  /**
25
25
  * @tagname pie-textarea
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-textarea",
3
3
  "description": "PIE Design System Textarea built using Web Components",
4
- "version": "0.17.10",
4
+ "version": "0.17.12",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -51,7 +51,7 @@
51
51
  "cem-plugin-module-file-extensions": "0.0.5"
52
52
  },
53
53
  "dependencies": {
54
- "@justeattakeaway/pie-assistive-text": "0.11.10",
54
+ "@justeattakeaway/pie-assistive-text": "0.11.12",
55
55
  "@justeattakeaway/pie-webc-core": "6.0.1",
56
56
  "lodash.throttle": "4.1.1"
57
57
  },
package/src/react.ts CHANGED
@@ -23,5 +23,5 @@ type PieTextareaEvents = {
23
23
  onChange?: (event: CustomEvent) => void;
24
24
  };
25
25
 
26
- export const PieTextarea = PieTextareaReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<TextareaProps>
26
+ export const PieTextarea = PieTextareaReact as React.ForwardRefExoticComponent<React.PropsWithChildren<Omit<React.PropsWithoutRef<TextareaProps>, 'children'>>
27
27
  & React.RefAttributes<PieTextareaLit> & PieTextareaEvents & ReactBaseType>;