@elementor/editor-editing-panel 3.33.0-113 → 3.33.0-115
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.d.mts +115 -31
- package/dist/index.d.ts +115 -31
- package/dist/index.js +29 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
- package/src/components/style-tab-section.tsx +2 -2
- package/src/components/style-tab.tsx +4 -0
- package/src/index.ts +10 -0
package/dist/index.mjs
CHANGED
|
@@ -2324,6 +2324,7 @@ import { useState as useState13 } from "react";
|
|
|
2324
2324
|
import { CLASSES_PROP_KEY } from "@elementor/editor-props";
|
|
2325
2325
|
import { useActiveBreakpoint } from "@elementor/editor-responsive";
|
|
2326
2326
|
import { EXPERIMENTAL_FEATURES, isExperimentActive } from "@elementor/editor-v1-adapters";
|
|
2327
|
+
import { createLocation as createLocation3 } from "@elementor/locations";
|
|
2327
2328
|
import { SessionStorageProvider as SessionStorageProvider2 } from "@elementor/session";
|
|
2328
2329
|
import { Box as Box7, Divider as Divider5, Stack as Stack15 } from "@elementor/ui";
|
|
2329
2330
|
import { __ as __60 } from "@wordpress/i18n";
|
|
@@ -4887,6 +4888,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
|
|
|
4887
4888
|
|
|
4888
4889
|
// src/components/style-tab.tsx
|
|
4889
4890
|
var TABS_HEADER_HEIGHT = "37px";
|
|
4891
|
+
var { Slot: StyleTabSlot, inject: injectIntoStyleTab } = createLocation3();
|
|
4890
4892
|
var stickyHeaderStyles = {
|
|
4891
4893
|
position: "sticky",
|
|
4892
4894
|
zIndex: 1100,
|
|
@@ -5044,7 +5046,7 @@ var StyleTab = () => {
|
|
|
5044
5046
|
fields: ["custom_css"],
|
|
5045
5047
|
unmountOnExit: false
|
|
5046
5048
|
}
|
|
5047
|
-
)), /* @__PURE__ */ React89.createElement(Box7, { sx: { height: "150px" } })))
|
|
5049
|
+
), /* @__PURE__ */ React89.createElement(StyleTabSlot, null)), /* @__PURE__ */ React89.createElement(Box7, { sx: { height: "150px" } })))
|
|
5048
5050
|
));
|
|
5049
5051
|
};
|
|
5050
5052
|
function ClassesHeader({ children }) {
|
|
@@ -5851,21 +5853,33 @@ var blockV1Panel = () => {
|
|
|
5851
5853
|
};
|
|
5852
5854
|
export {
|
|
5853
5855
|
CustomCss,
|
|
5856
|
+
CustomCssIndicator,
|
|
5857
|
+
HISTORY_DEBOUNCE_WAIT,
|
|
5854
5858
|
PopoverBody,
|
|
5855
5859
|
SectionContent,
|
|
5860
|
+
StyleIndicator,
|
|
5861
|
+
StyleTabSection,
|
|
5862
|
+
StylesProviderCannotUpdatePropsError,
|
|
5856
5863
|
controlActionsMenu,
|
|
5857
5864
|
controlsRegistry,
|
|
5865
|
+
getSubtitle,
|
|
5866
|
+
getTitle,
|
|
5858
5867
|
init3 as init,
|
|
5859
5868
|
injectIntoClassSelectorActions,
|
|
5860
5869
|
injectIntoCssClassConvert,
|
|
5870
|
+
injectIntoStyleTab,
|
|
5861
5871
|
registerControlReplacement,
|
|
5862
5872
|
registerStyleProviderToColors,
|
|
5863
5873
|
stylesInheritanceTransformersRegistry,
|
|
5864
5874
|
useBoundProp12 as useBoundProp,
|
|
5875
|
+
useClassesProp,
|
|
5865
5876
|
useCustomCss,
|
|
5877
|
+
useElement,
|
|
5866
5878
|
useFontFamilies,
|
|
5867
5879
|
usePanelActions,
|
|
5868
5880
|
usePanelStatus,
|
|
5869
|
-
useSectionWidth
|
|
5881
|
+
useSectionWidth,
|
|
5882
|
+
useStyle,
|
|
5883
|
+
useStylesRerender
|
|
5870
5884
|
};
|
|
5871
5885
|
//# sourceMappingURL=index.mjs.map
|