Skip to content

Commit 9580da7

Browse files
Frontend Components (#765)
* Featherlight wired * Add daisy ui components to components package * require moox featherlight * Fix styling * Add Dropdown Componente * new build css & js * add examples --------- Co-authored-by: Reinhold-Jesse <[email protected]> Co-authored-by: Reinhold-Jesse <[email protected]>
1 parent 56f0d06 commit 9580da7

File tree

89 files changed

+1868
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1868
-55
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"moox/devops": "*",
3434
"moox/draft": "*",
3535
"moox/expiry": "*",
36+
"moox/featherlight": "dev-main",
3637
"moox/file-icons": "*",
3738
"moox/flag-icons-circle": "*",
3839
"moox/flag-icons-origin": "*",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div {{ $attributes->merge(['class' => '']) }}>
2+
{{ $slot }}
3+
</div>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div {{ $attributes->merge(['class' => '']) }}>
2+
{{ $slot }}
3+
</div>
Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
@if ($exists())
2-
<div role="alert" {{ $attributes }}>
3-
@if($icon)
4-
<x-moox-icon :name="$icon" class="mr-2" />
5-
@endif
6-
@if ($slot->isEmpty())
7-
{{ $message() }}
8-
@else
9-
{{ $slot }}
10-
@endif
11-
</div>
12-
@endif
1+
<div role="alert" {{ $attributes->merge(['class' => 'alert']) }}>
2+
{{ $slot }}
3+
</div>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@if ($exists())
2+
<div role="alert" {{ $attributes }}>
3+
@if($icon)
4+
<x-moox-icon :name="$icon" class="mr-2" />
5+
@endif
6+
@if ($slot->isEmpty())
7+
{{ $message() }}
8+
@else
9+
{{ $slot }}
10+
@endif
11+
</div>
12+
@endif
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div {{ $attributes->merge(['class' => 'breadcrumbs']) }}>
2+
{{ $slot }}
3+
</div>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div {{ $attributes->merge(['class' => 'card-actions']) }}>
2+
{{ $slot }}
3+
</div>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div {{ $attributes->merge(['class' => 'card-body']) }}>
2+
{{ $slot }}
3+
</div>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<{{ $tag }} {{ $attributes->merge(['class' => 'card-title']) }}>
2+
{{ $slot }}
3+
</{{ $tag }}>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div {{ $attributes->merge(['class' => 'card']) }}>
2+
{{ $slot }}
3+
</div>

0 commit comments

Comments
 (0)