@blocklet/launcher-layout 2.0.2 → 2.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/index.js +1 -1
- package/package.json +14 -14
package/lib/index.js
CHANGED
|
@@ -30,7 +30,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
30
30
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
31
31
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
32
32
|
const MobileContent = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n overflow: hidden;\n width: 100%;\n height: 100%;\n padding-top: 68px;\n"])));
|
|
33
|
-
const PcContent = _styled.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n height: 80%;\n max-height: 880px;\n border-radius: 8px;\n background-color: #fff;\n\n @media (min-width: 2400px) {\n width: 50%;\n }\n\n @media (min-width: 1920px) and (max-width: 2399px) {\n width: 60%;\n }\n\n @media (
|
|
33
|
+
const PcContent = _styled.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n height: 80%;\n max-height: 880px;\n border-radius: 8px;\n background-color: #fff;\n\n @media (min-width: 2400px) {\n width: 50%;\n }\n\n @media (min-width: 1920px) and (max-width: 2399px) {\n width: 60%;\n }\n\n @media (max-width: 1920px) {\n width: 90%;\n }\n"])));
|
|
34
34
|
function Layout(_ref) {
|
|
35
35
|
let {
|
|
36
36
|
blockletMeta,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-layout",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Common ux components of launcher",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -37,27 +37,27 @@
|
|
|
37
37
|
"react": ">=18.1.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@arcblock/did-connect": "^2.
|
|
41
|
-
"@arcblock/icons": "^2.
|
|
42
|
-
"@arcblock/ux": "^2.
|
|
43
|
-
"@blocklet/launcher-ux": "2.0.
|
|
44
|
-
"@blocklet/meta": "^1.8.
|
|
45
|
-
"@emotion/react": "^11.10.
|
|
46
|
-
"@emotion/styled": "^11.10.
|
|
47
|
-
"@mui/icons-material": "^5.11.
|
|
48
|
-
"@mui/material": "^5.11.
|
|
40
|
+
"@arcblock/did-connect": "^2.5.10",
|
|
41
|
+
"@arcblock/icons": "^2.5.10",
|
|
42
|
+
"@arcblock/ux": "^2.5.10",
|
|
43
|
+
"@blocklet/launcher-ux": "2.0.4",
|
|
44
|
+
"@blocklet/meta": "^1.8.68",
|
|
45
|
+
"@emotion/react": "^11.10.6",
|
|
46
|
+
"@emotion/styled": "^11.10.6",
|
|
47
|
+
"@mui/icons-material": "^5.11.11",
|
|
48
|
+
"@mui/material": "^5.11.13",
|
|
49
49
|
"lodash": "^4.17.21",
|
|
50
50
|
"prop-types": "^15.8.1",
|
|
51
51
|
"rehype-react": "^7.1.2",
|
|
52
52
|
"url-join": "^4.0.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@babel/cli": "^7.
|
|
56
|
-
"@babel/core": "^7.
|
|
55
|
+
"@babel/cli": "^7.21.0",
|
|
56
|
+
"@babel/core": "^7.21.3",
|
|
57
57
|
"@babel/preset-env": "^7.20.2",
|
|
58
58
|
"@babel/preset-react": "^7.18.6",
|
|
59
59
|
"@storybook/react": "^6.5.16",
|
|
60
|
-
"babel-plugin-inline-react-svg": "^2.0.
|
|
60
|
+
"babel-plugin-inline-react-svg": "^2.0.2"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "201f0d84547fb0c09c3cc2484d72bb0f84b5842b"
|
|
63
63
|
}
|