@orion-studios/payload-studio 0.6.0-beta.6 → 0.6.0-beta.60
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/admin/client.d.mts +1 -0
- package/dist/admin/client.d.ts +1 -0
- package/dist/admin/client.js +3923 -1354
- package/dist/admin/client.mjs +4089 -1532
- package/dist/admin/index.d.mts +2 -3
- package/dist/admin/index.d.ts +2 -3
- package/dist/admin/index.js +141 -1430
- package/dist/admin/index.mjs +2 -4
- package/dist/admin-app/client.js +11 -4
- package/dist/admin-app/client.mjs +1 -1
- package/dist/admin-app/index.d.mts +2 -2
- package/dist/admin-app/index.d.ts +2 -2
- package/dist/admin-app/index.mjs +4 -4
- package/dist/admin-app/styles.css +343 -41
- package/dist/admin.css +18 -2
- package/dist/builder-v2/client.d.mts +18 -0
- package/dist/builder-v2/client.d.ts +18 -0
- package/dist/builder-v2/client.js +1661 -0
- package/dist/builder-v2/client.mjs +1536 -0
- package/dist/builder-v2/index.d.mts +237 -0
- package/dist/builder-v2/index.d.ts +237 -0
- package/dist/builder-v2/index.js +735 -0
- package/dist/builder-v2/index.mjs +685 -0
- package/dist/builder-v2/styles.css +1132 -0
- package/dist/{chunk-PF3EBZXF.mjs → chunk-7ZMXZRBP.mjs} +39 -3
- package/dist/chunk-JC3UV74N.mjs +1033 -0
- package/dist/{chunk-KPIX7OSV.mjs → chunk-MJEOSRFT.mjs} +155 -148
- package/dist/{chunk-XKUTZ7IU.mjs → chunk-NGLIA2OE.mjs} +53 -2
- package/dist/{chunk-EHUE4LCT.mjs → chunk-RKTIFEUY.mjs} +33 -3
- package/dist/chunk-W2UOCJDX.mjs +32 -0
- package/dist/{chunk-OTHERBGX.mjs → chunk-ZADL33R6.mjs} +1 -1
- package/dist/{index-bbA3HSxa.d.ts → index-BV0vEGl6.d.ts} +6 -9
- package/dist/{index-Cv-6qnrw.d.mts → index-D5zrOdyv.d.mts} +3 -1
- package/dist/{index-52HdVLQq.d.ts → index-DAdN56fM.d.ts} +1 -1
- package/dist/{index-DEkV-sMs.d.mts → index-DLfPOqYA.d.mts} +6 -9
- package/dist/{index-Crx_MtPw.d.ts → index-Dv-Alx4h.d.ts} +3 -1
- package/dist/{index-DEQC3Dwj.d.mts → index-G_uTNffQ.d.mts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +294 -1450
- package/dist/index.mjs +6 -6
- package/dist/nextjs/index.js +39 -3
- package/dist/nextjs/index.mjs +2 -2
- package/dist/{sitePreviewTypes-BkHCWxNW.d.mts → sitePreviewTypes-BrJwGzJj.d.mts} +1 -1
- package/dist/{sitePreviewTypes-BkHCWxNW.d.ts → sitePreviewTypes-BrJwGzJj.d.ts} +1 -1
- package/dist/studio-pages/builder.css +24 -5
- package/dist/studio-pages/client.js +574 -64
- package/dist/studio-pages/client.mjs +574 -64
- package/dist/studio-pages/index.d.mts +1 -1
- package/dist/studio-pages/index.d.ts +1 -1
- package/dist/studio-pages/index.js +91 -4
- package/dist/studio-pages/index.mjs +2 -2
- package/package.json +22 -3
- package/dist/chunk-NTXOLLDC.mjs +0 -2280
- package/dist/chunk-Z6L5K5MH.mjs +0 -64
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Field, CollectionConfig, GlobalConfig } from 'payload';
|
|
2
|
-
import { a as AdminNavIcon, e as SitePreviewLink, f as SitePreviewLocationSummary } from './sitePreviewTypes-
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { a as AdminNavIcon, e as SitePreviewLink, f as SitePreviewLocationSummary } from './sitePreviewTypes-BrJwGzJj.mjs';
|
|
4
3
|
import { a as SocialMediaPlatform, b as SOCIAL_MEDIA_DEFAULT_ICON_BY_PLATFORM, c as SOCIAL_MEDIA_ICON_OPTIONS, d as SOCIAL_MEDIA_PLATFORMS, e as SOCIAL_MEDIA_PLATFORM_LABELS, S as SocialMediaGlobalData, f as SocialMediaIconLibrary, g as SocialMediaIconOption, h as SocialMediaProfileData, i as SocialMediaProfilesData } from './socialMedia-C05Iy-SV.mjs';
|
|
5
4
|
|
|
6
5
|
type ThemeOption = 'light' | 'dark' | 'brand-light' | 'brand-dark';
|
|
7
6
|
declare const createThemePreferenceField: (defaultTheme?: ThemeOption) => Field;
|
|
8
7
|
declare const themePreferenceField: Field;
|
|
9
8
|
|
|
10
|
-
type StudioSectionRole = 'admin' | 'editor' | 'client';
|
|
9
|
+
type StudioSectionRole = 'admin' | 'developer' | 'editor' | 'client';
|
|
11
10
|
type StudioSectionCard = {
|
|
12
11
|
description?: string;
|
|
13
12
|
title: string;
|
|
@@ -105,9 +104,11 @@ interface AdminConfig {
|
|
|
105
104
|
brandPrimary?: string;
|
|
106
105
|
brandSecondary?: string;
|
|
107
106
|
defaultTheme?: ThemeOption;
|
|
107
|
+
logoOnDarkUrl?: string;
|
|
108
108
|
logoUrl?: string;
|
|
109
109
|
basePath?: string;
|
|
110
110
|
studio?: AdminStudioConfig;
|
|
111
|
+
userSessionDurationSeconds?: number;
|
|
111
112
|
}
|
|
112
113
|
type ConfiguredAdmin = {
|
|
113
114
|
admin: Record<string, unknown>;
|
|
@@ -125,9 +126,6 @@ type ConfiguredAdmin = {
|
|
|
125
126
|
};
|
|
126
127
|
declare function configureAdmin(config: AdminConfig): ConfiguredAdmin;
|
|
127
128
|
|
|
128
|
-
type AnyRecord = Record<string, unknown>;
|
|
129
|
-
declare function AdminStudioDashboard(rawProps: AnyRecord): react_jsx_runtime.JSX.Element;
|
|
130
|
-
|
|
131
129
|
declare function withTooltips(fields: Field[], customTooltips?: Record<string, string>): Field[];
|
|
132
130
|
|
|
133
131
|
declare const createHeaderNavItemsField: () => Field;
|
|
@@ -150,7 +148,6 @@ declare const createSocialMediaGlobal: (options?: CreateSocialMediaGlobalOptions
|
|
|
150
148
|
|
|
151
149
|
type index_AdminConfig = AdminConfig;
|
|
152
150
|
type index_AdminStudioConfig = AdminStudioConfig;
|
|
153
|
-
declare const index_AdminStudioDashboard: typeof AdminStudioDashboard;
|
|
154
151
|
type index_AdminStudioFooterPreviewConfig = AdminStudioFooterPreviewConfig;
|
|
155
152
|
type index_AdminStudioHeaderPreviewConfig = AdminStudioHeaderPreviewConfig;
|
|
156
153
|
type index_AdminStudioSitePreviewConfig = AdminStudioSitePreviewConfig;
|
|
@@ -185,7 +182,7 @@ declare const index_socialMediaConnectionsField: typeof socialMediaConnectionsFi
|
|
|
185
182
|
declare const index_themePreferenceField: typeof themePreferenceField;
|
|
186
183
|
declare const index_withTooltips: typeof withTooltips;
|
|
187
184
|
declare namespace index {
|
|
188
|
-
export { type index_AdminConfig as AdminConfig, type index_AdminStudioConfig as AdminStudioConfig,
|
|
185
|
+
export { type index_AdminConfig as AdminConfig, type index_AdminStudioConfig as AdminStudioConfig, type index_AdminStudioFooterPreviewConfig as AdminStudioFooterPreviewConfig, type index_AdminStudioHeaderPreviewConfig as AdminStudioHeaderPreviewConfig, type index_AdminStudioSitePreviewConfig as AdminStudioSitePreviewConfig, type index_CreateSocialMediaConnectionsFieldOptions as CreateSocialMediaConnectionsFieldOptions, type index_CreateSocialMediaGlobalOptions as CreateSocialMediaGlobalOptions, type index_ResolvedStudioDashboardPanel as ResolvedStudioDashboardPanel, type index_ResolvedStudioSection as ResolvedStudioSection, index_SOCIAL_MEDIA_DEFAULT_ICON_BY_PLATFORM as SOCIAL_MEDIA_DEFAULT_ICON_BY_PLATFORM, index_SOCIAL_MEDIA_ICON_OPTIONS as SOCIAL_MEDIA_ICON_OPTIONS, index_SOCIAL_MEDIA_PLATFORMS as SOCIAL_MEDIA_PLATFORMS, index_SOCIAL_MEDIA_PLATFORM_LABELS as SOCIAL_MEDIA_PLATFORM_LABELS, index_SocialMediaGlobalData as SocialMediaGlobalData, index_SocialMediaIconLibrary as SocialMediaIconLibrary, index_SocialMediaIconOption as SocialMediaIconOption, index_SocialMediaPlatform as SocialMediaPlatform, index_SocialMediaProfileData as SocialMediaProfileData, index_SocialMediaProfilesData as SocialMediaProfilesData, type index_StudioDashboardPanel as StudioDashboardPanel, type index_StudioDashboardPanelSpan as StudioDashboardPanelSpan, type index_StudioGlobalLink as StudioGlobalLink, type index_StudioSection as StudioSection, type index_StudioSectionCard as StudioSectionCard, type index_StudioSectionComponent as StudioSectionComponent, type index_StudioSectionRole as StudioSectionRole, type index_StudioSectionView as StudioSectionView, index_configureAdmin as configureAdmin, index_createHeaderNavItemsField as createHeaderNavItemsField, index_createSocialMediaConnectionsField as createSocialMediaConnectionsField, index_createSocialMediaGlobal as createSocialMediaGlobal, index_createThemePreferenceField as createThemePreferenceField, index_socialMediaConnectionsField as socialMediaConnectionsField, index_themePreferenceField as themePreferenceField, index_withTooltips as withTooltips };
|
|
189
186
|
}
|
|
190
187
|
|
|
191
|
-
export { type AdminConfig as A, type CreateSocialMediaConnectionsFieldOptions as C, type ResolvedStudioDashboardPanel as R, type StudioDashboardPanel as S, type AdminStudioConfig as a,
|
|
188
|
+
export { type AdminConfig as A, type CreateSocialMediaConnectionsFieldOptions as C, type ResolvedStudioDashboardPanel as R, type StudioDashboardPanel as S, type AdminStudioConfig as a, type AdminStudioFooterPreviewConfig as b, type AdminStudioHeaderPreviewConfig as c, type AdminStudioSitePreviewConfig as d, type CreateSocialMediaGlobalOptions as e, type ResolvedStudioSection as f, type StudioDashboardPanelSpan as g, type StudioGlobalLink as h, index as i, type StudioSection as j, type StudioSectionCard as k, type StudioSectionComponent as l, type StudioSectionRole as m, type StudioSectionView as n, configureAdmin as o, createHeaderNavItemsField as p, createSocialMediaConnectionsField as q, createSocialMediaGlobal as r, createThemePreferenceField as s, socialMediaConnectionsField as t, themePreferenceField as u, withTooltips as w };
|
|
@@ -2,7 +2,7 @@ import { S as StudioDocumentV1, a as StudioModuleManifest, b as StudioPageServic
|
|
|
2
2
|
import { Payload } from 'payload';
|
|
3
3
|
import { ComponentType, CSSProperties, ReactNode } from 'react';
|
|
4
4
|
|
|
5
|
-
type InspectorGroupKey = 'advanced' | 'basics' | 'media' | 'typography';
|
|
5
|
+
type InspectorGroupKey = 'advanced' | 'basics' | 'layout' | 'media' | 'typography';
|
|
6
6
|
type InspectorFieldType = 'checkbox' | 'color' | 'number' | 'search' | 'select' | 'text' | 'textarea';
|
|
7
7
|
|
|
8
8
|
type BuilderSettingsPanelMode = 'advanced' | 'basic';
|
|
@@ -21,7 +21,9 @@ type BuilderLayoutSettingsV2 = {
|
|
|
21
21
|
};
|
|
22
22
|
type BuilderTypographySettingsV2 = {
|
|
23
23
|
bodyAlign?: BuilderTextAlign;
|
|
24
|
+
bodySizePt?: number | null;
|
|
24
25
|
headingAlign?: BuilderTextAlign;
|
|
26
|
+
headingSizePt?: number | null;
|
|
25
27
|
letterSpacingPreset?: BuilderTypographySpacingPreset;
|
|
26
28
|
lineHeightPreset?: BuilderTypographySpacingPreset;
|
|
27
29
|
maxTextWidth?: 'auto' | 'full' | 'lg' | 'md' | 'sm';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { A as AdminBreadcrumbItem, a as AdminNavIcon, b as AdminNavItem, c as AdminRole, S as SiteFooterPreviewData, d as SiteHeaderPreviewData, e as SitePreviewLink, f as SitePreviewLocationSummary, g as SitePreviewSocialLink, n as navItemIsActive, r as roleCanAccessNav } from './sitePreviewTypes-
|
|
2
|
+
import { A as AdminBreadcrumbItem, a as AdminNavIcon, b as AdminNavItem, c as AdminRole, S as SiteFooterPreviewData, d as SiteHeaderPreviewData, e as SitePreviewLink, f as SitePreviewLocationSummary, g as SitePreviewSocialLink, n as navItemIsActive, r as roleCanAccessNav } from './sitePreviewTypes-BrJwGzJj.mjs';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
type AdminBreadcrumbsProps = {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { i as admin } from './index-
|
|
2
|
-
export { i as adminApp } from './index-
|
|
1
|
+
export { i as admin } from './index-DLfPOqYA.mjs';
|
|
2
|
+
export { i as adminApp } from './index-G_uTNffQ.mjs';
|
|
3
3
|
export { i as blocks } from './index-CluwY0ZQ.mjs';
|
|
4
4
|
export { i as nextjs } from './index-D8BNfUJb.mjs';
|
|
5
5
|
export { i as studio } from './index-DWmudwDm.mjs';
|
|
6
|
-
export { i as studioPages } from './index-
|
|
6
|
+
export { i as studioPages } from './index-D5zrOdyv.mjs';
|
|
7
7
|
import 'payload';
|
|
8
|
-
import './sitePreviewTypes-
|
|
9
|
-
import 'react/jsx-runtime';
|
|
8
|
+
import './sitePreviewTypes-BrJwGzJj.mjs';
|
|
10
9
|
import './socialMedia-C05Iy-SV.mjs';
|
|
10
|
+
import 'react/jsx-runtime';
|
|
11
11
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { i as admin } from './index-
|
|
2
|
-
export { i as adminApp } from './index-
|
|
1
|
+
export { i as admin } from './index-BV0vEGl6.js';
|
|
2
|
+
export { i as adminApp } from './index-DAdN56fM.js';
|
|
3
3
|
export { i as blocks } from './index-CluwY0ZQ.js';
|
|
4
4
|
export { i as nextjs } from './index-DD_E2UfJ.js';
|
|
5
5
|
export { i as studio } from './index-DWmudwDm.js';
|
|
6
|
-
export { i as studioPages } from './index-
|
|
6
|
+
export { i as studioPages } from './index-Dv-Alx4h.js';
|
|
7
7
|
import 'payload';
|
|
8
|
-
import './sitePreviewTypes-
|
|
9
|
-
import 'react/jsx-runtime';
|
|
8
|
+
import './sitePreviewTypes-BrJwGzJj.js';
|
|
10
9
|
import './socialMedia-C05Iy-SV.js';
|
|
10
|
+
import 'react/jsx-runtime';
|
|
11
11
|
import 'react';
|