@useinsider/guido 3.17.0-beta.bc6e089 → 3.17.0-beta.c3ab4de

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 (59) hide show
  1. package/dist/@types/config/schemas.js +15 -13
  2. package/dist/components/organisms/header/AutoSaveStatus.vue.js +17 -0
  3. package/dist/components/organisms/header/AutoSaveStatus.vue2.js +21 -0
  4. package/dist/components/organisms/header/EditorActions.vue.js +13 -13
  5. package/dist/components/organisms/header/EditorActions.vue2.js +34 -50
  6. package/dist/components/organisms/header/EditorActionsMenu.vue.js +20 -0
  7. package/dist/components/organisms/header/EditorActionsMenu.vue2.js +39 -0
  8. package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
  9. package/dist/components/organisms/header/LeftSlot.vue2.js +28 -23
  10. package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
  11. package/dist/components/organisms/header/MiddleSlot.vue2.js +8 -7
  12. package/dist/components/organisms/header/RightSlot.vue.js +7 -6
  13. package/dist/components/organisms/header/RightSlot.vue2.js +17 -15
  14. package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +18 -0
  15. package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +37 -0
  16. package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +24 -0
  17. package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +48 -0
  18. package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +18 -0
  19. package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +74 -0
  20. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +43 -34
  21. package/dist/composables/useAccessibilityApi.js +31 -0
  22. package/dist/composables/useCustomInterfaceAppearance.js +31 -28
  23. package/dist/config/i18n/en/labels.json.js +28 -4
  24. package/dist/config/migrator/itemsBlockMigrator.js +156 -204
  25. package/dist/extensions/Blocks/Items/controls/name/trimming.js +17 -18
  26. package/dist/extensions/Blocks/Items/controls/settingsControl.js +55 -58
  27. package/dist/extensions/Blocks/Items/enums/productEnums.js +9 -14
  28. package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +9 -11
  29. package/dist/extensions/Blocks/Items/template.js +206 -214
  30. package/dist/guido.css +1 -1
  31. package/dist/node_modules/@vueuse/core/index.js +102 -0
  32. package/dist/node_modules/@vueuse/shared/index.js +40 -28
  33. package/dist/sprite.svg +6 -0
  34. package/dist/src/@types/config/schemas.d.ts +4 -0
  35. package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +2 -0
  36. package/dist/src/components/organisms/header/accessibility/AccessibilityToolbar.vue.d.ts +2 -0
  37. package/dist/src/components/organisms/header/accessibility/ColorVisionSelect.vue.d.ts +2 -0
  38. package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +2 -0
  39. package/dist/src/composables/useAccessibilityApi.d.ts +15 -0
  40. package/dist/src/composables/useActionsApi.d.ts +2 -2
  41. package/dist/src/composables/useConfig.d.ts +2 -0
  42. package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +0 -3
  43. package/dist/src/stores/config.d.ts +18 -0
  44. package/dist/src/stores/editor.d.ts +76 -0
  45. package/dist/src/stores/onboarding.d.ts +377 -0
  46. package/dist/src/stores/version-history.d.ts +1 -1
  47. package/dist/src/utils/timeUtil.d.ts +10 -0
  48. package/dist/static/styles/components/accessibility.css.js +137 -0
  49. package/dist/static/styles/variables.css.js +1 -0
  50. package/dist/stores/editor.js +4 -1
  51. package/dist/stores/onboarding.js +16 -11
  52. package/dist/utils/pairProductVariables.js +70 -70
  53. package/dist/utils/timeUtil.js +6 -17
  54. package/package.json +1 -1
  55. package/dist/components/organisms/header/AutoSaveToggle.vue.js +0 -22
  56. package/dist/components/organisms/header/AutoSaveToggle.vue2.js +0 -19
  57. package/dist/extensions/Blocks/Items/constants/cardLayout.js +0 -20
  58. package/dist/src/extensions/Blocks/Items/constants/cardLayout.d.ts +0 -44
  59. /package/dist/src/components/organisms/header/{AutoSaveToggle.vue.d.ts → AutoSaveStatus.vue.d.ts} +0 -0
