@elementor/editor-variables 0.15.0 → 0.18.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 +88 -0
- package/dist/index.js +894 -486
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +892 -511
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
- package/src/components/color-variable-creation.tsx +37 -58
- package/src/components/color-variable-edit.tsx +110 -86
- package/src/components/color-variables-selection.tsx +32 -34
- package/src/components/fields/color-field.tsx +54 -0
- package/src/components/fields/font-field.tsx +85 -0
- package/src/components/fields/label-field.tsx +54 -0
- package/src/components/font-variable-creation.tsx +39 -78
- package/src/components/font-variable-edit.tsx +108 -114
- package/src/components/font-variables-selection.tsx +32 -34
- package/src/components/ui/delete-confirmation-dialog.tsx +52 -0
- package/src/components/ui/deleted-variable-alert.tsx +47 -0
- package/src/components/ui/menu-item-content.tsx +2 -5
- package/src/components/ui/tags/assigned-tag.tsx +45 -0
- package/src/components/ui/tags/deleted-tag.tsx +37 -0
- package/src/components/ui/variable/assigned-variable.tsx +70 -0
- package/src/components/ui/variable/deleted-variable.tsx +76 -0
- package/src/controls/color-variable-control.tsx +21 -48
- package/src/controls/font-variable-control.tsx +20 -43
- package/src/create-style-variables-repository.ts +44 -5
- package/src/hooks/use-prop-variables.ts +6 -0
- package/src/init-color-variables.ts +3 -48
- package/src/renderers/style-variables-renderer.tsx +10 -4
- package/src/repeater-injections.ts +35 -0
- package/src/service.ts +23 -2
- package/src/sync/enqueue-font.ts +7 -0
- package/src/sync/types.ts +5 -0
- package/src/transformers/variable-transformer.ts +21 -3
- package/src/types.ts +1 -1
- package/src/utils/validations.ts +42 -0
- package/src/components/ui/variable-tag.tsx +0 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# @elementor/editor-variables
|
|
2
2
|
|
|
3
|
+
## 0.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1ff40ee: Support for user-defined variable names in css
|
|
8
|
+
- aff9ad2: Update the deleted variable tag.
|
|
9
|
+
- e46222c: Add tooltip to variable chip.
|
|
10
|
+
- 4ef12df: Update text translations
|
|
11
|
+
- 99d7a44: Add input validation for server errors.
|
|
12
|
+
- 102e64b: Added fallback values for variables on canvas for visual consistency
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 0db150c: Update the popover height.
|
|
17
|
+
- Updated dependencies [22b87fb]
|
|
18
|
+
- Updated dependencies [64b3e09]
|
|
19
|
+
- Updated dependencies [3904505]
|
|
20
|
+
- Updated dependencies [3d530f6]
|
|
21
|
+
- Updated dependencies [0db150c]
|
|
22
|
+
- Updated dependencies [cdbd491]
|
|
23
|
+
- Updated dependencies [b90d7db]
|
|
24
|
+
- @elementor/editor-editing-panel@1.50.0
|
|
25
|
+
- @elementor/editor-controls@1.5.0
|
|
26
|
+
- @elementor/editor-canvas@0.28.0
|
|
27
|
+
- @elementor/editor-props@0.18.0
|
|
28
|
+
- @elementor/editor-ui@0.14.2
|
|
29
|
+
- @elementor/editor@0.21.1
|
|
30
|
+
|
|
31
|
+
## 0.17.0
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- f2df660: Fix font variable not rendering on the canvas
|
|
36
|
+
- 5fc23ea: Created an alert popover for deleted variables
|
|
37
|
+
- 0b2145a: Update the text on the delete variable dialog.
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [669f39f]
|
|
42
|
+
- Updated dependencies [2e677ee]
|
|
43
|
+
- Updated dependencies [90ec4c6]
|
|
44
|
+
- Updated dependencies [068f659]
|
|
45
|
+
- Updated dependencies [e7cca0a]
|
|
46
|
+
- Updated dependencies [07ca7e9]
|
|
47
|
+
- @elementor/editor-controls@1.4.0
|
|
48
|
+
- @elementor/editor-ui@0.14.1
|
|
49
|
+
- @elementor/editor-editing-panel@1.49.0
|
|
50
|
+
- @elementor/editor-canvas@0.27.0
|
|
51
|
+
- @elementor/editor-props@0.17.0
|
|
52
|
+
|
|
53
|
+
## 0.16.0
|
|
54
|
+
|
|
55
|
+
### Minor Changes
|
|
56
|
+
|
|
57
|
+
- 5236bf5: Deleted variable UI
|
|
58
|
+
- fbc7523: Extract tag and popover into separate components
|
|
59
|
+
- 6e18b13: Remove line break in dialog text
|
|
60
|
+
- ab2f4f7: Remove the version specific references inside the variables popover item layout.
|
|
61
|
+
- 1a37b1c: Update the Elementor UI version.
|
|
62
|
+
- 12333b0: Update `@elementor/icons` package.
|
|
63
|
+
- 8e7ac7c: Variables form handling improvements
|
|
64
|
+
- 13f531e: Add validations errors for variables flow
|
|
65
|
+
- fcbdf6c: Remove color in variables warning validation.
|
|
66
|
+
- 064599a: Refactor background & box shadow color injections into a separate file
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Updated dependencies [49714e8]
|
|
71
|
+
- Updated dependencies [b94c5af]
|
|
72
|
+
- Updated dependencies [5c6a912]
|
|
73
|
+
- Updated dependencies [b3726f6]
|
|
74
|
+
- Updated dependencies [68ce0d9]
|
|
75
|
+
- Updated dependencies [b17730a]
|
|
76
|
+
- Updated dependencies [1a37b1c]
|
|
77
|
+
- Updated dependencies [c62d64c]
|
|
78
|
+
- Updated dependencies [d9aaedd]
|
|
79
|
+
- Updated dependencies [d1fc9d2]
|
|
80
|
+
- Updated dependencies [12333b0]
|
|
81
|
+
- Updated dependencies [8f38cf3]
|
|
82
|
+
- Updated dependencies [a88c14b]
|
|
83
|
+
- Updated dependencies [d4406fd]
|
|
84
|
+
- @elementor/editor-editing-panel@1.48.0
|
|
85
|
+
- @elementor/editor-controls@1.3.0
|
|
86
|
+
- @elementor/editor-canvas@0.26.0
|
|
87
|
+
- @elementor/editor-props@0.16.0
|
|
88
|
+
- @elementor/editor@0.21.0
|
|
89
|
+
- @elementor/editor-ui@0.14.0
|
|
90
|
+
|
|
3
91
|
## 0.15.0
|
|
4
92
|
|
|
5
93
|
### Minor Changes
|