fix: resolve Alpine.js warnings on components page
- Add missing icons: chat-alt, exclamation-circle, clipboard-copy - Replace x-collapse with x-transition in category-nav and filter-sidebar (x-collapse requires the Collapse plugin which isn't loaded) - Fix review_form macro call to include images_model parameter 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -673,7 +673,7 @@ html {
|
||||
<span x-html="$icon('chevron-right', 'w-4 h-4 transition-transform')" :class="isExpanded(category.id) && 'rotate-90'"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div x-show="isExpanded(category.id) && category.children?.length" x-collapse class="ml-4 mt-1 space-y-1">
|
||||
<div x-show="isExpanded(category.id) && category.children?.length" x-transition class="ml-4 mt-1 space-y-1">
|
||||
<template x-for="child in category.children" :key="child.id">
|
||||
<a
|
||||
:href="child.url"
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
{% if depth < max_depth - 1 %}
|
||||
<div
|
||||
x-show="{{ 'isExpanded(category.id)' if collapsible else 'true' }} && category.children?.length"
|
||||
x-collapse
|
||||
x-transition
|
||||
class="mt-1"
|
||||
>
|
||||
<template x-for="child in category.children" :key="child.id">
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
<div
|
||||
{% if collapsible %}
|
||||
x-show="isExpanded('{{ type }}')"
|
||||
x-collapse
|
||||
x-transition
|
||||
{% endif %}
|
||||
class="mt-3 space-y-2"
|
||||
>
|
||||
@@ -234,7 +234,7 @@
|
||||
<div
|
||||
{% if collapsible %}
|
||||
x-show="isExpanded('price')"
|
||||
x-collapse
|
||||
x-transition
|
||||
{% endif %}
|
||||
class="mt-3 space-y-4"
|
||||
x-data="{
|
||||
@@ -333,7 +333,7 @@
|
||||
<div
|
||||
{% if collapsible %}
|
||||
x-show="isExpanded('rating')"
|
||||
x-collapse
|
||||
x-transition
|
||||
{% endif %}
|
||||
class="mt-3 space-y-2"
|
||||
>
|
||||
@@ -393,7 +393,7 @@
|
||||
<div
|
||||
{% if collapsible %}
|
||||
x-show="isExpanded(attrName)"
|
||||
x-collapse
|
||||
x-transition
|
||||
{% endif %}
|
||||
class="mt-3"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user