@mhamz.01/easyflow-texteditor 0.1.4 → 0.1.5
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/index.css +24 -24
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +5 -37
- package/dist/index.d.ts +5 -37
- package/dist/index.js +36 -163
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +35 -163
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,6 @@ import { Editor as Editor$1 } from '@tiptap/react';
|
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import react__default, { RefObject } from 'react';
|
|
5
5
|
import { Editor as Editor$2 } from '@tiptap/core';
|
|
6
|
-
import * as next_dist_compiled__next_font from 'next/dist/compiled/@next/font';
|
|
7
6
|
import { ClassValue } from 'clsx';
|
|
8
7
|
|
|
9
8
|
interface EditorSubTab$1 {
|
|
@@ -271,42 +270,11 @@ declare function saveTabs(tabs: EditorTab[]): void;
|
|
|
271
270
|
declare function loadActiveTab(): string;
|
|
272
271
|
declare function saveActiveTab(id: string): void;
|
|
273
272
|
|
|
274
|
-
|
|
275
|
-
declare const roboto: next_dist_compiled__next_font.NextFont;
|
|
276
|
-
declare const opensans: next_dist_compiled__next_font.NextFont;
|
|
277
|
-
declare const poppins: next_dist_compiled__next_font.NextFont;
|
|
278
|
-
declare const montserrat: next_dist_compiled__next_font.NextFont;
|
|
279
|
-
declare const lato: next_dist_compiled__next_font.NextFont;
|
|
280
|
-
declare const oswald: next_dist_compiled__next_font.NextFont;
|
|
281
|
-
declare const raleway: next_dist_compiled__next_font.NextFont;
|
|
282
|
-
declare const merriweather: next_dist_compiled__next_font.NextFont;
|
|
283
|
-
declare const playfair: next_dist_compiled__next_font.NextFont;
|
|
284
|
-
declare const ubuntu: next_dist_compiled__next_font.NextFont;
|
|
285
|
-
declare const ptsans: next_dist_compiled__next_font.NextFont;
|
|
286
|
-
declare const barlow: next_dist_compiled__next_font.NextFont;
|
|
287
|
-
declare const fira: next_dist_compiled__next_font.NextFont;
|
|
288
|
-
declare const nunito: next_dist_compiled__next_font.NextFont;
|
|
289
|
-
declare const cabin: next_dist_compiled__next_font.NextFont;
|
|
290
|
-
declare const bebas: next_dist_compiled__next_font.NextFont;
|
|
291
|
-
declare const sourceserif: next_dist_compiled__next_font.NextFont;
|
|
292
|
-
declare const librebask: next_dist_compiled__next_font.NextFont;
|
|
293
|
-
declare const rubik: next_dist_compiled__next_font.NextFont;
|
|
294
|
-
declare const inconsolata: next_dist_compiled__next_font.NextFont;
|
|
295
|
-
declare const worksans: next_dist_compiled__next_font.NextFont;
|
|
296
|
-
declare const mulish: next_dist_compiled__next_font.NextFont;
|
|
297
|
-
declare const quicksand: next_dist_compiled__next_font.NextFont;
|
|
298
|
-
declare const kanit: next_dist_compiled__next_font.NextFont;
|
|
299
|
-
declare const teko: next_dist_compiled__next_font.NextFont;
|
|
300
|
-
declare const josefin: next_dist_compiled__next_font.NextFont;
|
|
301
|
-
declare const philosopher: next_dist_compiled__next_font.NextFont;
|
|
302
|
-
declare const dancing: next_dist_compiled__next_font.NextFont;
|
|
303
|
-
declare const notoserif: next_dist_compiled__next_font.NextFont;
|
|
304
|
-
declare const manrope: next_dist_compiled__next_font.NextFont;
|
|
305
|
-
declare const spacegrotesk: next_dist_compiled__next_font.NextFont;
|
|
306
|
-
declare const FONT_OPTIONS: {
|
|
273
|
+
type FontOption = {
|
|
307
274
|
label: string;
|
|
308
|
-
|
|
309
|
-
}
|
|
275
|
+
cssFontFamily: string;
|
|
276
|
+
};
|
|
277
|
+
declare const FONT_OPTIONS: FontOption[];
|
|
310
278
|
|
|
311
279
|
declare function fileToBase64(file: File): Promise<string>;
|
|
312
280
|
declare function saveImageBase64(key: string, base64: string): void;
|
|
@@ -314,4 +282,4 @@ declare function loadImageBase64(key: string): string | null;
|
|
|
314
282
|
|
|
315
283
|
declare function cn(...inputs: ClassValue[]): string;
|
|
316
284
|
|
|
317
|
-
export { type CursorVisibilityOptions, Editor, EditorBridgeProvider, type EditorBridgeValue, type EditorChangePayload, type EditorChangeSource, type ElementRectOptions, FONT_OPTIONS, GRADIENT_ROWS_70, type RectState, type TabContent, type WindowSizeState,
|
|
285
|
+
export { type CursorVisibilityOptions, Editor, EditorBridgeProvider, type EditorBridgeValue, type EditorChangePayload, type EditorChangeSource, type ElementRectOptions, FONT_OPTIONS, type FontOption, GRADIENT_ROWS_70, type RectState, type TabContent, type WindowSizeState, cn, fileToBase64, loadActiveTab, loadImageBase64, loadTabs, saveActiveTab, saveImageBase64, saveTabs, useBodyRect, useComposedRef, useCursorVisibility, useEditorBridge, useElementRect, useIsBreakpoint, useIsMobile, useMenuNavigation, useRefRect, useScrolling, useThrottledCallback, useTiptapEditor, useUnmount, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { Editor as Editor$1 } from '@tiptap/react';
|
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import react__default, { RefObject } from 'react';
|
|
5
5
|
import { Editor as Editor$2 } from '@tiptap/core';
|
|
6
|
-
import * as next_dist_compiled__next_font from 'next/dist/compiled/@next/font';
|
|
7
6
|
import { ClassValue } from 'clsx';
|
|
8
7
|
|
|
9
8
|
interface EditorSubTab$1 {
|
|
@@ -271,42 +270,11 @@ declare function saveTabs(tabs: EditorTab[]): void;
|
|
|
271
270
|
declare function loadActiveTab(): string;
|
|
272
271
|
declare function saveActiveTab(id: string): void;
|
|
273
272
|
|
|
274
|
-
|
|
275
|
-
declare const roboto: next_dist_compiled__next_font.NextFont;
|
|
276
|
-
declare const opensans: next_dist_compiled__next_font.NextFont;
|
|
277
|
-
declare const poppins: next_dist_compiled__next_font.NextFont;
|
|
278
|
-
declare const montserrat: next_dist_compiled__next_font.NextFont;
|
|
279
|
-
declare const lato: next_dist_compiled__next_font.NextFont;
|
|
280
|
-
declare const oswald: next_dist_compiled__next_font.NextFont;
|
|
281
|
-
declare const raleway: next_dist_compiled__next_font.NextFont;
|
|
282
|
-
declare const merriweather: next_dist_compiled__next_font.NextFont;
|
|
283
|
-
declare const playfair: next_dist_compiled__next_font.NextFont;
|
|
284
|
-
declare const ubuntu: next_dist_compiled__next_font.NextFont;
|
|
285
|
-
declare const ptsans: next_dist_compiled__next_font.NextFont;
|
|
286
|
-
declare const barlow: next_dist_compiled__next_font.NextFont;
|
|
287
|
-
declare const fira: next_dist_compiled__next_font.NextFont;
|
|
288
|
-
declare const nunito: next_dist_compiled__next_font.NextFont;
|
|
289
|
-
declare const cabin: next_dist_compiled__next_font.NextFont;
|
|
290
|
-
declare const bebas: next_dist_compiled__next_font.NextFont;
|
|
291
|
-
declare const sourceserif: next_dist_compiled__next_font.NextFont;
|
|
292
|
-
declare const librebask: next_dist_compiled__next_font.NextFont;
|
|
293
|
-
declare const rubik: next_dist_compiled__next_font.NextFont;
|
|
294
|
-
declare const inconsolata: next_dist_compiled__next_font.NextFont;
|
|
295
|
-
declare const worksans: next_dist_compiled__next_font.NextFont;
|
|
296
|
-
declare const mulish: next_dist_compiled__next_font.NextFont;
|
|
297
|
-
declare const quicksand: next_dist_compiled__next_font.NextFont;
|
|
298
|
-
declare const kanit: next_dist_compiled__next_font.NextFont;
|
|
299
|
-
declare const teko: next_dist_compiled__next_font.NextFont;
|
|
300
|
-
declare const josefin: next_dist_compiled__next_font.NextFont;
|
|
301
|
-
declare const philosopher: next_dist_compiled__next_font.NextFont;
|
|
302
|
-
declare const dancing: next_dist_compiled__next_font.NextFont;
|
|
303
|
-
declare const notoserif: next_dist_compiled__next_font.NextFont;
|
|
304
|
-
declare const manrope: next_dist_compiled__next_font.NextFont;
|
|
305
|
-
declare const spacegrotesk: next_dist_compiled__next_font.NextFont;
|
|
306
|
-
declare const FONT_OPTIONS: {
|
|
273
|
+
type FontOption = {
|
|
307
274
|
label: string;
|
|
308
|
-
|
|
309
|
-
}
|
|
275
|
+
cssFontFamily: string;
|
|
276
|
+
};
|
|
277
|
+
declare const FONT_OPTIONS: FontOption[];
|
|
310
278
|
|
|
311
279
|
declare function fileToBase64(file: File): Promise<string>;
|
|
312
280
|
declare function saveImageBase64(key: string, base64: string): void;
|
|
@@ -314,4 +282,4 @@ declare function loadImageBase64(key: string): string | null;
|
|
|
314
282
|
|
|
315
283
|
declare function cn(...inputs: ClassValue[]): string;
|
|
316
284
|
|
|
317
|
-
export { type CursorVisibilityOptions, Editor, EditorBridgeProvider, type EditorBridgeValue, type EditorChangePayload, type EditorChangeSource, type ElementRectOptions, FONT_OPTIONS, GRADIENT_ROWS_70, type RectState, type TabContent, type WindowSizeState,
|
|
285
|
+
export { type CursorVisibilityOptions, Editor, EditorBridgeProvider, type EditorBridgeValue, type EditorChangePayload, type EditorChangeSource, type ElementRectOptions, FONT_OPTIONS, type FontOption, GRADIENT_ROWS_70, type RectState, type TabContent, type WindowSizeState, cn, fileToBase64, loadActiveTab, loadImageBase64, loadTabs, saveActiveTab, saveImageBase64, saveTabs, useBodyRect, useComposedRef, useCursorVisibility, useEditorBridge, useElementRect, useIsBreakpoint, useIsMobile, useMenuNavigation, useRefRect, useScrolling, useThrottledCallback, useTiptapEditor, useUnmount, useWindowSize };
|
package/dist/index.js
CHANGED
|
@@ -34,45 +34,14 @@ __export(index_exports, {
|
|
|
34
34
|
EditorBridgeProvider: () => EditorBridgeProvider,
|
|
35
35
|
FONT_OPTIONS: () => FONT_OPTIONS,
|
|
36
36
|
GRADIENT_ROWS_70: () => GRADIENT_ROWS_70,
|
|
37
|
-
barlow: () => barlow,
|
|
38
|
-
bebas: () => bebas,
|
|
39
|
-
cabin: () => cabin,
|
|
40
37
|
cn: () => cn,
|
|
41
|
-
dancing: () => dancing,
|
|
42
38
|
fileToBase64: () => fileToBase64,
|
|
43
|
-
fira: () => fira,
|
|
44
|
-
inconsolata: () => inconsolata,
|
|
45
|
-
inter: () => inter,
|
|
46
|
-
josefin: () => josefin,
|
|
47
|
-
kanit: () => kanit,
|
|
48
|
-
lato: () => lato,
|
|
49
|
-
librebask: () => librebask,
|
|
50
39
|
loadActiveTab: () => loadActiveTab,
|
|
51
40
|
loadImageBase64: () => loadImageBase64,
|
|
52
41
|
loadTabs: () => loadTabs,
|
|
53
|
-
manrope: () => manrope,
|
|
54
|
-
merriweather: () => merriweather,
|
|
55
|
-
montserrat: () => montserrat,
|
|
56
|
-
mulish: () => mulish,
|
|
57
|
-
notoserif: () => notoserif,
|
|
58
|
-
nunito: () => nunito,
|
|
59
|
-
opensans: () => opensans,
|
|
60
|
-
oswald: () => oswald,
|
|
61
|
-
philosopher: () => philosopher,
|
|
62
|
-
playfair: () => playfair,
|
|
63
|
-
poppins: () => poppins,
|
|
64
|
-
ptsans: () => ptsans,
|
|
65
|
-
quicksand: () => quicksand,
|
|
66
|
-
raleway: () => raleway,
|
|
67
|
-
roboto: () => roboto,
|
|
68
|
-
rubik: () => rubik,
|
|
69
42
|
saveActiveTab: () => saveActiveTab,
|
|
70
43
|
saveImageBase64: () => saveImageBase64,
|
|
71
44
|
saveTabs: () => saveTabs,
|
|
72
|
-
sourceserif: () => sourceserif,
|
|
73
|
-
spacegrotesk: () => spacegrotesk,
|
|
74
|
-
teko: () => teko,
|
|
75
|
-
ubuntu: () => ubuntu,
|
|
76
45
|
useBodyRect: () => useBodyRect,
|
|
77
46
|
useComposedRef: () => useComposedRef,
|
|
78
47
|
useCursorVisibility: () => useCursorVisibility,
|
|
@@ -86,8 +55,7 @@ __export(index_exports, {
|
|
|
86
55
|
useThrottledCallback: () => useThrottledCallback,
|
|
87
56
|
useTiptapEditor: () => useTiptapEditor,
|
|
88
57
|
useUnmount: () => useUnmount,
|
|
89
|
-
useWindowSize: () => useWindowSize
|
|
90
|
-
worksans: () => worksans
|
|
58
|
+
useWindowSize: () => useWindowSize
|
|
91
59
|
});
|
|
92
60
|
module.exports = __toCommonJS(index_exports);
|
|
93
61
|
|
|
@@ -6745,102 +6713,39 @@ var import_react79 = require("@tiptap/react");
|
|
|
6745
6713
|
var import_react80 = require("react");
|
|
6746
6714
|
|
|
6747
6715
|
// src/lib/font.ts
|
|
6748
|
-
var import_google = require("next/font/google");
|
|
6749
|
-
var inter = (0, import_google.Inter)({ subsets: ["latin"] });
|
|
6750
|
-
var roboto = (0, import_google.Roboto)({ subsets: ["latin"] });
|
|
6751
|
-
var opensans = (0, import_google.Open_Sans)({ subsets: ["latin"] });
|
|
6752
|
-
var poppins = (0, import_google.Poppins)({
|
|
6753
|
-
subsets: ["latin"],
|
|
6754
|
-
weight: "100"
|
|
6755
|
-
});
|
|
6756
|
-
var montserrat = (0, import_google.Montserrat)({ subsets: ["latin"] });
|
|
6757
|
-
var lato = (0, import_google.Lato)({
|
|
6758
|
-
subsets: ["latin"],
|
|
6759
|
-
weight: "100"
|
|
6760
|
-
});
|
|
6761
|
-
var oswald = (0, import_google.Oswald)({ subsets: ["latin"] });
|
|
6762
|
-
var raleway = (0, import_google.Raleway)({ subsets: ["latin"] });
|
|
6763
|
-
var merriweather = (0, import_google.Merriweather)({ subsets: ["latin"] });
|
|
6764
|
-
var playfair = (0, import_google.Playfair_Display)({ subsets: ["latin"] });
|
|
6765
|
-
var ubuntu = (0, import_google.Ubuntu)({
|
|
6766
|
-
subsets: ["latin"],
|
|
6767
|
-
weight: "300"
|
|
6768
|
-
});
|
|
6769
|
-
var ptsans = (0, import_google.PT_Sans)({
|
|
6770
|
-
subsets: ["latin"],
|
|
6771
|
-
weight: "400"
|
|
6772
|
-
});
|
|
6773
|
-
var barlow = (0, import_google.Barlow)({
|
|
6774
|
-
subsets: ["latin"],
|
|
6775
|
-
weight: "100"
|
|
6776
|
-
});
|
|
6777
|
-
var fira = (0, import_google.Fira_Sans)({
|
|
6778
|
-
subsets: ["latin"],
|
|
6779
|
-
weight: "100"
|
|
6780
|
-
});
|
|
6781
|
-
var nunito = (0, import_google.Nunito)({ subsets: ["latin"] });
|
|
6782
|
-
var cabin = (0, import_google.Cabin)({ subsets: ["latin"] });
|
|
6783
|
-
var bebas = (0, import_google.Bebas_Neue)({
|
|
6784
|
-
subsets: ["latin"],
|
|
6785
|
-
weight: "400"
|
|
6786
|
-
});
|
|
6787
|
-
var sourceserif = (0, import_google.Source_Serif_4)({ subsets: ["latin"] });
|
|
6788
|
-
var librebask = (0, import_google.Libre_Baskerville)({
|
|
6789
|
-
subsets: ["latin"],
|
|
6790
|
-
weight: "400"
|
|
6791
|
-
});
|
|
6792
|
-
var rubik = (0, import_google.Rubik)({ subsets: ["latin"] });
|
|
6793
|
-
var inconsolata = (0, import_google.Inconsolata)({ subsets: ["latin"] });
|
|
6794
|
-
var worksans = (0, import_google.Work_Sans)({ subsets: ["latin"] });
|
|
6795
|
-
var mulish = (0, import_google.Mulish)({ subsets: ["latin"] });
|
|
6796
|
-
var quicksand = (0, import_google.Quicksand)({ subsets: ["latin"] });
|
|
6797
|
-
var kanit = (0, import_google.Kanit)({
|
|
6798
|
-
subsets: ["latin"],
|
|
6799
|
-
weight: "100"
|
|
6800
|
-
});
|
|
6801
|
-
var teko = (0, import_google.Teko)({ subsets: ["latin"] });
|
|
6802
|
-
var josefin = (0, import_google.Josefin_Sans)({ subsets: ["latin"] });
|
|
6803
|
-
var philosopher = (0, import_google.Philosopher)({
|
|
6804
|
-
subsets: ["latin"],
|
|
6805
|
-
weight: "400"
|
|
6806
|
-
});
|
|
6807
|
-
var dancing = (0, import_google.Dancing_Script)({ subsets: ["latin"] });
|
|
6808
|
-
var notoserif = (0, import_google.Noto_Serif)({ subsets: ["latin"] });
|
|
6809
|
-
var manrope = (0, import_google.Manrope)({ subsets: ["latin"] });
|
|
6810
|
-
var spacegrotesk = (0, import_google.Space_Grotesk)({ subsets: ["latin"] });
|
|
6811
6716
|
var FONT_OPTIONS = [
|
|
6812
|
-
{ label: "Inter",
|
|
6813
|
-
{ label: "Roboto",
|
|
6814
|
-
{ label: "Open Sans",
|
|
6815
|
-
{ label: "Poppins",
|
|
6816
|
-
{ label: "Montserrat",
|
|
6817
|
-
{ label: "Lato",
|
|
6818
|
-
{ label: "Oswald",
|
|
6819
|
-
{ label: "Raleway",
|
|
6820
|
-
{ label: "Merriweather",
|
|
6821
|
-
{ label: "Playfair Display",
|
|
6822
|
-
{ label: "Ubuntu",
|
|
6823
|
-
{ label: "PT Sans",
|
|
6824
|
-
{ label: "Barlow",
|
|
6825
|
-
{ label: "Fira Sans",
|
|
6826
|
-
{ label: "Nunito",
|
|
6827
|
-
{ label: "Cabin",
|
|
6828
|
-
{ label: "Bebas Neue",
|
|
6829
|
-
{ label: "Source Serif Pro",
|
|
6830
|
-
{ label: "Libre Baskerville",
|
|
6831
|
-
{ label: "Rubik",
|
|
6832
|
-
{ label: "Inconsolata",
|
|
6833
|
-
{ label: "Work Sans",
|
|
6834
|
-
{ label: "Mulish",
|
|
6835
|
-
{ label: "Quicksand",
|
|
6836
|
-
{ label: "Kanit",
|
|
6837
|
-
{ label: "Teko",
|
|
6838
|
-
{ label: "Josefin Sans",
|
|
6839
|
-
{ label: "Philosopher",
|
|
6840
|
-
{ label: "Dancing Script",
|
|
6841
|
-
{ label: "Noto Serif",
|
|
6842
|
-
{ label: "Manrope",
|
|
6843
|
-
{ label: "Space Grotesk",
|
|
6717
|
+
{ label: "Inter", cssFontFamily: "Inter" },
|
|
6718
|
+
{ label: "Roboto", cssFontFamily: "Roboto" },
|
|
6719
|
+
{ label: "Open Sans", cssFontFamily: "Opensans" },
|
|
6720
|
+
{ label: "Poppins", cssFontFamily: "Poppins" },
|
|
6721
|
+
{ label: "Montserrat", cssFontFamily: "Montserrat" },
|
|
6722
|
+
{ label: "Lato", cssFontFamily: "Lato" },
|
|
6723
|
+
{ label: "Oswald", cssFontFamily: "Oswald" },
|
|
6724
|
+
{ label: "Raleway", cssFontFamily: "Raleway" },
|
|
6725
|
+
{ label: "Merriweather", cssFontFamily: "Merriweather" },
|
|
6726
|
+
{ label: "Playfair Display", cssFontFamily: "Playfair" },
|
|
6727
|
+
{ label: "Ubuntu", cssFontFamily: "Ubuntu" },
|
|
6728
|
+
{ label: "PT Sans", cssFontFamily: "Ptsans" },
|
|
6729
|
+
{ label: "Barlow", cssFontFamily: "Barlow" },
|
|
6730
|
+
{ label: "Fira Sans", cssFontFamily: "Fira" },
|
|
6731
|
+
{ label: "Nunito", cssFontFamily: "Nunito" },
|
|
6732
|
+
{ label: "Cabin", cssFontFamily: "Cabin" },
|
|
6733
|
+
{ label: "Bebas Neue", cssFontFamily: "Bebas" },
|
|
6734
|
+
{ label: "Source Serif Pro", cssFontFamily: "Sourceserif" },
|
|
6735
|
+
{ label: "Libre Baskerville", cssFontFamily: "Librebask" },
|
|
6736
|
+
{ label: "Rubik", cssFontFamily: "Rubik" },
|
|
6737
|
+
{ label: "Inconsolata", cssFontFamily: "Inconsolata" },
|
|
6738
|
+
{ label: "Work Sans", cssFontFamily: "Worksans" },
|
|
6739
|
+
{ label: "Mulish", cssFontFamily: "Mulish" },
|
|
6740
|
+
{ label: "Quicksand", cssFontFamily: "Quicksand" },
|
|
6741
|
+
{ label: "Kanit", cssFontFamily: "Kanit" },
|
|
6742
|
+
{ label: "Teko", cssFontFamily: "Teko" },
|
|
6743
|
+
{ label: "Josefin Sans", cssFontFamily: "Josefin" },
|
|
6744
|
+
{ label: "Philosopher", cssFontFamily: "Philosopher" },
|
|
6745
|
+
{ label: "Dancing Script", cssFontFamily: "Dancing" },
|
|
6746
|
+
{ label: "Noto Serif", cssFontFamily: "Notoserif" },
|
|
6747
|
+
{ label: "Manrope", cssFontFamily: "Manrope" },
|
|
6748
|
+
{ label: "Space Grotesk", cssFontFamily: "Spacegrotesk" }
|
|
6844
6749
|
];
|
|
6845
6750
|
|
|
6846
6751
|
// src/components/tiptap-ui/font-family-dropdown/font-family-dropdown.tsx
|
|
@@ -7060,14 +6965,14 @@ function FontFamilyDropdown() {
|
|
|
7060
6965
|
},
|
|
7061
6966
|
"default"
|
|
7062
6967
|
),
|
|
7063
|
-
FONT_OPTIONS.map(({ label,
|
|
6968
|
+
FONT_OPTIONS.map(({ label, cssFontFamily }) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
7064
6969
|
CommandItem,
|
|
7065
6970
|
{
|
|
7066
6971
|
onSelect: () => {
|
|
7067
6972
|
applyFont(label);
|
|
7068
6973
|
setOpen(false);
|
|
7069
6974
|
},
|
|
7070
|
-
style: { fontFamily:
|
|
6975
|
+
style: { fontFamily: cssFontFamily },
|
|
7071
6976
|
children: label
|
|
7072
6977
|
},
|
|
7073
6978
|
label
|
|
@@ -7936,45 +7841,14 @@ function loadImageBase64(key) {
|
|
|
7936
7841
|
EditorBridgeProvider,
|
|
7937
7842
|
FONT_OPTIONS,
|
|
7938
7843
|
GRADIENT_ROWS_70,
|
|
7939
|
-
barlow,
|
|
7940
|
-
bebas,
|
|
7941
|
-
cabin,
|
|
7942
7844
|
cn,
|
|
7943
|
-
dancing,
|
|
7944
7845
|
fileToBase64,
|
|
7945
|
-
fira,
|
|
7946
|
-
inconsolata,
|
|
7947
|
-
inter,
|
|
7948
|
-
josefin,
|
|
7949
|
-
kanit,
|
|
7950
|
-
lato,
|
|
7951
|
-
librebask,
|
|
7952
7846
|
loadActiveTab,
|
|
7953
7847
|
loadImageBase64,
|
|
7954
7848
|
loadTabs,
|
|
7955
|
-
manrope,
|
|
7956
|
-
merriweather,
|
|
7957
|
-
montserrat,
|
|
7958
|
-
mulish,
|
|
7959
|
-
notoserif,
|
|
7960
|
-
nunito,
|
|
7961
|
-
opensans,
|
|
7962
|
-
oswald,
|
|
7963
|
-
philosopher,
|
|
7964
|
-
playfair,
|
|
7965
|
-
poppins,
|
|
7966
|
-
ptsans,
|
|
7967
|
-
quicksand,
|
|
7968
|
-
raleway,
|
|
7969
|
-
roboto,
|
|
7970
|
-
rubik,
|
|
7971
7849
|
saveActiveTab,
|
|
7972
7850
|
saveImageBase64,
|
|
7973
7851
|
saveTabs,
|
|
7974
|
-
sourceserif,
|
|
7975
|
-
spacegrotesk,
|
|
7976
|
-
teko,
|
|
7977
|
-
ubuntu,
|
|
7978
7852
|
useBodyRect,
|
|
7979
7853
|
useComposedRef,
|
|
7980
7854
|
useCursorVisibility,
|
|
@@ -7988,7 +7862,6 @@ function loadImageBase64(key) {
|
|
|
7988
7862
|
useThrottledCallback,
|
|
7989
7863
|
useTiptapEditor,
|
|
7990
7864
|
useUnmount,
|
|
7991
|
-
useWindowSize
|
|
7992
|
-
worksans
|
|
7865
|
+
useWindowSize
|
|
7993
7866
|
});
|
|
7994
7867
|
//# sourceMappingURL=index.js.map
|