identity-admin-ui 1.11.20 → 1.11.22
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/lib/cjs/index.js +2 -2
- package/lib/cjs/types/components/LocalesTabes.d.ts +2 -1
- package/lib/cjs/types/components/LocalizedStringForm.d.ts +4 -3
- package/lib/cjs/types/helpers/Contsants.d.ts +2 -1
- package/lib/cjs/types/helpers/Localization/LocalesEnums.d.ts +2 -1
- package/lib/cjs/types/helpers/Localization/LocalesHelpers.d.ts +1 -1
- package/lib/esm/index.js +8 -8
- package/lib/esm/types/components/LocalesTabes.d.ts +2 -1
- package/lib/esm/types/components/LocalizedStringForm.d.ts +4 -3
- package/lib/esm/types/helpers/Contsants.d.ts +2 -1
- package/lib/esm/types/helpers/Localization/LocalesEnums.d.ts +2 -1
- package/lib/esm/types/helpers/Localization/LocalesHelpers.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
type Props = {
|
|
3
3
|
handleChange: (event: React.SyntheticEvent, newValue: string) => void;
|
|
4
|
+
includeFrench?: boolean;
|
|
4
5
|
};
|
|
5
|
-
export default function LocalizedTabs({ handleChange }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default function LocalizedTabs({ handleChange, includeFrench }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { UseFormSetValue } from
|
|
3
|
-
import { SizeType } from
|
|
2
|
+
import { UseFormSetValue } from 'react-hook-form';
|
|
3
|
+
import { SizeType } from '../helpers/Types';
|
|
4
4
|
type Props = {
|
|
5
5
|
title: string;
|
|
6
6
|
size: SizeType;
|
|
@@ -8,9 +8,10 @@ type Props = {
|
|
|
8
8
|
numberOfRows?: number;
|
|
9
9
|
isEdit?: boolean;
|
|
10
10
|
value: string;
|
|
11
|
+
includeFrench?: boolean;
|
|
11
12
|
setValue: UseFormSetValue<any>;
|
|
12
13
|
getValues: (name: string) => any;
|
|
13
14
|
handleChange: (event: React.SyntheticEvent, newValue: string) => void;
|
|
14
15
|
};
|
|
15
|
-
export default function LocalizedStringForm({ title, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange }: Props): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default function LocalizedStringForm({ title, includeFrench, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -5,6 +5,6 @@ export interface ILanguage {
|
|
|
5
5
|
}
|
|
6
6
|
export declare class LocalesHelper {
|
|
7
7
|
static isEnglish(): boolean;
|
|
8
|
-
static getLocale(): Languages;
|
|
8
|
+
static getLocale(): Languages.ENGLISH | Languages.ARABIC;
|
|
9
9
|
static getLocalizedString(localizedString: ILanguage[]): string | undefined;
|
|
10
10
|
}
|