@rsdoctor/components 1.6.1 → 1.6.2-beta.0
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,6 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Flex } from "antd";
|
|
4
3
|
import { HelpCenter } from "../../components/Overall/help-center.mjs";
|
|
5
4
|
import { BundleAlerts } from "../../components/Alerts/index.mjs";
|
|
6
5
|
import { BundleOverall, CompileOverall, ProjectOverall } from "../../components/Overall/index.mjs";
|
|
@@ -14,7 +13,7 @@ const Component = ()=>{
|
|
|
14
13
|
const { summary, configs, root: cwd, envinfo, errors, name } = project;
|
|
15
14
|
return /*#__PURE__*/ jsx("div", {
|
|
16
15
|
className: index_module.overall,
|
|
17
|
-
children: /*#__PURE__*/ jsxs(
|
|
16
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
18
17
|
className: index_module.columns,
|
|
19
18
|
children: [
|
|
20
19
|
/*#__PURE__*/ jsx("main", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages/Overall/index.mjs","sources":["../../../src/pages/Overall/index.tsx"],"sourcesContent":["import React from 'react';\
|
|
1
|
+
{"version":3,"file":"pages/Overall/index.mjs","sources":["../../../src/pages/Overall/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport { HelpCenter } from '../../components/Overall/help-center';\nimport { BundleAlerts } from '../../components/Alerts';\nimport {\n BundleOverall,\n CompileOverall,\n ProjectOverall,\n} from '../../components/Overall';\nimport { ResponsiveLayout } from './responsiveLayout';\nimport { useProjectInfo } from '../../components/Layout/project-info-context';\n\nimport style from './index.module.scss';\n\nconst Component: React.FC = () => {\n const { project } = useProjectInfo();\n\n if (!project) {\n return null;\n }\n\n const { summary, configs, root: cwd, envinfo, errors, name } = project;\n\n return (\n <div className={style.overall}>\n <div className={style.columns}>\n <main className={style.mainColumn}>\n <ResponsiveLayout>\n <ProjectOverall\n configs={configs}\n cwd={cwd}\n envinfo={envinfo}\n alerts={errors}\n name={name}\n />\n <BundleAlerts />\n </ResponsiveLayout>\n </main>\n\n <aside className={style.sideColumn}>\n <ResponsiveLayout>\n <BundleOverall errors={errors} cwd={cwd} />\n <CompileOverall summary={summary} />\n <HelpCenter />\n </ResponsiveLayout>\n </aside>\n </div>\n </div>\n );\n};\n\nexport const Page = Component;\n\nexport * from './constants';\n"],"names":["Component","project","useProjectInfo","summary","configs","cwd","envinfo","errors","name","style","ResponsiveLayout","ProjectOverall","BundleAlerts","BundleOverall","CompileOverall","HelpCenter","Page"],"mappings":";;;;;;;;;AAcA,MAAMA,YAAsB;IAC1B,MAAM,EAAEC,OAAO,EAAE,GAAGC;IAEpB,IAAI,CAACD,SACH,OAAO;IAGT,MAAM,EAAEE,OAAO,EAAEC,OAAO,EAAE,MAAMC,GAAG,EAAEC,OAAO,EAAEC,MAAM,EAAEC,IAAI,EAAE,GAAGP;IAE/D,OAAO,WAAP,GACE,IAAC;QAAI,WAAWQ,aAAAA,OAAa;kBAC3B,mBAAC;YAAI,WAAWA,aAAAA,OAAa;;8BAC3B,IAAC;oBAAK,WAAWA,aAAAA,UAAgB;8BAC/B,mBAACC,kBAAgBA;;0CACf,IAACC,gBAAcA;gCACb,SAASP;gCACT,KAAKC;gCACL,SAASC;gCACT,QAAQC;gCACR,MAAMC;;0CAER,IAACI,cAAYA,CAAAA;;;;8BAIjB,IAAC;oBAAM,WAAWH,aAAAA,UAAgB;8BAChC,mBAACC,kBAAgBA;;0CACf,IAACG,eAAaA;gCAAC,QAAQN;gCAAQ,KAAKF;;0CACpC,IAACS,gBAAcA;gCAAC,SAASX;;0CACzB,IAACY,YAAUA,CAAAA;;;;;;;AAMvB;AAEO,MAAMC,OAAOhB"}
|
|
@@ -19,24 +19,17 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.columns-QZp7uT {
|
|
22
|
+
grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
|
|
22
23
|
align-items: flex-start;
|
|
23
24
|
gap: 16px;
|
|
24
25
|
width: 100%;
|
|
26
|
+
display: grid;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
.mainColumn-qPTakG, .sideColumn-QYJE_Q {
|
|
28
30
|
min-width: 0;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
|
-
.mainColumn-qPTakG {
|
|
32
|
-
flex: 3 1 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.sideColumn-QYJE_Q {
|
|
36
|
-
flex: 320px;
|
|
37
|
-
min-width: 300px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
33
|
.sideColumn-QYJE_Q .ant-card {
|
|
41
34
|
background: var(--color-bg-box-subtle);
|
|
42
35
|
}
|
|
@@ -47,12 +40,7 @@
|
|
|
47
40
|
|
|
48
41
|
@media (max-width: 1200px) {
|
|
49
42
|
.columns-QZp7uT {
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.mainColumn-qPTakG, .sideColumn-QYJE_Q {
|
|
54
|
-
flex-basis: 100%;
|
|
55
|
-
width: 100%;
|
|
43
|
+
grid-template-columns: minmax(0, 1fr);
|
|
56
44
|
}
|
|
57
45
|
}
|
|
58
46
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/pages/Overall/index.module.scss"],"names":[],"mappings":"AAAA;EACE,6NAA6N;AAC/N;;AAFoO;EAKlO,6BAA6B;AAC/B;;AANmS;EASjS,OAAO;AACT;;AAVwU;EAatU,aAAa;AACf;;AAdyY;EAiBvY,WAAW;AACb;;AAlB6Z;EAqB3Z,uBAAuB;EACvB,SAAS;EACT,WAAW;
|
|
1
|
+
{"version":3,"sources":["webpack://./src/pages/Overall/index.module.scss"],"names":[],"mappings":"AAAA;EACE,6NAA6N;AAC/N;;AAFoO;EAKlO,6BAA6B;AAC/B;;AANmS;EASjS,OAAO;AACT;;AAVwU;EAatU,aAAa;AACf;;AAdyY;EAiBvY,WAAW;AACb;;AAlB6Z;EAqB3Z,wDAAwD;EACxD,uBAAuB;EACvB,SAAS;EACT,WAAW;EACX,aAAa;AACf;;AA1BshB;EA6BphB,YAAY;AACd;;AA9B0jB;EAiCxjB,sCAAsC;AACxC;;AAlC+nB;EAqC7nB,mBAAmB;AACrB;;AAtC+pB;EAA0B;IA0CrrB,qCAAqC;EACvC;AACF","sourcesContent":[":root{--font-family-code: Roboto, Roboto Mono, -apple-system, BlinkMacSystemFont, 'Segoe UI', Menlo, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'}:root :global .ant-layout-content{padding:16px 32px !important}:root :global .ant-tree-title{flex:1}:root :global .ant-tree-node-content-wrapper-normal{display:flex}.overall{width:100%}.columns{display:grid;grid-template-columns:minmax(0, 3fr) minmax(300px, 1fr);width:100%;align-items:flex-start;gap:16px}.mainColumn,.sideColumn{min-width:0}.sideColumn :global(.ant-card){background:var(--color-bg-box-subtle)}.layout .row{margin-bottom:16px}@media(max-width: 1200px){.columns{grid-template-columns:minmax(0, 1fr)}}"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/components",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"repository": {
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"react-markdown": "^10.1.0",
|
|
75
75
|
"socket.io-client": "4.8.1",
|
|
76
76
|
"url-parse": "1.5.10",
|
|
77
|
-
"@rsdoctor/
|
|
78
|
-
"@rsdoctor/
|
|
79
|
-
"@rsdoctor/
|
|
77
|
+
"@rsdoctor/graph": "1.6.2-beta.0",
|
|
78
|
+
"@rsdoctor/utils": "1.6.2-beta.0",
|
|
79
|
+
"@rsdoctor/types": "1.6.2-beta.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"react": ">=19",
|