@elementor/editor-editing-panel 4.3.0-1053 → 4.3.0-1055
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/contexts/styles-inheritance-context.tsx +7 -1
- package/src/index.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3060,10 +3060,16 @@ var useAppliedStyles = () => {
|
|
|
3060
3060
|
const currentClassesProp = useClassesProp();
|
|
3061
3061
|
const baseStyles = useBaseStyles();
|
|
3062
3062
|
const defaultTagStyleId = useDefaultTagStyleId();
|
|
3063
|
+
const { id: activeStyleId } = useStyle();
|
|
3063
3064
|
useStylesRerender();
|
|
3064
3065
|
const classesProp = usePanelElementSetting(currentClassesProp);
|
|
3065
3066
|
const appliedStyles = classesPropTypeUtil3.extract(classesProp) ?? [];
|
|
3066
|
-
const applicableIds = [
|
|
3067
|
+
const applicableIds = [
|
|
3068
|
+
...baseStyles,
|
|
3069
|
+
...appliedStyles,
|
|
3070
|
+
...defaultTagStyleId ? [defaultTagStyleId] : [],
|
|
3071
|
+
...activeStyleId ? [activeStyleId] : []
|
|
3072
|
+
];
|
|
3067
3073
|
return stylesRepository8.all().filter((style) => applicableIds.includes(style.id));
|
|
3068
3074
|
};
|
|
3069
3075
|
var useBaseStyles = () => {
|
|
@@ -8115,6 +8121,7 @@ export {
|
|
|
8115
8121
|
StyleProvider,
|
|
8116
8122
|
StyleSections,
|
|
8117
8123
|
StyleTabSection,
|
|
8124
|
+
StyleTabSlot,
|
|
8118
8125
|
StylesProviderCannotUpdatePropsError,
|
|
8119
8126
|
controlsRegistry,
|
|
8120
8127
|
createTopLevelObjectType,
|