@elementor/editor-editing-panel 1.46.0 → 1.47.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 (68) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/index.d.mts +12 -1
  3. package/dist/index.d.ts +12 -1
  4. package/dist/index.js +875 -753
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +787 -667
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +15 -15
  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-radius-field.tsx +4 -2
  16. package/src/components/style-sections/border-section/border-style-field.tsx +11 -16
  17. package/src/components/style-sections/border-section/border-width-field.tsx +4 -2
  18. package/src/components/style-sections/effects-section/effects-section.tsx +19 -5
  19. package/src/components/style-sections/layout-section/align-content-field.tsx +11 -12
  20. package/src/components/style-sections/layout-section/align-items-field.tsx +8 -11
  21. package/src/components/style-sections/layout-section/align-self-child-field.tsx +11 -16
  22. package/src/components/style-sections/layout-section/display-field.tsx +6 -6
  23. package/src/components/style-sections/layout-section/flex-direction-field.tsx +11 -14
  24. package/src/components/style-sections/layout-section/flex-order-field.tsx +31 -34
  25. package/src/components/style-sections/layout-section/flex-size-field.tsx +28 -48
  26. package/src/components/style-sections/layout-section/gap-control-field.tsx +5 -6
  27. package/src/components/style-sections/layout-section/justify-content-field.tsx +11 -12
  28. package/src/components/style-sections/layout-section/opacity-control-field.tsx +9 -13
  29. package/src/components/style-sections/layout-section/wrap-field.tsx +10 -14
  30. package/src/components/style-sections/position-section/dimensions-field.tsx +4 -4
  31. package/src/components/style-sections/position-section/offset-field.tsx +12 -14
  32. package/src/components/style-sections/position-section/position-field.tsx +7 -11
  33. package/src/components/style-sections/position-section/z-index-field.tsx +7 -11
  34. package/src/components/style-sections/size-section/object-fit-field.tsx +7 -11
  35. package/src/components/style-sections/size-section/object-position-field.tsx +4 -1
  36. package/src/components/style-sections/size-section/overflow-field.tsx +7 -11
  37. package/src/components/style-sections/size-section/size-section.tsx +9 -7
  38. package/src/components/style-sections/spacing-section/spacing-section.tsx +7 -4
  39. package/src/components/style-sections/typography-section/column-count-field.tsx +7 -11
  40. package/src/components/style-sections/typography-section/column-gap-field.tsx +9 -13
  41. package/src/components/style-sections/typography-section/font-family-field.tsx +9 -11
  42. package/src/components/style-sections/typography-section/font-size-field.tsx +9 -13
  43. package/src/components/style-sections/typography-section/font-style-field.tsx +13 -13
  44. package/src/components/style-sections/typography-section/font-weight-field.tsx +7 -11
  45. package/src/components/style-sections/typography-section/letter-spacing-field.tsx +9 -13
  46. package/src/components/style-sections/typography-section/line-height-field.tsx +9 -13
  47. package/src/components/style-sections/typography-section/text-alignment-field.tsx +11 -14
  48. package/src/components/style-sections/typography-section/text-color-field.tsx +7 -11
  49. package/src/components/style-sections/typography-section/text-decoration-field.tsx +7 -11
  50. package/src/components/style-sections/typography-section/text-direction-field.tsx +7 -11
  51. package/src/components/style-sections/typography-section/text-stroke-field.tsx +4 -2
  52. package/src/components/style-sections/typography-section/transform-field.tsx +7 -11
  53. package/src/components/style-sections/typography-section/word-spacing-field.tsx +9 -13
  54. package/src/components/styles-field-layout.tsx +50 -0
  55. package/src/contexts/section-context.tsx +14 -0
  56. package/src/controls-registry/control-type-container.tsx +6 -2
  57. package/src/controls-registry/controls-registry.tsx +1 -1
  58. package/src/controls-registry/settings-field.tsx +65 -6
  59. package/src/controls-registry/styles-field.tsx +10 -2
  60. package/src/dynamics/components/dynamic-selection-control.tsx +10 -4
  61. package/src/dynamics/components/dynamic-selection.tsx +18 -14
  62. package/src/hooks/use-default-panel-settings.ts +4 -0
  63. package/src/index.ts +4 -0
  64. package/src/popover-action.tsx +8 -1
  65. package/src/styles-inheritance/components/styles-inheritance-indicator.tsx +4 -1
  66. package/src/styles-inheritance/components/styles-inheritance-infotip.tsx +9 -19
  67. package/src/sync/experiments-flags.ts +1 -0
  68. package/src/components/popover-content.tsx +0 -15
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.47.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ab6ad10: Adds support for css filter property, blur and brightness only.
8
+ - a0ff6bc: Reset value button position fix, input reset fix for aspect ratio control
9
+ - bfe6b0b: Update the width settings for the popover selection list.
10
+ - 16df763: Add changed prop name to atomic element setting history
11
+ - 6c6f0d6: Standardize style field layout and add `propDisplayName` prop to `StylesField`
12
+ - 125de7b: Show placeholders in Number control
13
+ - c694e33: updated overlay styling for small elements
14
+ changed default tab for editing panel for divider widget
15
+ - d85ca8c: Update the popover styling for version 3.30.
16
+
17
+ ### Patch Changes
18
+
19
+ - e953081: add search in css classes list
20
+ create useDebounceState in util
21
+ - 9cf0fad: Show styles inheritance indicator even if all inherited values are from the base style
22
+ - 668adb4: Adds a panel divider to css filter effects section
23
+ - Updated dependencies [e953081]
24
+ - Updated dependencies [ab6ad10]
25
+ - Updated dependencies [0b32e5c]
26
+ - Updated dependencies [c91168a]
27
+ - Updated dependencies [a0ff6bc]
28
+ - Updated dependencies [bfe6b0b]
29
+ - Updated dependencies [ea388a1]
30
+ - Updated dependencies [16df763]
31
+ - Updated dependencies [6c6f0d6]
32
+ - Updated dependencies [125de7b]
33
+ - Updated dependencies [9bbd4e3]
34
+ - Updated dependencies [c694e33]
35
+ - Updated dependencies [d85ca8c]
36
+ - @elementor/utils@0.5.0
37
+ - @elementor/editor-controls@1.2.0
38
+ - @elementor/editor-canvas@0.25.0
39
+ - @elementor/editor-props@0.15.0
40
+ - @elementor/editor-ui@0.13.0
41
+ - @elementor/editor-elements@0.8.7
42
+ - @elementor/editor-documents@0.13.8
43
+ - @elementor/editor-styles-repository@0.10.4
44
+ - @elementor/editor-v1-adapters@0.12.1
45
+ - @elementor/wp-media@0.6.1
46
+ - @elementor/editor-styles@0.6.11
47
+ - @elementor/editor@0.20.1
48
+ - @elementor/editor-panels@0.16.1
49
+ - @elementor/editor-responsive@0.13.6
50
+
3
51
  ## 1.46.0
4
52
 
5
53
  ### 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 };