Files
paseo/packages/react-native-enriched-markdown/ios/styles/StyleConfig.h
T
Mohamed Boudra 80c44321cc Move the Markdown engine into the repository and fix two Android list layouts (#10499)
* chore(app): vendor react-native-enriched-markdown with the Paseo patch applied

Copy react-native-enriched-markdown@1.2.0-nightly-20261014-766fc0e67 (upstream
software-mansion/enriched-markdown 766fc0e67) into
packages/react-native-enriched-markdown, with
patches/react-native-enriched-markdown+1.2.0-nightly-20261014-766fc0e67.patch
applied. Nothing else changes in this commit; the package is not a workspace yet.

Reproduce:

  npm pack react-native-enriched-markdown@1.2.0-nightly-20261014-766fc0e67
  tar xzf react-native-enriched-markdown-*.tgz
  mkdir -p t/node_modules && mv package t/node_modules/react-native-enriched-markdown
  (cd t && git init -q && git apply ../patches/react-native-enriched-markdown+*.patch)
  diff -r t/node_modules/react-native-enriched-markdown packages/react-native-enriched-markdown

The diff is empty.

* chore(app): consume react-native-enriched-markdown from its workspace

Make packages/react-native-enriched-markdown a private workspace and point the
app at it, then remove the patch-package patch it replaces.

- package.json: private, version follows the root like every workspace, only the
  postinstall script that downloads tree-sitter grammars. Upstream's
  devDependencies would install a second react-native, so they are gone.
- The package keeps its name, so autolinking, the Gradle project
  :react-native-enriched-markdown, the CocoaPods spec and imports are unchanged.
- Lockfile: drop the nested registry copy under packages/app/node_modules; npm
  links node_modules/react-native-enriched-markdown to the workspace.
- Formatting, lint and knip skip the vendored code. CI routes changes to it
  through the app and browser suites.
- The codegen test checks the vendored package's generated props.
- docs/markdown-renderer.md describes the fork and how to edit it.

* fix(app): keep numbered sub-list markers off their text on Android

From #9964, moved from the package patch into the vendored package.

On Android, a numbered list nested in a bulleted item drew "1." over
the first letters of each item. A nested item's text indent summed the
root list's narrow bullet column with a fixed marginLeft, while its
marker was right-aligned to its own wider "99." column, so the number
landed on the text. iOS already indents from the item's own column.

Backport the Android hunks of upstream enriched-markdown #1015 (size
the number column to the widest marker) and #1023 (nested items start
their text from their own marker column).

test:android now also runs the backported ListRenderingTest and
TaskListInteractionTest suites. docs/markdown-renderer.md lists the
fork's backports, this one and #924, which the removed postinstall
comment used to track.

The vendored tree equals the #9964 patch applied to the pristine
package.

* fix(app): keep Android assistant replies inside their turns

From #10380, moved from the package patch into the vendored package.

On Android, an assistant reply with blockquotes nested inside a list
could overlap its "Worked for ..." footer and the next user message:
the displayed text and the layout measurement applied spans in
different orders, and the list-wide line height inflated the blockquote
spacers when it ran after them.

Use the same span order for Android Markdown measurement and display.
Apply list line height before blockquote spacers so nested quotes keep
their configured padding and the reply fits above the turn footer.

test:android now also runs ListBlockquoteMeasurementTest.

Applied on top of #9964; the two changes share only ListRenderer.kt,
where #10380's import and line-height call sit beside #9964's marker
width code. Every other file equals the #10380 patch applied to the
pristine package.

* chore(app): match the vendored Markdown web block renderer source to its build

The package patch changed lib/module/web/renderers/BlockRenderers.js (the
renderers.codeBlock override and the zoom-in cursor on images) but not
src/web/renderers/BlockRenderers.tsx. The app runs lib, so behavior does
not change. Port both changes into src so src stays the source of lib.
2026-11-23 10:15:43 +07:00

480 lines
19 KiB
Objective-C

