@elementor/editor-editing-panel 0.15.0 → 0.17.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 (43) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/index.js +751 -120
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.mjs +769 -111
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +7 -6
  7. package/src/components/style-sections/position-section/position-section.tsx +15 -0
  8. package/src/components/style-sections/position-section/z-index-control.tsx +16 -0
  9. package/src/components/style-sections/size-section.tsx +9 -12
  10. package/src/components/style-sections/spacing-section/linked-dimensions-control.tsx +140 -0
  11. package/src/components/style-sections/spacing-section/spacing-section.tsx +22 -0
  12. package/src/components/style-sections/typography-section/letter-spacing-control.tsx +16 -0
  13. package/src/components/style-sections/typography-section/text-alignment-control.tsx +43 -0
  14. package/src/components/style-sections/typography-section/text-color-control.tsx +16 -0
  15. package/src/components/style-sections/typography-section/transform-control.tsx +23 -0
  16. package/src/components/style-sections/typography-section/typography-section.tsx +17 -1
  17. package/src/components/style-sections/typography-section/word-spacing-control.tsx +16 -0
  18. package/src/components/style-tab.tsx +29 -5
  19. package/src/contexts/style-context.tsx +8 -2
  20. package/src/controls/components/control-toggle-button-group.tsx +59 -0
  21. package/src/controls/components/text-field-inner-selection.tsx +79 -0
  22. package/src/controls/control-types/color-control.tsx +24 -0
  23. package/src/controls/control-types/number-control.tsx +25 -0
  24. package/src/controls/control-types/size-control.tsx +20 -34
  25. package/src/controls/control-types/toggle-control.tsx +25 -0
  26. package/src/controls/hooks/use-style-control.ts +2 -1
  27. package/src/controls/settings-control.tsx +1 -1
  28. package/src/dynamics/components/dynamic-selection-control.tsx +181 -0
  29. package/src/dynamics/components/dynamic-selection.tsx +155 -0
  30. package/src/dynamics/dynamic-control.tsx +42 -0
  31. package/src/dynamics/hooks/use-dynamic-tag.ts +10 -0
  32. package/src/{hooks/use-dynamic-tags-config.ts → dynamics/hooks/use-prop-dynamic-tags.ts} +6 -5
  33. package/src/dynamics/hooks/use-prop-value-history.ts +26 -0
  34. package/src/dynamics/init.ts +10 -0
  35. package/src/{sync → dynamics/sync}/get-atomic-dynamic-tags.ts +1 -1
  36. package/src/{sync → dynamics/sync}/get-elementor-config.ts +1 -1
  37. package/src/dynamics/types.ts +32 -0
  38. package/src/dynamics/utils.ts +9 -0
  39. package/src/init.ts +4 -0
  40. package/src/props/is-transformable.ts +14 -0
  41. package/src/sync/types.ts +0 -13
  42. package/src/sync/update-style.ts +2 -2
  43. package/src/types.ts +9 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e4f30e9: Restore previous value from session when removing the dynamic value.
8
+ - 658f569: added `TextAlignmentControl`
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [59c991b]
13
+ - @elementor/editor-style@0.4.0
14
+
15
+ ## 0.16.0
16
+
17
+ ### Minor Changes
18
+
19
+ - ad6aec4: Update `SizeControl` component
20
+ - cf81790: Update `@elementor/icons` version
21
+ - f702a03: Toggle linked control icon
22
+ - 4f78dec: adding letter-spacing style control
23
+ - ccde574: Create dynamic selection control with settings popover
24
+ - 0f30451: Adding spacing icons to `editor-editing-panel`
25
+ - 33e110d: Added `ControlToggleButtonGroup`
26
+ - 285b2ed: add text color control
27
+ - 1b67bf8: Added `SpacingSection` and `LinkedDimensionsControl` components
28
+ - 0e70721: Update `@elementor/ui` and `@elementor/icons` versions
29
+ - 4b9f9f2: add z-index control
30
+ - 14ae76d: Adding transform style control
31
+ - 709fb22: Added `DynamicSelection` component
32
+ - 4128717: adding word-spacing style control
33
+ - 1b97b07: Change `StyleTab` layout
34
+ - 830a19a: Add dynamic wrapper, separate dynamics from controls
35
+
36
+ ### Patch Changes
37
+
38
+ - a2a9237: Remove hard-coded classes prop type
39
+ - Updated dependencies [49b8465]
40
+ - Updated dependencies [0e70721]
41
+ - @elementor/editor-style@0.3.0
42
+ - @elementor/editor-panels@0.7.0
43
+ - @elementor/editor@0.14.0
44
+
3
45
  ## 0.15.0
4
46
 
5
47
  ### Minor Changes