From 166d456dbcd88fdb493307bcbe96e249b9f99678 Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Mon, 12 May 2025 13:55:59 -0700 Subject: [PATCH 1/5] Create Panel file --- components/panel.mdx | 5 +++++ docs.json | 1 + 2 files changed, 6 insertions(+) create mode 100644 components/panel.mdx diff --git a/components/panel.mdx b/components/panel.mdx new file mode 100644 index 000000000..1aa26b6cc --- /dev/null +++ b/components/panel.mdx @@ -0,0 +1,5 @@ +--- +title: 'Panel' +description: 'TODO: Specify the display of the right side panel' +icon: 'panel-right' +--- \ No newline at end of file diff --git a/docs.json b/docs.json index 95ea82880..36f0d30be 100644 --- a/docs.json +++ b/docs.json @@ -57,6 +57,7 @@ "components/frames", "components/icons", "components/mermaid-diagrams", + "components/panel", "components/steps", "components/tabs", "components/tooltips", From ea754ff007737fc19d279552c1e62c7077cf9ac1 Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Mon, 12 May 2025 15:42:10 -0700 Subject: [PATCH 2/5] Add info on using `Panel` --- components/panel.mdx | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/components/panel.mdx b/components/panel.mdx index 1aa26b6cc..1411a06c3 100644 --- a/components/panel.mdx +++ b/components/panel.mdx @@ -1,5 +1,29 @@ --- title: 'Panel' -description: 'TODO: Specify the display of the right side panel' +description: 'Specify the content of the right side panel' icon: 'panel-right' ---- \ No newline at end of file +--- + +You can use the `` component to customize the right side panel of a page. By default, the right side panel displays a table of contents listing any titles and subtitles. + +````md + + Pin info to the side panel. + + + You can put any content in here, including other components. + + + Or add any other component, including text. + +```` + + + Pin info to the side panel. + + + You can put any content in here, including other components. + + + Or add any other component, including text. + From ca06361776388cf38c94ec7ea542c4e99f1141b7 Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Mon, 12 May 2025 15:45:22 -0700 Subject: [PATCH 3/5] Make less redundant --- components/panel.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/panel.mdx b/components/panel.mdx index 1411a06c3..b600acbb5 100644 --- a/components/panel.mdx +++ b/components/panel.mdx @@ -14,7 +14,7 @@ You can use the `` component to customize the right side panel of a page. You can put any content in here, including other components. - Or add any other component, including text. + Or add any other component. ```` @@ -25,5 +25,5 @@ You can use the `` component to customize the right side panel of a page. You can put any content in here, including other components. - Or add any other component, including text. + Or add any other component. From fd23c07b44f9c5af7f7598882b902632b3047d93 Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Mon, 12 May 2025 16:10:07 -0700 Subject: [PATCH 4/5] Add reviewer feedback --- components/panel.mdx | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/components/panel.mdx b/components/panel.mdx index b600acbb5..c09fc4198 100644 --- a/components/panel.mdx +++ b/components/panel.mdx @@ -4,26 +4,17 @@ description: 'Specify the content of the right side panel' icon: 'panel-right' --- -You can use the `` component to customize the right side panel of a page. By default, the right side panel displays a table of contents listing any titles and subtitles. +You can use the `` component to customize the right side panel of a page with any components that you want. -````md - - Pin info to the side panel. +If a page has a `` component, any [``](/components/examples#request-example) and [``](/components/examples#response-example) components must be inside ``. - - You can put any content in here, including other components. - +The components in a `` will replace a page's table of contents. - Or add any other component. +````md + Pin info to the side panel. Or add any other component. ```` - Pin info to the side panel. - - - You can put any content in here, including other components. - - - Or add any other component. + Pin info to the side panel. Or add any other component. From 96da139e21ba28fcb3b8fb2c9b314c11dcf6c52f Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Mon, 12 May 2025 16:10:55 -0700 Subject: [PATCH 5/5] Update panel.mdx --- components/panel.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/panel.mdx b/components/panel.mdx index c09fc4198..8b132b1b3 100644 --- a/components/panel.mdx +++ b/components/panel.mdx @@ -11,6 +11,7 @@ If a page has a `` component, any [``](/components/exampl The components in a `` will replace a page's table of contents. ````md + Pin info to the side panel. Or add any other component. ````