@difizen/libro-lab 0.2.22 → 0.2.24

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.js CHANGED
@@ -315,7 +315,7 @@ export function SuccIcon(props) {
315
315
  children: /*#__PURE__*/_jsx("g", {
316
316
  id: "1.2\u5BB9\u5668\u52A0\u8F7D\u5B8C\u6210",
317
317
  transform: "translate(-1392.000000, -1073.000000)",
318
- fill: "currentColor",
318
+ fill: "#52C41A",
319
319
  children: /*#__PURE__*/_jsx("g", {
320
320
  id: "\u7F16\u7EC4-26",
321
321
  transform: "translate(24.000000, 1070.000000)",
package/es/index.less CHANGED
@@ -15,8 +15,9 @@ a:-webkit-any-link {
15
15
  .mana-side-tab-view {
16
16
  .mana-tabs-left {
17
17
  .mana-tabs-nav {
18
- background-color: var(--mana-ant-color-bg-elevated);
18
+ background-color: var(--mana-libro-lab-left-tab-background);
19
19
  min-width: 40px;
20
+ border-right: unset;
20
21
 
21
22
  .mana-tabs-ink-bar {
22
23
  display: none;
@@ -48,14 +49,16 @@ a:-webkit-any-link {
48
49
 
49
50
  .mana-tabs-tab-btn:hover {
50
51
  .mana-tab-icon {
51
- color: var(--mana-ant-color-icon);
52
+ color: var(--mana--libro-lab-left-tab-bnt-color);
52
53
  }
53
54
  }
54
55
 
55
56
  .mana-tabs-tab-active {
56
57
  .mana-tabs-tab-btn {
58
+ background-color: var(--mana-libro-lab-left-tab-active-bnt-background);
59
+
57
60
  .mana-tab-icon {
58
- color: var(--mana-ant-color-icon-hover);
61
+ color: var(--mana--libro-lab-left-tab-bnt-color);
59
62
  }
60
63
  }
61
64
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lab-color-registry.d.ts","sourceRoot":"","sources":["../src/lab-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAS,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,qBACa,oBAAqB,YAAW,iBAAiB;IAC5D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CAgH5C"}
1
+ {"version":3,"file":"lab-color-registry.d.ts","sourceRoot":"","sources":["../src/lab-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAS,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,qBACa,oBAAqB,YAAW,iBAAiB;IAC5D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CAgJ5C"}
@@ -48,7 +48,7 @@ export var LabColorContribution = (_dec = singleton({
48
48
  },
49
49
  description: 'welcome'
50
50
  }, {
51
- id: 'libro.lab.welcome.h3.text',
51
+ id: 'libro.lab.welcome.h3.color',
52
52
  defaults: {
53
53
  dark: '#EDEEEF',
54
54
  light: Color.rgba(0, 10, 26, 0.89)
@@ -117,6 +117,34 @@ export var LabColorContribution = (_dec = singleton({
117
117
  light: '#ffffff'
118
118
  },
119
119
  description: ''
120
+ }, {
121
+ id: 'libro.lab.left.tab.background',
122
+ defaults: {
123
+ dark: '#161b21',
124
+ light: '#fcfcfc'
125
+ },
126
+ description: ''
127
+ }, {
128
+ id: 'libro.lab.left.tab.active.bnt.background',
129
+ defaults: {
130
+ dark: '#ffffff1a',
131
+ light: '#000a1a1f'
132
+ },
133
+ description: ''
134
+ }, {
135
+ id: 'libro.lab.left.tab.active.bnt.color',
136
+ defaults: {
137
+ dark: Color.rgba(255, 255, 255, 0.85),
138
+ light: '#000a1a7f'
139
+ },
140
+ description: ''
141
+ }, {
142
+ id: 'libro.lab.left.tab.bnt.color',
143
+ defaults: {
144
+ dark: Color.rgba(255, 255, 255, 0.45),
145
+ light: '#000a1a7f'
146
+ },
147
+ description: ''
120
148
  });
121
149
  }
122
150
  }]);
@@ -21,7 +21,6 @@
21
21
  height: 28px;
22
22
  min-height: 28px;
23
23
  background: var(--mana-libro-lab-footer-background);
24
- box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 12%);
25
24
  }
26
25
 
27
26
  .mana-header {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-lab",
3
- "version": "0.2.22",
3
+ "version": "0.2.24",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -34,15 +34,15 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^5.1.0",
37
- "@difizen/libro-core": "^0.2.22",
38
- "@difizen/libro-jupyter": "^0.2.22",
39
- "@difizen/libro-kernel": "^0.2.22",
40
- "@difizen/libro-prompt-cell": "^0.2.22",
41
- "@difizen/libro-terminal": "^0.2.22",
42
- "@difizen/libro-toc": "^0.2.22",
43
- "@difizen/libro-cofine-editor-core": "^0.2.22",
44
- "@difizen/libro-language-client": "^0.2.22",
45
- "@difizen/libro-widget": "^0.2.22",
37
+ "@difizen/libro-core": "^0.2.24",
38
+ "@difizen/libro-jupyter": "^0.2.24",
39
+ "@difizen/libro-kernel": "^0.2.24",
40
+ "@difizen/libro-prompt-cell": "^0.2.24",
41
+ "@difizen/libro-terminal": "^0.2.24",
42
+ "@difizen/libro-toc": "^0.2.24",
43
+ "@difizen/libro-cofine-editor-core": "^0.2.24",
44
+ "@difizen/libro-language-client": "^0.2.24",
45
+ "@difizen/libro-widget": "^0.2.24",
46
46
  "@difizen/mana-app": "latest",
47
47
  "@difizen/mana-common": "latest",
48
48
  "@difizen/mana-react": "latest",
@@ -306,7 +306,7 @@ export function SuccIcon(props: IProps) {
306
306
  <g
307
307
  id="1.2容器加载完成"
308
308
  transform="translate(-1392.000000, -1073.000000)"
309
- fill="currentColor"
309
+ fill="#52C41A"
310
310
  >
311
311
  <g id="编组-26" transform="translate(24.000000, 1070.000000)">
312
312
  <g id="编组-3" transform="translate(1252.000000, 0.000000)">
package/src/index.less CHANGED
@@ -15,8 +15,9 @@ a:-webkit-any-link {
15
15
  .mana-side-tab-view {
16
16
  .mana-tabs-left {
17
17
  .mana-tabs-nav {
18
- background-color: var(--mana-ant-color-bg-elevated);
18
+ background-color: var(--mana-libro-lab-left-tab-background);
19
19
  min-width: 40px;
20
+ border-right: unset;
20
21
 
21
22
  .mana-tabs-ink-bar {
22
23
  display: none;
@@ -48,14 +49,16 @@ a:-webkit-any-link {
48
49
 
49
50
  .mana-tabs-tab-btn:hover {
50
51
  .mana-tab-icon {
51
- color: var(--mana-ant-color-icon);
52
+ color: var(--mana--libro-lab-left-tab-bnt-color);
52
53
  }
53
54
  }
54
55
 
55
56
  .mana-tabs-tab-active {
56
57
  .mana-tabs-tab-btn {
58
+ background-color: var(--mana-libro-lab-left-tab-active-bnt-background);
59
+
57
60
  .mana-tab-icon {
58
- color: var(--mana-ant-color-icon-hover);
61
+ color: var(--mana--libro-lab-left-tab-bnt-color);
59
62
  }
60
63
  }
61
64
  }
@@ -35,7 +35,7 @@ export class LabColorContribution implements ColorContribution {
35
35
  description: 'welcome',
36
36
  },
37
37
  {
38
- id: 'libro.lab.welcome.h3.text',
38
+ id: 'libro.lab.welcome.h3.color',
39
39
  defaults: {
40
40
  dark: '#EDEEEF',
41
41
  light: Color.rgba(0, 10, 26, 0.89),
@@ -114,6 +114,38 @@ export class LabColorContribution implements ColorContribution {
114
114
  },
115
115
  description: '',
116
116
  },
117
+ {
118
+ id: 'libro.lab.left.tab.background',
119
+ defaults: {
120
+ dark: '#161b21',
121
+ light: '#fcfcfc',
122
+ },
123
+ description: '',
124
+ },
125
+ {
126
+ id: 'libro.lab.left.tab.active.bnt.background',
127
+ defaults: {
128
+ dark: '#ffffff1a',
129
+ light: '#000a1a1f',
130
+ },
131
+ description: '',
132
+ },
133
+ {
134
+ id: 'libro.lab.left.tab.active.bnt.color',
135
+ defaults: {
136
+ dark: Color.rgba(255, 255, 255, 0.85),
137
+ light: '#000a1a7f',
138
+ },
139
+ description: '',
140
+ },
141
+ {
142
+ id: 'libro.lab.left.tab.bnt.color',
143
+ defaults: {
144
+ dark: Color.rgba(255, 255, 255, 0.45),
145
+ light: '#000a1a7f',
146
+ },
147
+ description: '',
148
+ },
117
149
  );
118
150
  }
119
151
  }
@@ -21,7 +21,6 @@
21
21
  height: 28px;
22
22
  min-height: 28px;
23
23
  background: var(--mana-libro-lab-footer-background);
24
- box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 12%);
25
24
  }
26
25
 
27
26
  .mana-header {