@@ -0,0 +1,24 @@
1
+ import n from "./ColorVisionSelect.vue2.js";
2
+ /* empty css */
3
+ import i from "../../../../_virtual/_plugin-vue2_normalizer.js";
4
+ var l = function() {
5
+ var t = this, o = t._self._c, e = t._self._setupProxy;
6
+ return o("div", { ref: "root", staticClass: "color-vision-select p-r" }, [o(e.InButtonV2, { attrs: { id: "guido__a11y-color-vision-trigger", "left-icon": "line-show-on", "right-icon": "line-chevron-small-down", type: "secondary", "disabled-status": e.editorStore.loadingStatus, "label-text": e.selectedLabel }, on: { click: function(s) {
7
+ e.isOpen = !e.isOpen;
8
+ } } }), e.isOpen ? o("div", { staticClass: "color-vision-select__menu p-a" }, t._l(e.OPTIONS, function(s) {
9
+ return o("button", { key: s.value || "none", staticClass: "color-vision-select__option d-f f-d-c", class: { "color-vision-select__option_selected": s.value === e.editorStore.colorVisionDeficiency }, attrs: { type: "button" }, on: { click: function(_) {
10
+ return e.select(s.value);
11
+ } } }, [o("span", { staticClass: "color-vision-select__option-label f-s-2" }, [t._v(t._s(e.trans(s.labelKey)))]), s.descriptionKey ? o("span", { staticClass: "color-vision-select__option-description f-s-1 t-c-53" }, [t._v(" " + t._s(e.trans(s.descriptionKey)) + " ")]) : t._e()]);
12
+ }), 0) : t._e()], 1);
13
+ }, r = [], c = /* @__PURE__ */ i(
14
+ n,
15
+ l,
16
+ r,
17
+ !1,
18
+ null,
19
+ "869e2871"
20
+ );
21
+ const f = c.exports;
22
+ export {
23
+ f as default
24
+ };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as p, ref as c, computed as m } from "vue";
2
+ import { useAccessibilityApi as u } from "../../../../composables/useAccessibilityApi.js";
3
+ import { useTranslations as v } from "../../../../composables/useTranslations.js";
4
+ import { useEditorStore as f } from "../../../../stores/editor.js";
5
+ import { InButtonV2 as y } from "@useinsider/design-system-vue";
6
+ import { onClickOutside as K } from "../../../../node_modules/@vueuse/core/index.js";
7
+ const A = /* @__PURE__ */ p({
8
+ __name: "ColorVisionSelect",
9
+ setup(b) {
10
+ const e = [
11
+ {
12
+ value: "",
13
+ labelKey: "email-editor.cvd-none"
14
+ },
15
+ {
16
+ value: "protanopia",
17
+ labelKey: "email-editor.cvd-protanopia",
18
+ descriptionKey: "email-editor.cvd-protanopia-description"
19
+ },
20
+ {
21
+ value: "deuteranopia",
22
+ labelKey: "email-editor.cvd-deuteranopia",
23
+ descriptionKey: "email-editor.cvd-deuteranopia-description"
24
+ },
25
+ {
26
+ value: "tritanopia",
27
+ labelKey: "email-editor.cvd-tritanopia",
28
+ descriptionKey: "email-editor.cvd-tritanopia-description"
29
+ },
30
+ {
31
+ value: "achromatopsia",
32
+ labelKey: "email-editor.cvd-achromatopsia",
33
+ descriptionKey: "email-editor.cvd-achromatopsia-description"
34
+ }
35
+ ], t = f(), a = v(), { setColorVisionDeficiency: r } = u(), o = c(!1), n = c(null), l = m(() => {
36
+ const i = e.find((d) => d.value === t.colorVisionDeficiency) ?? e[0];
37
+ return a(i.labelKey);
38
+ }), s = (i) => {
39
+ r(i), o.value = !1;
40
+ };
41
+ return K(n, () => {
42
+ o.value = !1;
43
+ }), { __sfc: !0, OPTIONS: e, editorStore: t, trans: a, setColorVisionDeficiency: r, isOpen: o, root: n, selectedLabel: l, select: s, InButtonV2: y };
44
+ }
45
+ });
46
+ export {
47
+ A as default
48
+ };
@@ -0,0 +1,18 @@
1
+ import b from "./EditorTabBarOnboarding.vue2.js";
2
+ import g from "../../../_virtual/_plugin-vue2_normalizer.js";
3
+ var l = function() {
4
+ var t, a, n, i, e, s;
5
+ var r = this, d = r._self._c, o = r._self._setupProxy;
6
+ return o.isVisible ? d(o.InOnboard, { key: "guido__tab-bar-onboard", staticClass: "w-21-s p-a z-11", class: (t = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : t.classes, attrs: { id: "guido__tab-bar-onboard", "is-multiple-page": "", visible: "", "image-source": "", title: "", "bottom-position": (a = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : a.bottom, "left-position": (n = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : n.left, "pages-config": o.onboardingStore.onboardings.editorTabBarOnboarding.config, "pointer-position": (i = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : i.position, "right-position": (e = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : e.right, "top-position": (s = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : s.top }, on: { backButtonClick: o.handleBack, close: o.finish, nextButtonClick: o.handleNext } }) : r._e();
7
+ }, _ = [], p = /* @__PURE__ */ g(
8
+ b,
9
+ l,
10
+ _,
11
+ !1,
12
+ null,
13
+ null
14
+ );
15
+ const f = p.exports;
16
+ export {
17
+ f as default
18
+ };
@@ -0,0 +1,74 @@
1
+ import { defineComponent as p, computed as d, watch as x } from "vue";
2
+ import { useRibbonOffset as B } from "../../../composables/useRibbonOffset.js";
3
+ import { useTranslations as m } from "../../../composables/useTranslations.js";
4
+ import { useOnboardingStore as k } from "../../../stores/onboarding.js";
5
+ import { InOnboard as T } from "@useinsider/design-system-vue";
6
+ const y = /* @__PURE__ */ p({
7
+ __name: "EditorTabBarOnboarding",
8
+ setup(f) {
9
+ const n = "editorTabBarOnboarding", t = m(), i = k(), { getTopPosition: a } = B(), r = () => i.next(n), c = () => i.previous(n), s = () => void i.close(n), b = d(() => [
10
+ {
11
+ classes: "guido-tab-bar-onboarding",
12
+ right: "150px",
13
+ top: a(56),
14
+ position: "Right Top",
15
+ title: t("email-editor.onboarding-kebab-title"),
16
+ description: t("email-editor.onboarding-kebab-description"),
17
+ imageSource: "",
18
+ backButtonClick: () => {
19
+ },
20
+ nextButtonType: "text",
21
+ nextButtonText: t("action-builder.next"),
22
+ nextButtonClick: r
23
+ },
24
+ {
25
+ classes: "guido-tab-bar-onboarding",
26
+ right: "320px",
27
+ top: a(56),
28
+ position: "Right Top",
29
+ title: t("email-editor.onboarding-autosave-title"),
30
+ description: t("email-editor.onboarding-autosave-description"),
31
+ imageSource: "",
32
+ backButtonType: "text",
33
+ backButtonText: t("action-builder.back"),
34
+ backButtonClick: c,
35
+ nextButtonType: "text",
36
+ nextButtonText: t("action-builder.next"),
37
+ nextButtonClick: r
38
+ },
39
+ {
40
+ classes: "guido-tab-bar-onboarding",
41
+ right: "150px",
42
+ top: a(56),
43
+ position: "Right Top",
44
+ title: t("email-editor.onboarding-accessibility-title"),
45
+ description: t("email-editor.onboarding-accessibility-description"),
46
+ imageSource: "",
47
+ backButtonType: "text",
48
+ backButtonText: t("action-builder.back"),
49
+ backButtonClick: c,
50
+ nextButtonType: "text",
51
+ nextButtonText: t("action-builder.ok"),
52
+ nextButtonClick: s
53
+ }
54
+ ]), u = d(
55
+ () => i.onboardings.editorTabBarOnboarding.config.length > 0 && i.onboardings.editorTabBarOnboarding.isActive
56
+ ), g = () => {
57
+ var o, e;
58
+ (e = (o = i.getEditorTabBarCurrentCard) == null ? void 0 : o.nextButtonClick) == null || e.call(o);
59
+ }, l = () => {
60
+ var o, e;
61
+ (e = (o = i.getEditorTabBarCurrentCard) == null ? void 0 : o.backButtonClick) == null || e.call(o);
62
+ };
63
+ return x(
64
+ () => i.onboardings.editorTabBarOnboarding.isActive,
65
+ (o) => {
66
+ o && i.setConfig(n, b.value);
67
+ },
68
+ { immediate: !0 }
69
+ ), { __sfc: !0, ONBOARDING: n, trans: t, onboardingStore: i, getTopPosition: a, goNext: r, goBack: c, finish: s, onboardingCardsConfig: b, isVisible: u, handleNext: g, handleBack: l, InOnboard: T };
70
+ }
71
+ });
72
+ export {
73
+ y as default
74
+ };
@@ -1,46 +1,55 @@
1
- import { defineComponent as b, computed as e, onMounted as O, watch as t } from "vue";
2
- import u from "./AMPOnboarding.vue.js";
3
- import v from "./GenericOnboarding.vue.js";
4
- import l from "./ItemsOnboarding.vue.js";
5
- import y from "./NewVersionPopup.vue.js";
6
- import S from "./TextBlockOnboarding.vue.js";
7
- import h from "./VersionHistoryOnboarding.vue.js";
8
- import { usePartner as w } from "../../../composables/usePartner.js";
9
- import { useEditorStore as P } from "../../../stores/editor.js";
10
- import { useOnboardingStore as _ } from "../../../stores/onboarding.js";
11
- import { usePreviewStore as A } from "../../../stores/preview.js";
12
- const G = /* @__PURE__ */ b({
1
+ import { defineComponent as O, computed as a, onMounted as u, watch as e } from "vue";
2
+ import l from "./AMPOnboarding.vue.js";
3
+ import v from "./EditorTabBarOnboarding.vue.js";
4
+ import y from "./GenericOnboarding.vue.js";
5
+ import S from "./ItemsOnboarding.vue.js";
6
+ import h from "./NewVersionPopup.vue.js";
7
+ import w from "./TextBlockOnboarding.vue.js";
8
+ import P from "./VersionHistoryOnboarding.vue.js";
9
+ import { useConfig as A } from "../../../composables/useConfig.js";
10
+ import { usePartner as T } from "../../../composables/usePartner.js";
11
+ import { useEditorStore as _ } from "../../../stores/editor.js";
12
+ import { useOnboardingStore as H } from "../../../stores/onboarding.js";
13
+ import { usePreviewStore as B } from "../../../stores/preview.js";
14
+ const j = /* @__PURE__ */ O({
13
15
  __name: "OnboardingWrapper",
14
16
  emits: ["onboarding-finished"],
15
- setup(H, { emit: f }) {
16
- const o = _(), r = P(), s = A(), { isTestPartner: a } = w(), p = e(() => r.isStripoInitialized), d = e(() => a()), m = [
17
- { type: "newVersionPopup", component: y },
18
- { type: "genericOnboarding", component: v },
19
- { type: "textBlockOnboarding", component: S },
20
- { type: "versionHistoryOnboarding", component: h },
21
- { type: "ampOnboarding", component: u },
22
- { type: "itemsOnboarding", component: l }
23
- ], c = (n) => d.value || !p.value ? !1 : n === "newVersionPopup" ? o.shouldShowOnboarding(n) : o.isActive(n), g = e(() => m.filter((n) => c(n.type)));
24
- return O(async () => {
17
+ setup(M, { emit: g }) {
18
+ const o = H(), i = _(), d = B(), { isTestPartner: p } = T(), { isFeatureEnabled: m } = A(), t = a(() => i.isStripoInitialized), s = a(() => p()), b = [
19
+ { type: "newVersionPopup", component: h },
20
+ { type: "genericOnboarding", component: y },
21
+ { type: "textBlockOnboarding", component: w },
22
+ { type: "versionHistoryOnboarding", component: P },
23
+ { type: "ampOnboarding", component: l },
24
+ { type: "itemsOnboarding", component: S },
25
+ { type: "editorTabBarOnboarding", component: v }
26
+ ], c = (n) => s.value || !t.value ? !1 : n === "newVersionPopup" ? o.shouldShowOnboarding(n) : o.isActive(n), f = a(() => b.filter((n) => c(n.type)));
27
+ return u(async () => {
25
28
  await o.fetchUserModalState();
26
- }), t(
27
- () => r.isVersionHistoryOpen,
28
- (n, i) => {
29
- n && !i && o.shouldShowOnboarding("versionHistoryOnboarding") && o.start("versionHistoryOnboarding"), !n && i && o.isActive("versionHistoryOnboarding") && o.close("versionHistoryOnboarding");
29
+ }), e(
30
+ () => i.isVersionHistoryOpen,
31
+ (n, r) => {
32
+ n && !r && o.shouldShowOnboarding("versionHistoryOnboarding") && o.start("versionHistoryOnboarding"), !n && r && o.isActive("versionHistoryOnboarding") && o.close("versionHistoryOnboarding");
30
33
  }
31
- ), t(
32
- () => s.emailFormat,
33
- (n, i) => {
34
- i !== "AMP" && n === "AMP" && o.shouldShowOnboarding("ampOnboarding") && o.start("ampOnboarding");
34
+ ), e(
35
+ () => d.emailFormat,
36
+ (n, r) => {
37
+ r !== "AMP" && n === "AMP" && o.shouldShowOnboarding("ampOnboarding") && o.start("ampOnboarding");
35
38
  }
36
- ), t(
37
- () => r.isPreviewModeOpen,
39
+ ), e(
40
+ () => i.isPreviewModeOpen,
38
41
  (n) => {
39
42
  !n && o.isActive("ampOnboarding") && o.close("ampOnboarding");
40
43
  }
41
- ), { __sfc: !0, emit: f, onboardingStore: o, editorStore: r, previewStore: s, isTestPartner: a, isStripoReady: p, isTestPartnerActive: d, onboardingConfigs: m, shouldShow: c, visibleOnboardings: g };
44
+ ), e(
45
+ t,
46
+ (n) => {
47
+ n && m("accessibilityTesting") && !s.value && !o.isOnboardingActive() && o.shouldShowOnboarding("editorTabBarOnboarding") && o.start("editorTabBarOnboarding");
48
+ },
49
+ { immediate: !0 }
50
+ ), { __sfc: !0, emit: g, onboardingStore: o, editorStore: i, previewStore: d, isTestPartner: p, isFeatureEnabled: m, isStripoReady: t, isTestPartnerActive: s, onboardingConfigs: b, shouldShow: c, visibleOnboardings: f };
42
51
  }
43
52
  });
44
53
  export {
45
- G as default
54
+ j as default
46
55
  };
@@ -0,0 +1,31 @@
1
+ import { useEditorStore as r } from "../stores/editor.js";
2
+ const A = () => {
3
+ const e = r(), i = () => window.StripoEditorApi.accessibilityApi, s = () => {
4
+ i().openAccessibilityTestingMode(), e.isAccessibilityTestingOpen = !0;
5
+ }, o = () => {
6
+ i().closeAccessibilityTestingMode(), e.isAccessibilityTestingOpen = !1, e.imagesHidden = !1, e.colorVisionDeficiency = "";
7
+ }, g = () => e.isAccessibilityTestingOpen ? o() : s(), l = () => i().isAccessibilityTestingModeOpen(), t = () => {
8
+ i().showImages(), e.imagesHidden = !1;
9
+ }, c = () => {
10
+ i().hideImages(), e.imagesHidden = !0;
11
+ };
12
+ return {
13
+ openAccessibilityTestingMode: s,
14
+ closeAccessibilityTestingMode: o,
15
+ toggleAccessibilityTestingMode: g,
16
+ isAccessibilityTestingModeOpen: l,
17
+ showImages: t,
18
+ hideImages: c,
19
+ toggleImages: () => e.imagesHidden ? t() : c(),
20
+ setColorVisionDeficiency: (n) => {
21
+ i().setColorVisionDeficiency(n), e.colorVisionDeficiency = n;
22
+ },
23
+ getColorVisionDeficiency: () => i().getColorVisionDeficiency(),
24
+ switchToDesktopPreview: () => i().switchToDesktopPreview(),
25
+ switchToMobilePreview: () => i().switchToMobilePreview(),
26
+ toggleCodeEditor: () => i().emitToggleCodeEditor()
27
+ };
28
+ };
29
+ export {
30
+ A as useAccessibilityApi
31
+ };
@@ -2,60 +2,63 @@ import S from "../static/assets/icons/line-change.svg.js";
2
2
  import i from "../static/assets/icons/line-delete.svg.js";
3
3
  import n from "../static/assets/icons/line-plus.svg.js";
4
4
  import p from "../static/styles/base.css.js";
5
- import s from "../static/styles/components/alert-message.css.js";
6
- import C from "../static/styles/components/amp-block.css.js";
7
- import a from "../static/styles/components/base-input.css.js";
8
- import f from "../static/styles/components/button-group.css.js";
9
- import c from "../static/styles/components/button.css.js";
10
- import u from "../static/styles/components/combobox.css.js";
11
- import l from "../static/styles/components/counter.css.js";
12
- import d from "../static/styles/components/dropdown-menu.css.js";
13
- import h from "../static/styles/components/loader.css.js";
14
- import g from "../static/styles/components/narrow-panel.css.js";
5
+ import s from "../static/styles/components/accessibility.css.js";
6
+ import C from "../static/styles/components/alert-message.css.js";
7
+ import c from "../static/styles/components/amp-block.css.js";
8
+ import f from "../static/styles/components/base-input.css.js";
9
+ import a from "../static/styles/components/button-group.css.js";
10
+ import u from "../static/styles/components/button.css.js";
11
+ import l from "../static/styles/components/combobox.css.js";
12
+ import d from "../static/styles/components/counter.css.js";
13
+ import h from "../static/styles/components/dropdown-menu.css.js";
14
+ import g from "../static/styles/components/loader.css.js";
15
+ import y from "../static/styles/components/narrow-panel.css.js";
15
16
  import I from "../static/styles/components/popup.css.js";
16
- import w from "../static/styles/components/recommendation-strategy.css.js";
17
- import y from "../static/styles/components/switcher.css.js";
18
- import b from "../static/styles/components/tabs.css.js";
19
- import B from "../static/styles/components/tools.css.js";
20
- import $ from "../static/styles/components/version-history.css.js";
17
+ import b from "../static/styles/components/recommendation-strategy.css.js";
18
+ import w from "../static/styles/components/switcher.css.js";
19
+ import B from "../static/styles/components/tabs.css.js";
20
+ import $ from "../static/styles/components/tools.css.js";
21
+ import A from "../static/styles/components/version-history.css.js";
21
22
  import P from "../static/styles/components/wide-panel.css.js";
22
23
  import x from "../static/styles/variables.css.js";
23
24
  function r(t, o) {
24
25
  return `--guido-icon-${t}: url("data:image/svg+xml,${encodeURIComponent(o.trim())}");`;
25
26
  }
26
- const A = `:host {
27
+ const R = `:host {
27
28
  ${r("line-change", S)}
28
29
  ${r("line-delete", i)}
29
30
  ${r("line-plus", n)}
30
- }`, R = [
31
+ }`, V = [
31
32
  x,
32
33
  // Must be on top
33
- A,
34
+ R,
34
35
  p,
35
36
  // Must be on top
36
- s,
37
37
  C,
38
- a,
39
- f,
40
38
  c,
39
+ f,
40
+ a,
41
41
  u,
42
42
  l,
43
43
  d,
44
44
  h,
45
45
  g,
46
- I,
47
46
  y,
48
- b,
47
+ I,
48
+ w,
49
49
  B,
50
50
  $,
51
+ A,
51
52
  P,
52
- w
53
- // Last: overrides button.css / wide-panel.css defaults
53
+ b,
54
+ // Overrides button.css / wide-panel.css defaults
55
+ s
56
+ // Last: overrides button.css / tabs.css / tools.css defaults
54
57
  ].join(`
55
58
 
56
- `), Y = () => ({ importCss: () => {
59
+ `), _ = () => ({ importCss: () => {
57
60
  const o = new CSSStyleSheet();
58
- o.replaceSync(R);
61
+ o.replaceSync(V);
59
62
  const e = document.querySelector("ui-editor");
60
63
  if (!e)
61
64
  return;
@@ -63,5 +66,5 @@ const A = `:host {
63
66
  m && (m.adoptedStyleSheets = [o]);
64
67
  } });
65
68
  export {
66
- Y as useCustomInterfaceAppearance
69
+ _ as useCustomInterfaceAppearance
67
70
  };
@@ -1,19 +1,43 @@
1
- const e = "Items", o = "Default", t = "Custom", s = {
1
+ const e = "Items", o = "Default", i = "Custom", t = {
2
2
  "Global Styles & Layout": "Global Styles and Layout",
3
3
  "Structures & Modules": "Structures and Modules",
4
4
  "Recommendation Block": "Recommendation Block",
5
5
  Items: e,
6
6
  "This block is switched from the Old Version to the New Version. We recommend you check the Recommendation block and test your message to ensure it works properly.": "This block is switched from the Old Version to the New Version. We recommend you check the Recommendation block and test your message to ensure it works properly.",
7
7
  "This block is switched from the Old Version to the New Version. We recommend you check the Items block and test your message to ensure it works properly.": "This block is switched from the Old Version to the New Version. We recommend you check the Items block and test your message to ensure it works properly.",
8
+ "email-editor.a11y-hide-images": "Hide images",
9
+ "email-editor.a11y-show-images": "Show images",
10
+ "email-editor.cvd-none": "No Color Deficiency",
11
+ "email-editor.cvd-protanopia": "Protanopia",
12
+ "email-editor.cvd-protanopia-description": "Causes red-green confusion and makes reds appear darker.",
13
+ "email-editor.cvd-deuteranopia": "Deuteranopia",
14
+ "email-editor.cvd-deuteranopia-description": "Causes red-green confusion.",
15
+ "email-editor.cvd-tritanopia": "Tritanopia",
16
+ "email-editor.cvd-tritanopia-description": "Causes blue-yellow confusion.",
17
+ "email-editor.cvd-achromatopsia": "Achromatopsia",
18
+ "email-editor.cvd-achromatopsia-description": "Causes complete color blindness.",
19
+ "email-editor.more-actions": "More actions",
20
+ "email-editor.preferences": "Preferences",
21
+ "email-editor.actions": "Actions",
22
+ "email-editor.accessibility-test": "Accessibility Test",
23
+ "email-editor.autosaved-at-today": '<span class="f-w-600">Autosaved</span> at {time}, Today',
24
+ "email-editor.autosaved-at-date": '<span class="f-w-600">Autosaved</span> at {date}',
25
+ "email-editor.export-html": "Export HTML",
26
+ "email-editor.onboarding-kebab-title": "Discover Preferences and Actions",
27
+ "email-editor.onboarding-kebab-description": "You can now access your Preferences and Actions easily such as Autosave, Export HTML, Version History, Accessibility Test and Save As Template.",
28
+ "email-editor.onboarding-autosave-title": "Autosave Your Design",
29
+ "email-editor.onboarding-autosave-description": "You can save your design automatically by enabling Autosave without losing your work.",
30
+ "email-editor.onboarding-accessibility-title": "Test Accessibility of Your Design",
31
+ "email-editor.onboarding-accessibility-description": "You can test the accessibility of your design to see the Failed, Passed items and update the Failed ones accordingly.",
8
32
  "Pixel Tracking Opt-in": "Pixel Tracking Opt-in",
9
33
  "OPT-IN SELECTION": "OPT-IN SELECTION",
10
34
  "UNSUBSCRIBE GROUPS": "UNSUBSCRIBE GROUPS",
11
35
  Default: o,
12
- Custom: t
36
+ Custom: i
13
37
  };
14
38
  export {
15
- t as Custom,
39
+ i as Custom,
16
40
  o as Default,
17
41
  e as Items,
18
- s as default
42
+ t as default
19
43
  };