identity-admin-ui 1.11.19 → 1.11.21

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,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 "react-hook-form";
3
- import { SizeType } from "../helpers/Types";
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 {};
@@ -1,4 +1,5 @@
1
1
  export declare enum Flags {
2
2
  ENGLISH_FLAG = "https://pngimg.com/uploads/flags/flags_PNG14592.png",
3
- ARABIC_FLAG = "/assets/icons/flags/ic_flag_sa.svg"
3
+ ARABIC_FLAG = "/assets/icons/flags/ic_flag_sa.svg",
4
+ FRENCH_FLAG = "/assets/icons/flags/ic_flag_fr.svg"
4
5
  }
@@ -1,4 +1,5 @@
1
1
  export declare enum Languages {
2
2
  ENGLISH = "en",
3
- ARABIC = "ar"
3
+ ARABIC = "ar",
4
+ FRENCH = "fr"
4
5
  }
@@ -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
  }
@@ -1,4 +1,4 @@
1
- export declare function useNavData(): {
2
- subheader: string;
3
- items: any;
4
- }[];
1
+ export declare function useNavData(): {
2
+ subheader: string;
3
+ items: any;
4
+ }[];
@@ -1,10 +1,10 @@
1
- import { SizeType } from '../helpers/Types';
2
- export declare var SIZE: SizeType;
3
- export default function AdminRouter(): {
4
- path: any;
5
- children: {
6
- path: string;
7
- element: import("react/jsx-runtime").JSX.Element;
8
- children: any[];
9
- }[];
10
- };
1
+ import { SizeType } from '../helpers/Types';
2
+ export declare var SIZE: SizeType;
3
+ export default function AdminRouter(): {
4
+ path: any;
5
+ children: {
6
+ path: string;
7
+ element: import("react/jsx-runtime").JSX.Element;
8
+ children: any[];
9
+ }[];
10
+ };
@@ -1,5 +1,5 @@
1
- export declare function path(root: string, sublink: string): string;
2
- export declare const ADMIN_ROOT = "/admin";
3
- export declare var ADMIN_PATH: {
4
- [key: string]: any;
5
- };
1
+ export declare function path(root: string, sublink: string): string;
2
+ export declare const ADMIN_ROOT = "/admin";
3
+ export declare var ADMIN_PATH: {
4
+ [key: string]: any;
5
+ };
package/lib/esm/index.css CHANGED
@@ -1,41 +1,23 @@
1
- ::-webkit-scrollbar {
2
- width: 4px;
3
- height: 4px;
4
- }
5
-
6
- ::-webkit-scrollbar-track {
7
- background: transparent;
8
- border-radius: 10px;
9
- }
10
-
11
- ::-webkit-scrollbar-thumb {
12
- background-color: #888;
13
- border-radius: 10px;
14
- }
1
+ ::-webkit-scrollbar {
2
+ width: 4px;
3
+ height: 4px;
4
+ }
5
+
6
+ ::-webkit-scrollbar-track {
7
+ background: transparent;
8
+ border-radius: 10px;
9
+ }
10
+
11
+ ::-webkit-scrollbar-thumb {
12
+ background-color: #888;
13
+ border-radius: 10px;
14
+ }
15
+
16
+ ::-webkit-scrollbar-thumb:hover {
17
+ background: #555;
18
+ }
19
+
15
20
 
16
- ::-webkit-scrollbar-thumb:hover {
17
- background: #555;
18
- }
19
-
20
-
21
- .editor {
22
- padding-left: 20px;
23
- padding-right: 20px;
24
- max-height: 350px;
25
- overflow: auto;
26
- }
27
- .toolBar {
28
- border-style: solid;
29
- border-width: 0.1px;
30
- border-radius: 10px;
31
- border-color:lightgray;
32
- }
33
- .wrapper {
34
- border-style: solid;
35
- border-width: 0.1px;
36
- border-radius: 10px;
37
- border-color:lightgray;
38
- }
39
21
  /*!
40
22
  Theme: Tomorrow Night
41
23
  Author: Chris Kempson (http://chriskempson.com)
@@ -43,6 +25,24 @@
43
25
  Maintainer: @highlightjs/core-team
44
26
  Version: 2021.09.0
45
27
  */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#ccc;background:#2d2d2d}.hljs ::selection,.hljs::selection{background-color:#515151;color:#ccc}.hljs-comment{color:#999}.hljs-tag{color:#b4b7b4}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#ccc}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#f2777a}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#f99157}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#fc6}.hljs-strong{font-weight:700;color:#fc6}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#9c9}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#6cc}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#69c}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#c9c}.hljs-emphasis{color:#c9c;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#a3685a}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}
28
+ .editor {
29
+ padding-left: 20px;
30
+ padding-right: 20px;
31
+ max-height: 350px;
32
+ overflow: auto;
33
+ }
34
+ .toolBar {
35
+ border-style: solid;
36
+ border-width: 0.1px;
37
+ border-radius: 10px;
38
+ border-color:lightgray;
39
+ }
40
+ .wrapper {
41
+ border-style: solid;
42
+ border-width: 0.1px;
43
+ border-radius: 10px;
44
+ border-color:lightgray;
45
+ }
46
46
  /*!
47
47
  * Quill Editor v1.3.7
48
48
  * https://quilljs.com/