From 0eebf4429243300363afe42389e736f9c7bc58ad Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 17 Dec 2024 11:29:47 -0500 Subject: [PATCH] move custom states --- docs/_layouts/component.njk | 50 ++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/_layouts/component.njk b/docs/_layouts/component.njk index 1b7a95cc5..83cfa0ecd 100644 --- a/docs/_layouts/component.njk +++ b/docs/_layouts/component.njk @@ -200,31 +200,6 @@ {% endif %} - {# Custom States #} - {% if component.cssStates.length %} -

Custom States

-
- - - - - - - - - - {% for state in component.cssStates %} - - - - - - {% endfor %} - -
NameDescriptionCSS selector
{{ state.name }}{{ state.description | inlineMarkdown | safe }}[data-state-{{ state.name }}]
-
- {% endif %} - {# CSS Parts #} {% if component.cssParts.length %}

CSS parts

@@ -249,6 +224,31 @@ {% endif %} + {# Custom States #} + {% if component.cssStates.length %} +

Custom States

+
+ + + + + + + + + + {% for state in component.cssStates %} + + + + + + {% endfor %} + +
NameDescriptionCSS selector
{{ state.name }}{{ state.description | inlineMarkdown | safe }}:state({{ state.name }})
+
+ {% endif %} + {# Dependencies #} {% if component.dependencies.length %}

Dependencies