@elementor/editor-editing-panel 1.46.0 → 1.48.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 (77) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/index.d.mts +12 -1
  3. package/dist/index.d.ts +12 -1
  4. package/dist/index.js +1094 -889
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +979 -780
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +17 -18
  9. package/src/components/popover-scrollable-content.tsx +12 -0
  10. package/src/components/section-content.tsx +6 -16
  11. package/src/components/section.tsx +8 -4
  12. package/src/components/settings-tab.tsx +5 -2
  13. package/src/components/style-sections/background-section/background-section.tsx +4 -1
  14. package/src/components/style-sections/border-section/border-color-field.tsx +10 -16
  15. package/src/components/style-sections/border-section/border-field.tsx +14 -7
  16. package/src/components/style-sections/border-section/border-radius-field.tsx +4 -2
  17. package/src/components/style-sections/border-section/border-style-field.tsx +11 -16
  18. package/src/components/style-sections/border-section/border-width-field.tsx +4 -2
  19. package/src/components/style-sections/effects-section/effects-section.tsx +29 -6
  20. package/src/components/style-sections/layout-section/align-content-field.tsx +11 -12
  21. package/src/components/style-sections/layout-section/align-items-field.tsx +8 -11
  22. package/src/components/style-sections/layout-section/align-self-child-field.tsx +11 -16
  23. package/src/components/style-sections/layout-section/display-field.tsx +6 -6
  24. package/src/components/style-sections/layout-section/flex-direction-field.tsx +11 -14
  25. package/src/components/style-sections/layout-section/flex-order-field.tsx +23 -20
  26. package/src/components/style-sections/layout-section/flex-size-field.tsx +42 -64
  27. package/src/components/style-sections/layout-section/gap-control-field.tsx +5 -6
  28. package/src/components/style-sections/layout-section/justify-content-field.tsx +11 -12
  29. package/src/components/style-sections/layout-section/layout-section.tsx +9 -2
  30. package/src/components/style-sections/layout-section/opacity-control-field.tsx +9 -13
  31. package/src/components/style-sections/layout-section/utils/rotated-icon.tsx +6 -1
  32. package/src/components/style-sections/layout-section/wrap-field.tsx +10 -14
  33. package/src/components/style-sections/position-section/dimensions-field.tsx +4 -4
  34. package/src/components/style-sections/position-section/offset-field.tsx +12 -14
  35. package/src/components/style-sections/position-section/position-field.tsx +7 -11
  36. package/src/components/style-sections/position-section/position-section.tsx +19 -8
  37. package/src/components/style-sections/position-section/z-index-field.tsx +7 -11
  38. package/src/components/style-sections/size-section/object-fit-field.tsx +7 -11
  39. package/src/components/style-sections/size-section/object-position-field.tsx +4 -1
  40. package/src/components/style-sections/size-section/overflow-field.tsx +7 -11
  41. package/src/components/style-sections/size-section/size-section.tsx +13 -8
  42. package/src/components/style-sections/spacing-section/spacing-section.tsx +7 -4
  43. package/src/components/style-sections/typography-section/column-count-field.tsx +7 -11
  44. package/src/components/style-sections/typography-section/column-gap-field.tsx +9 -13
  45. package/src/components/style-sections/typography-section/font-family-field.tsx +9 -11
  46. package/src/components/style-sections/typography-section/font-size-field.tsx +9 -13
  47. package/src/components/style-sections/typography-section/font-style-field.tsx +13 -13
  48. package/src/components/style-sections/typography-section/font-weight-field.tsx +7 -11
  49. package/src/components/style-sections/typography-section/letter-spacing-field.tsx +9 -13
  50. package/src/components/style-sections/typography-section/line-height-field.tsx +9 -13
  51. package/src/components/style-sections/typography-section/text-alignment-field.tsx +11 -14
  52. package/src/components/style-sections/typography-section/text-color-field.tsx +7 -11
  53. package/src/components/style-sections/typography-section/text-decoration-field.tsx +7 -11
  54. package/src/components/style-sections/typography-section/text-direction-field.tsx +7 -11
  55. package/src/components/style-sections/typography-section/text-stroke-field.tsx +7 -3
  56. package/src/components/style-sections/typography-section/transform-field.tsx +7 -11
  57. package/src/components/style-sections/typography-section/typography-section.tsx +6 -1
  58. package/src/components/style-sections/typography-section/word-spacing-field.tsx +9 -13
  59. package/src/components/style-tab.tsx +1 -1
  60. package/src/components/styles-field-layout.tsx +50 -0
  61. package/src/contexts/section-context.tsx +14 -0
  62. package/src/controls-registry/control-type-container.tsx +6 -2
  63. package/src/controls-registry/controls-registry.tsx +1 -1
  64. package/src/controls-registry/settings-field.tsx +85 -10
  65. package/src/controls-registry/styles-field.tsx +15 -5
  66. package/src/dynamics/components/dynamic-selection-control.tsx +10 -4
  67. package/src/dynamics/components/dynamic-selection.tsx +18 -14
  68. package/src/hooks/use-default-panel-settings.ts +4 -0
  69. package/src/hooks/use-styles-field.ts +3 -4
  70. package/src/hooks/use-styles-fields.ts +141 -73
  71. package/src/index.ts +4 -0
  72. package/src/init.ts +0 -6
  73. package/src/popover-action.tsx +8 -1
  74. package/src/styles-inheritance/components/styles-inheritance-indicator.tsx +4 -1
  75. package/src/styles-inheritance/components/styles-inheritance-infotip.tsx +9 -19
  76. package/src/sync/experiments-flags.ts +1 -0
  77. package/src/components/popover-content.tsx +0 -15
