diff --git a/docs/_layouts/component.njk b/docs/_layouts/component.njk index 8275d0f00..7d8844fff 100644 --- a/docs/_layouts/component.njk +++ b/docs/_layouts/component.njk @@ -37,6 +37,7 @@ {# Slots #} {% if component.slots.length %}

Slots

+

Learn more about using slots.

@@ -67,6 +68,7 @@ {# Properties #} {% if component.properties.length %}

Attributes & Properties

+

Learn more about attributes and properties.

@@ -113,6 +115,8 @@ {# Methods #} {% if component.methods.length %}

Methods

+

Learn more about methods.

+
@@ -146,6 +150,7 @@ {# Events #} {% if component.events.length %}

Events

+

Learn more about events.

@@ -172,6 +177,7 @@ {# Custom Properties #} {% if component.cssProperties.length %}

CSS custom properties

+

Learn more about CSS custom properties.

@@ -200,33 +206,11 @@ {% endif %} - {# CSS Parts #} - {% if component.cssParts.length %} -

CSS parts

- -
-
- - - - - - - - {% for cssPart in component.cssParts %} - - - - - {% endfor %} - -
NameDescription
{{ cssPart.name }}{{ cssPart.description | inlineMarkdown | safe }}
-
- {% endif %} - {# Custom States #} {% if component.cssStates.length %}

Custom States

+

Learn more about custom states.

+
@@ -249,6 +233,31 @@ {% endif %} + {# CSS Parts #} + {% if component.cssParts.length %} +

CSS parts

+

Learn more about CSS parts.

+ +
+
+ + + + + + + + {% for cssPart in component.cssParts %} + + + + + {% endfor %} + +
NameDescription
{{ cssPart.name }}{{ cssPart.description | inlineMarkdown | safe }}
+
+ {% endif %} + {# Dependencies #} {% if component.dependencies.length %}

Dependencies