@ehfuse/taskbox 0.11.23 → 0.11.25
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/index.d.ts +1 -0
- package/dist/index.esm.js +12 -12
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +22 -22
- package/dist/index.js.map +4 -4
- package/dist/sections/taskContentStyles.d.ts +86 -0
- package/package.json +3 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 업무 본문(HTML)을 보여 줄 때 제목 · 표 · 인용 · 구분선 · 코드를 편집기(@ehfuse/editor styles.ts)와 같은 값으로 그린다(2026-11-02).
|
|
3
|
+
* 앱 기본 리셋이 제목 크기 · 표 테두리를 지워 보기 화면 · 피드 카드에서는 맨 글자처럼 보였다.
|
|
4
|
+
* 업무 상세 보기 화면과 소비처의 피드 카드가 같이 쓴다 — 값은 여기 한 곳에서만 고친다.
|
|
5
|
+
* 크기는 em 이라 감싼 상자의 글자 크기를 따른다.
|
|
6
|
+
*/
|
|
7
|
+
export declare const taskContentRichSx: {
|
|
8
|
+
readonly "& h1, & h2, & h3, & h4, & h5, & h6": {
|
|
9
|
+
readonly m: "1em 0 0.5em";
|
|
10
|
+
readonly fontWeight: 700;
|
|
11
|
+
readonly lineHeight: 1.3;
|
|
12
|
+
};
|
|
13
|
+
readonly "& > :is(h1, h2, h3, h4, h5, h6):first-child": {
|
|
14
|
+
readonly mt: 0;
|
|
15
|
+
};
|
|
16
|
+
readonly "& h1": {
|
|
17
|
+
readonly fontSize: "2em";
|
|
18
|
+
};
|
|
19
|
+
readonly "& h2": {
|
|
20
|
+
readonly fontSize: "1.5em";
|
|
21
|
+
};
|
|
22
|
+
readonly "& h3": {
|
|
23
|
+
readonly fontSize: "1.17em";
|
|
24
|
+
};
|
|
25
|
+
readonly "& h4": {
|
|
26
|
+
readonly fontSize: "1em";
|
|
27
|
+
};
|
|
28
|
+
readonly "& h5": {
|
|
29
|
+
readonly fontSize: "0.83em";
|
|
30
|
+
};
|
|
31
|
+
readonly "& h6": {
|
|
32
|
+
readonly fontSize: "0.75em";
|
|
33
|
+
};
|
|
34
|
+
readonly "& table:not([border])": {
|
|
35
|
+
readonly borderCollapse: "collapse";
|
|
36
|
+
readonly borderSpacing: 0;
|
|
37
|
+
readonly width: "100%";
|
|
38
|
+
readonly my: "10px";
|
|
39
|
+
};
|
|
40
|
+
readonly "& table:not([border]) > * > tr > th, & table:not([border]) > * > tr > td": {
|
|
41
|
+
readonly border: "1px solid #ddd";
|
|
42
|
+
readonly p: "6px";
|
|
43
|
+
readonly textAlign: "left";
|
|
44
|
+
readonly verticalAlign: "top";
|
|
45
|
+
readonly lineHeight: 1.5;
|
|
46
|
+
};
|
|
47
|
+
readonly "& table:not([border]) > * > tr > th": {
|
|
48
|
+
readonly backgroundColor: "#f5f5f5";
|
|
49
|
+
readonly fontWeight: 700;
|
|
50
|
+
};
|
|
51
|
+
readonly "& td > p, & th > p": {
|
|
52
|
+
readonly my: 0;
|
|
53
|
+
};
|
|
54
|
+
readonly "& blockquote": {
|
|
55
|
+
readonly m: "20px 0";
|
|
56
|
+
readonly p: "4px 20px";
|
|
57
|
+
readonly borderLeft: "4px solid #0066cc";
|
|
58
|
+
readonly fontStyle: "italic";
|
|
59
|
+
readonly color: "#666";
|
|
60
|
+
readonly lineHeight: 1.5;
|
|
61
|
+
};
|
|
62
|
+
readonly "& hr": {
|
|
63
|
+
readonly height: "1px";
|
|
64
|
+
readonly border: 0;
|
|
65
|
+
readonly borderTop: "1px solid #e0e0e0";
|
|
66
|
+
readonly my: "20px";
|
|
67
|
+
};
|
|
68
|
+
readonly "& code": {
|
|
69
|
+
readonly display: "block";
|
|
70
|
+
readonly fontFamily: "\"Roboto\", \"Courier New\", Courier, monospace";
|
|
71
|
+
readonly fontSize: "14px";
|
|
72
|
+
readonly backgroundColor: "#000";
|
|
73
|
+
readonly color: "#fff";
|
|
74
|
+
readonly p: "10px 12px";
|
|
75
|
+
readonly borderRadius: "3px";
|
|
76
|
+
readonly lineHeight: 1.5;
|
|
77
|
+
readonly mb: "10px";
|
|
78
|
+
readonly whiteSpace: "pre-wrap";
|
|
79
|
+
};
|
|
80
|
+
readonly "& code a": {
|
|
81
|
+
readonly color: "skyblue";
|
|
82
|
+
};
|
|
83
|
+
readonly "& strong, & b": {
|
|
84
|
+
readonly fontWeight: 700;
|
|
85
|
+
};
|
|
86
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ehfuse/taskbox",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.25",
|
|
4
4
|
"description": "A React/MUI task inbox component with notices, per-user assignments, read tracking, and mobile card UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"@dnd-kit/utilities": ">=3.0.0",
|
|
62
62
|
"@ehfuse/alerts": ">=1.1.4",
|
|
63
63
|
"@ehfuse/editor": ">=1.1.12",
|
|
64
|
+
"@ehfuse/file-viewer": ">=0.2.37",
|
|
64
65
|
"@ehfuse/forma": ">=3.4.0",
|
|
65
66
|
"@ehfuse/keyboard-state": ">=1.1.1",
|
|
66
67
|
"@ehfuse/mui-color-picker": ">=1.5.0",
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"@dnd-kit/utilities": "^3.2.2",
|
|
98
99
|
"@ehfuse/alerts": "^1.1.4",
|
|
99
100
|
"@ehfuse/editor": "^1.1.13",
|
|
101
|
+
"@ehfuse/file-viewer": "^0.2.37",
|
|
100
102
|
"@ehfuse/forma": "^3.4.0",
|
|
101
103
|
"@ehfuse/keyboard-state": "^1.1.1",
|
|
102
104
|
"@ehfuse/mui-color-picker": "^1.5.4",
|