From f2dfea4bb4e711487d5718746d51d3f4c8fba9d6 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 01:22:23 +0000 Subject: [PATCH 1/4] docs: document defaultOpen property for Accordion component Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> --- .../default-components/accordion-groups.mdx | 17 ++++++++++++++++- .../default-components/accordions.mdx | 11 +++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx b/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx index b48f5f785..ddb9801ae 100644 --- a/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx +++ b/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx @@ -6,7 +6,7 @@ description: 'Display expandable/collapsible options that reveal more informatio Accordion Groups allow you to organize content into collapsible sections, making it easier for users to navigate through information. With recent updates, our Accordion component now supports improved search functionality using the browser's built-in search feature. - + Accordion Groups can contain multiple Accordion items. Each item has a title and content that can be expanded or collapsed. ```jsx @@ -28,6 +28,21 @@ Accordion Groups allow you to organize content into collapsible sections, making Our Accordion component is built with accessibility in mind, supporting keyboard navigation and screen readers. + + + You can use the `defaultOpen` property to have specific accordions expanded by default when the page loads. This is useful for highlighting important information or frequently accessed content. + + ```jsx + + + This accordion will be open by default + + + This accordion will be closed by default + + + ``` + ### Enhanced search functionality diff --git a/fern/products/docs/pages/component-library/default-components/accordions.mdx b/fern/products/docs/pages/component-library/default-components/accordions.mdx index f4e58e416..527879fba 100644 --- a/fern/products/docs/pages/component-library/default-components/accordions.mdx +++ b/fern/products/docs/pages/component-library/default-components/accordions.mdx @@ -10,12 +10,19 @@ The Accordion component allows you to create expandable sections in your documen This is an example of an accordion component. When clicked, it expands to reveal this additional content. + + This accordion is open by default using the `defaultOpen` property. + ```jsx This is an example of an accordion component. When clicked, it expands to reveal this additional content. + + + This accordion is open by default using the `defaultOpen` property. + ``` @@ -30,4 +37,8 @@ The Accordion component allows you to create expandable sections in your documen The content to be displayed when the accordion is expanded. Can include text, markdown, and components. + + Whether the accordion should be open by default when the page loads. If not specified, the accordion will be collapsed by default. + + From 465e1504304fd64d8a0186c2c4baa260f73ffb05 Mon Sep 17 00:00:00 2001 From: Catherine Deskur <46695336+chdeskur@users.noreply.github.com> Date: Thu, 23 Oct 2025 22:41:39 -0400 Subject: [PATCH 2/4] Update accordions.mdx --- .../pages/component-library/default-components/accordions.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/products/docs/pages/component-library/default-components/accordions.mdx b/fern/products/docs/pages/component-library/default-components/accordions.mdx index 527879fba..8216d9459 100644 --- a/fern/products/docs/pages/component-library/default-components/accordions.mdx +++ b/fern/products/docs/pages/component-library/default-components/accordions.mdx @@ -38,7 +38,7 @@ The Accordion component allows you to create expandable sections in your documen - Whether the accordion should be open by default when the page loads. If not specified, the accordion will be collapsed by default. + Whether the accordion should be open when the page loads. If not specified, the accordion will be collapsed by default. From 109ca998bead38f5461bbe1ffde95b0b70834ef6 Mon Sep 17 00:00:00 2001 From: Devin Logan Date: Fri, 24 Oct 2025 07:00:53 -0400 Subject: [PATCH 3/4] clarify defaultOpen info and take most of it out of AccordionGroups page --- .../default-components/accordion-groups.mdx | 27 +++---------------- .../default-components/accordions.mdx | 12 ++++----- .../overview/java/changelog/2025-10-23.mdx | 4 +-- 3 files changed, 12 insertions(+), 31 deletions(-) diff --git a/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx b/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx index ddb9801ae..e5c5f2573 100644 --- a/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx +++ b/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx @@ -6,13 +6,13 @@ description: 'Display expandable/collapsible options that reveal more informatio Accordion Groups allow you to organize content into collapsible sections, making it easier for users to navigate through information. With recent updates, our Accordion component now supports improved search functionality using the browser's built-in search feature. - - Accordion Groups can contain multiple Accordion items. Each item has a title and content that can be expanded or collapsed. + + Accordion Groups can contain multiple Accordion items. Each item has a title and content that can be expanded or collapsed. You can use the `defaultOpen` prop to expand specific accordions by default when the page loads. ```jsx - - Content for section 1 + + Content for section 1, expanded by default Content for section 2 @@ -28,31 +28,12 @@ Accordion Groups allow you to organize content into collapsible sections, making Our Accordion component is built with accessibility in mind, supporting keyboard navigation and screen readers. - - - You can use the `defaultOpen` property to have specific accordions expanded by default when the page loads. This is useful for highlighting important information or frequently accessed content. - - ```jsx - - - This accordion will be open by default - - - This accordion will be closed by default - - - ``` - ### Enhanced search functionality The recent update to our Accordion component improves content discoverability by allowing users to search through all content, including collapsed sections, using the browser's search function (Cmd+F / Ctrl+F). -### Usage examples - -Here are some examples of how to use the Accordion Group component: - diff --git a/fern/products/docs/pages/component-library/default-components/accordions.mdx b/fern/products/docs/pages/component-library/default-components/accordions.mdx index 8216d9459..f41afd63d 100644 --- a/fern/products/docs/pages/component-library/default-components/accordions.mdx +++ b/fern/products/docs/pages/component-library/default-components/accordions.mdx @@ -6,13 +6,13 @@ description: 'Expand or collapse to reveal more information' The Accordion component allows you to create expandable sections in your documentation. Content within accordions is searchable using browser search (cmd+f) even when collapsed. The component is optimized for SEO with server-side HTML generation, ensuring search engines can properly index all content within accordions. - + This is an example of an accordion component. When clicked, it expands to reveal this additional content. - - This accordion is open by default using the `defaultOpen` property. - + + You can use the `defaultOpen` property to have specific accordions expanded by default when the page loads. This is useful for highlighting important information or frequently accessed content. + ```jsx @@ -20,8 +20,8 @@ The Accordion component allows you to create expandable sections in your documen This is an example of an accordion component. When clicked, it expands to reveal this additional content. - - This accordion is open by default using the `defaultOpen` property. + + You can use the `defaultOpen` property to have specific accordions expanded by default when the page loads. This is useful for highlighting important information or frequently accessed content. ``` diff --git a/fern/products/sdks/overview/java/changelog/2025-10-23.mdx b/fern/products/sdks/overview/java/changelog/2025-10-23.mdx index 080598c2f..826e8cc0a 100644 --- a/fern/products/sdks/overview/java/changelog/2025-10-23.mdx +++ b/fern/products/sdks/overview/java/changelog/2025-10-23.mdx @@ -1,7 +1,7 @@ ## 3.9.2 **`(fix):`** Fix nullable field serialization in PATCH requests with wrapped request bodies. Explicit null values -(Nullable.ofNull()) are now correctly serialized as {"field": null} instead of being omitted like -Nullable.empty(). +`(Nullable.ofNull())` are now correctly serialized as `{"field": null}` instead of being omitted like +`Nullable.empty()`. ## 3.9.1 From b0c9f2eab08055c05e349003c29c3367bf764b51 Mon Sep 17 00:00:00 2001 From: Devin Logan Date: Fri, 24 Oct 2025 18:40:54 -0400 Subject: [PATCH 4/4] fix nit --- .../default-components/accordion-groups.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx b/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx index ad0c998ba..407fe37f9 100644 --- a/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx +++ b/fern/products/docs/pages/component-library/default-components/accordion-groups.mdx @@ -11,7 +11,7 @@ Accordion Groups allow you to organize content into collapsible sections, making ```jsx - + Content for section 1, expanded by default @@ -37,8 +37,8 @@ Accordion Groups allow you to organize content into collapsible sections, making - - This is a basic example with text content. + + This is a basic example with text content. It's open by default when the page loads. You can embed images, videos, and other media within accordions for rich interactive content. @@ -68,8 +68,8 @@ Accordion Groups allow you to organize content into collapsible sections, making ````jsx - - This is a basic example with text content. + + This is a basic example with text content. It's open by default when the page loads. You can embed images, videos, and other media within accordions for rich interactive content.