@frontify/fondue 12.1.5 → 12.1.7
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/components/RichTextEditor/Plugins/ColumnBreakPlugin/createColumnBreakPlugin.es.js +23 -21
- package/dist/components/RichTextEditor/Plugins/ColumnBreakPlugin/createColumnBreakPlugin.es.js.map +1 -1
- package/dist/components/RichTextEditor/Plugins/Plugin.es.js.map +1 -1
- package/dist/components/RichTextEditor/RichTextEditor.es.js +60 -59
- package/dist/components/RichTextEditor/RichTextEditor.es.js.map +1 -1
- package/dist/components/RichTextEditor/serializer/serializeToHtml.es.js +28 -21
- package/dist/components/RichTextEditor/serializer/serializeToHtml.es.js.map +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +17 -8
- package/dist/index.umd.js +10 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/components/style.css +1 -1
- package/dist/packages/tokens/tailwind.config.js +1 -1
- package/dist/style.css +1 -1
- package/dist/typography/shared/records.es.js +1 -0
- package/dist/typography/shared/records.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -591,10 +591,20 @@ export declare type BreadcrumbsProps = {
|
|
|
591
591
|
export declare class BreakAfterPlugin extends Plugin_2 {
|
|
592
592
|
private columns;
|
|
593
593
|
private gap;
|
|
594
|
-
|
|
594
|
+
private customClass;
|
|
595
|
+
constructor(props?: BreakAfterPluginProps);
|
|
595
596
|
plugins(): PlatePlugin[];
|
|
596
597
|
}
|
|
597
598
|
|
|
599
|
+
declare type BreakAfterPluginProps = PluginProps & {
|
|
600
|
+
columns?: number;
|
|
601
|
+
gap?: string | number;
|
|
602
|
+
/**
|
|
603
|
+
* If provided the `columns` property will be ignored
|
|
604
|
+
*/
|
|
605
|
+
customClass?: string;
|
|
606
|
+
};
|
|
607
|
+
|
|
598
608
|
export declare const BrightHeader: {
|
|
599
609
|
({ headerStyle }: BrightHeaderProps): ReactElement;
|
|
600
610
|
displayName: string;
|
|
@@ -1126,7 +1136,7 @@ export declare const convertToPartialSelectedId: (ids: string[]) => string[];
|
|
|
1126
1136
|
|
|
1127
1137
|
export declare const createCheckboxListPlugin: ReturnType<typeof createPluginFactory<NonNullable<unknown>>>;
|
|
1128
1138
|
|
|
1129
|
-
export declare const createColumnBreakPlugin: (columns: number, gap: CSSProperties['gap']) => PlatePlugin;
|
|
1139
|
+
export declare const createColumnBreakPlugin: (columns: number, gap: CSSProperties['gap'], customClass: string | undefined) => PlatePlugin;
|
|
1130
1140
|
|
|
1131
1141
|
export declare const createLicStylePlugin: ReturnType<typeof createPluginFactory<ToggleMarkPlugin>>;
|
|
1132
1142
|
|
|
@@ -12640,8 +12650,6 @@ export declare type PluginProps = {
|
|
|
12640
12650
|
markupInputElement?: MarkupElement;
|
|
12641
12651
|
leafMarkupElements?: MarkupElement | MarkupElement[];
|
|
12642
12652
|
showIn?: Position[];
|
|
12643
|
-
columns?: number;
|
|
12644
|
-
gap?: string | number;
|
|
12645
12653
|
label?: string;
|
|
12646
12654
|
textStyles?: Plugin_2<PluginProps>[];
|
|
12647
12655
|
styles?: CSSProperties;
|
|
@@ -13003,18 +13011,19 @@ declare type SensorsActivationConstraintProps = {
|
|
|
13003
13011
|
enableDragDelay: TreeProps['enableDragDelay'];
|
|
13004
13012
|
};
|
|
13005
13013
|
|
|
13006
|
-
export declare const serializeNodesToHtml: (nodes: TDescendant[], { mentionable, columns, columnGap, styles }?: SerializeNodesToHtmlOptions) => string;
|
|
13014
|
+
export declare const serializeNodesToHtml: (nodes: TDescendant[], { mentionable, columns, columnGap, customClass, styles, }?: SerializeNodesToHtmlOptions) => string;
|
|
13007
13015
|
|
|
13008
13016
|
export declare type SerializeNodesToHtmlOptions = {
|
|
13009
13017
|
styles?: Record<string, CSSPropertiesHover>;
|
|
13010
13018
|
mentionable?: MentionableItems;
|
|
13011
13019
|
columns?: number;
|
|
13012
13020
|
columnGap?: CSSProperties['columnGap'];
|
|
13021
|
+
customClass?: string;
|
|
13013
13022
|
};
|
|
13014
13023
|
|
|
13015
|
-
export declare const serializeRawToHtml: (raw: string, plugins?: PluginComposer, columns?: SerializeNodesToHtmlOptions['columns'], columnGap?: SerializeNodesToHtmlOptions['columnGap']) => string;
|
|
13024
|
+
export declare const serializeRawToHtml: (raw: string, plugins?: PluginComposer, columns?: SerializeNodesToHtmlOptions['columns'], columnGap?: SerializeNodesToHtmlOptions['columnGap'], customClass?: string) => string;
|
|
13016
13025
|
|
|
13017
|
-
export declare const serializeRawToHtmlAsync: (raw: string, plugins?: PluginComposer, columns?: SerializeNodesToHtmlOptions['columns'], columnGap?: SerializeNodesToHtmlOptions['columnGap']) => Promise<string>;
|
|
13026
|
+
export declare const serializeRawToHtmlAsync: (raw: string, plugins?: PluginComposer, columns?: SerializeNodesToHtmlOptions['columns'], columnGap?: SerializeNodesToHtmlOptions['columnGap'], customClass?: string) => Promise<string>;
|
|
13018
13027
|
|
|
13019
13028
|
export declare const setColumnBreaks: SetColumnBreaksType;
|
|
13020
13029
|
|
|
@@ -13989,7 +13998,7 @@ declare type TypographyDisplay = 'inline-block' | 'block' | 'inline' | 'none';
|
|
|
13989
13998
|
|
|
13990
13999
|
declare type TypographyOverflow = 'truncate' | 'ellipsis' | 'clip' | 'visible';
|
|
13991
14000
|
|
|
13992
|
-
declare type TypographyWhitespace = 'normal' | 'nowrap' | 'pre' | 'pre-line' | 'pre-wrap';
|
|
14001
|
+
declare type TypographyWhitespace = 'unset' | 'normal' | 'nowrap' | 'pre' | 'pre-line' | 'pre-wrap';
|
|
13993
14002
|
|
|
13994
14003
|
declare type TypographyWordBreak = 'break-words' | 'break-all' | 'normal';
|
|
13995
14004
|
|