package/CHANGELOG.md CHANGED
@@ -1,5 +1,90 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.48.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b94c5af: Fix floating icons on top of panel tab header
8
+ - b3726f6: Add transform move control
9
+ - 68ce0d9: Ensure current user exist in the editor.
10
+ - 1a37b1c: Update the Elementor UI version.
11
+ - c62d64c: Injected prop dependency API into settings field
12
+ - 12333b0: Update `@elementor/icons` package.
13
+ - a88c14b: Added the changed prop name to style editing history
14
+
15
+ ### Patch Changes
16
+
17
+ - 49714e8: Fix flex order control layout
18
+ - d9aaedd: Wrap opacity control with version experiment
19
+ - Updated dependencies [5c6a912]
20
+ - Updated dependencies [b3726f6]
21
+ - Updated dependencies [68ce0d9]
22
+ - Updated dependencies [b17730a]
23
+ - Updated dependencies [1a37b1c]
24
+ - Updated dependencies [c62d64c]
25
+ - Updated dependencies [d1fc9d2]
26
+ - Updated dependencies [12333b0]
27
+ - Updated dependencies [8f38cf3]
28
+ - Updated dependencies [d4406fd]
29
+ - @elementor/editor-controls@1.3.0
30
+ - @elementor/editor-canvas@0.26.0
31
+ - @elementor/editor-props@0.16.0
32
+ - @elementor/editor@0.21.0
33
+ - @elementor/editor-panels@0.17.0
34
+ - @elementor/editor-ui@0.14.0
35
+ - @elementor/editor-elements@0.9.0
36
+ - @elementor/editor-styles-repository@0.10.5
37
+ - @elementor/editor-styles@0.6.12
38
+ - @elementor/editor-documents@0.13.9
39
+
40
+ ## 1.47.0
41
+
42
+ ### Minor Changes
43
+
44
+ - ab6ad10: Adds support for css filter property, blur and brightness only.
45
+ - a0ff6bc: Reset value button position fix, input reset fix for aspect ratio control
46
+ - bfe6b0b: Update the width settings for the popover selection list.
47
+ - 16df763: Add changed prop name to atomic element setting history
48
+ - 6c6f0d6: Standardize style field layout and add `propDisplayName` prop to `StylesField`
49
+ - 125de7b: Show placeholders in Number control
50
+ - c694e33: updated overlay styling for small elements
51
+ changed default tab for editing panel for divider widget
52
+ - d85ca8c: Update the popover styling for version 3.30.
53
+
54
+ ### Patch Changes
55
+
56
+ - e953081: add search in css classes list
57
+ create useDebounceState in util
58
+ - 9cf0fad: Show styles inheritance indicator even if all inherited values are from the base style
59
+ - 668adb4: Adds a panel divider to css filter effects section
60
+ - Updated dependencies [e953081]
61
+ - Updated dependencies [ab6ad10]
62
+ - Updated dependencies [0b32e5c]
63
+ - Updated dependencies [c91168a]
64
+ - Updated dependencies [a0ff6bc]
65
+ - Updated dependencies [bfe6b0b]
66
+ - Updated dependencies [ea388a1]
67
+ - Updated dependencies [16df763]
68
+ - Updated dependencies [6c6f0d6]
69
+ - Updated dependencies [125de7b]
70
+ - Updated dependencies [9bbd4e3]
71
+ - Updated dependencies [c694e33]
72
+ - Updated dependencies [d85ca8c]
73
+ - @elementor/utils@0.5.0
74
+ - @elementor/editor-controls@1.2.0
75
+ - @elementor/editor-canvas@0.25.0
76
+ - @elementor/editor-props@0.15.0
77
+ - @elementor/editor-ui@0.13.0
78
+ - @elementor/editor-elements@0.8.7
79
+ - @elementor/editor-documents@0.13.8
80
+ - @elementor/editor-styles-repository@0.10.4
81
+ - @elementor/editor-v1-adapters@0.12.1
82
+ - @elementor/wp-media@0.6.1
83
+ - @elementor/editor-styles@0.6.11
84
+ - @elementor/editor@0.20.1
85
+ - @elementor/editor-panels@0.16.1
86
+ - @elementor/editor-responsive@0.13.6
87
+
3
88
  ## 1.46.0
