ghost 5.83.0 → 5.84.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 (150) hide show
  1. package/components/{tryghost-adapter-cache-memory-ttl-5.83.0.tgz → tryghost-adapter-cache-memory-ttl-5.84.0.tgz} +0 -0
  2. package/components/tryghost-adapter-cache-redis-5.84.0.tgz +0 -0
  3. package/components/{tryghost-adapter-manager-5.83.0.tgz → tryghost-adapter-manager-5.84.0.tgz} +0 -0
  4. package/components/{tryghost-announcement-bar-settings-5.83.0.tgz → tryghost-announcement-bar-settings-5.84.0.tgz} +0 -0
  5. package/components/{tryghost-api-framework-5.83.0.tgz → tryghost-api-framework-5.84.0.tgz} +0 -0
  6. package/components/{tryghost-api-version-compatibility-service-5.83.0.tgz → tryghost-api-version-compatibility-service-5.84.0.tgz} +0 -0
  7. package/components/tryghost-audience-feedback-5.84.0.tgz +0 -0
  8. package/components/tryghost-bookshelf-repository-5.84.0.tgz +0 -0
  9. package/components/{tryghost-bootstrap-socket-5.83.0.tgz → tryghost-bootstrap-socket-5.84.0.tgz} +0 -0
  10. package/components/{tryghost-collections-5.83.0.tgz → tryghost-collections-5.84.0.tgz} +0 -0
  11. package/components/{tryghost-constants-5.83.0.tgz → tryghost-constants-5.84.0.tgz} +0 -0
  12. package/components/{tryghost-custom-theme-settings-service-5.83.0.tgz → tryghost-custom-theme-settings-service-5.84.0.tgz} +0 -0
  13. package/components/{tryghost-data-generator-5.83.0.tgz → tryghost-data-generator-5.84.0.tgz} +0 -0
  14. package/components/tryghost-domain-events-5.84.0.tgz +0 -0
  15. package/components/tryghost-donations-5.84.0.tgz +0 -0
  16. package/components/tryghost-dynamic-routing-events-5.84.0.tgz +0 -0
  17. package/components/tryghost-email-addresses-5.84.0.tgz +0 -0
  18. package/components/tryghost-email-analytics-provider-mailgun-5.84.0.tgz +0 -0
  19. package/components/tryghost-email-analytics-service-5.84.0.tgz +0 -0
  20. package/components/tryghost-email-content-generator-5.84.0.tgz +0 -0
  21. package/components/{tryghost-email-events-5.83.0.tgz → tryghost-email-events-5.84.0.tgz} +0 -0
  22. package/components/tryghost-email-service-5.84.0.tgz +0 -0
  23. package/components/tryghost-email-suppression-list-5.84.0.tgz +0 -0
  24. package/components/tryghost-express-dynamic-redirects-5.84.0.tgz +0 -0
  25. package/components/tryghost-external-media-inliner-5.84.0.tgz +0 -0
  26. package/components/tryghost-extract-api-key-5.84.0.tgz +0 -0
  27. package/components/{tryghost-ghost-5.83.0.tgz → tryghost-ghost-5.84.0.tgz} +0 -0
  28. package/components/tryghost-html-to-plaintext-5.84.0.tgz +0 -0
  29. package/components/{tryghost-i18n-5.83.0.tgz → tryghost-i18n-5.84.0.tgz} +0 -0
  30. package/components/tryghost-importer-handler-content-files-5.84.0.tgz +0 -0
  31. package/components/{tryghost-importer-revue-5.83.0.tgz → tryghost-importer-revue-5.84.0.tgz} +0 -0
  32. package/components/tryghost-in-memory-repository-5.84.0.tgz +0 -0
  33. package/components/{tryghost-job-manager-5.83.0.tgz → tryghost-job-manager-5.84.0.tgz} +0 -0
  34. package/components/{tryghost-link-redirects-5.83.0.tgz → tryghost-link-redirects-5.84.0.tgz} +0 -0
  35. package/components/tryghost-link-replacer-5.84.0.tgz +0 -0
  36. package/components/tryghost-link-tracking-5.84.0.tgz +0 -0
  37. package/components/{tryghost-magic-link-5.83.0.tgz → tryghost-magic-link-5.84.0.tgz} +0 -0
  38. package/components/{tryghost-mail-events-5.83.0.tgz → tryghost-mail-events-5.84.0.tgz} +0 -0
  39. package/components/{tryghost-mailgun-client-5.83.0.tgz → tryghost-mailgun-client-5.84.0.tgz} +0 -0
  40. package/components/{tryghost-member-attribution-5.83.0.tgz → tryghost-member-attribution-5.84.0.tgz} +0 -0
  41. package/components/tryghost-member-events-5.84.0.tgz +0 -0
  42. package/components/tryghost-members-api-5.84.0.tgz +0 -0
  43. package/components/{tryghost-members-csv-5.83.0.tgz → tryghost-members-csv-5.84.0.tgz} +0 -0
  44. package/components/tryghost-members-events-service-5.84.0.tgz +0 -0
  45. package/components/{tryghost-members-importer-5.83.0.tgz → tryghost-members-importer-5.84.0.tgz} +0 -0
  46. package/components/{tryghost-members-offers-5.83.0.tgz → tryghost-members-offers-5.84.0.tgz} +0 -0
  47. package/components/{tryghost-members-payments-5.83.0.tgz → tryghost-members-payments-5.84.0.tgz} +0 -0
  48. package/components/tryghost-members-ssr-5.84.0.tgz +0 -0
  49. package/components/tryghost-members-stripe-service-5.84.0.tgz +0 -0
  50. package/components/tryghost-mentions-email-report-5.84.0.tgz +0 -0
  51. package/components/tryghost-milestones-5.84.0.tgz +0 -0
  52. package/components/tryghost-minifier-5.84.0.tgz +0 -0
  53. package/components/{tryghost-model-to-domain-event-interceptor-5.83.0.tgz → tryghost-model-to-domain-event-interceptor-5.84.0.tgz} +0 -0
  54. package/components/tryghost-mw-api-version-mismatch-5.84.0.tgz +0 -0
  55. package/components/tryghost-mw-cache-control-5.84.0.tgz +0 -0
  56. package/components/tryghost-mw-error-handler-5.84.0.tgz +0 -0
  57. package/components/tryghost-mw-session-from-token-5.84.0.tgz +0 -0
  58. package/components/tryghost-mw-update-user-last-seen-5.84.0.tgz +0 -0
  59. package/components/tryghost-mw-version-match-5.84.0.tgz +0 -0
  60. package/components/tryghost-mw-vhost-5.84.0.tgz +0 -0
  61. package/components/tryghost-nql-filter-expansions-5.84.0.tgz +0 -0
  62. package/components/tryghost-oembed-service-5.84.0.tgz +0 -0
  63. package/components/tryghost-package-json-5.84.0.tgz +0 -0
  64. package/components/{tryghost-post-events-5.83.0.tgz → tryghost-post-events-5.84.0.tgz} +0 -0
  65. package/components/tryghost-post-revisions-5.84.0.tgz +0 -0
  66. package/components/{tryghost-posts-service-5.83.0.tgz → tryghost-posts-service-5.84.0.tgz} +0 -0
  67. package/components/{tryghost-recommendations-5.83.0.tgz → tryghost-recommendations-5.84.0.tgz} +0 -0
  68. package/components/{tryghost-referrers-5.83.0.tgz → tryghost-referrers-5.84.0.tgz} +0 -0
  69. package/components/{tryghost-security-5.83.0.tgz → tryghost-security-5.84.0.tgz} +0 -0
  70. package/components/{tryghost-session-service-5.83.0.tgz → tryghost-session-service-5.84.0.tgz} +0 -0
  71. package/components/{tryghost-settings-path-manager-5.83.0.tgz → tryghost-settings-path-manager-5.84.0.tgz} +0 -0
  72. package/components/tryghost-slack-notifications-5.84.0.tgz +0 -0
  73. package/components/{tryghost-staff-service-5.83.0.tgz → tryghost-staff-service-5.84.0.tgz} +0 -0
  74. package/components/tryghost-stats-service-5.84.0.tgz +0 -0
  75. package/components/tryghost-tiers-5.84.0.tgz +0 -0
  76. package/components/{tryghost-update-check-service-5.83.0.tgz → tryghost-update-check-service-5.84.0.tgz} +0 -0
  77. package/components/tryghost-verification-trigger-5.84.0.tgz +0 -0
  78. package/components/{tryghost-version-notifications-data-service-5.83.0.tgz → tryghost-version-notifications-data-service-5.84.0.tgz} +0 -0
  79. package/components/tryghost-webmentions-5.84.0.tgz +0 -0
  80. package/content/themes/source/default.hbs +5 -0
  81. package/content/themes/source/package.json +1 -1
  82. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-d8e0ec68.mjs → CodeEditorView-eaf264d3.mjs} +2 -2
  83. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  84. package/core/built/admin/assets/admin-x-settings/{index-a83dd4fa.mjs → index-39468f31.mjs} +305 -305
  85. package/core/built/admin/assets/admin-x-settings/{index-7b657428.mjs → index-b0e98052.mjs} +2279 -2268
  86. package/core/built/admin/assets/admin-x-settings/{modals-1155e24d.mjs → modals-8fb51a51.mjs} +1968 -1972
  87. package/core/built/admin/assets/{chunk.524.8204e0b9f49cec9eed57.js → chunk.524.dd2adb7618502394b0fa.js} +5 -5
  88. package/core/built/admin/assets/{chunk.582.19e6edf39eacb732f2ab.js → chunk.582.7b12fec8907e5aeb732c.js} +6 -6
  89. package/core/built/admin/assets/{ghost-d8a21c3ed32505399e33675d8cb7d044.js → ghost-2bb48a3a355571aa30056b2bb30b9c2a.js} +117 -100
  90. package/core/built/admin/assets/{ghost-da77ec7395d5e861b94d529e8157ed3f.css → ghost-da719d2c50388e7f72e596e1a8b99e80.css} +1 -1
  91. package/core/built/admin/assets/{ghost-dark-e5e7c4c3fcaa12ca01df563d1bcbac20.css → ghost-dark-3cbc750010886456986b77ff03283139.css} +1 -1
  92. package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +16 -19
  93. package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +3 -3
  94. package/core/built/admin/index.html +4 -4
  95. package/core/server/api/endpoints/utils/serializers/input/posts.js +2 -9
  96. package/core/server/data/migrations/versions/5.84/2024-06-04-09-13-33-rename-newsletters-show-subhead.js +3 -0
  97. package/core/server/data/migrations/versions/5.84/2024-06-04-11-10-37-add-custom-excerpt-to-post-revisions.js +7 -0
  98. package/core/server/data/migrations/versions/5.84/2024-06-05-08-42-34-populate-post-revisions-custom-excerpt.js +32 -0
  99. package/core/server/data/migrations/versions/5.84/2024-06-05-13-48-35-rename-newsletters-show-subtitle.js +3 -0
  100. package/core/server/data/schema/schema.js +3 -2
  101. package/core/server/models/newsletter.js +1 -1
  102. package/core/server/models/post.js +1 -0
  103. package/core/server/services/slack.js +22 -2
  104. package/core/shared/labs.js +4 -4
  105. package/package.json +151 -151
  106. package/yarn.lock +46 -41
  107. package/components/tryghost-adapter-cache-redis-5.83.0.tgz +0 -0
  108. package/components/tryghost-audience-feedback-5.83.0.tgz +0 -0
  109. package/components/tryghost-bookshelf-repository-5.83.0.tgz +0 -0
  110. package/components/tryghost-domain-events-5.83.0.tgz +0 -0
  111. package/components/tryghost-donations-5.83.0.tgz +0 -0
  112. package/components/tryghost-dynamic-routing-events-5.83.0.tgz +0 -0
  113. package/components/tryghost-email-addresses-5.83.0.tgz +0 -0
  114. package/components/tryghost-email-analytics-provider-mailgun-5.83.0.tgz +0 -0
  115. package/components/tryghost-email-analytics-service-5.83.0.tgz +0 -0
  116. package/components/tryghost-email-content-generator-5.83.0.tgz +0 -0
  117. package/components/tryghost-email-service-5.83.0.tgz +0 -0
  118. package/components/tryghost-email-suppression-list-5.83.0.tgz +0 -0
  119. package/components/tryghost-express-dynamic-redirects-5.83.0.tgz +0 -0
  120. package/components/tryghost-external-media-inliner-5.83.0.tgz +0 -0
  121. package/components/tryghost-extract-api-key-5.83.0.tgz +0 -0
  122. package/components/tryghost-html-to-plaintext-5.83.0.tgz +0 -0
  123. package/components/tryghost-importer-handler-content-files-5.83.0.tgz +0 -0
  124. package/components/tryghost-in-memory-repository-5.83.0.tgz +0 -0
  125. package/components/tryghost-link-replacer-5.83.0.tgz +0 -0
  126. package/components/tryghost-link-tracking-5.83.0.tgz +0 -0
  127. package/components/tryghost-member-events-5.83.0.tgz +0 -0
  128. package/components/tryghost-members-api-5.83.0.tgz +0 -0
  129. package/components/tryghost-members-events-service-5.83.0.tgz +0 -0
  130. package/components/tryghost-members-ssr-5.83.0.tgz +0 -0
  131. package/components/tryghost-members-stripe-service-5.83.0.tgz +0 -0
  132. package/components/tryghost-mentions-email-report-5.83.0.tgz +0 -0
  133. package/components/tryghost-milestones-5.83.0.tgz +0 -0
  134. package/components/tryghost-minifier-5.83.0.tgz +0 -0
  135. package/components/tryghost-mw-api-version-mismatch-5.83.0.tgz +0 -0
  136. package/components/tryghost-mw-cache-control-5.83.0.tgz +0 -0
  137. package/components/tryghost-mw-error-handler-5.83.0.tgz +0 -0
  138. package/components/tryghost-mw-session-from-token-5.83.0.tgz +0 -0
  139. package/components/tryghost-mw-update-user-last-seen-5.83.0.tgz +0 -0
  140. package/components/tryghost-mw-version-match-5.83.0.tgz +0 -0
  141. package/components/tryghost-mw-vhost-5.83.0.tgz +0 -0
  142. package/components/tryghost-nql-filter-expansions-5.83.0.tgz +0 -0
  143. package/components/tryghost-oembed-service-5.83.0.tgz +0 -0
  144. package/components/tryghost-package-json-5.83.0.tgz +0 -0
  145. package/components/tryghost-post-revisions-5.83.0.tgz +0 -0
  146. package/components/tryghost-slack-notifications-5.83.0.tgz +0 -0
  147. package/components/tryghost-stats-service-5.83.0.tgz +0 -0
  148. package/components/tryghost-tiers-5.83.0.tgz +0 -0
  149. package/components/tryghost-verification-trigger-5.83.0.tgz +0 -0
  150. package/components/tryghost-webmentions-5.83.0.tgz +0 -0
