@lowentry/mui 1.1.6 → 1.1.7
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/MuiRoot/index.js +1 -1
- package/MuiRoot/index.js.map +1 -1
- package/package.json +1 -1
- package/src/widgets/MuiRoot.css +2 -2
package/MuiRoot/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as e,a as r}from"../_rollupPluginBabelHelpers-c0e6c03a.js";import t from"react";import{LeRed as o}from"@lowentry/react-redux";import{CssBaseline as m,ThemeProvider as a}from"@mui/material";import{LocalizationProvider as i}from"@mui/x-date-pickers";import{AdapterDayjs as l}from"@mui/x-date-pickers/AdapterDayjs";import{s as n}from"../style-inject.es-1f59c1d0.js";n(".lowentry-mui--mui-root{
|
|
1
|
+
import{c as e,a as r}from"../_rollupPluginBabelHelpers-c0e6c03a.js";import t from"react";import{LeRed as o}from"@lowentry/react-redux";import{CssBaseline as m,ThemeProvider as a}from"@mui/material";import{LocalizationProvider as i}from"@mui/x-date-pickers";import{AdapterDayjs as l}from"@mui/x-date-pickers/AdapterDayjs";import{s as n}from"../style-inject.es-1f59c1d0.js";n(".lowentry-mui--mui-root{height:100%;width:100%}@media not (hover:hover),not (pointer:fine){.lowentry-mui--mui-root .MuiButtonBase-root:not(.allow-mobile-hover):hover{background-color:hsla(0,0%,100%,0)!important}}");var c=["theme","className","children"],s=o.memo((function(o){var n=o.theme,s=o.className,u=o.children,p=e(o,c);return t.createElement(t.Fragment,null,t.createElement(m,null),t.createElement(a,{theme:n},t.createElement(i,{dateAdapter:l},t.createElement("div",r({className:"lowentry-mui--mui-root "+(null!=s?s:"")},p),u))))}));export{s as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/MuiRoot/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/widgets/MuiRoot.jsx"],"sourcesContent":["import React from 'react';\nimport {LeRed} from '@lowentry/react-redux';\nimport {CssBaseline, ThemeProvider} from '@mui/material';\nimport {LocalizationProvider} from '@mui/x-date-pickers';\nimport {AdapterDayjs} from '@mui/x-date-pickers/AdapterDayjs';\nimport './MuiRoot.css';\n\n\nconst MuiRoot = LeRed.memo(({theme, className, children, ...props}) =>\n{\n\treturn (<>\n\t\t<CssBaseline/>\n\t\t<ThemeProvider theme={theme}>\n\t\t\t<LocalizationProvider dateAdapter={AdapterDayjs}>\n\t\t\t\t<div className={'lowentry-mui--mui-root ' + (className ?? '')} {...props}>\n\t\t\t\t\t{children}\n\t\t\t\t</div>\n\t\t\t</LocalizationProvider>\n\t\t</ThemeProvider>\n\t</>);\n});\nexport default MuiRoot;\n"],"names":["MuiRoot","LeRed","memo","_ref","theme","className","children","props","_objectWithoutProperties","_excluded","React","createElement","Fragment","CssBaseline","ThemeProvider","LocalizationProvider","dateAdapter","AdapterDayjs","_extends"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/widgets/MuiRoot.jsx"],"sourcesContent":["import React from 'react';\nimport {LeRed} from '@lowentry/react-redux';\nimport {CssBaseline, ThemeProvider} from '@mui/material';\nimport {LocalizationProvider} from '@mui/x-date-pickers';\nimport {AdapterDayjs} from '@mui/x-date-pickers/AdapterDayjs';\nimport './MuiRoot.css';\n\n\nconst MuiRoot = LeRed.memo(({theme, className, children, ...props}) =>\n{\n\treturn (<>\n\t\t<CssBaseline/>\n\t\t<ThemeProvider theme={theme}>\n\t\t\t<LocalizationProvider dateAdapter={AdapterDayjs}>\n\t\t\t\t<div className={'lowentry-mui--mui-root ' + (className ?? '')} {...props}>\n\t\t\t\t\t{children}\n\t\t\t\t</div>\n\t\t\t</LocalizationProvider>\n\t\t</ThemeProvider>\n\t</>);\n});\nexport default MuiRoot;\n"],"names":["MuiRoot","LeRed","memo","_ref","theme","className","children","props","_objectWithoutProperties","_excluded","React","createElement","Fragment","CssBaseline","ThemeProvider","LocalizationProvider","dateAdapter","AdapterDayjs","_extends"],"mappings":"qnBAQMA,EAAUC,EAAMC,MAAK,SAAAC,GAC3B,IAD6BC,EAAKD,EAALC,MAAOC,EAASF,EAATE,UAAWC,EAAQH,EAARG,SAAaC,EAAKC,EAAAL,EAAAM,GAEhE,OAAQC,EAAAC,cAAAD,EAAAE,cACPF,EAAAC,cAACE,QACDH,EAAAC,cAACG,EAAa,CAACV,MAAOA,GACrBM,EAAAC,cAACI,EAAoB,CAACC,YAAaC,GAClCP,EAAAC,cAAA,MAAAO,EAAA,CAAKb,UAAW,2BAA6BA,QAAAA,EAAa,KAASE,GACjED,KAKN"}
|
package/package.json
CHANGED