@elementor/editor-variables 4.1.0-733 → 4.1.0-735
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/fields/font-field.tsx +2 -2
package/dist/index.js
CHANGED
|
@@ -3939,7 +3939,7 @@ var FontField = ({ value, onChange, onValidationChange }) => {
|
|
|
3939
3939
|
const fontPopoverState = (0, import_ui34.usePopupState)({ variant: "popover" });
|
|
3940
3940
|
const fontFamilies = (0, import_editor_controls15.useFontFamilies)();
|
|
3941
3941
|
const sectionWidth = (0, import_editor_ui12.useSectionWidth)();
|
|
3942
|
-
const mapFontSubs =
|
|
3942
|
+
const mapFontSubs = (0, import_react29.useMemo)(() => {
|
|
3943
3943
|
return fontFamilies.map(({ label, fonts }) => ({
|
|
3944
3944
|
label,
|
|
3945
3945
|
items: fonts
|