@goodfellow-cms/admin 0.10.0 → 0.10.1

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/dist/editor.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { $ as formattedHtml, K as storedData, Q as editedMarkdown, _ as mediaUrl, a as showMediaInPreview, q as storedEntryFields, r as createMediaPreviews, s as createChannel, t as installCustomFonts } from "./custom-font-faces-DCan2jgW.js";
2
- import { C as MediaChoiceContext, D as MediaThumb, G as isForwardedShortcut, H as READY_MESSAGE, J as shortcutFor, K as isTyping, X as SETTINGS_SECTIONS, c as AdminContext, f as useSiteContent, g as useDarkMode, i as usePreviewStyles, lt as Button, m as setThemeChoice, ot as EditorTextContext, rt as syncedBlockEditorHref, s as withBlocksInPlace, st as useEditorText, t as SCHEDULE_PROP, u as useAdmin, w as MediaChooser, y as ScheduleFields, yt as findPage } from "./entry-values-CAPB0igb.js";
2
+ import { C as MediaChoiceContext, D as MediaThumb, G as isForwardedShortcut, H as READY_MESSAGE, J as shortcutFor, K as isTyping, X as SETTINGS_SECTIONS, c as AdminContext, f as useSiteContent, g as useDarkMode, i as usePreviewStyles, lt as Button, m as setThemeChoice, ot as EditorTextContext, rt as syncedBlockEditorHref, s as withBlocksInPlace, st as useEditorText, t as SCHEDULE_PROP, u as useAdmin, w as MediaChooser, y as ScheduleFields, yt as findPage } from "./entry-values-DWZqC5ZZ.js";
3
3
  import { i as useStrings, t as StringsProvider } from "./strings-CgC6pd6k.js";
4
4
  import { COLOR_SCHEME_ATTRIBUTE, DEFAULT_THEME_COLORS, DRAWN_SLOT_ELEMENT, FONT_SIZES, MEDIA_DIR, MINIMUM_CONTRAST, RADII, SCREEN_SIZES, SIDES, SPACING_STEPS, SYNCED_BLOCK, SYNCED_BLOCK_PROP, TEXT_ALIGNS, THEME_COLORS, WEEKDAYS, allPages, canFormatMarkdown, cleanEventValue, colorSlug, contentInLanguage, contrastRatio, customFonts, customLength, datePart, describedIn, entryTitle, escapeCellText, escapeStyleText, expandSyncedBlocks, findEntry, findSyncedBlock, focusPosition, formatDate, formatOccurrence, getPageHead, googleFontsUrl, hasLanguages, isAllDay, isCustomColor, isEventLike, isOwnersOnlyField, isSafeUrl, languageHome, languageLinks, mainLanguage, neverIndexed, pageLinks, pageView, pathLanguage, readBlockStyle, renderedProblems, shownOccurrence, sitePages, syncedBlockIn, tableCellHtml, themeColorOf, themeToCss, todayIn, wallClock, weekdayName, weekdayOf, withBlockStyle } from "@goodfellow-cms/core";
5
5
  import { Box } from "lucide-react";
