ricos-types
Advanced tools
Comparing version 8.70.8 to 8.70.9
@@ -56,3 +56,5 @@ import type { CODE_BLOCK_TYPE, RICOS_DIVIDER_TYPE, DIVIDER_TYPE, RICOS_FILE_TYPE, FILE_UPLOAD_TYPE, RICOS_GALLERY_TYPE, GALLERY_TYPE, RICOS_GIPHY_TYPE, GIPHY_TYPE, RICOS_HTML_TYPE, HTML_TYPE, RICOS_IMAGE_TYPE, IMAGE_TYPE, RICOS_VIDEO_TYPE, VIDEO_TYPE, RICOS_POLL_TYPE, POLL_TYPE, RICOS_LINK_TYPE, RICOS_MENTION_TYPE, RICOS_TEXT_HIGHLIGHT_TYPE, RICOS_INDENT_TYPE, RICOS_LINE_SPACING_TYPE, RICOS_TEXT_COLOR_TYPE, UNSTYLED, NUMBERED_LIST_TYPE, BULLET_LIST_TYPE, BLOCKQUOTE, HEADER_BLOCK, RICOS_FONT_SIZE_TYPE, DocumentStyle, EXTERNAL } from 'ricos-content'; | ||
[RICOS_LINE_SPACING_TYPE]?: any; | ||
[RICOS_FONT_SIZE_TYPE]?: string; | ||
[RICOS_FONT_SIZE_TYPE]?: { | ||
fontSize?: string; | ||
}; | ||
} | ||
@@ -59,0 +61,0 @@ export interface EditorCommands { |
@@ -49,2 +49,22 @@ import type { AugmentedRequired } from 'utility-types/dist/mapped-types'; | ||
} | ||
export interface CustomQuoteStyle extends CustomTextualStyle { | ||
borderColor?: CSSProperties['borderColor']; | ||
borderWidth?: CSSProperties['borderWidth']; | ||
paddingTop?: CSSProperties['paddingTop']; | ||
paddingBottom?: CSSProperties['paddingBottom']; | ||
paddingInlineStart?: CSSProperties['paddingInlineStart']; | ||
} | ||
export interface CustomCodeBlockStyle { | ||
margin?: CSSProperties['margin']; | ||
padding?: CSSProperties['padding']; | ||
fontSize?: CSSProperties['fontSize']; | ||
lineHeight?: CSSProperties['lineHeight']; | ||
} | ||
export interface CustomMentionStyle { | ||
color: CSSProperties['color']; | ||
backgroundColor: CSSProperties['backgroundColor']; | ||
} | ||
export interface CustomFooterToolbarStyle { | ||
marginTop?: CSSProperties['marginTop']; | ||
} | ||
export interface RicosCustomStyles { | ||
@@ -58,8 +78,9 @@ h1?: CustomTextualStyle; | ||
p?: CustomTextualStyle; | ||
quote?: CustomTextualStyle & { | ||
borderColor?: CSSProperties['borderColor']; | ||
}; | ||
quote?: CustomQuoteStyle; | ||
link?: CustomTextualStyle; | ||
hashtag?: CustomTextualStyle; | ||
button?: Pick<CustomTextualStyle, 'color'>; | ||
codeBlock?: CustomCodeBlockStyle; | ||
mention?: CustomMentionStyle; | ||
footerToolbar?: CustomFooterToolbarStyle; | ||
} | ||
@@ -66,0 +87,0 @@ export interface RicosSettingsStyles { |
{ | ||
"name": "ricos-types", | ||
"version": "8.70.8", | ||
"version": "8.70.9", | ||
"author": { | ||
@@ -45,4 +45,4 @@ "name": "Oded Soffrin", | ||
"dependencies": { | ||
"ricos-content": "8.70.8", | ||
"ricos-schema": "8.70.8" | ||
"ricos-content": "8.70.9", | ||
"ricos-schema": "8.70.9" | ||
}, | ||
@@ -49,0 +49,0 @@ "unpkg": true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182232
1212
+ Addedricos-content@8.70.9(transitive)
+ Addedricos-schema@8.70.9(transitive)
- Removedricos-content@8.70.8(transitive)
- Removedricos-schema@8.70.8(transitive)
Updatedricos-content@8.70.9
Updatedricos-schema@8.70.9