@elementor/editor-editing-panel 3.33.0-112 → 3.33.0-114
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.js
CHANGED
|
@@ -31,22 +31,34 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
33
|
CustomCss: () => CustomCss,
|
|
34
|
+
CustomCssIndicator: () => CustomCssIndicator,
|
|
35
|
+
HISTORY_DEBOUNCE_WAIT: () => HISTORY_DEBOUNCE_WAIT,
|
|
34
36
|
PopoverBody: () => PopoverBody,
|
|
35
37
|
SectionContent: () => SectionContent,
|
|
38
|
+
StyleIndicator: () => StyleIndicator,
|
|
39
|
+
StyleTabSection: () => StyleTabSection,
|
|
40
|
+
StylesProviderCannotUpdatePropsError: () => StylesProviderCannotUpdatePropsError,
|
|
36
41
|
controlActionsMenu: () => controlActionsMenu,
|
|
37
42
|
controlsRegistry: () => controlsRegistry,
|
|
43
|
+
getSubtitle: () => getSubtitle,
|
|
44
|
+
getTitle: () => getTitle,
|
|
38
45
|
init: () => init3,
|
|
39
46
|
injectIntoClassSelectorActions: () => injectIntoClassSelectorActions,
|
|
40
47
|
injectIntoCssClassConvert: () => injectIntoCssClassConvert,
|
|
48
|
+
injectIntoStyleTab: () => injectIntoStyleTab,
|
|
41
49
|
registerControlReplacement: () => registerControlReplacement,
|
|
42
50
|
registerStyleProviderToColors: () => registerStyleProviderToColors,
|
|
43
51
|
stylesInheritanceTransformersRegistry: () => stylesInheritanceTransformersRegistry,
|
|
44
52
|
useBoundProp: () => import_editor_controls63.useBoundProp,
|
|
53
|
+
useClassesProp: () => useClassesProp,
|
|
45
54
|
useCustomCss: () => useCustomCss,
|
|
55
|
+
useElement: () => useElement,
|
|
46
56
|
useFontFamilies: () => useFontFamilies,
|
|
47
57
|
usePanelActions: () => usePanelActions,
|
|
48
58
|
usePanelStatus: () => usePanelStatus,
|
|
49
|
-
useSectionWidth: () => useSectionWidth
|
|
59
|
+
useSectionWidth: () => useSectionWidth,
|
|
60
|
+
useStyle: () => useStyle,
|
|
61
|
+
useStylesRerender: () => useStylesRerender
|
|
50
62
|
});
|
|
51
63
|
module.exports = __toCommonJS(index_exports);
|
|
52
64
|
var import_editor_controls63 = require("@elementor/editor-controls");
|
|
@@ -2301,6 +2313,7 @@ var import_react37 = require("react");
|
|
|
2301
2313
|
var import_editor_props15 = require("@elementor/editor-props");
|
|
2302
2314
|
var import_editor_responsive3 = require("@elementor/editor-responsive");
|
|
2303
2315
|
var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
|
|
2316
|
+
var import_locations3 = require("@elementor/locations");
|
|
2304
2317
|
var import_session6 = require("@elementor/session");
|
|
2305
2318
|
var import_ui44 = require("@elementor/ui");
|
|
2306
2319
|
var import_i18n60 = require("@wordpress/i18n");
|
|
@@ -4797,6 +4810,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
|
|
|
4797
4810
|
|
|
4798
4811
|
// src/components/style-tab.tsx
|
|
4799
4812
|
var TABS_HEADER_HEIGHT = "37px";
|
|
4813
|
+
var { Slot: StyleTabSlot, inject: injectIntoStyleTab } = (0, import_locations3.createLocation)();
|
|
4800
4814
|
var stickyHeaderStyles = {
|
|
4801
4815
|
position: "sticky",
|
|
4802
4816
|
zIndex: 1100,
|
|
@@ -4954,7 +4968,7 @@ var StyleTab = () => {
|
|
|
4954
4968
|
fields: ["custom_css"],
|
|
4955
4969
|
unmountOnExit: false
|
|
4956
4970
|
}
|
|
4957
|
-
)), /* @__PURE__ */ React89.createElement(import_ui44.Box, { sx: { height: "150px" } })))
|
|
4971
|
+
), /* @__PURE__ */ React89.createElement(StyleTabSlot, null)), /* @__PURE__ */ React89.createElement(import_ui44.Box, { sx: { height: "150px" } })))
|
|
4958
4972
|
));
|
|
4959
4973
|
};
|
|
4960
4974
|
function ClassesHeader({ children }) {
|
|
@@ -5742,21 +5756,33 @@ var blockV1Panel = () => {
|
|
|
5742
5756
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5743
5757
|
0 && (module.exports = {
|
|
5744
5758
|
CustomCss,
|
|
5759
|
+
CustomCssIndicator,
|
|
5760
|
+
HISTORY_DEBOUNCE_WAIT,
|
|
5745
5761
|
PopoverBody,
|
|
5746
5762
|
SectionContent,
|
|
5763
|
+
StyleIndicator,
|
|
5764
|
+
StyleTabSection,
|
|
5765
|
+
StylesProviderCannotUpdatePropsError,
|
|
5747
5766
|
controlActionsMenu,
|
|
5748
5767
|
controlsRegistry,
|
|
5768
|
+
getSubtitle,
|
|
5769
|
+
getTitle,
|
|
5749
5770
|
init,
|
|
5750
5771
|
injectIntoClassSelectorActions,
|
|
5751
5772
|
injectIntoCssClassConvert,
|
|
5773
|
+
injectIntoStyleTab,
|
|
5752
5774
|
registerControlReplacement,
|
|
5753
5775
|
registerStyleProviderToColors,
|
|
5754
5776
|
stylesInheritanceTransformersRegistry,
|
|
5755
5777
|
useBoundProp,
|
|
5778
|
+
useClassesProp,
|
|
5756
5779
|
useCustomCss,
|
|
5780
|
+
useElement,
|
|
5757
5781
|
useFontFamilies,
|
|
5758
5782
|
usePanelActions,
|
|
5759
5783
|
usePanelStatus,
|
|
5760
|
-
useSectionWidth
|
|
5784
|
+
useSectionWidth,
|
|
5785
|
+
useStyle,
|
|
5786
|
+
useStylesRerender
|
|
5761
5787
|
});
|
|
5762
5788
|
//# sourceMappingURL=index.js.map
|