From 37a1680a85efbab5adcf474d1abc905efc75e6fa Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 17 Dec 2024 11:10:04 -0500 Subject: [PATCH] move 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 7d1e57faf..1b7a95cc5 100644 --- a/docs/_layouts/component.njk +++ b/docs/_layouts/component.njk @@ -143,31 +143,6 @@ {% endif %} - {# States #} - {% if component.states.length %} -

States

-
- - - - - - - - - - {% for state in component.states %} - - - - - - {% endfor %} - -
NameDescriptionCSS selector
{{ state.name }}{{ state.description | inlineMarkdown | safe }}[data-state-{{ state.name }}]
-
- {% endif %} - {# Events #} {% if component.events.length %}

Events

@@ -225,6 +200,31 @@ {% 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