@modern-js/devtools-client 0.0.0-nightly-20230920160608 → 0.0.0-nightly-20230923161059
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/.turbo/turbo-build.log +36 -37
- package/CHANGELOG.md +9 -7
- package/dist/html/main/index.html +3 -3
- package/dist/modern.config.json +10 -29
- package/dist/routes-manifest.json +64 -64
- package/dist/static/js/182.50d69b99.js +1 -0
- package/dist/static/js/182.50d69b99.js.LICENSE.txt +24 -0
- package/dist/static/js/182.50d69b99.js.map +1 -0
- package/dist/static/js/async/overview/{page.1d1e2eae.js → page.520a58d3.js} +1 -1
- package/dist/static/js/async/overview/{page.1d1e2eae.js.map → page.520a58d3.js.map} +1 -1
- package/dist/static/js/{lib-polyfill.6e913595.js → lib-polyfill.56f1a95b.js} +1 -1
- package/dist/static/js/{198.90ff3b85.js.LICENSE.txt → lib-polyfill.56f1a95b.js.LICENSE.txt} +1 -26
- package/dist/static/js/lib-polyfill.56f1a95b.js.map +1 -0
- package/dist/static/js/main.01b28a3e.js +1 -0
- package/dist/static/js/main.01b28a3e.js.map +1 -0
- package/modern.config.ts +6 -46
- package/package.json +12 -15
- package/src/routes/RootTabs.tsx +2 -11
- package/src/routes/overview/page.tsx +7 -1
- package/dist/static/js/198.90ff3b85.js +0 -1
- package/dist/static/js/198.90ff3b85.js.map +0 -1
- package/dist/static/js/lib-polyfill.6e913595.js.map +0 -1
- package/dist/static/js/main.75c4b471.js +0 -1
- package/dist/static/js/main.75c4b471.js.map +0 -1
- /package/dist/static/css/{198.76c8c1d9.css → 182.76c8c1d9.css} +0 -0
package/src/routes/RootTabs.tsx
CHANGED
|
@@ -2,9 +2,9 @@ import { Suspense } from 'react';
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { useSnapshot } from 'valtio';
|
|
4
4
|
import { Outlet, useNavigate, useLocation } from '@modern-js/runtime/router';
|
|
5
|
-
import { Box
|
|
5
|
+
import { Box } from '@radix-ui/themes';
|
|
6
6
|
import _ from 'lodash';
|
|
7
|
-
import {
|
|
7
|
+
import { HomeIcon } from '@radix-ui/react-icons';
|
|
8
8
|
import { useStore } from '@/stores';
|
|
9
9
|
import { InternalTab } from '@/types';
|
|
10
10
|
import Breadcrumbs from '@/components/Breadcrumbs';
|
|
@@ -48,10 +48,6 @@ export const RootTabs: React.FC = () => {
|
|
|
48
48
|
))}
|
|
49
49
|
</TabList>
|
|
50
50
|
<Box grow="1" />
|
|
51
|
-
<SettingButton>
|
|
52
|
-
<GearIcon />
|
|
53
|
-
<Text>Settings</Text>
|
|
54
|
-
</SettingButton>
|
|
55
51
|
</TabNavigator>
|
|
56
52
|
<TabContent>
|
|
57
53
|
<Box grow="0">
|
|
@@ -72,11 +68,6 @@ export const RootTabs: React.FC = () => {
|
|
|
72
68
|
);
|
|
73
69
|
};
|
|
74
70
|
|
|
75
|
-
const SettingButton = styled(Button)({
|
|
76
|
-
'--accent-9': 'var(--gray-5)',
|
|
77
|
-
'--accent-10': 'var(--gray-6)',
|
|
78
|
-
});
|
|
79
|
-
|
|
80
71
|
const IconBox = styled(Box)({
|
|
81
72
|
width: '2rem',
|
|
82
73
|
height: '2rem',
|
|
@@ -34,7 +34,7 @@ const Page: React.FC = () => {
|
|
|
34
34
|
return (
|
|
35
35
|
<Flex direction="column" align="center">
|
|
36
36
|
<Flex gap="2">
|
|
37
|
-
<
|
|
37
|
+
<LogoImage src={store.assets.logo} />
|
|
38
38
|
<LogoHeading src={srcHeading} />
|
|
39
39
|
</Flex>
|
|
40
40
|
<Description>
|
|
@@ -120,3 +120,9 @@ const Description = styled(Text)({
|
|
|
120
120
|
const LogoHeading = styled.img({
|
|
121
121
|
width: '10rem',
|
|
122
122
|
});
|
|
123
|
+
|
|
124
|
+
const LogoImage = styled.img({
|
|
125
|
+
width: '2rem',
|
|
126
|
+
height: '2rem',
|
|
127
|
+
objectFit: 'contain',
|
|
128
|
+
});
|