@emberai-engg/task-board 0.3.5 → 0.4.0
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/README.md +121 -71
- package/dist/index.d.mts +563 -3
- package/dist/index.d.ts +563 -3
- package/dist/index.js +3473 -41
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3415 -40
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +64 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -40,3 +40,67 @@
|
|
|
40
40
|
.eb-tb-board-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 5px; }
|
|
41
41
|
.eb-tb-board-scroll::-webkit-scrollbar-thumb { background: #c4c4c4; border-radius: 5px; min-width: 40px; }
|
|
42
42
|
.eb-tb-board-scroll::-webkit-scrollbar-thumb:hover { background: #a3a3a3; }
|
|
43
|
+
|
|
44
|
+
/* ─── Markdown WYSIWYG editor ───
|
|
45
|
+
* Used by <MarkdownEditor>. Renders rendered markdown in-place inside a
|
|
46
|
+
* contenteditable so users never see raw `**` / `- ` / `# ` syntax. Storage
|
|
47
|
+
* format on disk is still markdown via the mdToHtml/htmlToMd round-trip.
|
|
48
|
+
*/
|
|
49
|
+
.eb-tb-markdown-editor:empty::before {
|
|
50
|
+
content: attr(data-placeholder);
|
|
51
|
+
color: #a3a3a3;
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
}
|
|
54
|
+
.eb-tb-markdown-editor h1 { font-size: 1.125rem; font-weight: 600; margin: 0.5rem 0 0.25rem; }
|
|
55
|
+
.eb-tb-markdown-editor h2 { font-size: 1rem; font-weight: 600; margin: 0.5rem 0 0.25rem; }
|
|
56
|
+
.eb-tb-markdown-editor h3 { font-size: 0.9375rem; font-weight: 600; margin: 0.5rem 0 0.25rem; }
|
|
57
|
+
.eb-tb-markdown-editor p { margin: 0.25rem 0; }
|
|
58
|
+
.eb-tb-markdown-editor ul { list-style: disc; padding-left: 1.25rem; margin: 0.25rem 0; }
|
|
59
|
+
.eb-tb-markdown-editor ol { list-style: decimal; padding-left: 1.25rem; margin: 0.25rem 0; }
|
|
60
|
+
.eb-tb-markdown-editor li { margin: 0.125rem 0; }
|
|
61
|
+
.eb-tb-markdown-editor blockquote {
|
|
62
|
+
border-left: 2px solid #e5e5e5;
|
|
63
|
+
padding-left: 0.75rem;
|
|
64
|
+
margin: 0.5rem 0;
|
|
65
|
+
color: #525252;
|
|
66
|
+
font-style: italic;
|
|
67
|
+
}
|
|
68
|
+
.eb-tb-markdown-editor code {
|
|
69
|
+
background: #f5f5f5;
|
|
70
|
+
padding: 1px 4px;
|
|
71
|
+
border-radius: 3px;
|
|
72
|
+
font-family: ui-monospace, monospace;
|
|
73
|
+
font-size: 0.9em;
|
|
74
|
+
}
|
|
75
|
+
.eb-tb-markdown-editor .mention-pill {
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
padding: 0 5px;
|
|
79
|
+
margin: 0 1px;
|
|
80
|
+
border-radius: 4px;
|
|
81
|
+
background: #fff1e8;
|
|
82
|
+
color: #ff5e00;
|
|
83
|
+
font-weight: 500;
|
|
84
|
+
font-size: 0.85em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* ─── Thread title shimmer ───
|
|
88
|
+
* Used while a brand-new thread's title is being "generated" (no-title threads
|
|
89
|
+
* mock an AI title-suggestion UX with an ~800ms shimmer).
|
|
90
|
+
*/
|
|
91
|
+
@keyframes eb-tb-shimmer {
|
|
92
|
+
0% { background-position: -200% 0; }
|
|
93
|
+
100% { background-position: 200% 0; }
|
|
94
|
+
}
|
|
95
|
+
.eb-tb-thread-title-skeleton {
|
|
96
|
+
display: inline-block;
|
|
97
|
+
background: linear-gradient(
|
|
98
|
+
90deg,
|
|
99
|
+
rgba(255, 94, 0, 0.05) 25%,
|
|
100
|
+
rgba(255, 94, 0, 0.18) 50%,
|
|
101
|
+
rgba(255, 94, 0, 0.05) 75%
|
|
102
|
+
);
|
|
103
|
+
background-size: 200% 100%;
|
|
104
|
+
animation: eb-tb-shimmer 1.4s ease-in-out infinite;
|
|
105
|
+
border-radius: 4px;
|
|
106
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emberai-engg/task-board",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Reusable Kanban task board component",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
47
|
-
"url": "git+https://github.com/Ember-AI-
|
|
47
|
+
"url": "git+https://github.com/Ember-AI-Engineering/task-board.git"
|
|
48
48
|
}
|
|
49
49
|
}
|