identity-admin-ui 1.12.1 → 1.12.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.
@@ -3,10 +3,10 @@ import { SizeType } from '../helpers/Types';
3
3
  import { PaletteOptions } from '@mui/material';
4
4
  type AppConfigurations = {
5
5
  children?: ReactNode;
6
- textFieldSize: SizeType;
6
+ textFieldSize?: SizeType;
7
7
  themeLayout?: 'vertical' | 'horizontal' | 'mini';
8
- defaultRowsPerPage: number;
9
- themeStretch: boolean;
8
+ defaultRowsPerPage?: number;
9
+ themeStretch?: boolean;
10
10
  setThemeLayout?: React.Dispatch<React.SetStateAction<'horizontal' | 'vertical' | 'mini'>>;
11
11
  loadingLoago?: string;
12
12
  navBarLogo?: string;
@@ -3,4 +3,5 @@ export default class StringUtils {
3
3
  static lowerCaseFirstLetter(word: string): string;
4
4
  static upperCaseFirstLetter(word: string): string;
5
5
  static checkRefId(word: string): boolean;
6
+ static convertWordToSnackConvention(word: string): string;
6
7
  }
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useAppConfigurations: () => {
3
3
  children?: import("react").ReactNode;
4
- textFieldSize: import("..").SizeType;
4
+ textFieldSize?: import("..").SizeType;
5
5
  themeLayout?: "horizontal" | "vertical" | "mini" | undefined;
6
- defaultRowsPerPage: number;
7
- themeStretch: boolean;
6
+ defaultRowsPerPage?: number | undefined;
7
+ themeStretch?: boolean | undefined;
8
8
  setThemeLayout?: import("react").Dispatch<import("react").SetStateAction<"horizontal" | "vertical" | "mini">> | undefined;
9
9
  loadingLoago?: string | undefined;
10
10
  navBarLogo?: string | undefined;
package/lib/index.d.ts CHANGED
@@ -350,10 +350,10 @@ declare function path(root: string, sublink: string): string;
350
350
 
351
351
  type AppConfigurations = {
352
352
  children?: ReactNode;
353
- textFieldSize: SizeType;
353
+ textFieldSize?: SizeType;
354
354
  themeLayout?: 'vertical' | 'horizontal' | 'mini';
355
- defaultRowsPerPage: number;
356
- themeStretch: boolean;
355
+ defaultRowsPerPage?: number;
356
+ themeStretch?: boolean;
357
357
  setThemeLayout?: React.Dispatch<React.SetStateAction<'horizontal' | 'vertical' | 'mini'>>;
358
358
  loadingLoago?: string;
359
359
  navBarLogo?: string;
@@ -761,10 +761,10 @@ declare function useNavData(): {
761
761
 
762
762
  declare const useAppConfigurations: () => {
763
763
  children?: react.ReactNode;
764
- textFieldSize: SizeType;
764
+ textFieldSize?: SizeType;
765
765
  themeLayout?: "horizontal" | "vertical" | "mini" | undefined;
766
- defaultRowsPerPage: number;
767
- themeStretch: boolean;
766
+ defaultRowsPerPage?: number | undefined;
767
+ themeStretch?: boolean | undefined;
768
768
  setThemeLayout?: react.Dispatch<react.SetStateAction<"horizontal" | "vertical" | "mini">> | undefined;
769
769
  loadingLoago?: string | undefined;
770
770
  navBarLogo?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.12.1",
3
+ "version": "1.12.2",
4
4
  "description": "Identity solutions UI package using for identity-admin dashboard",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -82,6 +82,7 @@
82
82
  "yup": "^1.2.0"
83
83
  },
84
84
  "dependencies": {
85
+ "@rollup/plugin-json": "^6.1.0",
85
86
  "draftjs-to-html": "^0.9.1",
86
87
  "html-to-draftjs": "^1.5.0",
87
88
  "react-draft-wysiwyg": "^1.15.0",