Skip to content

Commit 8ba40f4

Browse files
authored
Merge pull request #182 from AdobeDocs/EXTDEVEX-21
Code Playground phase-3
2 parents 06151af + 07fe90d commit 8ba40f4

File tree

97 files changed

+4065
-1015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+4065
-1015
lines changed

gatsby-config.js

Lines changed: 55 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ module.exports = {
146146
title: "BaseNode",
147147
path: "references/document-sandbox/document-apis/classes/BaseNode.md",
148148
},
149+
{
150+
title: "BitmapImage",
151+
path: "references/document-sandbox/document-apis/classes/BitmapImage.md",
152+
},
149153
{
150154
title: "ColorUtils",
151155
path: "references/document-sandbox/document-apis/classes/ColorUtils.md",
@@ -166,10 +170,22 @@ module.exports = {
166170
title: "EllipseNode",
167171
path: "references/document-sandbox/document-apis/classes/EllipseNode.md",
168172
},
173+
{
174+
title: "ExpressContext",
175+
path: "references/document-sandbox/document-apis/classes/ExpressContext.md",
176+
},
177+
{
178+
title: "ExpressEditor",
179+
path: "references/document-sandbox/document-apis/classes/ExpressEditor.md",
180+
},
169181
{
170182
title: "ExpressRootNode",
171183
path: "references/document-sandbox/document-apis/classes/ExpressRootNode.md",
172184
},
185+
{
186+
title: "ExpressViewport",
187+
path: "references/document-sandbox/document-apis/classes/ExpressViewport.md",
188+
},
173189
{
174190
title: "FillableNode",
175191
path: "references/document-sandbox/document-apis/classes/FillableNode.md",
@@ -242,6 +258,10 @@ module.exports = {
242258
title: "SolidColorShapeNode",
243259
path: "references/document-sandbox/document-apis/classes/SolidColorShapeNode.md",
244260
},
261+
{
262+
title: "StandaloneTextContentModel",
263+
path: "references/document-sandbox/document-apis/classes/StandaloneTextContentModel.md",
264+
},
245265
{
246266
title: "StandaloneTextNode",
247267
path: "references/document-sandbox/document-apis/classes/StandaloneTextNode.md",
@@ -262,6 +282,14 @@ module.exports = {
262282
title: "TextNode",
263283
path: "references/document-sandbox/document-apis/classes/TextNode.md",
264284
},
285+
{
286+
title: "TextNodeContentModel",
287+
path: "references/document-sandbox/document-apis/classes/TextNodeContentModel.md",
288+
},
289+
{
290+
title: "ThreadedTextContentModel",
291+
path: "references/document-sandbox/document-apis/classes/ThreadedTextContentModel.md",
292+
},
265293
{
266294
title: "ThreadedTextNode",
267295
path: "references/document-sandbox/document-apis/classes/ThreadedTextNode.md",
@@ -278,10 +306,6 @@ module.exports = {
278306
title: "UnknownNode",
279307
path: "references/document-sandbox/document-apis/classes/UnknownNode.md",
280308
},
281-
{
282-
title: "Viewport",
283-
path: "references/document-sandbox/document-apis/classes/Viewport.md",
284-
},
285309
{
286310
title: "VisualNode",
287311
path: "references/document-sandbox/document-apis/classes/VisualNode.md",
@@ -553,7 +577,29 @@ module.exports = {
553577
},
554578
{
555579
title: "Code Playground",
556-
path: "guides/getting_started/code_playground.md",
580+
path: "guides/getting_started/code-playground.md",
581+
pages: [
582+
{
583+
title: "Overview",
584+
path: "guides/getting_started/code-playground.md",
585+
},
586+
{
587+
title: "Script Mode",
588+
path: "guides/getting_started/code-playground-script-mode.md",
589+
},
590+
{
591+
title: "Add-on Mode",
592+
path: "guides/getting_started/code-playground-addon-mode.md",
593+
},
594+
{
595+
title: "Workflow & Productivity",
596+
path: "guides/getting_started/code-playground-workflow.md",
597+
},
598+
{
599+
title: "Troubleshooting",
600+
path: "guides/getting_started/code-playground-troubleshooting.md",
601+
},
602+
],
557603
},
558604
{
559605
title: "Local Development",
@@ -575,6 +621,10 @@ module.exports = {
575621
title: "VS Code debugging",
576622
path: "guides/getting_started/local_development/vs-code.md",
577623
},
624+
{
625+
title: "Known Issues & Limitations",
626+
path: "guides/getting_started/local_development/known_issues_limitations.md",
627+
},
578628
],
579629
},
580630
{

src/@adobe/gatsby-theme-aio/components/Code/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const Code = ({ children, className = "", theme, metastring = "" }) => {
164164
!isMobile && openCodePlayground(children, sampleId)
165165
}
166166
>
167-
Try
167+
Try in playground
168168
</ActionButton>
169169
)}
170170

src/@adobe/gatsby-theme-aio/components/Code/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
.code-copy-button.with-try {
43-
inset-inline-end: var(--spectrum-global-dimension-size-700);
43+
inset-inline-end: calc(var(--spectrum-global-dimension-size-2000) + var(--spectrum-global-dimension-size-100));
4444
}
4545

4646
.code-try-button {
@@ -67,7 +67,7 @@
6767
}
6868

6969
.code-tooltip-container.with-try {
70-
inset-inline-end: calc(var(--spectrum-global-dimension-size-700) + var(--spectrum-global-dimension-size-600) + var(--spectrum-global-dimension-size-125));
70+
inset-inline-end: calc(var(--spectrum-global-dimension-size-2000) + var(--spectrum-global-dimension-size-100) + var(--spectrum-global-dimension-size-600) + var(--spectrum-global-dimension-size-125));
7171
}
7272

7373
.code-tooltip {
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)