@@ -26,6 +26,11 @@
26
26
  https://gomakethings.com/dynamically-changing-the-text-color-based-on-background-color-contrast-with-vanilla-js/ */
27
27
  var accentColor = getComputedStyle(document.documentElement).getPropertyValue('--background-color');
28
28
  accentColor = accentColor.trim().slice(1);
29
+
30
+ if (accentColor.length === 3) {
31
+ accentColor = accentColor[0] + accentColor[0] + accentColor[1] + accentColor[1] + accentColor[2] + accentColor[2];
32
+ }
33
+
29
34
  var r = parseInt(accentColor.substr(0, 2), 16);
30
35
  var g = parseInt(accentColor.substr(2, 2), 16);
31
36
  var b = parseInt(accentColor.substr(4, 2), 16);
@@ -2,7 +2,7 @@
2
2
  "name": "source",
3
3
  "description": "A default theme for the Ghost publishing platform",
4
4
  "demo": "https://source.ghost.io",
5
- "version": "1.2.2",
5
+ "version": "1.2.3",
6
6
  "engines": {
7
7
  "ghost": ">=5.0.0"
8
8
  },
@@ -1,4 +1,4 @@
1
- import { a as ce, b as _, bX as Rt, bY as _n, e as wt, bZ as qn, j as N, b_ as Hn, u as Vn, R as zn, q as Un, d as $n, H as Gn, c as Kn } from "./index-7b657428.mjs";
1
+ import { a as ce, b as _, bY as Rt, bZ as _n, e as wt, b_ as qn, j as N, b$ as Hn, u as Vn, R as zn, q as Un, d as $n, H as Gn, c as Kn } from "./index-b0e98052.mjs";
2
2
  import { E as p, F as de, v as Ee, S as Re, o as d, w as _e, C as Jn, x as jn, y as Tt, z as Ot, A as Se, B as It, G as Pt, H as Wt, J as Ue, K as Xe, M as w, O as Z, g as et, b as $e, Q as Qn, R as ee, V as Ft, U as x, W as Yn, X as Zn, Y as ue, Z as L, _ as Xn, $ as er, a0 as tt, a1 as he, a2 as tr, a3 as nr, a4 as rr, a5 as or, a6 as ir, a7 as sr, a8 as lr, a9 as ar, aa as cr, ab as ur, ac as hr, ad as fr, ae as dr, af as mr, ag as Nt, ah as gr, ai as pr, aj as yr, ak as xr, al as kr, am as br, an as _t, ao as Sr, ap as Cr, t as f, aq as vr } from "./index-9cc1df42.mjs";
3
3
  const Ar = (t) => {
4
4
  let { state: e } = t, r = e.doc.lineAt(e.selection.main.from), n = rt(t.state, r.from);
@@ -2362,4 +2362,4 @@ const Ni = [
2362
2362
  export {
2363
2363
  Hi as default
2364
2364
  };
2365
- //# sourceMappingURL=CodeEditorView-d8e0ec68.mjs.map
2365
+ //# sourceMappingURL=CodeEditorView-eaf264d3.mjs.map