#pragma once
#import "ENRMUIKit.h"
NS_ASSUME_NONNULL_BEGIN
/// Pill presentation of a link variant: geometry plus the variant-wide default label and icon.
@interface LinkPillConfig : NSObject
@property (nonatomic, copy) NSString *label;
@property (nonatomic, copy) NSString *iconUri;
/// Nil keeps the icon's own colors.
@property (nonatomic, strong, nullable) RCTUIColor *iconTintColor;
@property (nonatomic, assign) CGFloat borderRadius;
@property (nonatomic, assign) CGFloat paddingHorizontal;
@property (nonatomic, assign) CGFloat paddingVertical;
/// Minimum line height of a block that holds the pill; 0 when unset.
@property (nonatomic, assign) CGFloat lineHeight;
@property (nonatomic, assign) CGFloat borderWidth;
@property (nonatomic, strong) RCTUIColor *borderColor;
@property (nonatomic, assign) CGFloat maxWidth;
@end
/// What one specific link's pill shows (the `linkPillContent` prop), keyed by exact URL.
@interface LinkPillContent : NSObject
@property (nonatomic, copy) NSString *label;
@property (nonatomic, copy) NSString *iconUri;
/// Tint for this link's icon; nil means none was set for the link.
@property (nonatomic, strong, nullable) RCTUIColor *iconTintColor;
@end
/**
* Resolved style for a single URL-pattern variant (e.g. "^user:", "^channel:", "app\\.example\\.com/user/").
* The `pattern` field is a regex tested against the full URL in normalized order.
* Populated from the JS `linkVariants` map by StylePropsUtils and consumed by LinkRenderer.
*/
@interface LinkVariantConfig : NSObject
@property (nonatomic, copy) NSString *fontFamily;
/// Pill presentation for links matching this variant; nil when disabled.
@property (nonatomic, strong, nullable) LinkPillConfig *pill;
@property (nonatomic, copy) NSString *pattern;
@property (nonatomic, strong) RCTUIColor *color;
@property (nonatomic, assign) BOOL underline;
@property (nonatomic, strong, nullable) RCTUIColor *backgroundColor;
@end
@interface StyleConfig : NSObject <NSCopying>
- (instancetype)init;
- (CGFloat)fontScaleMultiplier;
/// `pill.lineHeight`, scaled with the font like the blocks' own line heights.
- (CGFloat)lineHeightForLinkPill:(LinkPillConfig *)pill;
- (void)setFontScaleMultiplier:(CGFloat)newValue;
- (CGFloat)maxFontSizeMultiplier;
- (void)setMaxFontSizeMultiplier:(CGFloat)newValue;
// Primary font properties
- (RCTUIColor *)primaryColor;
- (void)setPrimaryColor:(RCTUIColor *)newValue;
- (NSNumber *)primaryFontSize;
- (void)setPrimaryFontSize:(NSNumber *)newValue;
- (NSString *)primaryFontWeight;
- (void)setPrimaryFontWeight:(NSString *)newValue;
- (NSString *)primaryFontFamily;
- (void)setPrimaryFontFamily:(NSString *)newValue;
- (UIFont *)primaryFont;
// Paragraph properties
- (CGFloat)paragraphFontSize;
- (void)setParagraphFontSize:(CGFloat)newValue;
- (NSString *)paragraphFontFamily;
- (void)setParagraphFontFamily:(NSString *)newValue;
- (NSString *)paragraphFontWeight;
- (void)setParagraphFontWeight:(NSString *)newValue;
- (RCTUIColor *)paragraphColor;
- (void)setParagraphColor:(RCTUIColor *)newValue;
- (CGFloat)paragraphMarginTop;
- (void)setParagraphMarginTop:(CGFloat)newValue;
- (CGFloat)paragraphMarginBottom;
- (void)setParagraphMarginBottom:(CGFloat)newValue;
- (CGFloat)paragraphLineHeight;
- (void)setParagraphLineHeight:(CGFloat)newValue;
- (NSTextAlignment)paragraphTextAlign;
- (void)setParagraphTextAlign:(NSTextAlignment)newValue;
- (UIFont *)paragraphFont;
// H1 properties
- (CGFloat)h1FontSize;
- (void)setH1FontSize:(CGFloat)newValue;
- (NSString *)h1FontFamily;
- (void)setH1FontFamily:(NSString *)newValue;
- (NSString *)h1FontWeight;
- (void)setH1FontWeight:(NSString *)newValue;
- (RCTUIColor *)h1Color;
- (void)setH1Color:(RCTUIColor *)newValue;
- (CGFloat)h1MarginTop;
- (void)setH1MarginTop:(CGFloat)newValue;
- (CGFloat)h1MarginBottom;
- (void)setH1MarginBottom:(CGFloat)newValue;
- (CGFloat)h1LineHeight;
- (void)setH1LineHeight:(CGFloat)newValue;
- (NSTextAlignment)h1TextAlign;
- (void)setH1TextAlign:(NSTextAlignment)newValue;
- (UIFont *)h1Font;
// H2 properties
- (CGFloat)h2FontSize;
- (void)setH2FontSize:(CGFloat)newValue;
- (NSString *)h2FontFamily;
- (void)setH2FontFamily:(NSString *)newValue;
- (NSString *)h2FontWeight;
- (void)setH2FontWeight:(NSString *)newValue;
- (RCTUIColor *)h2Color;
- (void)setH2Color:(RCTUIColor *)newValue;
- (CGFloat)h2MarginTop;
- (void)setH2MarginTop:(CGFloat)newValue;
- (CGFloat)h2MarginBottom;
- (void)setH2MarginBottom:(CGFloat)newValue;
- (CGFloat)h2LineHeight;
- (void)setH2LineHeight:(CGFloat)newValue;
- (NSTextAlignment)h2TextAlign;
- (void)setH2TextAlign:(NSTextAlignment)newValue;
- (UIFont *)h2Font;
// H3 properties
- (CGFloat)h3FontSize;
- (void)setH3FontSize:(CGFloat)newValue;
- (NSString *)h3FontFamily;
- (void)setH3FontFamily:(NSString *)newValue;
- (NSString *)h3FontWeight;
- (void)setH3FontWeight:(NSString *)newValue;
- (RCTUIColor *)h3Color;
- (void)setH3Color:(RCTUIColor *)newValue;
- (CGFloat)h3MarginTop;
- (void)setH3MarginTop:(CGFloat)newValue;
- (CGFloat)h3MarginBottom;
- (void)setH3MarginBottom:(CGFloat)newValue;
- (CGFloat)h3LineHeight;
- (void)setH3LineHeight:(CGFloat)newValue;
- (NSTextAlignment)h3TextAlign;
- (void)setH3TextAlign:(NSTextAlignment)newValue;
- (UIFont *)h3Font;
// H4 properties
- (CGFloat)h4FontSize;
- (void)setH4FontSize:(CGFloat)newValue;
- (NSString *)h4FontFamily;
- (void)setH4FontFamily:(NSString *)newValue;
- (NSString *)h4FontWeight;
- (void)setH4FontWeight:(NSString *)newValue;
- (RCTUIColor *)h4Color;
- (void)setH4Color:(RCTUIColor *)newValue;
- (CGFloat)h4MarginTop;
- (void)setH4MarginTop:(CGFloat)newValue;
- (CGFloat)h4MarginBottom;
- (void)setH4MarginBottom:(CGFloat)newValue;
- (CGFloat)h4LineHeight;
- (void)setH4LineHeight:(CGFloat)newValue;
- (NSTextAlignment)h4TextAlign;
- (void)setH4TextAlign:(NSTextAlignment)newValue;
- (UIFont *)h4Font;
// H5 properties
- (CGFloat)h5FontSize;
- (void)setH5FontSize:(CGFloat)newValue;
- (NSString *)h5FontFamily;
- (void)setH5FontFamily:(NSString *)newValue;
- (NSString *)h5FontWeight;
- (void)setH5FontWeight:(NSString *)newValue;
- (RCTUIColor *)h5Color;
- (void)setH5Color:(RCTUIColor *)newValue;
- (CGFloat)h5MarginTop;
- (void)setH5MarginTop:(CGFloat)newValue;
- (CGFloat)h5MarginBottom;
- (void)setH5MarginBottom:(CGFloat)newValue;
- (CGFloat)h5LineHeight;
- (void)setH5LineHeight:(CGFloat)newValue;
- (NSTextAlignment)h5TextAlign;
- (void)setH5TextAlign:(NSTextAlignment)newValue;
- (UIFont *)h5Font;
// H6 properties
- (CGFloat)h6FontSize;
- (void)setH6FontSize:(CGFloat)newValue;
- (NSString *)h6FontFamily;
- (void)setH6FontFamily:(NSString *)newValue;
- (NSString *)h6FontWeight;
- (void)setH6FontWeight:(NSString *)newValue;
- (RCTUIColor *)h6Color;
- (void)setH6Color:(RCTUIColor *)newValue;
- (CGFloat)h6MarginTop;
- (void)setH6MarginTop:(CGFloat)newValue;
- (CGFloat)h6MarginBottom;
- (void)setH6MarginBottom:(CGFloat)newValue;
- (CGFloat)h6LineHeight;
- (void)setH6LineHeight:(CGFloat)newValue;
- (NSTextAlignment)h6TextAlign;
- (void)setH6TextAlign:(NSTextAlignment)newValue;
- (UIFont *)h6Font;
// Link properties
- (NSString *)linkFontFamily;
- (void)setLinkFontFamily:(NSString *)newValue;
- (RCTUIColor *)linkColor;
- (void)setLinkColor:(RCTUIColor *)newValue;
- (BOOL)linkUnderline;
- (void)setLinkUnderline:(BOOL)newValue;
- (nullable RCTUIColor *)linkBackgroundColor;
- (void)setLinkBackgroundColor:(nullable RCTUIColor *)newValue;
- (NSArray<LinkVariantConfig *> *)linkVariants;
- (void)setLinkVariants:(NSArray<LinkVariantConfig *> *)newValue;
- (nullable LinkVariantConfig *)effectiveLinkVariantForURL:(NSString *)url;
// Strong properties
- (NSString *)strongFontFamily;
- (void)setStrongFontFamily:(NSString *)newValue;
- (NSString *)strongFontWeight;
- (void)setStrongFontWeight:(NSString *)newValue;
- (RCTUIColor *)strongColor;
- (void)setStrongColor:(RCTUIColor *)newValue;
// Emphasis properties
- (NSString *)emphasisFontFamily;
- (void)setEmphasisFontFamily:(NSString *)newValue;
- (NSString *)emphasisFontStyle;
- (void)setEmphasisFontStyle:(NSString *)newValue;
- (RCTUIColor *)emphasisColor;
- (void)setEmphasisColor:(RCTUIColor *)newValue;
// Strikethrough properties
- (RCTUIColor *)strikethroughColor;
- (void)setStrikethroughColor:(RCTUIColor *)newValue;
// Highlight properties
- (nullable RCTUIColor *)highlightColor;
- (void)setHighlightColor:(nullable RCTUIColor *)newValue;
- (nullable RCTUIColor *)highlightBackgroundColor;
- (void)setHighlightBackgroundColor:(nullable RCTUIColor *)newValue;
// Underline properties
- (RCTUIColor *)underlineColor;
- (void)setUnderlineColor:(RCTUIColor *)newValue;
// Code properties
- (NSString *)codeFontFamily;
- (void)setCodeFontFamily:(NSString *)newValue;
- (CGFloat)codeFontScale;
- (void)setCodeFontScale:(CGFloat)newValue;
- (CGFloat)codeFontSize;
- (void)setCodeFontSize:(CGFloat)newValue;
- (RCTUIColor *)codeColor;
- (void)setCodeColor:(RCTUIColor *)newValue;
- (RCTUIColor *)codeBackgroundColor;
- (void)setCodeBackgroundColor:(RCTUIColor *)newValue;
- (RCTUIColor *)codeBorderColor;
- (void)setCodeBorderColor:(RCTUIColor *)newValue;
// Image properties
- (CGFloat)imageHeight;
- (void)setImageHeight:(CGFloat)newValue;
- (CGFloat)imageMaxHeight;
- (void)setImageMaxHeight:(CGFloat)newValue;
- (CGFloat)imageAspectRatio;
- (void)setImageAspectRatio:(CGFloat)newValue;
- (NSString *)imageResizeMode;
- (void)setImageResizeMode:(NSString *)newValue;
- (CGFloat)imageBorderRadius;
- (void)setImageBorderRadius:(CGFloat)newValue;
- (CGFloat)imageMarginTop;
- (void)setImageMarginTop:(CGFloat)newValue;
- (CGFloat)imageMarginBottom;
- (void)setImageMarginBottom:(CGFloat)newValue;
- (nullable NSDictionary<NSString *, NSString *> *)imageRequestHeaders;
- (void)setImageRequestHeaders:(nullable NSDictionary<NSString *, NSString *> *)newValue;
// Per-link pill content, keyed by exact URL
- (nullable NSDictionary<NSString *, LinkPillContent *> *)linkPillContent;
- (void)setLinkPillContent:(nullable NSDictionary<NSString *, LinkPillContent *> *)newValue;
// Video properties
- (CGFloat)videoMarginTop;
- (void)setVideoMarginTop:(CGFloat)newValue;
- (CGFloat)videoMarginBottom;
- (void)setVideoMarginBottom:(CGFloat)newValue;
- (CGFloat)videoBorderRadius;
- (void)setVideoBorderRadius:(CGFloat)newValue;
- (CGFloat)videoAspectRatio;
- (void)setVideoAspectRatio:(CGFloat)newValue;
- (RCTUIColor *)videoBackgroundColor;
- (void)setVideoBackgroundColor:(RCTUIColor *)newValue;
// Inline image properties
- (CGFloat)inlineImageSize;
- (void)setInlineImageSize:(CGFloat)newValue;
// Blockquote properties
- (CGFloat)blockquoteFontSize;
- (void)setBlockquoteFontSize:(CGFloat)newValue;
- (NSString *)blockquoteFontFamily;
- (void)setBlockquoteFontFamily:(NSString *)newValue;
- (NSString *)blockquoteFontWeight;
- (void)setBlockquoteFontWeight:(NSString *)newValue;
- (RCTUIColor *)blockquoteColor;
- (void)setBlockquoteColor:(RCTUIColor *)newValue;
- (CGFloat)blockquoteMarginTop;
- (void)setBlockquoteMarginTop:(CGFloat)newValue;
- (CGFloat)blockquoteMarginBottom;
- (void)setBlockquoteMarginBottom:(CGFloat)newValue;
- (CGFloat)blockquoteLineHeight;
- (void)setBlockquoteLineHeight:(CGFloat)newValue;
- (UIFont *)blockquoteFont;
- (RCTUIColor *)blockquoteBorderColor;
- (void)setBlockquoteBorderColor:(RCTUIColor *)newValue;
- (CGFloat)blockquoteBorderWidth;
- (void)setBlockquoteBorderWidth:(CGFloat)newValue;
- (CGFloat)blockquoteGapWidth;
- (void)setBlockquoteGapWidth:(CGFloat)newValue;
- (RCTUIColor *)blockquoteBackgroundColor;
- (void)setBlockquoteBackgroundColor:(RCTUIColor *)newValue;
- (CGFloat)blockquoteBorderRadius;
- (void)setBlockquoteBorderRadius:(CGFloat)newValue;
- (CGFloat)blockquotePadding;
- (void)setBlockquotePadding:(CGFloat)newValue;
// Per-admonition-type colors (keyed by "note"/"tip"/"important"/"warning"/"caution").
- (void)setAdmonitionColors:(NSDictionary<NSString *, RCTUIColor *> *)colors
backgroundColors:(NSDictionary<NSString *, RCTUIColor *> *)backgroundColors;
- (RCTUIColor *)admonitionColorForType:(NSString *)type;
- (RCTUIColor *)admonitionBackgroundColorForType:(NSString *)type;
// List style properties (combined for both ordered and unordered lists)
- (CGFloat)listStyleFontSize;
- (void)setListStyleFontSize:(CGFloat)newValue;
- (NSString *)listStyleFontFamily;
- (void)setListStyleFontFamily:(NSString *)newValue;
- (NSString *)listStyleFontWeight;
- (void)setListStyleFontWeight:(NSString *)newValue;
- (RCTUIColor *)listStyleColor;
- (void)setListStyleColor:(RCTUIColor *)newValue;
- (CGFloat)listStyleMarginTop;
- (void)setListStyleMarginTop:(CGFloat)newValue;
- (CGFloat)listStyleMarginBottom;
- (void)setListStyleMarginBottom:(CGFloat)newValue;
- (CGFloat)listStyleLineHeight;
- (void)setListStyleLineHeight:(CGFloat)newValue;
- (RCTUIColor *)listStyleBulletColor;
- (void)setListStyleBulletColor:(RCTUIColor *)newValue;
- (CGFloat)listStyleBulletSize;
- (void)setListStyleBulletSize:(CGFloat)newValue;
- (CGFloat)listStyleMarkerMinWidth;
- (void)setListStyleMarkerMinWidth:(CGFloat)newValue;
- (RCTUIColor *)listStyleMarkerColor;
- (void)setListStyleMarkerColor:(RCTUIColor *)newValue;
- (NSString *)listStyleMarkerFontWeight;
- (void)setListStyleMarkerFontWeight:(NSString *)newValue;
- (CGFloat)listStyleGapWidth;
- (void)setListStyleGapWidth:(CGFloat)newValue;
- (CGFloat)listStyleMarginLeft;
- (void)setListStyleMarginLeft:(CGFloat)newValue;
- (CGFloat)listStyleItemSpacing;
- (void)setListStyleItemSpacing:(CGFloat)newValue;
- (UIFont *)listMarkerFont;
- (UIFont *)listStyleFont;
- (CGFloat)effectiveListGapWidth;
- (CGFloat)effectiveListMarginLeftForBullet;
- (CGFloat)effectiveListMarginLeftForNumber;
- (CGFloat)effectiveListMarginLeftForTask;
// Code block properties
- (CGFloat)codeBlockFontSize;
- (void)setCodeBlockFontSize:(CGFloat)newValue;
- (NSString *)codeBlockFontFamily;
- (void)setCodeBlockFontFamily:(NSString *)newValue;
- (NSString *)codeBlockFontWeight;
- (void)setCodeBlockFontWeight:(NSString *)newValue;
- (RCTUIColor *)codeBlockColor;
- (void)setCodeBlockColor:(RCTUIColor *)newValue;
- (CGFloat)codeBlockMarginTop;
- (void)setCodeBlockMarginTop:(CGFloat)newValue;
- (CGFloat)codeBlockMarginBottom;
- (void)setCodeBlockMarginBottom:(CGFloat)newValue;
- (CGFloat)codeBlockLineHeight;
- (void)setCodeBlockLineHeight:(CGFloat)newValue;
- (RCTUIColor *)codeBlockBackgroundColor;
- (void)setCodeBlockBackgroundColor:(RCTUIColor *)newValue;
- (RCTUIColor *)codeBlockBorderColor;
- (void)setCodeBlockBorderColor:(RCTUIColor *)newValue;
- (CGFloat)codeBlockBorderRadius;
- (void)setCodeBlockBorderRadius:(CGFloat)newValue;
- (CGFloat)codeBlockBorderWidth;
- (void)setCodeBlockBorderWidth:(CGFloat)newValue;
- (CGFloat)codeBlockPadding;
- (void)setCodeBlockPadding:(CGFloat)newValue;
- (UIFont *)codeBlockFont;
// Syntax highlight colors, indexed by HighlightTokenType ordinal. Resolved on
// the JS side; the getter returns a cached color with no allocation.
- (RCTUIColor *_Nullable)codeBlockSyntaxColorForToken:(NSInteger)tokenType;
- (void)setCodeBlockSyntaxColor:(RCTUIColor *)newValue forToken:(NSInteger)tokenType;
// Thematic break properties
- (RCTUIColor *)thematicBreakColor;
- (void)setThematicBreakColor:(RCTUIColor *)newValue;
- (CGFloat)thematicBreakHeight;
- (void)setThematicBreakHeight:(CGFloat)newValue;
- (CGFloat)thematicBreakMarginTop;
- (void)setThematicBreakMarginTop:(CGFloat)newValue;
- (CGFloat)thematicBreakMarginBottom;
- (void)setThematicBreakMarginBottom:(CGFloat)newValue;
// Table properties
- (CGFloat)tableFontSize;
- (void)setTableFontSize:(CGFloat)newValue;
- (NSString *)tableFontFamily;
- (void)setTableFontFamily:(NSString *)newValue;
- (NSString *)tableFontWeight;
- (void)setTableFontWeight:(NSString *)newValue;
- (RCTUIColor *)tableColor;
- (void)setTableColor:(RCTUIColor *)newValue;
- (CGFloat)tableMarginTop;
- (void)setTableMarginTop:(CGFloat)newValue;
- (CGFloat)tableMarginBottom;
- (void)setTableMarginBottom:(CGFloat)newValue;
- (CGFloat)tableLineHeight;
- (void)setTableLineHeight:(CGFloat)newValue;
- (UIFont *)tableFont;
- (NSString *)tableHeaderFontFamily;
- (void)setTableHeaderFontFamily:(NSString *)newValue;
- (UIFont *)tableHeaderFont;
- (RCTUIColor *)tableHeaderBackgroundColor;
- (void)setTableHeaderBackgroundColor:(RCTUIColor *)newValue;
- (RCTUIColor *)tableHeaderTextColor;
- (void)setTableHeaderTextColor:(RCTUIColor *)newValue;
- (RCTUIColor *)tableRowEvenBackgroundColor;
- (void)setTableRowEvenBackgroundColor:(RCTUIColor *)newValue;
- (RCTUIColor *)tableRowOddBackgroundColor;
- (void)setTableRowOddBackgroundColor:(RCTUIColor *)newValue;
- (RCTUIColor *)tableBorderColor;
- (void)setTableBorderColor:(RCTUIColor *)newValue;
- (CGFloat)tableBorderWidth;
- (void)setTableBorderWidth:(CGFloat)newValue;
- (CGFloat)tableBorderRadius;
- (void)setTableBorderRadius:(CGFloat)newValue;
- (CGFloat)tableCellPaddingHorizontal;
- (void)setTableCellPaddingHorizontal:(CGFloat)newValue;
- (CGFloat)tableCellPaddingVertical;
- (void)setTableCellPaddingVertical:(CGFloat)newValue;
- (CGFloat)tableHorizontalOverflow;
- (void)setTableHorizontalOverflow:(CGFloat)newValue;
- (NSString *)tableAlign;
- (void)setTableAlign:(NSString *)newValue;
// Task list checkbox properties
- (RCTUIColor *)taskListCheckedColor;
- (void)setTaskListCheckedColor:(RCTUIColor *)newValue;
- (RCTUIColor *)taskListBorderColor;
- (void)setTaskListBorderColor:(RCTUIColor *)newValue;
- (CGFloat)taskListCheckboxSize;
- (void)setTaskListCheckboxSize:(CGFloat)newValue;
- (CGFloat)taskListCheckboxBorderRadius;
- (void)setTaskListCheckboxBorderRadius:(CGFloat)newValue;
- (RCTUIColor *)taskListCheckmarkColor;
- (void)setTaskListCheckmarkColor:(RCTUIColor *)newValue;
- (RCTUIColor *)taskListCheckedTextColor;
- (void)setTaskListCheckedTextColor:(RCTUIColor *)newValue;
- (BOOL)taskListCheckedStrikethrough;
- (void)setTaskListCheckedStrikethrough:(BOOL)newValue;
// Math properties
- (CGFloat)mathFontSize;
- (void)setMathFontSize:(CGFloat)newValue;
- (RCTUIColor *)mathColor;
- (void)setMathColor:(RCTUIColor *)newValue;
- (RCTUIColor *)mathBackgroundColor;
- (void)setMathBackgroundColor:(RCTUIColor *)newValue;
- (CGFloat)mathPadding;
- (void)setMathPadding:(CGFloat)newValue;
- (CGFloat)mathMarginTop;
- (void)setMathMarginTop:(CGFloat)newValue;
- (CGFloat)mathMarginBottom;
- (void)setMathMarginBottom:(CGFloat)newValue;
- (NSString *)mathTextAlign;
- (void)setMathTextAlign:(NSString *)newValue;
// Inline Math properties
- (RCTUIColor *)inlineMathColor;
- (void)setInlineMathColor:(RCTUIColor *)newValue;
// Spoiler properties
- (RCTUIColor *)spoilerColor;
- (void)setSpoilerColor:(RCTUIColor *)newValue;
- (CGFloat)spoilerParticleDensity;
- (void)setSpoilerParticleDensity:(CGFloat)newValue;
- (CGFloat)spoilerParticleSpeed;
- (void)setSpoilerParticleSpeed:(CGFloat)newValue;
- (CGFloat)spoilerSolidBorderRadius;
- (void)setSpoilerSolidBorderRadius:(CGFloat)newValue;
// Superscript properties
- (CGFloat)superscriptFontScale;
- (void)setSuperscriptFontScale:(CGFloat)newValue;
- (CGFloat)superscriptBaselineOffsetScale;
- (void)setSuperscriptBaselineOffsetScale:(CGFloat)newValue;
// Subscript properties
- (CGFloat)subscriptFontScale;
- (void)setSubscriptFontScale:(CGFloat)newValue;
- (CGFloat)subscriptBaselineOffsetScale;
- (void)setSubscriptBaselineOffsetScale:(CGFloat)newValue;
@end
NS_ASSUME_NONNULL_END