@difizen/libro-lab 0.1.0 → 0.1.1
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/es/common/icon.d.ts +14 -0
- package/es/common/icon.d.ts.map +1 -0
- package/es/common/icon.js +368 -0
- package/es/common/index.d.ts +2 -0
- package/es/common/index.d.ts.map +1 -0
- package/es/common/index.js +1 -0
- package/es/common/index.less +8 -0
- package/es/github-link/index.d.ts +9 -0
- package/es/github-link/index.d.ts.map +1 -0
- package/es/index.less +9 -0
- package/es/kernel-manager/index.d.ts +8 -0
- package/es/kernel-manager/index.d.ts.map +1 -0
- package/es/lab-app.d.ts +4 -1
- package/es/lab-app.d.ts.map +1 -1
- package/es/lab-app.js +28 -5
- package/es/layout/brand/index.d.ts +8 -0
- package/es/layout/brand/index.d.ts.map +1 -0
- package/es/layout/brand/index.js +1 -1
- package/es/layout/container.d.ts +8 -0
- package/es/layout/container.d.ts.map +1 -0
- package/es/layout/footer/current-file-footer-view.d.ts +1 -2
- package/es/layout/footer/current-file-footer-view.d.ts.map +1 -1
- package/es/layout/footer/current-file-footer-view.js +3 -7
- package/es/layout/footer/footer-view.d.ts +11 -0
- package/es/layout/footer/footer-view.d.ts.map +1 -0
- package/es/layout/footer/index.less +10 -7
- package/es/layout/footer/status-footer-view.d.ts +10 -0
- package/es/layout/footer/status-footer-view.d.ts.map +1 -0
- package/es/layout/footer/status-footer-view.js +73 -0
- package/es/layout/layout-service.d.ts +15 -0
- package/es/layout/layout-service.d.ts.map +1 -0
- package/es/layout/layout-service.js +15 -10
- package/es/layout/layout.d.ts +12 -0
- package/es/layout/layout.d.ts.map +1 -0
- package/es/layout/layout.js +39 -6
- package/es/layout/main.d.ts.map +1 -1
- package/es/layout/main.js +0 -1
- package/es/layout/module.d.ts.map +1 -1
- package/es/layout/module.js +6 -2
- package/es/layout/protocol.d.ts +18 -0
- package/es/layout/protocol.d.ts.map +1 -0
- package/es/layout/protocol.js +2 -1
- package/es/layout/{editor-tab-view.d.ts → saveable-tab-view.d.ts} +2 -2
- package/es/layout/saveable-tab-view.d.ts.map +1 -0
- package/es/layout/{editor-tab-view.js → saveable-tab-view.js} +9 -10
- package/es/menu/menu-bar-view.d.ts +9 -0
- package/es/menu/menu-bar-view.d.ts.map +1 -0
- package/es/menu/menu-command.d.ts +139 -0
- package/es/menu/menu-command.d.ts.map +1 -0
- package/es/module.d.ts.map +1 -1
- package/es/module.js +5 -3
- package/es/toc/libro-toc-panel-view.d.ts.map +1 -1
- package/es/toc/libro-toc-panel-view.js +2 -1
- package/es/welcome/entry-point-view.d.ts +8 -0
- package/es/welcome/entry-point-view.d.ts.map +1 -0
- package/es/welcome/entry-point-view.js +200 -0
- package/es/welcome/index.d.ts +13 -0
- package/es/welcome/index.d.ts.map +1 -0
- package/es/welcome/index.js +32 -4
- package/es/welcome/index.less +102 -1
- package/package.json +4 -3
- package/src/common/icon.tsx +300 -0
- package/src/common/index.less +8 -0
- package/src/common/index.tsx +1 -0
- package/src/index.less +9 -0
- package/src/lab-app.ts +18 -1
- package/src/layout/brand/index.tsx +1 -1
- package/src/layout/footer/current-file-footer-view.tsx +3 -7
- package/src/layout/footer/index.less +10 -7
- package/src/layout/footer/status-footer-view.tsx +45 -0
- package/src/layout/layout-service.ts +7 -5
- package/src/layout/layout.tsx +25 -1
- package/src/layout/main.tsx +0 -1
- package/src/layout/module.ts +8 -2
- package/src/layout/protocol.tsx +8 -0
- package/src/layout/{editor-tab-view.tsx → saveable-tab-view.tsx} +4 -5
- package/src/module.tsx +6 -2
- package/src/toc/libro-toc-panel-view.tsx +2 -1
- package/src/welcome/entry-point-view.tsx +169 -0
- package/src/welcome/index.less +102 -1
- package/src/welcome/index.tsx +43 -5
- package/es/layout/brand/logo.js +0 -41
- package/es/layout/editor-tab-view.d.ts.map +0 -1
- package/es/toc/libro-toc-icons.d.ts +0 -7
- package/es/toc/libro-toc-icons.d.ts.map +0 -1
- package/es/toc/libro-toc-icons.js +0 -38
- package/es/welcome/welcome-icon.js +0 -66
- package/src/layout/brand/logo.tsx +0 -39
- package/src/toc/libro-toc-icons.tsx +0 -35
- package/src/welcome/welcome-icon.tsx +0 -64
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export interface IProps {
|
|
2
|
-
className?: string;
|
|
3
|
-
width?: string;
|
|
4
|
-
height?: string;
|
|
5
|
-
}
|
|
6
|
-
export function TocIcon(props: IProps) {
|
|
7
|
-
return (
|
|
8
|
-
<svg
|
|
9
|
-
width="12px"
|
|
10
|
-
height="14px"
|
|
11
|
-
viewBox="0 0 12 14"
|
|
12
|
-
version="1.1"
|
|
13
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
-
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
15
|
-
>
|
|
16
|
-
<title>source</title>
|
|
17
|
-
<g id="代码片段" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
|
|
18
|
-
<g
|
|
19
|
-
id="1.4编辑状态备份"
|
|
20
|
-
transform="translate(-14.000000, -215.000000)"
|
|
21
|
-
fill="currentColor"
|
|
22
|
-
>
|
|
23
|
-
<g id="编组-2" transform="translate(0.000000, 56.000000)">
|
|
24
|
-
<g id="source" transform="translate(14.359615, 159.750439)">
|
|
25
|
-
<path
|
|
26
|
-
d="M11.3634429,8.03576964 L9.90082151,8.03576964 L9.90082151,5.91521932 C9.90082151,5.85383497 9.85019231,5.80361141 9.78831217,5.80361141 L6.30052278,5.80361141 L6.30052278,4.46431647 L7.81939881,4.46431647 C7.94315907,4.46431647 8.04441748,4.36386935 8.04441748,4.24110065 L8.04441748,0.223215823 C8.04441748,0.100447121 7.94315907,0 7.81939881,0 L3.76906273,0 C3.64530246,0 3.54404406,0.100447121 3.54404406,0.223215823 L3.54404406,4.24110065 C3.54404406,4.36386935 3.64530246,4.46431647 3.76906273,4.46431647 L5.28793876,4.46431647 L5.28793876,5.80361141 L1.80014937,5.80361141 C1.73826923,5.80361141 1.68764003,5.85383497 1.68764003,5.91521932 L1.68764003,8.03576964 L0.225018671,8.03576964 C0.101258402,8.03576964 0,8.13621676 0,8.25898547 L0,12.2768703 C0,12.399639 0.101258402,12.5000861 0.225018671,12.5000861 L4.27535474,12.5000861 C4.39911501,12.5000861 4.50037341,12.399639 4.50037341,12.2768703 L4.50037341,8.25898547 C4.50037341,8.13621676 4.39911501,8.03576964 4.27535474,8.03576964 L2.70022405,8.03576964 L2.70022405,6.80808261 L8.88823749,6.80808261 L8.88823749,8.03576964 L7.3131068,8.03576964 C7.18934653,8.03576964 7.08808813,8.13621676 7.08808813,8.25898547 L7.08808813,12.2768703 C7.08808813,12.399639 7.18934653,12.5000861 7.3131068,12.5000861 L11.3634429,12.5000861 C11.4872031,12.5000861 11.5884615,12.399639 11.5884615,12.2768703 L11.5884615,8.25898547 C11.5884615,8.13621676 11.4872031,8.03576964 11.3634429,8.03576964 Z"
|
|
27
|
-
id="Path"
|
|
28
|
-
></path>
|
|
29
|
-
</g>
|
|
30
|
-
</g>
|
|
31
|
-
</g>
|
|
32
|
-
</g>
|
|
33
|
-
</svg>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export interface IProps {
|
|
2
|
-
className?: string;
|
|
3
|
-
}
|
|
4
|
-
export function WelcomeIcon(props: IProps) {
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width="12px"
|
|
8
|
-
height="12px"
|
|
9
|
-
viewBox="0 0 12 12"
|
|
10
|
-
version="1.1"
|
|
11
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
13
|
-
className={props.className}
|
|
14
|
-
>
|
|
15
|
-
<g id="整体框架部分" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
|
|
16
|
-
<g
|
|
17
|
-
id="1.2容器加载完成"
|
|
18
|
-
transform="translate(-270.000000, -66.000000)"
|
|
19
|
-
fillRule="nonzero"
|
|
20
|
-
>
|
|
21
|
-
<g id="编组-17" transform="translate(262.000000, 56.000000)">
|
|
22
|
-
<g id="setting-fill" transform="translate(8.000000, 10.000000)">
|
|
23
|
-
<rect
|
|
24
|
-
id="矩形"
|
|
25
|
-
fill="#000000"
|
|
26
|
-
opacity="0"
|
|
27
|
-
x="0"
|
|
28
|
-
y="0"
|
|
29
|
-
width="12"
|
|
30
|
-
height="11.7"
|
|
31
|
-
></rect>
|
|
32
|
-
<g id="sql" transform="translate(1.000000, 1.000000)">
|
|
33
|
-
<rect
|
|
34
|
-
id="矩形"
|
|
35
|
-
fill="#000000"
|
|
36
|
-
opacity="0"
|
|
37
|
-
x="0"
|
|
38
|
-
y="0"
|
|
39
|
-
width="10"
|
|
40
|
-
height="10"
|
|
41
|
-
></rect>
|
|
42
|
-
<path
|
|
43
|
-
d="M0.33,6.17 C0.33,7 2.42,7.67 5,7.67 C7.57,7.67 9.66,7 9.67,6.17 L9.67,4.98 C8.71,5.67 6.85,6 5,6 C3.15,6 1.29,5.67 0.33,4.97 L0.33,6.17 Z"
|
|
44
|
-
id="路径"
|
|
45
|
-
fill="#FAAD14"
|
|
46
|
-
></path>
|
|
47
|
-
<path
|
|
48
|
-
d="M9.67,7.3 C8.71,8 6.85,8.33 5,8.33 C3.15,8.33 1.29,8 0.33,7.3 L0.33,8.66 C0.59,9.42 2.6,10 5,10 C7.4,10 9.41,9.42 9.67,8.67 L9.67,7.3 L9.67,7.3 Z M0.33,3.83 C0.33,4.66 2.42,5.33 5,5.33 C7.57,5.33 9.66,4.66 9.67,3.83 L9.67,2.64 C8.71,3.34 6.85,3.67 5,3.67 C3.15,3.67 1.29,3.34 0.33,2.64 L0.33,3.83 Z"
|
|
49
|
-
id="形状"
|
|
50
|
-
fill="#FAAD14"
|
|
51
|
-
></path>
|
|
52
|
-
<path
|
|
53
|
-
d="M0.33,1.5 C0.33,2.32842712 2.42083022,3 5,3 C7.57916978,3 9.67,2.32842712 9.67,1.5 C9.67,0.671572875 7.57916978,0 5,0 C2.42083022,0 0.33,0.671572875 0.33,1.5 Z"
|
|
54
|
-
id="路径"
|
|
55
|
-
fill="#FAAD14"
|
|
56
|
-
></path>
|
|
57
|
-
</g>
|
|
58
|
-
</g>
|
|
59
|
-
</g>
|
|
60
|
-
</g>
|
|
61
|
-
</g>
|
|
62
|
-
</svg>
|
|
63
|
-
);
|
|
64
|
-
}
|