@thalassic/ui 22.21.0 → 22.23.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/fesm2022/thalassic-ui-charts.mjs +5 -3
- package/fesm2022/thalassic-ui-charts.mjs.map +1 -1
- package/fesm2022/thalassic-ui-media.mjs +3 -3
- package/fesm2022/thalassic-ui-media.mjs.map +1 -1
- package/fesm2022/thalassic-ui-rich-text-editor.mjs +49 -23
- package/fesm2022/thalassic-ui-rich-text-editor.mjs.map +1 -1
- package/fesm2022/thalassic-ui.mjs +1561 -716
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui-charts.d.ts +5 -0
- package/types/thalassic-ui-rich-text-editor.d.ts +18 -0
- package/types/thalassic-ui.d.ts +893 -42
package/package.json
CHANGED
|
@@ -24,6 +24,11 @@ declare class Chart implements OnDestroy {
|
|
|
24
24
|
protected hostClasses: Signal<string[]>;
|
|
25
25
|
constructor();
|
|
26
26
|
protected get canvasElement(): HTMLCanvasElement | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Recolors the chart when the theme changes. Reacts only to the theme signal;
|
|
29
|
+
* everything else is read untracked so unrelated option/element updates don't
|
|
30
|
+
* trigger a redundant chart update.
|
|
31
|
+
*/
|
|
27
32
|
private _initThemeSync;
|
|
28
33
|
ngOnDestroy(): void;
|
|
29
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<Chart, never>;
|
|
@@ -94,11 +94,21 @@ declare class RichTextEditor extends ValueFormControl<string> implements OnDestr
|
|
|
94
94
|
protected readonly linkEditing: WritableSignal<boolean>;
|
|
95
95
|
protected readonly linkUrl: WritableSignal<string>;
|
|
96
96
|
protected readonly labels: RichTextEditorLabels;
|
|
97
|
+
/** The toolbar-control map, resolved once against the schema. */
|
|
97
98
|
private readonly _buttons;
|
|
98
99
|
private _view;
|
|
100
|
+
/**
|
|
101
|
+
* The most recent Markdown this component emitted, used to ignore its own value writes.
|
|
102
|
+
*/
|
|
99
103
|
private _lastEmitted;
|
|
100
104
|
protected readonly classes: Signal<string[]>;
|
|
105
|
+
/**
|
|
106
|
+
* The toolbar layout resolved to renderable entries (separators and controls).
|
|
107
|
+
*/
|
|
101
108
|
protected readonly entries: Signal<RichTextResolvedEntry[]>;
|
|
109
|
+
/**
|
|
110
|
+
* ARIA/state attributes forwarded onto the contenteditable textbox managed by ProseMirror.
|
|
111
|
+
*/
|
|
102
112
|
private readonly _contentAttributes;
|
|
103
113
|
constructor();
|
|
104
114
|
protected isActive(button: RichTextToolbarButton): boolean;
|
|
@@ -126,7 +136,15 @@ declare class RichTextEditor extends ValueFormControl<string> implements OnDestr
|
|
|
126
136
|
* crafted link cannot smuggle an executable payload into the emitted Markdown.
|
|
127
137
|
*/
|
|
128
138
|
private _isSafeHref;
|
|
139
|
+
/**
|
|
140
|
+
* Whether the document holds no content (a single empty top-level block), so the
|
|
141
|
+
* placeholder should show. ProseMirror keeps a trailing `<br>` in empty textblocks,
|
|
142
|
+
* which defeats a CSS `:empty` check, so emptiness is derived from the document model.
|
|
143
|
+
*/
|
|
129
144
|
private _isDocumentEmpty;
|
|
145
|
+
/**
|
|
146
|
+
* Removes the link on the current selection, or opens the link editor to add one.
|
|
147
|
+
*/
|
|
130
148
|
private _toggleLink;
|
|
131
149
|
ngOnDestroy(): void;
|
|
132
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditor, never>;
|