@mindly/ui-components 5.35.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.
|
|
3
|
+
"version": "5.36.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rimraf dist",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/polyfill": "^7.12.1",
|
|
18
|
+
"@capacitor/clipboard": "^5.0.7",
|
|
18
19
|
"@capacitor/share": "^5.0.7",
|
|
19
20
|
"@fontsource/inter": "^5.0.8",
|
|
20
21
|
"@fontsource/inter-tight": "^5.0.12",
|