@elementor/editor-variables 0.13.0 → 0.15.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.
- package/CHANGELOG.md +84 -0
- package/dist/index.js +938 -344
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +950 -335
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -10
- package/src/components/color-variable-creation.tsx +39 -16
- package/src/components/color-variable-edit.tsx +133 -0
- package/src/components/color-variables-selection.tsx +111 -52
- package/src/components/font-variable-creation.tsx +30 -16
- package/src/components/font-variable-edit.tsx +163 -0
- package/src/components/font-variables-selection.tsx +110 -51
- package/src/components/{color-indicator.tsx → ui/color-indicator.tsx} +1 -0
- package/src/components/ui/menu-item-content.tsx +60 -0
- package/src/components/ui/no-search-results.tsx +36 -0
- package/src/components/ui/no-variables.tsx +36 -0
- package/src/components/ui/styled-menu-list.tsx +31 -0
- package/src/components/ui/variable-tag.tsx +43 -0
- package/src/components/variable-selection-popover.context.ts +7 -0
- package/src/components/variable-selection-popover.tsx +142 -0
- package/src/components/variables-repeater-item-slot.tsx +29 -0
- package/src/controls/color-variable-control.tsx +66 -0
- package/src/controls/font-variable-control.tsx +60 -0
- package/src/create-style-variables-repository.ts +3 -2
- package/src/hooks/use-prop-color-variable-action.tsx +7 -2
- package/src/hooks/use-prop-font-variable-action.tsx +7 -2
- package/src/hooks/use-prop-variables.ts +34 -13
- package/src/init-color-variables.ts +51 -3
- package/src/init-font-variables.ts +2 -2
- package/src/service.ts +23 -3
- package/src/storage.ts +5 -1
- package/src/types.ts +12 -8
- package/src/components/styled-menu-item.tsx +0 -10
- package/src/components/variables-selection-popover.tsx +0 -119
- package/src/controls/color-variables-selection-control.tsx +0 -34
- package/src/controls/font-variables-selection-control.tsx +0 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,89 @@
|
|
|
1
1
|
# @elementor/editor-variables
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5bc4db9: Ability to delete a variable
|
|
8
|
+
- bfe6b0b: Update the width settings for the popover selection list.
|
|
9
|
+
- 2a3bf05: Fixed color-picker popover placement and no-color-variables icon
|
|
10
|
+
- d85ca8c: Update the popover styling for version 3.30.
|
|
11
|
+
- 22e6b74: Fix Vars indication Ui and extract variable tag into one component.
|
|
12
|
+
- 9228da2: Filter the deleted items from the popover list.
|
|
13
|
+
- a8f0364: Update styling and spacing of the variables create and edit popovers.
|
|
14
|
+
- 9fe6b02: Fix “No Search Results” UI by adding appropriate icons for font and color variables
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [e953081]
|
|
19
|
+
- Updated dependencies [ab6ad10]
|
|
20
|
+
- Updated dependencies [9cf0fad]
|
|
21
|
+
- Updated dependencies [0b32e5c]
|
|
22
|
+
- Updated dependencies [c91168a]
|
|
23
|
+
- Updated dependencies [a0ff6bc]
|
|
24
|
+
- Updated dependencies [bfe6b0b]
|
|
25
|
+
- Updated dependencies [ea388a1]
|
|
26
|
+
- Updated dependencies [16df763]
|
|
27
|
+
- Updated dependencies [668adb4]
|
|
28
|
+
- Updated dependencies [6c6f0d6]
|
|
29
|
+
- Updated dependencies [125de7b]
|
|
30
|
+
- Updated dependencies [9bbd4e3]
|
|
31
|
+
- Updated dependencies [c694e33]
|
|
32
|
+
- Updated dependencies [d85ca8c]
|
|
33
|
+
- @elementor/editor-editing-panel@1.47.0
|
|
34
|
+
- @elementor/editor-controls@1.2.0
|
|
35
|
+
- @elementor/editor-canvas@0.25.0
|
|
36
|
+
- @elementor/editor-props@0.15.0
|
|
37
|
+
- @elementor/editor-ui@0.13.0
|
|
38
|
+
- @elementor/editor-v1-adapters@0.12.1
|
|
39
|
+
- @elementor/editor@0.20.1
|
|
40
|
+
|
|
41
|
+
## 0.14.0
|
|
42
|
+
|
|
43
|
+
### Minor Changes
|
|
44
|
+
|
|
45
|
+
- 5c7a309: Workflow for the variables management
|
|
46
|
+
- da0c4ca: Ability to search variables by name
|
|
47
|
+
- 00fa7a7: Changes in variables popover (building the workflow infrastructure for fonts)
|
|
48
|
+
- 17b73ab: Update `@elementor/ui` version.
|
|
49
|
+
- f6e5589: color variable edit ui
|
|
50
|
+
- c60a1c8: Fixed issue, when creating a new variable caused unexpected errors
|
|
51
|
+
- 3140664: Changes in variables popover (building the workflow infrastructure)
|
|
52
|
+
- dc90c83: Update assigned vars UI
|
|
53
|
+
- da219e2: Display variable names inside repeater items.
|
|
54
|
+
- 720e3d9: Screen for empty list of variables
|
|
55
|
+
- f3dac46: Fixed missing color indicator for assigned color variable
|
|
56
|
+
- 793d5f2: improve variable edit workflow
|
|
57
|
+
- 40d00c2: Implement the Popover Menu List inside the Dynamic Tags and the Variables.
|
|
58
|
+
- d5e9011: Implement the Popover Search component inside the Dynamic Tags, Font Families and the Variables.
|
|
59
|
+
- dd14a67: Add ability to edit existing font variable
|
|
60
|
+
- 93dfad1: Update `PopoverAction` to render dynamic content.
|
|
61
|
+
- f37c325: Extract the popover scrollable content box to a standalone component inside the Editor UI package.
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies [9ccd243]
|
|
66
|
+
- Updated dependencies [da0c4ca]
|
|
67
|
+
- Updated dependencies [ac09e27]
|
|
68
|
+
- Updated dependencies [17b73ab]
|
|
69
|
+
- Updated dependencies [7a4178f]
|
|
70
|
+
- Updated dependencies [29f1740]
|
|
71
|
+
- Updated dependencies [8e18905]
|
|
72
|
+
- Updated dependencies [aa176b8]
|
|
73
|
+
- Updated dependencies [3daa1c9]
|
|
74
|
+
- Updated dependencies [40d00c2]
|
|
75
|
+
- Updated dependencies [d5e9011]
|
|
76
|
+
- Updated dependencies [93dfad1]
|
|
77
|
+
- Updated dependencies [30a6d95]
|
|
78
|
+
- Updated dependencies [f37c325]
|
|
79
|
+
- Updated dependencies [20d04f2]
|
|
80
|
+
- @elementor/editor-editing-panel@1.46.0
|
|
81
|
+
- @elementor/editor-controls@1.1.0
|
|
82
|
+
- @elementor/editor-ui@0.12.0
|
|
83
|
+
- @elementor/editor-canvas@0.24.0
|
|
84
|
+
- @elementor/editor@0.20.0
|
|
85
|
+
- @elementor/editor-props@0.14.0
|
|
86
|
+
|
|
3
87
|
## 0.13.0
|
|
4
88
|
|
|
5
89
|
### Minor Changes
|