@hmcts/ccd-case-ui-toolkit 7.4.3-redact → 7.4.4

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/index.d.ts CHANGED
@@ -3961,6 +3961,11 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
3961
3961
  onEditorKeyDown(event: KeyboardEvent): void;
3962
3962
  normalisePastedHtml(html: string): string;
3963
3963
  normaliseRichTextValue(value: string): string;
3964
+ /**
3965
+ * Gives intentionally blank paragraphs content so Docmosis preserves them as blank lines.
3966
+ * This runs only when the document has meaningful content, so a completely empty field remains empty.
3967
+ */
3968
+ private preserveDocmosisBlankParagraphs;
3964
3969
  private hasMeaningfulRichTextContent;
3965
3970
  syncAccessibilityLater(): void;
3966
3971
  protected addValidators(caseField: CaseField, control: AbstractControl): void;
@@ -3971,6 +3976,13 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
3971
3976
  private setToolbarTabStop;
3972
3977
  private getEditableElement;
3973
3978
  private normaliseRichTextControlValue;
3979
+ private differsOnlyByDocmosisBlankParagraphs;
3980
+ /**
3981
+ * Canonicalises visually blank paragraphs to <p></p> before comparing two HTML values.
3982
+ * This lets the editor avoid reloading when only the Docmosis blank-line representation changed.
3983
+ */
3984
+ private clearBlankParagraphs;
3985
+ private replaceBlankParagraphContent;
3974
3986
  private editorHasMeaningfulRichTextContent;
3975
3987
  private richTextRequiredValidator;
3976
3988
  private unsafeHtmlTextValidator;