@@ -3641,7 +3641,7 @@ function pluginSecretsHelp(place, plugin, t) {
3641
3641
  * Goodfellow package is released with the same version, so where a build
3642
3642
  * bundled the admin panel's source without saying, it's core's.
3643
3643
  */
3644
- const REGISTRY_VERSION = "0.10.0";
3644
+ const REGISTRY_VERSION = "0.10.1";
3645
3645
  //#endregion
3646
3646
  //#region src/schedule.tsx
3647
3647
  /** The computer's own time zone, which a site without one takes when something is first scheduled. */
@@ -4009,7 +4009,7 @@ function AdminProvider({ site, frames, store, account, preview, siteUrl, registr
4009
4009
  const mediaPreviews = useMemo(() => createMediaPreviews(content, siteUrl, () => storage.current), [content, siteUrl]);
4010
4010
  const outOfReach = registry !== void 0 || atAdminAddress(site.admin) || site.broker !== void 0;
4011
4011
  const registries = useMemo(() => ({
4012
- [GOODFELLOW_REGISTRY]: registry ?? goodfellowRegistryUrl("0.10.0"),
4012
+ [GOODFELLOW_REGISTRY]: registry ?? goodfellowRegistryUrl("0.10.1"),
4013
4013
  ...outOfReach && {
4014
4014
  [SHADCN_NAMESPACE]: SHADCN_REGISTRY,
4015
4015
  ...site.registries
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { A as duplicatePageData, B as pageFileChange, C as checkPageAddress, D as customCssFileChange, E as collectionSettingsChanges, F as menusFileChange, G as storedCss, H as redirectsFileChange, I as moveEntryChanges, J as syncedBlockFileChange, K as storedData, L as movePageChanges, M as itemLinkRemovalChanges, N as layoutFileChange, O as deleteCollectionChanges, P as mediaFileChange, R as newCollectionSettings, S as checkEntrySlug, T as collectionFileChange$1, U as siteSettingsFileChange, V as pageTitle$1, W as slugify, X as updateSettingsFileChange, Y as uniqueName, _ as mediaUrl, b as uploadName, f as fileName$1, j as entryFileChange$1, k as deleteSyncedBlockChanges, r as createMediaPreviews, t as installCustomFonts, u as allMedia, w as codeFileChanges, x as addressPatternFor, y as siteImages, z as newPageData } from "./custom-font-faces-DCan2jgW.js";
2
- import { $ as hasUnsavedChanges, A as useOutsideHost, B as useFrameServices, E as MediaScreen, F as mayChange, I as useMayChange, J as shortcutFor, K as isTyping, L as FrameServicesProvider, M as usePluginFrame, N as usePluginHost, O as AppLink, P as PublishFailure, Q as entryEditorHref, R as reloadFrames, S as REGISTRY_VERSION, T as MediaField, U as findPlaces, V as useFrameUpdates, W as goToPlaces, X as SETTINGS_SECTIONS, Y as usesCommandKey, Z as collectionHref, _ as useThemeChoice$1, _t as useDebounced, a as applyEditorChange, at as useUnsavedChanges, b as ScheduleStatus, ct as draftStarted, d as useCanChangeSettings, dt as ErrorMessage, et as navigate, f as useSiteContent, ft as Field, g as useDarkMode, gt as docsLink, h as useApplyThemeChoice, ht as TextField, it as useRoute, j as PluginScreenFrame, k as prepareUpload, l as AdminProvider, lt as Button, mt as PublishedNotice, n as formValues, nt as sectionId, o as findBlock, ot as EditorTextContext, p as setDarkMode, pt as InfoBubble, q as onShortcut, r as PreviewFrame, rt as syncedBlockEditorHref, t as SCHEDULE_PROP, tt as pageEditorHref, u as useAdmin, ut as Dialog, v as ComingUp, vt as describeContrast, x as scheduleSettingsChanges, y as ScheduleFields, z as useFrame } from "./entry-values-CAPB0igb.js";
2
+ import { $ as hasUnsavedChanges, A as useOutsideHost, B as useFrameServices, E as MediaScreen, F as mayChange, I as useMayChange, J as shortcutFor, K as isTyping, L as FrameServicesProvider, M as usePluginFrame, N as usePluginHost, O as AppLink, P as PublishFailure, Q as entryEditorHref, R as reloadFrames, S as REGISTRY_VERSION, T as MediaField, U as findPlaces, V as useFrameUpdates, W as goToPlaces, X as SETTINGS_SECTIONS, Y as usesCommandKey, Z as collectionHref, _ as useThemeChoice$1, _t as useDebounced, a as applyEditorChange, at as useUnsavedChanges, b as ScheduleStatus, ct as draftStarted, d as useCanChangeSettings, dt as ErrorMessage, et as navigate, f as useSiteContent, ft as Field, g as useDarkMode, gt as docsLink, h as useApplyThemeChoice, ht as TextField, it as useRoute, j as PluginScreenFrame, k as prepareUpload, l as AdminProvider, lt as Button, mt as PublishedNotice, n as formValues, nt as sectionId, o as findBlock, ot as EditorTextContext, p as setDarkMode, pt as InfoBubble, q as onShortcut, r as PreviewFrame, rt as syncedBlockEditorHref, t as SCHEDULE_PROP, tt as pageEditorHref, u as useAdmin, ut as Dialog, v as ComingUp, vt as describeContrast, x as scheduleSettingsChanges, y as ScheduleFields, z as useFrame } from "./entry-values-DWZqC5ZZ.js";
3
3
  import { i as useStrings, n as defaultStrings, r as useStringTable, t as StringsProvider } from "./strings-CgC6pd6k.js";
4
4
  import { a as languageStatus, c as sourcesToTranslate, d as PUCK_ENGLISH, i as labelSources, l as withEdits, n as entryOf, o as sourceKey, r as filterSources, s as sourceState, t as adminTextSources, u as withTranslations } from "./admin-text-sources-B1CoPEu6.js";
5
5
  import { ADMIN_TEXT_INDEX, APP_API_HEADER, BROKER_AI_ADDRESS, BROKER_CONNECT_MESSAGE, BROKER_READY_MESSAGE, CODE_PURPOSES, CODE_THEMES, COLLECTIONS_DIR, CONFIG_FILE, CONSENT_DAYS, CONSENT_KINDS, CONTENT_DIR, CommentsError, ConflictError, ContentError, DEFAULT_CODE_THEMES, DEFAULT_DARK_THEME_COLORS, DEFAULT_THEME_COLORS, DEMO_CONTENT_PATH, DISQUS_CREATE_URL, DomainError, EditorsError, FIELD_TYPES, FONT_CATEGORIES, FOOTER_FILE, GARRUL_URL, GISCUS_APP_URL, GOODFELLOW_REGISTRY, GOODFELLOW_VERSION, GROUP_FIELD_TYPES, HEADER_FILE, HIDE_REASONS, HeadCodeError, INSTALLED_PLUGINS_FILE, INSTALLED_RECORD_FILE, MAX_CONSENT_DAYS, MAX_CUSTOM_FONTS, MAX_FONT_BYTES, MAX_FONT_FILES, MAX_GROUP_FIELDS, MAX_UPLOAD_BYTES, MEDIA_DIR, NIGHTLY_MODES, NPM_REGISTRY, PUBLISHED_ADMIN_TEXT_DIR, PackageError, PluginInstallError, PluginTaskError, REDIRECT_LINK_PLACEHOLDER, REDIRECT_MESSAGE, RELEASE_AGE_DAYS, RegistryError, STATS_SERVICES, SYNCED_BLOCK, SYNCED_BLOCKS_DIR, SYNCED_BLOCK_PROP, SetupError, SignInError, SiteImportError, THEME_COLORS, THEME_FILE, THEME_RELEASE_AGE_DAYS, TITLE_FIELD, TRANSFER_FOLDERS, TRANSFER_RECORDS, ThemeError, UPDATES_FILE, UpdatesError, VERSION_PACKAGE, addressPatternProblem, adminOrigin, adminTextFile, adminTextFileChange, adminTextOverlay, adminTextProblem, adminTextTable, allPages, availableBlocks, availableUpdates, blockUses, brokerAddressProblem, brokerOrigin, brokerReleaseUrl, checkAdminAddress, checkEditedData, checkPuckData, checkRecords, chooseLanguagePackRelease, chooseRelease, chooseThemeRelease, collectionFileSchema, collectionsLinkingTo, compareReleases, configAdmin, configBackendHost, configBackendOption, configBroker, consentDefaults, consentInLanguage, consentKinds, consentSchema, contentInLanguage, contrastProblems, credentialStorage, customFont, customFontFileChanges, decodeBase64, demoContentStore, demoStore, describeSiteChanges, describedConfig, disqusModerationUrl, disqusShortname, domainZone, encodeBase64Bytes, endsHeldTemplate, entryAddress, entryLanguage, entryPathIn, entrySourceHash, entryTitle, entryTranslations, eventValueProblem, expandSyncedBlocks, fetchBrokerRelease, fetchLanguagePack, fetchPluginPackage, fetchTheme, findEntry, findSyncedBlock, fontFileName, formTarget, garrulAddress, garrulModerationUrl, getPageHead, googleFontsUrl, guessFontFamily, guessFontFile, hasLanguages, inRange, isAddressSegment, isDisqus, isEmptyValue, isGarrul, isLanguageCode, isLanguageHome, isReservedPagePath, isWoff2, itemsLinkingTo, languageLayoutFile, languageName, languagePackReleases, languagePrefix, loadSiteContent, mainLanguage, mayInstallEarly, mediaDetailsOf, mediaKind, menusFileSchema, normalizeDomain, pageLanguage, pageLinks, pageSourceHash, pageTitle, pageTranslations, parseAdminTextFile, parseAdminTextIndex, parseDemoContent, parseHeadCode, parseInstalledPlugins, parseInstalledRecord, parseThemeRecord, parseUpdateSettings, pathLanguage, permissionChanges, permissionsFileChange, planBlockChanges, planBroker, planLanguagePack, planPluginInstall, planPluginRemove, planSiteImport, planTheme, pluginReleases, pluginsOutOfRange, readAdminText, readProvenanceSource, readStatsCode, recordsInPlace, redirectFrom, redirectProblems, registrarName, releaseVersions, remoteBackend, reviewPluginPackages, scheduleOf, scheduleProblem, searchLanguagePacks, searchPlugins, searchThemes, serializeContent, signInClientIdProblem, signInRedirectAddresses, signInServiceProblem, siteChangesSince, siteHistory, siteLanguages, siteRestoreChanges, siteSettingsSchema, siteVersion, statsDashboard, statsElements, storedRedirects, syncedBlockUses, themeFileUrl, themeLabel, themeLoads, themeReleases, themeToCss, themeUnknownBlocks, todayIn, transferManifestFile, transferName, transferPaths, translationState, trimChars, withAdminConfig, withBackendOption, withBrokerConfig, withSchedule, writesEarlyLockfile, writesLockfile } from "@goodfellow-cms/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodfellow-cms/admin",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Goodfellow CMS's admin panel: a visual editor for a site's pages, layout and settings.",
5
5
  "keywords": [
6
6
  "goodfellow",
@@ -64,10 +64,10 @@
64
64
  "@codemirror/state": "6.7.6",
65
65
  "@codemirror/theme-one-dark": "6.1.3",
66
66
  "@codemirror/view": "6.43.14",
67
- "@goodfellow-cms/ai": "0.10.0",
68
- "@goodfellow-cms/core": "0.10.0",
69
- "@goodfellow-cms/react": "0.10.0",
70
- "@goodfellow-cms/registry": "0.10.0",
67
+ "@goodfellow-cms/ai": "0.10.1",
68
+ "@goodfellow-cms/core": "0.10.1",
69
+ "@goodfellow-cms/react": "0.10.1",
70
+ "@goodfellow-cms/registry": "0.10.1",
71
71
  "codemirror": "6.0.2",
72
72
  "fflate": "0.8.3",
73
73
  "lucide-react": "1.52.0",
@@ -80,7 +80,7 @@
80
80
  "react-dom": "^19.0.0"
81
81
  },
82
82
  "devDependencies": {
83
- "@goodfellow-cms/blocks": "0.10.0",
83
+ "@goodfellow-cms/blocks": "0.10.1",
84
84
  "@puckeditor/core": "0.23.0",
85
85
  "@types/react": "^19.2.0",
86
86
  "@types/react-dom": "^19.2.0",