diff --git a/src/components/DocumentationTopic.vue b/src/components/DocumentationTopic.vue
index fc1debf06..56dc7e049 100644
--- a/src/components/DocumentationTopic.vue
+++ b/src/components/DocumentationTopic.vue
@@ -73,10 +73,11 @@
/>
type === 'icon');
return icon ? icon.identifier : null;
},
+ shouldRenderTopicSection: ({
+ topicSectionsStyle,
+ topicSections,
+ }) => topicSections && topicSectionsStyle !== TopicSectionsStyle.hidden,
},
methods: {
normalizePath(path) {
diff --git a/src/components/DocumentationTopic/ContentTableSection.vue b/src/components/DocumentationTopic/ContentTableSection.vue
index 93afc47fe..e2279fc53 100644
--- a/src/components/DocumentationTopic/ContentTableSection.vue
+++ b/src/components/DocumentationTopic/ContentTableSection.vue
@@ -11,10 +11,10 @@
-
+
{{ title }}
@@ -32,6 +32,8 @@
import LinkableHeading from 'docc-render/components/ContentNode/LinkableHeading.vue';
import { anchorize } from 'docc-render/utils/strings';
+export const TITLE_CLASS_NAME = 'contenttable-title';
+
export default {
name: 'ContentTableSection',
components: { LinkableHeading },
@@ -47,6 +49,7 @@ export default {
},
computed: {
anchorComputed: ({ title, anchor }) => anchor || anchorize(title),
+ className: () => TITLE_CLASS_NAME,
},
};
@@ -67,7 +70,7 @@ export default {
}
}
-/deep/ .title {
+/deep/ .contenttable-title {
@include font-styles(label);
}
@@ -86,7 +89,7 @@ export default {
}
}
- /deep/ .title {
+ /deep/ .contenttable-title {
margin: 0 0 $contenttable-spacing-single-side 0;
padding-bottom: 0.5rem;
}
diff --git a/src/components/DocumentationTopic/Topics.vue b/src/components/DocumentationTopic/Topics.vue
index 73372785e..e99300d10 100644
--- a/src/components/DocumentationTopic/Topics.vue
+++ b/src/components/DocumentationTopic/Topics.vue
@@ -15,10 +15,12 @@
:isSymbolDeprecated="isSymbolDeprecated"
:isSymbolBeta="isSymbolBeta"
:sections="sections"
+ :topicStyle="topicStyle"
/>
diff --git a/src/components/DocumentationTopic/TopicsLinkCardGrid.vue b/src/components/DocumentationTopic/TopicsLinkCardGrid.vue
new file mode 100644
index 000000000..5f44d69e3
--- /dev/null
+++ b/src/components/DocumentationTopic/TopicsLinkCardGrid.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/DocumentationTopic/TopicsLinkCardGridItem.vue b/src/components/DocumentationTopic/TopicsLinkCardGridItem.vue
new file mode 100644
index 000000000..ac6c574f7
--- /dev/null
+++ b/src/components/DocumentationTopic/TopicsLinkCardGridItem.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/DocumentationTopic/TopicsTable.vue b/src/components/DocumentationTopic/TopicsTable.vue
index 450a202e4..373ccde5f 100644
--- a/src/components/DocumentationTopic/TopicsTable.vue
+++ b/src/components/DocumentationTopic/TopicsTable.vue
@@ -16,11 +16,11 @@
:title="section.title"
:anchor="section.anchor"
>
-
+
{{ section.title }}
@@ -32,13 +32,21 @@
-
+
+
+
@@ -47,6 +55,8 @@