@elementor/editor-variables 0.12.0 → 0.14.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 (34) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/index.js +918 -332
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.mjs +961 -329
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +10 -9
  7. package/src/components/color-variable-creation.tsx +65 -64
  8. package/src/components/color-variable-edit.tsx +117 -0
  9. package/src/components/color-variables-selection.tsx +98 -52
  10. package/src/components/font-variable-creation.tsx +143 -0
  11. package/src/components/font-variable-edit.tsx +146 -0
  12. package/src/components/font-variables-selection.tsx +97 -51
  13. package/src/components/ui/menu-item-content.tsx +51 -0
  14. package/src/components/ui/no-search-results.tsx +38 -0
  15. package/src/components/ui/no-variables.tsx +35 -0
  16. package/src/components/ui/styled-menu-list.tsx +31 -0
  17. package/src/components/variable-selection-popover.tsx +133 -0
  18. package/src/components/variables-repeater-item-slot.tsx +29 -0
  19. package/src/controls/color-variable-control.tsx +90 -0
  20. package/src/controls/font-variable-control.tsx +88 -0
  21. package/src/create-style-variables-repository.ts +3 -2
  22. package/src/hooks/use-prop-color-variable-action.tsx +7 -2
  23. package/src/hooks/use-prop-font-variable-action.tsx +7 -2
  24. package/src/hooks/use-prop-variables.ts +31 -4
  25. package/src/init-color-variables.ts +51 -3
  26. package/src/init-font-variables.ts +2 -2
  27. package/src/service.ts +23 -3
  28. package/src/storage.ts +5 -1
  29. package/src/types.ts +12 -8
  30. package/src/components/styled-menu-item.tsx +0 -10
  31. package/src/components/variables-selection-popover.tsx +0 -106
  32. package/src/controls/color-variables-selection-control.tsx +0 -34
  33. package/src/controls/font-variables-selection-control.tsx +0 -29
  34. /package/src/components/{color-indicator.tsx → ui/color-indicator.tsx} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,68 @@
1
1
  # @elementor/editor-variables
2
2
 
3
+ ## 0.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5c7a309: Workflow for the variables management
8
+ - da0c4ca: Ability to search variables by name
9
+ - 00fa7a7: Changes in variables popover (building the workflow infrastructure for fonts)
10
+ - 17b73ab: Update `@elementor/ui` version.
11
+ - f6e5589: color variable edit ui
12
+ - c60a1c8: Fixed issue, when creating a new variable caused unexpected errors
13
+ - 3140664: Changes in variables popover (building the workflow infrastructure)
14
+ - dc90c83: Update assigned vars UI
15
+ - da219e2: Display variable names inside repeater items.
16
+ - 720e3d9: Screen for empty list of variables
17
+ - f3dac46: Fixed missing color indicator for assigned color variable
18
+ - 793d5f2: improve variable edit workflow
19
+ - 40d00c2: Implement the Popover Menu List inside the Dynamic Tags and the Variables.
20
+ - d5e9011: Implement the Popover Search component inside the Dynamic Tags, Font Families and the Variables.
21
+ - dd14a67: Add ability to edit existing font variable
22
+ - 93dfad1: Update `PopoverAction` to render dynamic content.
23
+ - f37c325: Extract the popover scrollable content box to a standalone component inside the Editor UI package.
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [9ccd243]
28
+ - Updated dependencies [da0c4ca]
29
+ - Updated dependencies [ac09e27]
30
+ - Updated dependencies [17b73ab]
31
+ - Updated dependencies [7a4178f]
32
+ - Updated dependencies [29f1740]
33
+ - Updated dependencies [8e18905]
34
+ - Updated dependencies [aa176b8]
35
+ - Updated dependencies [3daa1c9]
36
+ - Updated dependencies [40d00c2]
37
+ - Updated dependencies [d5e9011]
38
+ - Updated dependencies [93dfad1]
39
+ - Updated dependencies [30a6d95]
40
+ - Updated dependencies [f37c325]
41
+ - Updated dependencies [20d04f2]
42
+ - @elementor/editor-editing-panel@1.46.0
43
+ - @elementor/editor-controls@1.1.0
44
+ - @elementor/editor-ui@0.12.0
45
+ - @elementor/editor-canvas@0.24.0
46
+ - @elementor/editor@0.20.0
47
+ - @elementor/editor-props@0.14.0
48
+
49
+ ## 0.13.0
50
+
51
+ ### Minor Changes
52
+
53
+ - 5799919: Add font variable creation ui
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies [ab6320c]
58
+ - Updated dependencies [199c99a]
59
+ - Updated dependencies [dac8026]
60
+ - Updated dependencies [2c11540]
61
+ - @elementor/editor-editing-panel@1.45.0
62
+ - @elementor/editor-props@0.13.0
63
+ - @elementor/editor-controls@1.0.0
64
+ - @elementor/editor-canvas@0.23.0
65
+
3
66
  ## 0.12.0
4
67
 
5
68
  ### Minor Changes