@frontify/fondue 12.1.6 → 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/RichTextEditor.es.js +11 -11
- 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 +11 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.umd.js +3 -3
- 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
|
@@ -600,7 +600,7 @@ declare type BreakAfterPluginProps = PluginProps & {
|
|
|
600
600
|
columns?: number;
|
|
601
601
|
gap?: string | number;
|
|
602
602
|
/**
|
|
603
|
-
* If provided the `columns`
|
|
603
|
+
* If provided the `columns` property will be ignored
|
|
604
604
|
*/
|
|
605
605
|
customClass?: string;
|
|
606
606
|
};
|
|
@@ -13011,18 +13011,19 @@ declare type SensorsActivationConstraintProps = {
|
|
|
13011
13011
|
enableDragDelay: TreeProps['enableDragDelay'];
|
|
13012
13012
|
};
|
|
13013
13013
|
|
|
13014
|
-
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;
|
|
13015
13015
|
|
|
13016
13016
|
export declare type SerializeNodesToHtmlOptions = {
|
|
13017
13017
|
styles?: Record<string, CSSPropertiesHover>;
|
|
13018
13018
|
mentionable?: MentionableItems;
|
|
13019
13019
|
columns?: number;
|
|
13020
13020
|
columnGap?: CSSProperties['columnGap'];
|
|
13021
|
+
customClass?: string;
|
|
13021
13022
|
};
|
|
13022
13023
|
|
|
13023
|
-
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;
|
|
13024
13025
|
|
|
13025
|
-
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>;
|
|
13026
13027
|
|
|
13027
13028
|
export declare const setColumnBreaks: SetColumnBreaksType;
|
|
13028
13029
|
|
|
@@ -13997,7 +13998,7 @@ declare type TypographyDisplay = 'inline-block' | 'block' | 'inline' | 'none';
|
|
|
13997
13998
|
|
|
13998
13999
|
declare type TypographyOverflow = 'truncate' | 'ellipsis' | 'clip' | 'visible';
|
|
13999
14000
|
|
|
14000
|
-
declare type TypographyWhitespace = 'normal' | 'nowrap' | 'pre' | 'pre-line' | 'pre-wrap';
|
|
14001
|
+
declare type TypographyWhitespace = 'unset' | 'normal' | 'nowrap' | 'pre' | 'pre-line' | 'pre-wrap';
|
|
14001
14002
|
|
|
14002
14003
|
declare type TypographyWordBreak = 'break-words' | 'break-all' | 'normal';
|
|
14003
14004
|
|