@servicetitan/dte-unlayer 0.62.0 → 0.64.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/src/unlayer.tsx CHANGED
@@ -61,8 +61,8 @@ export interface EventDesignUpdated {
61
61
  * to know correct schema version, open unlayer editor and check output design ('schema' property)
62
62
  */
63
63
  export const versions = {
64
- unlayer: '1.2.9',
65
- schema: 5,
64
+ unlayer: '1.9.0',
65
+ schema: 16,
66
66
  };
67
67
 
68
68
  export const handlePreselectTool = (preselectToolSlug: string) => {
@@ -76,7 +76,11 @@ export const handlePreselectTool = (preselectToolSlug: string) => {
76
76
 
77
77
  export const hideUnlayerContentsControls = () => {
78
78
  return `
79
- .blockbuilder-layer-controls-contents {
79
+ .blockbuilder-layer-controls-contents, .blockbuilder-layer-controls-rows {
80
+ display: none !important;
81
+ }
82
+
83
+ .blockbuilder-options-header .text-right .icon-delete, .blockbuilder-options-header .text-right .icon-duplicate {
80
84
  display: none !important;
81
85
  }
82
86
  `;
@@ -204,6 +208,9 @@ export const createUnlayerEditor = (
204
208
  }, {} as Record<string, { name: string; value: string }>),
205
209
  projectId: 5713,
206
210
  version: latest ? undefined : versions.unlayer,
211
+ appearance: {
212
+ theme: 'classic_light',
213
+ },
207
214
  tools: {
208
215
  button: { enabled: false },
209
216
  html: { enabled: false },