@elementor/editor-editing-panel 1.43.1 → 1.45.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 (53) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/index.d.mts +4 -1
  3. package/dist/index.d.ts +4 -1
  4. package/dist/index.js +1247 -977
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +1025 -755
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +8 -8
  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/border-section/border-radius-field.tsx +12 -9
  16. package/src/components/style-sections/layout-section/align-content-field.tsx +10 -14
  17. package/src/components/style-sections/layout-section/align-items-field.tsx +13 -17
  18. package/src/components/style-sections/layout-section/align-self-child-field.tsx +13 -17
  19. package/src/components/style-sections/layout-section/flex-direction-field.tsx +13 -17
  20. package/src/components/style-sections/layout-section/flex-order-field.tsx +30 -33
  21. package/src/components/style-sections/layout-section/flex-size-field.tsx +60 -59
  22. package/src/components/style-sections/layout-section/justify-content-field.tsx +10 -14
  23. package/src/components/style-sections/layout-section/wrap-field.tsx +13 -17
  24. package/src/components/style-sections/position-section/dimensions-field.tsx +33 -15
  25. package/src/components/style-sections/position-section/offset-field.tsx +5 -2
  26. package/src/components/style-sections/size-section/size-section.tsx +54 -39
  27. package/src/components/style-sections/spacing-section/spacing-section.tsx +1 -1
  28. package/src/components/style-sections/typography-section/column-gap-field.tsx +5 -2
  29. package/src/components/style-sections/typography-section/font-size-field.tsx +5 -2
  30. package/src/components/style-sections/typography-section/letter-spacing-field.tsx +5 -2
  31. package/src/components/style-sections/typography-section/line-height-field.tsx +5 -2
  32. package/src/components/style-sections/typography-section/text-alignment-field.tsx +12 -9
  33. package/src/components/style-sections/typography-section/text-stroke-field.tsx +2 -1
  34. package/src/components/style-sections/typography-section/typography-section.tsx +15 -3
  35. package/src/components/style-sections/typography-section/word-spacing-field.tsx +5 -2
  36. package/src/components/style-tab-collapsible-content.tsx +22 -0
  37. package/src/components/style-tab-section.tsx +30 -0
  38. package/src/components/style-tab.tsx +51 -35
  39. package/src/controls-registry/styles-field.tsx +1 -1
  40. package/src/dynamics/components/background-control-dynamic-tag.tsx +48 -0
  41. package/src/dynamics/components/dynamic-selection-control.tsx +11 -15
  42. package/src/dynamics/init.ts +21 -0
  43. package/src/index.ts +1 -0
  44. package/src/popover-action.tsx +3 -9
  45. package/src/styles-inheritance/components/{label-chip.tsx → infotip/label-chip.tsx} +1 -1
  46. package/src/styles-inheritance/{styles-inheritance-indicator.tsx → components/styles-inheritance-indicator.tsx} +8 -8
  47. package/src/styles-inheritance/{styles-inheritance-infotip.tsx → components/styles-inheritance-infotip.tsx} +7 -7
  48. package/src/styles-inheritance/components/styles-inheritance-section-indicators.tsx +113 -0
  49. package/src/styles-inheritance/components/ui-providers.tsx +18 -0
  50. /package/src/styles-inheritance/components/{action-icons.tsx → infotip/action-icons.tsx} +0 -0
  51. /package/src/styles-inheritance/components/{breakpoint-icon.tsx → infotip/breakpoint-icon.tsx} +0 -0
  52. /package/src/styles-inheritance/components/{index.ts → infotip/index.ts} +0 -0
  53. /package/src/styles-inheritance/components/{value-component.tsx → infotip/value-component.tsx} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.45.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ab6320c: Background image support dynamic tag
8
+ - dac8026: Fix style controls layout for mixed UI and site language directions
9
+ - 2c11540: Added support for custom values in size control
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [ab6320c]
14
+ - Updated dependencies [199c99a]
15
+ - Updated dependencies [2c11540]
16
+ - @elementor/editor-props@0.13.0
17
+ - @elementor/editor-controls@1.0.0
18
+ - @elementor/editor-canvas@0.23.0
19
+ - @elementor/editor-styles-repository@0.10.2
20
+ - @elementor/editor-elements@0.8.5
21
+ - @elementor/editor-styles@0.6.9
22
+
23
+ ## 1.44.0
24
+
25
+ ### Minor Changes
26
+
27
+ - ea5d3df: Export fontFamily components from editor-controls and editing-panel
28
+ - 80dbf43: Extract popover headers to a standalone component inside the Editor UI package.
29
+ - 6eeb59e: Disable controls panel labels by permission.
30
+
31
+ ### Patch Changes
32
+
33
+ - af4e938: Add indicators to group headers
34
+ - a0af69a: Display the floating Clear button above the control.
35
+ - Updated dependencies [56b4348]
36
+ - Updated dependencies [ea5d3df]
37
+ - Updated dependencies [80dbf43]
38
+ - Updated dependencies [6eeb59e]
39
+ - Updated dependencies [af4e938]
40
+ - @elementor/editor-canvas@0.22.3
41
+ - @elementor/editor-controls@0.36.0
42
+ - @elementor/editor-ui@0.11.0
43
+
3
44
  ## 1.43.1
4
45
 
5
46
  ### Patch 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 };