-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
1,200 additions
and
257 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<c-vars class_name/> | ||
<div class="avatar-group -space-x-6 rtl:space-x-reverse{% if class_name %} {{ class_name }}{% endif %}"> | ||
{{ slot }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<c-vars type outline size/> | ||
<c-vars type outline size class_name/> | ||
|
||
<span class="badge{% if type %} badge-{{ type }}{% endif %}{% if outline %} badge-outline{% endif %}{% if size %} badge-{{ size }}{% endif %}" | ||
<span class="badge{% if type %} badge-{{ type }}{% endif %}{% if outline %} badge-outline{% endif %}{% if size %} badge-{{ size }}{% endif %}{% if class_name %} {{ class_name }}{% endif %}" | ||
{{ attrs }}> | ||
{{ slot }} | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,17 @@ | ||
<c-vars | ||
bg="base-100" | ||
w="96" | ||
title | ||
shadow | ||
compact | ||
image_full | ||
glass | ||
side | ||
image_src | ||
image_alt="Image alternative text" | ||
class_name | ||
/> | ||
<div | ||
class="card{% if bg %} bg-{{ bg }}{% endif %}{% if w %} w-{{ w }}{% endif %}{% if shadow %} shadow-{{ shadow }}{% endif %}{% if compact %} card-compact{% endif %}{% if image_full %} image-full{% endif %}{% if glass %} glass{% endif %}{% if side %} lg:card-side{% endif %}" | ||
class="card{% if bg %} bg-{{ bg }}{% endif %}{% if w %} w-{{ w }}{% endif %}{% if shadow %} shadow-{{ shadow }}{% endif %}{% if compact %} card-compact{% endif %}{% if image_full %} image-full{% endif %}{% if glass %} glass{% endif %}{% if side %} lg:card-side{% endif %}{% if class_name %} {{ class_name }}{% endif %}" | ||
{{ attrs }} | ||
> | ||
{% if image_src %} | ||
<figure> | ||
<img | ||
src="{{ image_src }}" | ||
alt="{{ image_alt}}" | ||
/> | ||
</figure> | ||
{% endif %} | ||
|
||
<div class="card-body"> | ||
{% if title %} | ||
<h2 class="card-title">{{ title }}</h2> | ||
{% endif %} | ||
{{ slot }} | ||
{% if footer %} | ||
<div class="card-actions justify-end"> | ||
{{ footer }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
{{ figure }} | ||
{{ slot }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<c-vars class_name/> | ||
<div class="card-actions{% if class_name %} {{ class_name }}{% endif %}"> | ||
{{ slot }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<c-vars title class_name/> | ||
<div class="card-body{% if class_name %} {{ class_name }}{% endif %}"> | ||
{% if title %} | ||
<h2 class="card-title">{{ title }}</h2> | ||
{% endif %} | ||
{{ slot }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<c-vars type position horizontal/> | ||
<c-vars type position horizontal class_name/> | ||
|
||
<div class="divider{% if type %} divider-{{ type }}{% endif %}{% if horizontal %} divider-horizontal{% endif %}{% if position %} divider-{{ position }}{% endif %}"> | ||
<div class="divider{% if type %} divider-{{ type }}{% endif %}{% if horizontal %} divider-horizontal{% endif %}{% if position %} divider-{{ position }}{% endif %}{% if class_name %} {{ class_name }}{% endif %}"> | ||
{{ slot }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<c-vars title bg="base-100" rounded="True" w="52" shadow="True" position align hover open/> | ||
<c-vars title position align hover open class_name/> | ||
|
||
<div class="dropdown{% if position %} dropdown-{{ position }}{% endif %}{% if align %} dropdown-{{ align }}{% endif %}{% if hover %} dropdown-hover{% endif %}{% if open %} dropdown-open{% endif %}" {{ attrs }}> | ||
<div class="dropdown{% if position %} dropdown-{{ position }}{% endif %}{% if align %} dropdown-{{ align }}{% endif %}{% if hover %} dropdown-hover{% endif %}{% if open %} dropdown-open{% endif %}{% if class_name %} {{ class_name }}{% endif %}" {{ attrs }}> | ||
<div tabindex="0" role="button" class="btn m-1">{{ title }}</div> | ||
<ul tabindex="0" class="dropdown-content menu bg-{{ bg }}{% if rounded %} rounded-box{% endif %} z-[1] w-{{ w }} p-2{% if shadow %} shadow{% endif %}"> | ||
{{ slot }} | ||
</ul> | ||
{{ slot }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<c-vars bg="base-200" rounded="True" w="52" shadow="True" class_name/> | ||
<ul tabindex="0" class="dropdown-content menu bg-{{ bg }}{% if rounded %} rounded-box{% endif %} z-[1] w-{{ w }} p-2{% if shadow %} shadow{% endif %}{% if class_name %} {{ class_name }}{% endif %}"> | ||
{{ slot }} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<c-vars src alt="Image alternative text" class_name/> | ||
<figure> | ||
<img | ||
src="{{ src }}" | ||
alt="{{ alt }}" | ||
class="{% if class_name %}{{ class_name }}{% endif %}" | ||
/> | ||
</figure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<c-vars size/> | ||
<c-vars size class_name/> | ||
|
||
<kbd class="kbd{% if size %} kbd-{{ size }}{% endif %}"> | ||
<kbd class="kbd{% if size %} kbd-{{ size }}{% endif %}{% if class_name %} {{ class_name }}{% endif %}"> | ||
{{ slot }} | ||
</kbd> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<c-vars type="spinner" size="md" color="primary"/> | ||
<c-vars type="spinner" size="md"/> | ||
|
||
<span class="loading{%if type %} loading-{{ type }}{% endif %}{% if size %} loading-{{ size }}{% endif %}{% if color %} text-{{ color }}{% endif %}"> | ||
<span class="loading{%if type %} loading-{{ type }}{% endif %}{% if size %} loading-{{ size }}{% endif %}{% if class_name %} {{ class_name }}{% endif %}"> | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
<c-vars bg="base-100" navbar_start navbar_center navbar_end/> | ||
<c-vars bg="base-100" class_name/> | ||
|
||
<div class="navbar bg-{{ bg }}"> | ||
<div class="navbar bg-{{ bg }}{% if class_name %} {{ class_name }}{% endif %}"> | ||
{{ slot }} | ||
{% if navbar_start %} | ||
<div class="navbar-start"> | ||
{{ navbar_start }} | ||
</div> | ||
{% endif %} | ||
{% if navbar_center %} | ||
<div class="navbar-center hidden lg:flex"> | ||
{{ navbar_center }} | ||
</div> | ||
{% endif %} | ||
{% if navbar_end %} | ||
<div class="navbar-end"> | ||
{{ navbar_end }} | ||
</div> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<c-vars align="start" class_name /> | ||
|
||
<div class="navbar-{{ align }}{% if class_name %} {{ class_name }}{% endif %}"> | ||
{{ slot }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
<c-vars w="56" color/> | ||
<progress class="progress w-{{ w}}{%if color %} progress-{{ color }}{% endif %}" {{attrs }}></progress> | ||
<c-vars w="56" color radial class_name size thickness/> | ||
{% if radial is True %} | ||
<div class="radial-progress{% if color %} text-{{ color }}{% endif %}{% if class_name %} {{ class_name }}{% endif %}" style="--value:{{ value }};{% if size %} --size:{{ size }};{% endif %}{% if thickness %} --thickness:{{ thickness }};{% endif %}" role="progressbar"> | ||
{{ slot }} | ||
</div> | ||
{% else %} | ||
<progress class="progress w-{{ w }}{% if color %} progress-{{ color }}{% endif %}{% if class_name %} {{ class_name }}{% endif %}" {{ attrs }}> | ||
{{ slot }} | ||
</progress> | ||
{% endif %} |
Empty file.
Oops, something went wrong.