4
89
 
5
90
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -6,6 +6,12 @@ import * as _elementor_editor_props from '@elementor/editor-props';
6
6
  import { ChipProps, Theme } from '@elementor/ui';
7
7
  import * as _elementor_locations from '@elementor/locations';
8
8
  import * as _elementor_menus from '@elementor/menus';
9
+ import { PopoverScrollableContent as PopoverScrollableContent$1 } from '@elementor/editor-ui';
10
+
11
+ declare const EXPERIMENTAL_FEATURES: {
12
+ V_3_30: string;
13
+ V_3_31: string;
14
+ };
9
15
 
10
16
  type PopoverActionProps = {
11
17
  title: string;
@@ -65,6 +71,11 @@ declare const controlActionsMenu: _elementor_menus.Menu<{
65
71
 
66
72
  declare const useFontFamilies: () => FontCategory[];
67
73
 
74
+ type Props = React.ComponentProps<typeof PopoverScrollableContent$1>;
75
+ declare const PopoverScrollableContent: (props: Props) => React.JSX.Element;
76
+
77
+ declare const useSectionWidth: () => number;
78
+
68
79
  declare function init(): void;
69
80
 
70
- export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, registerStyleProviderToColors, useFontFamilies, usePanelActions, usePanelStatus };
81
+ export { EXPERIMENTAL_FEATURES, type PopoverActionProps, PopoverScrollableContent, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, registerStyleProviderToColors, useFontFamilies, usePanelActions, usePanelStatus, useSectionWidth };
package/dist/index.d.ts CHANGED
@@ -6,6 +6,12 @@ import * as _elementor_editor_props from '@elementor/editor-props';
6
6
  import { ChipProps, Theme } from '@elementor/ui';
7
7
  import * as _elementor_locations from '@elementor/locations';
8
8
  import * as _elementor_menus from '@elementor/menus';
9
+ import { PopoverScrollableContent as PopoverScrollableContent$1 } from '@elementor/editor-ui';
10
+
11
+ declare const EXPERIMENTAL_FEATURES: {
12
+ V_3_30: string;
13
+ V_3_31: string;
14
+ };
9
15
 
10
16
  type PopoverActionProps = {
11
17
  title: string;
@@ -65,6 +71,11 @@ declare const controlActionsMenu: _elementor_menus.Menu<{
65
71
 
66
72
  declare const useFontFamilies: () => FontCategory[];
67
73
 
74
+ type Props = React.ComponentProps<typeof PopoverScrollableContent$1>;
75
+ declare const PopoverScrollableContent: (props: Props) => React.JSX.Element;
76
+
77
+ declare const useSectionWidth: () => number;
78
+
68
79
  declare function init(): void;
69
80
 
70
- export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, registerStyleProviderToColors, useFontFamilies, usePanelActions, usePanelStatus };
81
+ export { EXPERIMENTAL_FEATURES, type PopoverActionProps, PopoverScrollableContent, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, registerStyleProviderToColors, useFontFamilies, usePanelActions, usePanelStatus, useSectionWidth };