@rsdoctor/components 1.6.3 → 1.6.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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import { Flex } from "antd";
|
|
3
4
|
import { HelpCenter } from "../../components/Overall/help-center.mjs";
|
|
4
5
|
import { BundleAlerts } from "../../components/Alerts/index.mjs";
|
|
5
6
|
import { BundleOverall, CompileOverall, ProjectOverall } from "../../components/Overall/index.mjs";
|
|
@@ -13,7 +14,7 @@ const Component = ()=>{
|
|
|
13
14
|
const { summary, configs, root: cwd, envinfo, errors, name } = project;
|
|
14
15
|
return /*#__PURE__*/ jsx("div", {
|
|
15
16
|
className: index_module.overall,
|
|
16
|
-
children: /*#__PURE__*/ jsxs(
|
|
17
|
+
children: /*#__PURE__*/ jsxs(Flex, {
|
|
17
18
|
className: index_module.columns,
|
|
18
19
|
children: [
|
|
19
20
|
/*#__PURE__*/ jsx("main", {
|
|
@@ -1 +1 @@
|
|
|
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 <
|
|
1
|
+
{"version":3,"file":"pages/Overall/index.mjs","sources":["../../../src/pages/Overall/index.tsx"],"sourcesContent":["import React from 'react';\nimport { Flex } from 'antd';\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 <Flex 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 </Flex>\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","Flex","ResponsiveLayout","ProjectOverall","BundleAlerts","BundleOverall","CompileOverall","HelpCenter","Page"],"mappings":";;;;;;;;;;AAeA,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,mBAACC,MAAIA;YAAC,WAAWD,aAAAA,OAAa;;8BAC5B,IAAC;oBAAK,WAAWA,aAAAA,UAAgB;8BAC/B,mBAACE,kBAAgBA;;0CACf,IAACC,gBAAcA;gCACb,SAASR;gCACT,KAAKC;gCACL,SAASC;gCACT,QAAQC;gCACR,MAAMC;;0CAER,IAACK,cAAYA,CAAAA;;;;8BAIjB,IAAC;oBAAM,WAAWJ,aAAAA,UAAgB;8BAChC,mBAACE,kBAAgBA;;0CACf,IAACG,eAAaA;gCAAC,QAAQP;gCAAQ,KAAKF;;0CACpC,IAACU,gBAAcA;gCAAC,SAASZ;;0CACzB,IAACa,YAAUA,CAAAA;;;;;;;AAMvB;AAEO,MAAMC,OAAOjB"}
|
|
@@ -19,17 +19,24 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.columns-QZp7uT {
|
|
22
|
-
grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
|
|
23
22
|
align-items: flex-start;
|
|
24
23
|
gap: 16px;
|
|
25
24
|
width: 100%;
|
|
26
|
-
display: grid;
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
.mainColumn-qPTakG, .sideColumn-QYJE_Q {
|
|
30
28
|
min-width: 0;
|
|
31
29
|
}
|
|
32
30
|
|
|
31
|
+
.mainColumn-qPTakG {
|
|
32
|
+
flex: 3 1 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.sideColumn-QYJE_Q {
|
|
36
|
+
flex: 320px;
|
|
37
|
+
min-width: 300px;
|
|
38
|
+
}
|
|
39
|
+
|
|
33
40
|
.sideColumn-QYJE_Q .ant-card {
|
|
34
41
|
background: var(--color-bg-box-subtle);
|
|
35
42
|
}
|
|
@@ -40,7 +47,12 @@
|
|
|
40
47
|
|
|
41
48
|
@media (max-width: 1200px) {
|
|
42
49
|
.columns-QZp7uT {
|
|
43
|
-
|
|
50
|
+
flex-wrap: wrap;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.mainColumn-qPTakG, .sideColumn-QYJE_Q {
|
|
54
|
+
flex-basis: 100%;
|
|
55
|
+
width: 100%;
|
|
44
56
|
}
|
|
45
57
|
}
|
|
46
58
|
|
|
@@ -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,
|
|
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;AACb;;AAxBid;EA2B/c,YAAY;AACd;;AA5Bqf;EA+Bnf,WAAW;AACb;;AAhC4gB;EAmC1gB,WAAW;EACX,gBAAgB;AAClB;;AArCujB;EAwCrjB,sCAAsC;AACxC;;AAzC4nB;EA4C1nB,mBAAmB;AACrB;;AA7C4pB;EAA0B;IAiDlrB,eAAe;EACjB;;EAlD4sB;IAqD1sB,gBAAgB;IAChB,WAAW;EACb;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{width:100%;align-items:flex-start;gap:16px}.mainColumn,.sideColumn{min-width:0}.mainColumn{flex:3 1 0}.sideColumn{flex:1 1 320px;min-width:300px}.sideColumn :global(.ant-card){background:var(--color-bg-box-subtle)}.layout .row{margin-bottom:16px}@media(max-width: 1200px){.columns{flex-wrap:wrap}.mainColumn,.sideColumn{flex-basis:100%;width:100%}}"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/components",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
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/graph": "1.6.
|
|
78
|
-
"@rsdoctor/types": "1.6.
|
|
79
|
-
"@rsdoctor/utils": "1.6.
|
|
77
|
+
"@rsdoctor/graph": "1.6.4",
|
|
78
|
+
"@rsdoctor/types": "1.6.4",
|
|
79
|
+
"@rsdoctor/utils": "1.6.4"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"react": ">=19",
|