@deix/rossini-core 3.0.2 → 3.0.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.
- package/lib/components/layout/MinimalLayout/MinimalLayout.d.ts.map +1 -1
- package/lib/components/layout/MinimalLayout/MinimalLayout.js +0 -2
- package/lib/components/layout/StandardLayout/StandardLayout.d.ts.map +1 -1
- package/lib/components/layout/StandardLayout/StandardLayout.js +0 -2
- package/lib/components/layout/components/AppLogo/AppLogo.js +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/palette.d.ts +0 -2
- package/lib/types/palette.d.ts.map +1 -1
- package/lib/utils/theme/palette/index.d.ts.map +1 -1
- package/lib/utils/theme/palette/index.js +0 -6
- package/package.json +4 -11
- package/lib/components/layout/components/Topline/TopLine.d.ts +0 -4
- package/lib/components/layout/components/Topline/TopLine.d.ts.map +0 -1
- package/lib/components/layout/components/Topline/TopLine.js +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MinimalLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/MinimalLayout/MinimalLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAe,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"MinimalLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/MinimalLayout/MinimalLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAe,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAIlE,UAAU,kBAAkB;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+E/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -4,14 +4,12 @@ import { Box, Typography, useTheme as useMUITheme } from '@mui/material';
|
|
|
4
4
|
import { CircularLoading } from '../../progress';
|
|
5
5
|
import ServerDown from '../assets/ServerDown';
|
|
6
6
|
import Footer from '../components/Footer/Footer';
|
|
7
|
-
import TopLine from '../components/Topline/TopLine';
|
|
8
7
|
import t from './translations.json';
|
|
9
8
|
import { useLocale } from '../../..';
|
|
10
9
|
const MinimalLayout = ({ isLoading, isError, error, footer, children, }) => {
|
|
11
10
|
const theme = useMUITheme();
|
|
12
11
|
const locale = useLocale();
|
|
13
12
|
return (React.createElement(React.Fragment, null,
|
|
14
|
-
React.createElement(TopLine, null),
|
|
15
13
|
React.createElement(Box, { sx: {
|
|
16
14
|
display: 'flex',
|
|
17
15
|
flexDirection: 'column',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/StandardLayout/StandardLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQzC,OAAgB,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAe,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAgB,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"StandardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/StandardLayout/StandardLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQzC,OAAgB,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAe,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAgB,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,UAAU,mBAAmB;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,EAAE,CAAC;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC;IAC/B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqHjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -6,7 +6,6 @@ import AppLogo from '../components/AppLogo/AppLogo';
|
|
|
6
6
|
import Footer from '../components/Footer/Footer';
|
|
7
7
|
import Sidebar from '../components/Sidebar/Sidebar';
|
|
8
8
|
import Topbar from '../components/Topbar/Topbar';
|
|
9
|
-
import TopLine from '../components/Topline/TopLine';
|
|
10
9
|
import { useLocale, usePersistedState } from '../../../utils';
|
|
11
10
|
import ServerDown from '../assets/ServerDown';
|
|
12
11
|
import t from './translations.json';
|
|
@@ -31,7 +30,6 @@ const StandardLayout = ({ isLoading, isError, error, appLogo, footer, sidebarLin
|
|
|
31
30
|
width: '100%',
|
|
32
31
|
background: theme.palette.background.default,
|
|
33
32
|
} },
|
|
34
|
-
React.createElement(TopLine, null),
|
|
35
33
|
React.createElement(Topbar, { hasSidebar: sidebarLinks && sidebarLinks.length > 0, onSidebarClose: () => setSidebarOpen(false), onSidebarOpen: () => setSidebarOpen(true), open: sidebarOpen, locale: locale, languages: languages, avatar: avatar, additionalLeftItems: topbarLeftItems, additionalRightItems: topbarRightItems, disableDarkMode: disableDarkMode }),
|
|
36
34
|
isLoading && React.createElement(CircularLoading, { locale: locale }),
|
|
37
35
|
!isLoading && isError && (React.createElement(Box, { sx: {
|
|
@@ -15,7 +15,7 @@ const AppLogo = ({ name = '', open, logoSource }) => {
|
|
|
15
15
|
logoSource && (React.createElement(Image, { src: logoSource, alt: 'logo', width: 36, height: 36 })),
|
|
16
16
|
open && (React.createElement(React.Fragment, null,
|
|
17
17
|
React.createElement(Typography, { variant: 'h4', sx: {
|
|
18
|
-
background: muiTheme.palette.
|
|
18
|
+
background: muiTheme.palette.primary.main,
|
|
19
19
|
backgroundClip: 'text',
|
|
20
20
|
WebkitBackgroundClip: 'text',
|
|
21
21
|
WebkitTextFillColor: 'transparent',
|