@memberjunction/ng-whiteboard 6.1.4 → 6.2.0-edge.1
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/lib/whiteboard-board.component.d.ts +1 -1
- package/dist/lib/whiteboard-board.component.js +2 -2
- package/dist/lib/whiteboard-board.component.js.map +1 -1
- package/dist/lib/whiteboard-host.component.d.ts +12 -2
- package/dist/lib/whiteboard-host.component.d.ts.map +1 -1
- package/dist/lib/whiteboard-host.component.js +17 -7
- package/dist/lib/whiteboard-host.component.js.map +1 -1
- package/dist/lib/whiteboard-state.d.ts +2 -2
- package/dist/lib/whiteboard-state.js +5 -5
- package/dist/lib/whiteboard-state.js.map +1 -1
- package/dist/lib/whiteboard-zoom.component.d.ts +3 -3
- package/dist/lib/whiteboard-zoom.component.js +7 -7
- package/dist/lib/whiteboard-zoom.component.js.map +1 -1
- package/package.json +6 -6
|
@@ -295,7 +295,7 @@ export declare class RealtimeWhiteboardBoardComponent implements OnInit, OnDestr
|
|
|
295
295
|
StickyTintClass(item: WhiteboardStickyItem): string;
|
|
296
296
|
HighlightTag(item: WhiteboardHighlightItem): string;
|
|
297
297
|
/** Family key → CSS font stack ('sans' = null so the board's default font cascades). */
|
|
298
|
-
private static readonly
|
|
298
|
+
private static readonly fontStacks;
|
|
299
299
|
/** Inline font-size for a styled text/sticky item (null = the kind's CSS default). */
|
|
300
300
|
ItemFontSize(item: WhiteboardStickyItem | WhiteboardTextItem): string | null;
|
|
301
301
|
/** Inline font-family stack for a styled text/sticky item (null = inherit). */
|
|
@@ -1166,7 +1166,7 @@ export class RealtimeWhiteboardBoardComponent {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
// ────────────────────────────────────────────── text styling
|
|
1168
1168
|
/** Family key → CSS font stack ('sans' = null so the board's default font cascades). */
|
|
1169
|
-
static { this.
|
|
1169
|
+
static { this.fontStacks = {
|
|
1170
1170
|
sans: null,
|
|
1171
1171
|
serif: 'Georgia, "Times New Roman", serif',
|
|
1172
1172
|
mono: 'var(--mj-font-mono, ui-monospace, "SF Mono", Menlo, monospace)'
|
|
@@ -1177,7 +1177,7 @@ export class RealtimeWhiteboardBoardComponent {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
/** Inline font-family stack for a styled text/sticky item (null = inherit). */
|
|
1179
1179
|
ItemFontFamily(item) {
|
|
1180
|
-
return item.FontFamily ? RealtimeWhiteboardBoardComponent.
|
|
1180
|
+
return item.FontFamily ? RealtimeWhiteboardBoardComponent.fontStacks[item.FontFamily] : null;
|
|
1181
1181
|
}
|
|
1182
1182
|
/** Inline font-weight for a styled text/sticky item (null = the kind's CSS default). */
|
|
1183
1183
|
ItemFontWeight(item) {
|