andoncloud-sdk 1.7.2 → 1.7.4

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,11 +1,13 @@
1
1
  declare const _default: {
2
- ({ position, scrolled, showAcLogo, leadingText, title, titleStyles, navProps, userProps, menuProps, sidebarEnabled, sidebarOpen, onSidebarToggle, styles, "data-testid": dataTestID, }: {
2
+ ({ position, scrolled, showAcLogo, leadingText, title, titleStyles, content, contentStyles, navProps, userProps, menuProps, sidebarEnabled, sidebarOpen, onSidebarToggle, styles, "data-testid": dataTestID, }: {
3
3
  position: any;
4
4
  scrolled: any;
5
5
  showAcLogo: any;
6
6
  leadingText: any;
7
7
  title: any;
8
8
  titleStyles: any;
9
+ content: any;
10
+ contentStyles: any;
9
11
  navProps: any;
10
12
  userProps: any;
11
13
  menuProps: any;
@@ -22,6 +24,8 @@ declare const _default: {
22
24
  leadingText: any;
23
25
  title: any;
24
26
  titleStyles: any;
27
+ content: any;
28
+ contentStyles: any;
25
29
  navProps: any;
26
30
  userProps: any;
27
31
  menuProps: any;
@@ -1,6 +1,7 @@
1
- declare function _default({ styles, titleStyles, menuStyles, menuDropdownStyles }: {
1
+ declare function _default({ styles, titleStyles, contentStyles, menuStyles, menuDropdownStyles }: {
2
2
  styles: any;
3
3
  titleStyles: any;
4
+ contentStyles: any;
4
5
  menuStyles: any;
5
6
  menuDropdownStyles: any;
6
7
  }): {
@@ -16,6 +17,7 @@ declare function _default({ styles, titleStyles, menuStyles, menuDropdownStyles
16
17
  textOverflow: string;
17
18
  };
18
19
  title: any;
20
+ content: any;
19
21
  nav: {
20
22
  marginRight: string;
21
23
  };
package/dist/index.d.ts CHANGED
@@ -9,6 +9,26 @@ import { CheckboxProps } from './app/core/ui/Checkbox';
9
9
  import { RadioProps } from './app/core/ui/Radio';
10
10
  import { RadioGroupProps } from './app/core/ui/RadioGroup';
11
11
 
12
+ declare module '@mui/material/styles' {
13
+ interface Palette {
14
+ gray: Palette['primary'];
15
+ stroke: Palette['primary'];
16
+ gradient: {
17
+ blue: { main: string };
18
+ dark: { main: string };
19
+ };
20
+ }
21
+
22
+ interface PaletteOptions {
23
+ gray?: PaletteOptions['primary'];
24
+ stroke?: PaletteOptions['primary'];
25
+ gradient?: {
26
+ blue?: { main: string };
27
+ dark?: { main: string };
28
+ };
29
+ }
30
+ }
31
+
12
32
  declare module 'andoncloud-sdk' {
13
33
  interface NavItem {
14
34
  label: string;
@@ -104,6 +124,8 @@ declare module 'andoncloud-sdk' {
104
124
  leadingText?: string;
105
125
  title?: string;
106
126
  titleStyles?: SxProps<Theme>;
127
+ content?: React.ReactNode;
128
+ contentStyles?: SxProps<Theme>;
107
129
  navProps?: NavProps;
108
130
  userProps?: UserProps;
109
131
  menuProps?: MenuProps;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const LIBRARY_VERSION = "1.7.2";
1
+ export declare const LIBRARY_VERSION = "1.7.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andoncloud-sdk",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "source": "src/index.js",
@@ -8,7 +8,7 @@
8
8
  "main": "dist/andoncloud-sdk.js",
9
9
  "module": "dist/andoncloud-sdk.js",
10
10
  "dependencies": {
11
- "@sentry/react": "^10.23.0",
11
+ "@sentry/react": "^10.33.0",
12
12
  "@sentry/tracing": "^7.120.4",
13
13
  "classnames": "^2.5.1",
14
14
  "dayjs": "^1.11.19",
@@ -47,19 +47,19 @@
47
47
  ]
48
48
  },
49
49
  "devDependencies": {
50
- "@babel/cli": "^7.28.3",
51
- "@babel/eslint-parser": "^7.28.5",
50
+ "@babel/cli": "^7.28.6",
51
+ "@babel/eslint-parser": "^7.28.6",
52
52
  "@emotion/react": "^11.14.0",
53
53
  "@emotion/styled": "^11.14.1",
54
- "@mui/icons-material": "^7.3.5",
55
- "@mui/lab": "^7.0.1-beta.19",
56
- "@mui/material": "^7.3.5",
57
- "@mui/x-date-pickers": "^8.17.0",
54
+ "@mui/icons-material": "^7.3.7",
55
+ "@mui/lab": "^7.0.1-beta.21",
56
+ "@mui/material": "^7.3.7",
57
+ "@mui/x-date-pickers": "^8.24.0",
58
58
  "@testing-library/dom": "^10.4.1",
59
59
  "@testing-library/jest-dom": "^6.9.1",
60
- "@testing-library/react": "^16.3.0",
61
- "@types/react": "^19.2.2",
62
- "@types/react-dom": "^19.2.2",
60
+ "@testing-library/react": "^16.3.1",
61
+ "@types/react": "^19.2.8",
62
+ "@types/react-dom": "^19.2.3",
63
63
  "@types/react-gtm-module": "^2.0.4",
64
64
  "andoncloud-library-scripts": "^1.0.12",
65
65
  "babel-preset-react-app": "^10.1.0",
@@ -68,14 +68,14 @@
68
68
  "eslint": "8.57.1",
69
69
  "eslint-config-andoncloud": "^1.0.0",
70
70
  "husky": "^9.1.7",
71
- "i18next": "^25.6.1",
71
+ "i18next": "^25.7.4",
72
72
  "mobx": "^6.15.0",
73
73
  "mobx-react-lite": "^4.1.1",
74
- "npm-check-updates": "^19.1.2",
74
+ "npm-check-updates": "^19.3.1",
75
75
  "npm-run-all": "^4.1.5",
76
- "react": "^19.2.0",
77
- "react-dom": "^19.2.0",
78
- "react-i18next": "^16.2.4",
76
+ "react": "^19.2.3",
77
+ "react-dom": "^19.2.3",
78
+ "react-i18next": "^16.5.2",
79
79
  "react-router-dom": "^6.30.1",
80
80
  "react-scripts": "^5.0.1"
81
81
  },