@mindly/ui-components 5.64.0 → 5.64.2

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.
@@ -1,6 +1,8 @@
1
1
  import { JSX } from '@ionic/core/components';
2
+ import { KeyboardEvent } from 'react';
2
3
  export interface TextareaV2Props extends Omit<JSX.IonTextarea, 'color' | 'enterkeyhint' | 'inputmode' | 'mode'> {
3
4
  borderTop?: boolean;
4
5
  showCounter?: boolean;
5
6
  className?: string;
7
+ onKeyPress?: (e: KeyboardEvent<HTMLIonTextareaElement>) => void;
6
8
  }
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, SVGAttributes, InputHTMLAttributes, SVGProps, PropsWithChildren } from 'react';
2
+ import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, SVGAttributes, KeyboardEvent, InputHTMLAttributes, SVGProps, PropsWithChildren } from 'react';
3
3
  import { JSX as JSX$1 } from '@ionic/core/components';
4
4
  import * as react_i18next from 'react-i18next';
5
5
  import { WithTranslation } from 'react-i18next';
@@ -1819,6 +1819,7 @@ interface TextareaV2Props extends Omit<JSX$1.IonTextarea, 'color' | 'enterkeyhin
1819
1819
  borderTop?: boolean;
1820
1820
  showCounter?: boolean;
1821
1821
  className?: string;
1822
+ onKeyPress?: (e: KeyboardEvent<HTMLIonTextareaElement>) => void;
1822
1823
  }
1823
1824
 
1824
1825
  declare const _default$j: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaV2Props & React__default.RefAttributes<HTMLIonTextareaElement>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.64.0",
3
+ "version": "5.64.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",