@nine-lab/nine-mu 0.1.357 → 0.1.359
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/dist/nine-mu.js +24 -29
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/exception/ExceptionHook.js +14 -19
package/package.json
CHANGED
|
@@ -5,38 +5,33 @@ import React from 'react';
|
|
|
5
5
|
// ==========================================
|
|
6
6
|
export const NineExceptionStyles = {
|
|
7
7
|
container: {
|
|
8
|
-
// 1. 화면 전체를 꽉 채우는 터미널 화면으로 전환
|
|
9
|
-
position: 'absolute',
|
|
10
|
-
top: 0,
|
|
11
|
-
left: 0,
|
|
12
|
-
width: '100%',
|
|
13
8
|
height: '100%',
|
|
14
|
-
padding: '
|
|
15
|
-
boxSizing: 'border-box',
|
|
9
|
+
padding: '20px 25px', // 위아래 여백을 적절히 줄여 꽉 찬 느낌 유도
|
|
16
10
|
background: '#121314', // 터미널 다크 블랙 배경
|
|
11
|
+
// ⭐ 모든 요소가 완벽한 터미널 정렬을 갖추도록 고정폭 서체를 부모에 강제 주입
|
|
17
12
|
fontFamily: 'Consolas, Monaco, "Courier New", monospace',
|
|
18
13
|
textAlign: 'left',
|
|
19
|
-
|
|
14
|
+
boxShadow: '0 4px 12px rgba(0,0,0,0.3)',
|
|
20
15
|
|
|
21
|
-
//
|
|
16
|
+
// 내부 라인들을 인라인 텍스트 흐름처럼 촘촘하게 쌓기 위해 flex 간격 조정
|
|
22
17
|
display: 'flex',
|
|
23
18
|
flexDirection: 'column',
|
|
24
|
-
gap: '
|
|
25
|
-
lineHeight: '1'
|
|
19
|
+
gap: '10px', // 줄간 간격을 10px로 타이트하게 조여 터미널 감성 극대화
|
|
20
|
+
lineHeight: '1.2' // 모든 라인의 글자 높이 기준 통일
|
|
26
21
|
},
|
|
27
22
|
systemError: {
|
|
28
|
-
color: '#999',
|
|
23
|
+
color: '#999', // 요청하신 대로 #999 색상 지정
|
|
29
24
|
fontWeight: 'bold',
|
|
30
25
|
fontSize: '14px',
|
|
31
|
-
margin: '0', //
|
|
26
|
+
margin: '0', // 수동 마진 제거 (부모 gap으로 일괄 제어)
|
|
32
27
|
letterSpacing: '0.5px',
|
|
33
28
|
padding: '0'
|
|
34
29
|
},
|
|
35
30
|
pre: {
|
|
36
31
|
background: 'transparent',
|
|
37
|
-
color: '#
|
|
32
|
+
color: '#666',
|
|
38
33
|
padding: '0',
|
|
39
|
-
margin: '0', // pre 태그 고유의
|
|
34
|
+
margin: '0', // pre 태그 고유의 불규칙한 여백 완전 제거
|
|
40
35
|
border: 'none',
|
|
41
36
|
overflowX: 'auto',
|
|
42
37
|
whiteSpace: 'pre-wrap',
|
|
@@ -51,17 +46,17 @@ export const NineExceptionStyles = {
|
|
|
51
46
|
padding: '0',
|
|
52
47
|
display: 'flex',
|
|
53
48
|
flexDirection: 'column',
|
|
54
|
-
gap: '
|
|
49
|
+
gap: '10px' // 후속 로그가 찍힐 때도 동일한 간격 유지
|
|
55
50
|
},
|
|
56
51
|
promptRow: {
|
|
57
52
|
margin: '0',
|
|
58
53
|
padding: '0',
|
|
59
54
|
display: 'block',
|
|
60
|
-
color: '#999'
|
|
55
|
+
color: '#999' // 대화형 구문도 완벽하게 #999 색상 일치
|
|
61
56
|
},
|
|
62
57
|
cliLink: {
|
|
63
|
-
color: '#38A169',
|
|
64
|
-
padding: '0',
|
|
58
|
+
color: '#38A169', // 선택지 y는 선명한 터미널 그린
|
|
59
|
+
padding: '0 2px',
|
|
65
60
|
fontFamily: 'Consolas, Monaco, monospace',
|
|
66
61
|
fontSize: '14px',
|
|
67
62
|
fontWeight: 'bold',
|