@pantheon-systems/p1-next-sdk 0.22.0 → 0.23.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.
@@ -37,6 +37,7 @@ export function EditorContent({ runtime, path, }) {
37
37
  ...runtime.pluginOptions,
38
38
  ...extensions.pluginOptions,
39
39
  goLiveStub: features.isEnabled("goLiveStub"),
40
+ sectionNesting: features.isEnabled("sectionNesting"),
40
41
  },
41
42
  overrideOptions: {
42
43
  showDefaultPublish: false,
@@ -12,6 +12,8 @@ export declare const P1_EXPERIMENTAL_FEATURE_FLAGS: {
12
12
  readonly chatbot: "p1-chatbot";
13
13
  /** Demo-only go-live screens with mocked data. Throwaway; remove with the demo folder. */
14
14
  readonly goLiveStub: "p-1-go-live-stub";
15
+ /** Offering to put a new page in its section when its slug is a path. */
16
+ readonly sectionNesting: "p1-section-nesting";
15
17
  };
16
18
  export type P1ExperimentalFeature = keyof typeof P1_EXPERIMENTAL_FEATURE_FLAGS;
17
19
  export declare const P1_EXPERIMENTAL_FEATURES: P1ExperimentalFeature[];
@@ -2,6 +2,7 @@ export const P1_EXPERIMENTAL_FEATURE_FLAGS = {
2
2
  threads: "p1-collaboration",
3
3
  chatbot: "p1-chatbot",
4
4
  goLiveStub: "p-1-go-live-stub",
5
+ sectionNesting: "p1-section-nesting",
5
6
  };
6
7
  export const P1_EXPERIMENTAL_FEATURES = Object.keys(P1_EXPERIMENTAL_FEATURE_FLAGS);
7
8
  export const ALL_OFF = Object.freeze(Object.fromEntries(P1_EXPERIMENTAL_FEATURES.map((feature) => [feature, false])));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pantheon-systems/p1-next-sdk",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Next.js SDK for P1 editor integration",
6
6
  "publishConfig": {
@@ -42,9 +42,9 @@
42
42
  "!dist/**/*.map"
43
43
  ],
44
44
  "dependencies": {
45
- "@pantheon-systems/css-client": "0.22.0",
45
+ "@pantheon-systems/css-client": "0.23.0",
46
46
  "@pantheon-systems/p1-ai-chat": "0.10.0",
47
- "@pantheon-systems/puck-css": "0.22.0",
47
+ "@pantheon-systems/puck-css": "0.23.0",
48
48
  "launchdarkly-js-client-sdk": "^3.9.3",
49
49
  "server-only": "^0.0.1"
50
50
  },