@sequent-org/moodboard 1.4.25 → 1.4.27
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/package.json +2 -1
- package/src/assets/fonts/geist/geist-sans-latin-100-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-200-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-300-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-400-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-500-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-600-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-700-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-800-normal.ttf +0 -0
- package/src/assets/fonts/geist/geist-sans-latin-900-normal.ttf +0 -0
- package/src/core/SaveManager.js +6 -0
- package/src/core/flows/ClipboardFlow.js +16 -6
- package/src/moodboard/bootstrap/MoodBoardUiFactory.js +10 -0
- package/src/moodboard/lifecycle/MoodBoardDestroyer.js +3 -0
- package/src/services/ai/AiClient.js +220 -0
- package/src/services/ai/ChatHistoryStore.js +55 -0
- package/src/services/ai/ChatPresets.js +40 -0
- package/src/services/ai/ChatSessionController.js +220 -0
- package/src/tools/object-tools/selection/TextEditorInteractionController.js +10 -0
- package/src/ui/TextPropertiesPanel.js +7 -1
- package/src/ui/chat/ChatComposer.js +198 -0
- package/src/ui/chat/ChatExtendedPromptModal.js +131 -0
- package/src/ui/chat/ChatMessageList.js +92 -0
- package/src/ui/chat/ChatPillMenu.js +141 -0
- package/src/ui/chat/ChatSettingsPopup.js +171 -0
- package/src/ui/chat/ChatWindow.js +407 -0
- package/src/ui/chat/ChatWindowRenderer.js +214 -0
- package/src/ui/chat/icons.js +113 -0
- package/src/ui/styles/chat.css +920 -0
- package/src/ui/styles/index.css +1 -0
- package/src/ui/styles/workspace.css +73 -1
- package/src/ui/text-properties/TextPropertiesPanelState.js +2 -0
- package/src/utils/styleLoader.js +2 -1
package/src/ui/styles/index.css
CHANGED
|
@@ -1,4 +1,74 @@
|
|
|
1
1
|
/* Fonts */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'GeistSans';
|
|
4
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-100-normal.ttf') format('truetype');
|
|
5
|
+
font-weight: 100;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
font-display: swap;
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'GeistSans';
|
|
11
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-200-normal.ttf') format('truetype');
|
|
12
|
+
font-weight: 200;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
}
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: 'GeistSans';
|
|
18
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-300-normal.ttf') format('truetype');
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-display: swap;
|
|
22
|
+
}
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'GeistSans';
|
|
25
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-400-normal.ttf') format('truetype');
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-display: swap;
|
|
29
|
+
}
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'GeistSans';
|
|
32
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-500-normal.ttf') format('truetype');
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-display: swap;
|
|
36
|
+
}
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: 'GeistSans';
|
|
39
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-600-normal.ttf') format('truetype');
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-display: swap;
|
|
43
|
+
}
|
|
44
|
+
@font-face {
|
|
45
|
+
font-family: 'GeistSans';
|
|
46
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-700-normal.ttf') format('truetype');
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-display: swap;
|
|
50
|
+
}
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: 'GeistSans';
|
|
53
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-800-normal.ttf') format('truetype');
|
|
54
|
+
font-weight: 800;
|
|
55
|
+
font-style: normal;
|
|
56
|
+
font-display: swap;
|
|
57
|
+
}
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'GeistSans';
|
|
60
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-900-normal.ttf') format('truetype');
|
|
61
|
+
font-weight: 900;
|
|
62
|
+
font-style: normal;
|
|
63
|
+
font-display: swap;
|
|
64
|
+
}
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: 'GeistSans Fallback';
|
|
67
|
+
src: url('../../assets/fonts/geist/geist-sans-latin-400-normal.ttf') format('truetype');
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
font-style: normal;
|
|
70
|
+
font-display: swap;
|
|
71
|
+
}
|
|
2
72
|
@font-face {
|
|
3
73
|
font-family: 'Roboto';
|
|
4
74
|
src: url('../../assets/fonts/roboto/Roboto-Regular.ttf') format('truetype');
|
|
@@ -1171,7 +1241,9 @@
|
|
|
1171
1241
|
|
|
1172
1242
|
/* Tooltips */
|
|
1173
1243
|
.moodboard-tooltip {
|
|
1174
|
-
position:
|
|
1244
|
+
position: fixed;
|
|
1245
|
+
top: 0;
|
|
1246
|
+
left: 0;
|
|
1175
1247
|
background: rgba(0, 0, 0, 0.9);
|
|
1176
1248
|
color: white;
|
|
1177
1249
|
padding: 8px 12px;
|
|
@@ -21,6 +21,7 @@ export function createTextPropertiesPanelState() {
|
|
|
21
21
|
_bgPresetButtons: [],
|
|
22
22
|
_onColorDocumentClick: null,
|
|
23
23
|
_onBgDocumentClick: null,
|
|
24
|
+
_docMouseDownAttached: false,
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
|
|
@@ -36,4 +37,5 @@ export function clearTextPropertiesPanelState(panel) {
|
|
|
36
37
|
panel._eventBridgeHandlers = null;
|
|
37
38
|
panel._onColorDocumentClick = null;
|
|
38
39
|
panel._onBgDocumentClick = null;
|
|
40
|
+
panel._docMouseDownAttached = false;
|
|
39
41
|
}
|
package/src/utils/styleLoader.js
CHANGED
|
@@ -16,7 +16,8 @@ export class StyleLoader {
|
|
|
16
16
|
'src/ui/styles/workspace.css',
|
|
17
17
|
'src/ui/styles/toolbar.css',
|
|
18
18
|
'src/ui/styles/topbar.css',
|
|
19
|
-
'src/ui/styles/panels.css'
|
|
19
|
+
'src/ui/styles/panels.css',
|
|
20
|
+
'src/ui/styles/chat.css'
|
|
20
21
|
];
|
|
21
22
|
|
|
22
23
|
for (const stylePath of styles) {
|