@elementor/editor-editing-panel 1.43.0 → 1.44.0

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/index.d.mts +4 -1
  3. package/dist/index.d.ts +4 -1
  4. package/dist/index.js +1087 -905
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +857 -677
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +4 -4
  9. package/src/action.tsx +1 -1
  10. package/src/components/add-or-remove-content.tsx +3 -4
  11. package/src/components/collapsible-content.tsx +42 -14
  12. package/src/components/control-label.tsx +1 -1
  13. package/src/components/section.tsx +21 -7
  14. package/src/components/style-sections/border-section/border-field.tsx +2 -1
  15. package/src/components/style-sections/position-section/dimensions-field.tsx +8 -8
  16. package/src/components/style-sections/size-section/size-section.tsx +3 -3
  17. package/src/components/style-sections/typography-section/text-stroke-field.tsx +2 -1
  18. package/src/components/style-sections/typography-section/typography-section.tsx +15 -3
  19. package/src/components/style-tab-collapsible-content.tsx +22 -0
  20. package/src/components/style-tab-section.tsx +30 -0
  21. package/src/components/style-tab.tsx +51 -35
  22. package/src/controls-registry/styles-field.tsx +1 -1
  23. package/src/dynamics/components/dynamic-selection-control.tsx +11 -15
  24. package/src/index.ts +1 -0
  25. package/src/popover-action.tsx +3 -9
  26. package/src/styles-inheritance/components/{label-chip.tsx → infotip/label-chip.tsx} +1 -1
  27. package/src/styles-inheritance/{styles-inheritance-indicator.tsx → components/styles-inheritance-indicator.tsx} +8 -8
  28. package/src/styles-inheritance/{styles-inheritance-infotip.tsx → components/styles-inheritance-infotip.tsx} +7 -7
  29. package/src/styles-inheritance/components/styles-inheritance-section-indicators.tsx +113 -0
  30. /package/src/styles-inheritance/components/{action-icons.tsx → infotip/action-icons.tsx} +0 -0
  31. /package/src/styles-inheritance/components/{breakpoint-icon.tsx → infotip/breakpoint-icon.tsx} +0 -0
  32. /package/src/styles-inheritance/components/{index.ts → infotip/index.ts} +0 -0
  33. /package/src/styles-inheritance/components/{value-component.tsx → infotip/value-component.tsx} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.44.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ea5d3df: Export fontFamily components from editor-controls and editing-panel
8
+ - 80dbf43: Extract popover headers to a standalone component inside the Editor UI package.
9
+ - 6eeb59e: Disable controls panel labels by permission.
10
+
11
+ ### Patch Changes
12
+
13
+ - af4e938: Add indicators to group headers
14
+ - a0af69a: Display the floating Clear button above the control.
15
+ - Updated dependencies [56b4348]
16
+ - Updated dependencies [ea5d3df]
17
+ - Updated dependencies [80dbf43]
18
+ - Updated dependencies [6eeb59e]
19
+ - Updated dependencies [af4e938]
20
+ - @elementor/editor-canvas@0.22.3
21
+ - @elementor/editor-controls@0.36.0
22
+ - @elementor/editor-ui@0.11.0
23
+
24
+ ## 1.43.1
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [f7a59df]
29
+ - Updated dependencies [4b762e0]
30
+ - @elementor/editor-controls@0.35.0
31
+
3
32
  ## 1.43.0
4
33
 
5
34
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { FontCategory } from '@elementor/editor-controls';
1
2
  export { useBoundProp } from '@elementor/editor-controls';
2
3
  import * as React from 'react';
3
4
  import { ElementType, ComponentType } from 'react';
@@ -55,6 +56,8 @@ declare const controlActionsMenu: _elementor_menus.Menu<{
55
56
  PopoverAction: typeof PopoverAction;
56
57
  }, "default">;
57
58
 
59
+ declare const useFontFamilies: () => FontCategory[];
60
+
58
61
  declare function init(): void;
59
62
 
60
- export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, usePanelActions, usePanelStatus };
63
+ export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, useFontFamilies, usePanelActions, usePanelStatus };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { FontCategory } from '@elementor/editor-controls';
1
2
  export { useBoundProp } from '@elementor/editor-controls';
2
3
  import * as React from 'react';
3
4
  import { ElementType, ComponentType } from 'react';
@@ -55,6 +56,8 @@ declare const controlActionsMenu: _elementor_menus.Menu<{
55
56
  PopoverAction: typeof PopoverAction;
56
57
  }, "default">;
57
58
 
59
+ declare const useFontFamilies: () => FontCategory[];
60
+
58
61
  declare function init(): void;
59
62
 
60
- export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, usePanelActions, usePanelStatus };
63
+ export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, useFontFamilies, usePanelActions, usePanelStatus };