Skip to content

Commit ea8bdeb

Browse files
committed
chore: remove pkg folder
1 parent b8a93d7 commit ea8bdeb

File tree

1,718 files changed

+727
-357
lines changed

Some content is hidden

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

1,718 files changed

+727
-357
lines changed

assets/css/output.css

-14
Original file line numberDiff line numberDiff line change
@@ -549,17 +549,6 @@
549549
.visible {
550550
visibility: visible;
551551
}
552-
.sr-only {
553-
position: absolute;
554-
width: 1px;
555-
height: 1px;
556-
padding: 0;
557-
margin: -1px;
558-
overflow: hidden;
559-
clip: rect(0, 0, 0, 0);
560-
white-space: nowrap;
561-
border-width: 0;
562-
}
563552
.absolute {
564553
position: absolute;
565554
}
@@ -683,9 +672,6 @@
683672
max-width: 96rem;
684673
}
685674
}
686-
.m-5 {
687-
margin: calc(var(--spacing) * 5);
688-
}
689675
.mx-auto {
690676
margin-inline: auto;
691677
}

cmd/server/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88

99
"github.com/a-h/templ"
1010
"github.com/axzilla/templui/assets"
11+
"github.com/axzilla/templui/components"
1112
"github.com/axzilla/templui/internal/config"
1213
"github.com/axzilla/templui/internal/middleware"
1314
"github.com/axzilla/templui/internal/ui/pages"
14-
"github.com/axzilla/templui/pkg/components"
15-
mw "github.com/axzilla/templui/pkg/middleware"
15+
mw "github.com/axzilla/templui/middleware"
1616
)
1717

1818
func toastDemoHandler(w http.ResponseWriter, r *http.Request) {

pkg/components/accordion.templ components/accordion.templ

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package components
22

33
import (
4-
"github.com/axzilla/templui/pkg/icons"
5-
"github.com/axzilla/templui/pkg/utils"
4+
"github.com/axzilla/templui/icons"
5+
"github.com/axzilla/templui/utils"
66
)
77

88
type AccordionItem struct {

pkg/components/accordion_templ.go components/accordion_templ.go

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/accordion_templ.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<div class=\"
2+
\"
3+
>
4+
<details name=\"accordion\" class=\"
5+
\">
6+
<summary class=\"
7+
\">
8+
</summary>
9+
<div class=\"
10+
\">
11+
</div></details>
12+
</div>

pkg/components/alert.templ components/alert.templ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package components
22

3-
import "github.com/axzilla/templui/pkg/utils"
3+
import "github.com/axzilla/templui/utils"
44

55
type AlertVariant string
66

pkg/components/alert_templ.go components/alert_templ.go

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/alert_templ.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class=\"
2+
\" role=\"alert\">
3+
</div>
4+
<h5 class=\"
5+
\">
6+
</h5>
7+
<div class=\"
8+
\">
9+
</div>

pkg/components/avatar.templ components/avatar.templ

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package components
22

33
import (
44
"fmt"
5-
"github.com/axzilla/templui/pkg/utils"
5+
"github.com/axzilla/templui/utils"
66
"strings"
77
)
88

pkg/components/avatar_templ.go components/avatar_templ.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/avatar_templ.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<div class=\"
2+
\"
3+
>
4+
<img src=\"
5+
\" alt=\"
6+
\" class=\"
7+
\">
8+
<span class=\"
9+
\">
10+
</span>
11+
</div>

pkg/components/badge.templ components/badge.templ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package components
22

3-
import "github.com/axzilla/templui/pkg/utils"
3+
import "github.com/axzilla/templui/utils"
44

55
type BadgeVariant string
66

pkg/components/badge_templ.go components/badge_templ.go

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/badge_templ.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class=\"
2+
\"
3+
>
4+
5+
</div>

pkg/components/button.templ components/button.templ

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package components
22

33
import (
4-
"github.com/axzilla/templui/pkg/utils"
4+
"github.com/axzilla/templui/utils"
55
"strings"
66
)
77

@@ -136,4 +136,3 @@ templ renderButtonContent(props ButtonProps) {
136136
}
137137
</span>
138138
}
139-

pkg/components/button_templ.go components/button_templ.go

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/button_templ.txt

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<a href=\"
2+
\" target=\"
3+
\" class=\"
4+
\"
5+
disabled
6+
>
7+
</a>
8+
<button class=\"
9+
\"
10+
type=\"
11+
\"
12+
disabled
13+
>
14+
</button>
15+
<span class=\"flex gap-2 items-center\">
16+
17+
</span>

pkg/components/card.templ components/card.templ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package components
22

3-
import "github.com/axzilla/templui/pkg/utils"
3+
import "github.com/axzilla/templui/utils"
44

55
type CardImagePosition string
66

0 commit comments

Comments
 (0)