@mindly/ui-components 5.36.0 → 5.36.1

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,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { WithTranslation } from 'react-i18next';
2
3
  type FileInfoType = {
3
4
  originalName: string;
4
5
  size: number;
@@ -14,6 +15,7 @@ type TextareaProps = {
14
15
  maxLength: number;
15
16
  onError?: (message: string) => void;
16
17
  onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
18
+ t?: WithTranslation['t'];
17
19
  };
18
20
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLIonFooterElement>>>;
19
21
  export default _default;
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, InputHTMLAttributes, SVGProps } from 'react';
3
3
  import { JSX as JSX$1 } from '@ionic/core/components';
4
+ import * as react_i18next from 'react-i18next';
5
+ import { WithTranslation } from 'react-i18next';
4
6
  import { RatingComponentProps } from 'react-rating';
5
7
  import { RefresherEventDetail, ScrollDetail, ScrollBaseDetail } from '@ionic/react';
6
8
  import * as _ionic_core_dist_types_components from '@ionic/core/dist/types/components';
7
9
  import { IonContentCustomEvent, IonSearchbarCustomEvent as IonSearchbarCustomEvent$1 } from '@ionic/core/dist/types/components';
8
10
  import { Node, ListState, ItemProps as ItemProps$1, SelectionBehavior, SelectionMode } from 'react-stately';
9
11
  import { AriaListBoxProps, AriaCalendarProps, DateValue } from 'react-aria';
10
- import * as react_i18next from 'react-i18next';
11
- import { WithTranslation } from 'react-i18next';
12
12
  import { ToastStateProps, ToastState } from '@react-stately/toast';
13
13
  import { AriaToastRegionProps } from '@react-aria/toast';
14
14
  import { IonSearchbarCustomEvent, SearchbarChangeEventDetail } from '@ionic/core';
@@ -502,6 +502,7 @@ type TextareaProps = {
502
502
  maxLength: number;
503
503
  onError?: (message: string) => void;
504
504
  onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
505
+ t?: WithTranslation['t'];
505
506
  };
506
507
  declare const _default$L: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLIonFooterElement>>>;
507
508
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.36.0",
3
+ "version": "5.36.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",