templui updated
This commit is contained in:
parent
d727b19acf
commit
81b7f39c51
49 changed files with 665 additions and 749 deletions
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component accordion - version: v0.84.0 installed by templui v0.84.0
|
// templui component accordion - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package accordion
|
package accordion
|
||||||
|
@ -64,8 +64,7 @@ func Accordion(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"divide-y rounded-md divide-border border",
|
"divide-y rounded-md divide-border border",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -159,8 +158,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var6 = []any{
|
var templ_7745c5c3_Var6 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"group",
|
"group",
|
||||||
"open:[&>summary_svg]:rotate-180",
|
"open:[&>summary_svg]:rotate-180",
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -255,8 +253,7 @@ func Trigger(props ...TriggerProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var10 = []any{
|
var templ_7745c5c3_Var10 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex w-full items-center justify-between py-4 px-5",
|
"flex w-full items-center justify-between py-4 px-5",
|
||||||
"text-left font-medium cursor-pointer",
|
"text-left font-medium cursor-pointer",
|
||||||
"transition-all hover:underline",
|
"transition-all hover:underline",
|
||||||
|
@ -364,8 +361,7 @@ func Content(props ...ContentProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var14 = []any{
|
var templ_7745c5c3_Var14 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"px-5 pb-4 pt-0",
|
"px-5 pb-4 pt-0",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component alert - version: v0.84.0 installed by templui v0.84.0
|
// templui component alert - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package alert
|
package alert
|
||||||
|
@ -63,8 +63,7 @@ func Alert(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative w-full p-4",
|
"relative w-full p-4",
|
||||||
"[&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4",
|
"[&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4",
|
||||||
"[&>svg+div]:translate-y-[-3px] [&:has(svg)]:pl-11",
|
"[&>svg+div]:translate-y-[-3px] [&:has(svg)]:pl-11",
|
||||||
|
@ -162,8 +161,7 @@ func Title(props ...TitleProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var6 = []any{
|
var templ_7745c5c3_Var6 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"mb-1 font-medium leading-none tracking-tight",
|
"mb-1 font-medium leading-none tracking-tight",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -257,8 +255,7 @@ func Description(props ...DescriptionProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var10 = []any{
|
var templ_7745c5c3_Var10 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"[&_p]:leading-relaxed text-sm",
|
"[&_p]:leading-relaxed text-sm",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component aspectratio - version: main installed by templui v0.71.0
|
// templui component aspectratio - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package aspectratio
|
package aspectratio
|
||||||
|
@ -54,8 +54,7 @@ func AspectRatio(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative w-full",
|
"relative w-full",
|
||||||
ratioClass(p.Ratio),
|
ratioClass(p.Ratio),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component aspectratio - version: v0.84.0 installed by templui v0.84.0
|
// templui component aspectratio - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package aspectratio
|
package aspectratio
|
||||||
|
@ -54,8 +54,7 @@ func AspectRatio(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative w-full",
|
"relative w-full",
|
||||||
ratioClass(p.Ratio),
|
ratioClass(p.Ratio),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component avatar - version: v0.84.0 installed by templui v0.84.0
|
// templui component avatar - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package avatar
|
package avatar
|
||||||
|
@ -85,8 +85,7 @@ func Avatar(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"inline-flex items-center justify-center",
|
"inline-flex items-center justify-center",
|
||||||
SizeClasses(p.Size),
|
SizeClasses(p.Size),
|
||||||
"rounded-full bg-muted",
|
"rounded-full bg-muted",
|
||||||
|
@ -183,8 +182,7 @@ func Image(props ...ImageProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var6 = []any{
|
var templ_7745c5c3_Var6 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"w-full h-full",
|
"w-full h-full",
|
||||||
"rounded-full object-cover",
|
"rounded-full object-cover",
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -303,8 +301,7 @@ func Fallback(props ...FallbackProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var12 = []any{
|
var templ_7745c5c3_Var12 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"font-medium text-muted-foreground",
|
"font-medium text-muted-foreground",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -398,8 +395,7 @@ func Group(props ...GroupProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var16 = []any{
|
var templ_7745c5c3_Var16 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center -space-x-3",
|
"flex items-center -space-x-3",
|
||||||
groupSpacingClasses(p.Spacing),
|
groupSpacingClasses(p.Spacing),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -494,8 +490,7 @@ func GroupOverflow(count int, props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var20 = []any{
|
var templ_7745c5c3_Var20 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"inline-flex items-center justify-center",
|
"inline-flex items-center justify-center",
|
||||||
SizeClasses(p.Size),
|
SizeClasses(p.Size),
|
||||||
"rounded-full bg-muted ring-2 ring-background",
|
"rounded-full bg-muted ring-2 ring-background",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component badge - version: v0.84.0 installed by templui v0.84.0
|
// templui component badge - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package badge
|
package badge
|
||||||
|
@ -53,8 +53,7 @@ func Badge(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none",
|
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none",
|
||||||
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
||||||
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component breadcrumb - version: v0.84.0 installed by templui v0.84.0
|
// templui component breadcrumb - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package breadcrumb
|
package breadcrumb
|
||||||
|
@ -73,8 +73,7 @@ func Breadcrumb(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex",
|
"flex",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -168,8 +167,7 @@ func List(props ...ListProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var6 = []any{
|
var templ_7745c5c3_Var6 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center flex-wrap gap-1 text-sm",
|
"flex items-center flex-wrap gap-1 text-sm",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -263,8 +261,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var10 = []any{
|
var templ_7745c5c3_Var10 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center",
|
"flex items-center",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -358,8 +355,7 @@ func Link(props ...LinkProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var14 = []any{
|
var templ_7745c5c3_Var14 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"text-muted-foreground hover:text-foreground hover:underline flex items-center gap-1.5 transition-colors",
|
"text-muted-foreground hover:text-foreground hover:underline flex items-center gap-1.5 transition-colors",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -396,8 +392,12 @@ func Link(props ...LinkProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var16 templ.SafeURL = templ.SafeURL(p.Href)
|
var templ_7745c5c3_Var16 templ.SafeURL
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(string(templ_7745c5c3_Var16)))
|
templ_7745c5c3_Var16, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Href))
|
||||||
|
if templ_7745c5c3_Err != nil {
|
||||||
|
return templ.Error{Err: templ_7745c5c3_Err, FileName: `server/web/templui/components/breadcrumb/breadcrumb.templ`, Line: 116, Col: 31}
|
||||||
|
}
|
||||||
|
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var16))
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
|
@ -468,8 +468,7 @@ func Separator(props ...SeparatorProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var19 = []any{
|
var templ_7745c5c3_Var19 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"mx-2 text-muted-foreground",
|
"mx-2 text-muted-foreground",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -570,8 +569,7 @@ func Page(props ...ItemProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var23 = []any{
|
var templ_7745c5c3_Var23 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"font-medium text-foreground flex items-center gap-1.5",
|
"font-medium text-foreground flex items-center gap-1.5",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// templui component button - version: v0.84.0 installed by templui v0.84.0
|
// templui component button - version: v0.85.0 installed by templui v0.85.0
|
||||||
package button
|
package button
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -111,7 +111,7 @@ templ Button(props ...Props) {
|
||||||
func (b Props) variantClasses() string {
|
func (b Props) variantClasses() string {
|
||||||
switch b.Variant {
|
switch b.Variant {
|
||||||
case VariantDestructive:
|
case VariantDestructive:
|
||||||
return "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60"
|
return "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60"
|
||||||
case VariantOutline:
|
case VariantOutline:
|
||||||
return "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50"
|
return "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50"
|
||||||
case VariantSecondary:
|
case VariantSecondary:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component button - version: v0.84.0 installed by templui v0.84.0
|
// templui component button - version: v0.85.0 installed by templui v0.85.0
|
||||||
|
|
||||||
package button
|
package button
|
||||||
|
|
||||||
|
@ -83,8 +83,7 @@ func Button(props ...Props) templ.Component {
|
||||||
p.Type = TypeButton
|
p.Type = TypeButton
|
||||||
}
|
}
|
||||||
if p.Href != "" && !p.Disabled {
|
if p.Href != "" && !p.Disabled {
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all",
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all",
|
||||||
"disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
|
"disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
|
||||||
"outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
"outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
||||||
|
@ -127,8 +126,12 @@ func Button(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var4 templ.SafeURL = templ.SafeURL(p.Href)
|
var templ_7745c5c3_Var4 templ.SafeURL
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(string(templ_7745c5c3_Var4)))
|
templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Href))
|
||||||
|
if templ_7745c5c3_Err != nil {
|
||||||
|
return templ.Error{Err: templ_7745c5c3_Err, FileName: `server/web/templui/components/button/button.templ`, Line: 61, Col: 31}
|
||||||
|
}
|
||||||
|
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4))
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
|
@ -189,8 +192,7 @@ func Button(props ...Props) templ.Component {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var templ_7745c5c3_Var7 = []any{
|
var templ_7745c5c3_Var7 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all",
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all",
|
||||||
"disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
|
"disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0",
|
||||||
"outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
"outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
||||||
|
@ -295,7 +297,7 @@ func Button(props ...Props) templ.Component {
|
||||||
func (b Props) variantClasses() string {
|
func (b Props) variantClasses() string {
|
||||||
switch b.Variant {
|
switch b.Variant {
|
||||||
case VariantDestructive:
|
case VariantDestructive:
|
||||||
return "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60"
|
return "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60"
|
||||||
case VariantOutline:
|
case VariantOutline:
|
||||||
return "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50"
|
return "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50"
|
||||||
case VariantSecondary:
|
case VariantSecondary:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component calendar - version: v0.84.0 installed by templui v0.84.0
|
// templui component calendar - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package calendar
|
package calendar
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component card - version: v0.84.0 installed by templui v0.84.0
|
// templui component card - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package card
|
package card
|
||||||
|
@ -73,8 +73,7 @@ func Card(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"w-full rounded-lg border bg-card text-card-foreground shadow-xs",
|
"w-full rounded-lg border bg-card text-card-foreground shadow-xs",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -168,8 +167,7 @@ func Header(props ...HeaderProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var6 = []any{
|
var templ_7745c5c3_Var6 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex flex-col space-y-1.5 p-6 pb-0",
|
"flex flex-col space-y-1.5 p-6 pb-0",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -263,8 +261,7 @@ func Title(props ...TitleProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var10 = []any{
|
var templ_7745c5c3_Var10 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"text-lg font-semibold leading-none tracking-tight",
|
"text-lg font-semibold leading-none tracking-tight",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -358,8 +355,7 @@ func Description(props ...DescriptionProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var14 = []any{
|
var templ_7745c5c3_Var14 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"text-sm text-muted-foreground",
|
"text-sm text-muted-foreground",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -453,8 +449,7 @@ func Content(props ...ContentProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var18 = []any{
|
var templ_7745c5c3_Var18 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"p-6",
|
"p-6",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -548,8 +543,7 @@ func Footer(props ...FooterProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var22 = []any{
|
var templ_7745c5c3_Var22 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center p-6 pt-0",
|
"flex items-center p-6 pt-0",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component carousel - version: v0.84.0 installed by templui v0.84.0
|
// templui component carousel - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package carousel
|
package carousel
|
||||||
|
@ -82,8 +82,7 @@ func Carousel(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"carousel-component relative overflow-hidden w-full",
|
"carousel-component relative overflow-hidden w-full",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -221,8 +220,7 @@ func Content(props ...ContentProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var9 = []any{
|
var templ_7745c5c3_Var9 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"carousel-track flex h-full w-full transition-transform duration-500 ease-in-out",
|
"carousel-track flex h-full w-full transition-transform duration-500 ease-in-out",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -316,8 +314,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var13 = []any{
|
var templ_7745c5c3_Var13 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"carousel-item flex-shrink-0 w-full h-full relative",
|
"carousel-item flex-shrink-0 w-full h-full relative",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -411,8 +408,7 @@ func Previous(props ...PreviousProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var17 = []any{
|
var templ_7745c5c3_Var17 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"carousel-prev absolute left-2 top-1/2 transform -translate-y-1/2 p-2 rounded-full bg-black/20 text-white hover:bg-black/40 focus:outline-none",
|
"carousel-prev absolute left-2 top-1/2 transform -translate-y-1/2 p-2 rounded-full bg-black/20 text-white hover:bg-black/40 focus:outline-none",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -506,8 +502,7 @@ func Next(props ...NextProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var21 = []any{
|
var templ_7745c5c3_Var21 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"carousel-next absolute right-2 top-1/2 transform -translate-y-1/2 p-2 rounded-full bg-black/20 text-white hover:bg-black/40 focus:outline-none",
|
"carousel-next absolute right-2 top-1/2 transform -translate-y-1/2 p-2 rounded-full bg-black/20 text-white hover:bg-black/40 focus:outline-none",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -601,8 +596,7 @@ func Indicators(props ...IndicatorsProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var25 = []any{
|
var templ_7745c5c3_Var25 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2",
|
"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -660,8 +654,7 @@ func Indicators(props ...IndicatorsProps) templ.Component {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
for i := 0; i < p.Count; i++ {
|
for i := 0; i < p.Count; i++ {
|
||||||
var templ_7745c5c3_Var28 = []any{
|
var templ_7745c5c3_Var28 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"carousel-indicator w-3 h-3 rounded-full bg-white/50 hover:bg-white/80 focus:outline-none transition-colors",
|
"carousel-indicator w-3 h-3 rounded-full bg-white/50 hover:bg-white/80 focus:outline-none transition-colors",
|
||||||
utils.If(i == 0, "bg-white"),
|
utils.If(i == 0, "bg-white"),
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component chart - version: v0.84.0 installed by templui v0.84.0
|
// templui component chart - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package chart
|
package chart
|
||||||
|
@ -106,8 +106,7 @@ func Chart(props ...Props) templ.Component {
|
||||||
}
|
}
|
||||||
canvasId := p.ID + "-canvas"
|
canvasId := p.ID + "-canvas"
|
||||||
dataId := p.ID + "-data"
|
dataId := p.ID + "-data"
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"chart-container relative",
|
"chart-container relative",
|
||||||
p.Class),
|
p.Class),
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component checkbox - version: v0.84.0 installed by templui v0.84.0
|
// templui component checkbox - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package checkbox
|
package checkbox
|
||||||
|
@ -56,8 +56,7 @@ func Checkbox(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative size-4 overflow-hidden peer",
|
"relative size-4 overflow-hidden peer",
|
||||||
"before:absolute before:inset-0 before:content['']",
|
"before:absolute before:inset-0 before:content['']",
|
||||||
"appearance-none rounded-sm border-2 border-primary bg-background",
|
"appearance-none rounded-sm border-2 border-primary bg-background",
|
||||||
|
@ -175,8 +174,7 @@ func Checkbox(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var7 = []any{
|
var templ_7745c5c3_Var7 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
|
||||||
"size-3 text-primary-foreground pointer-events-none opacity-0",
|
"size-3 text-primary-foreground pointer-events-none opacity-0",
|
||||||
"peer-checked:opacity-100",
|
"peer-checked:opacity-100",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component checkboxcard - version: main installed by templui v0.71.0
|
// templui component checkboxcard - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package checkboxcard
|
package checkboxcard
|
||||||
|
@ -70,8 +70,7 @@ func CheckboxCard(props ...Props) templ.Component {
|
||||||
p.ID = utils.RandomID()
|
p.ID = utils.RandomID()
|
||||||
}
|
}
|
||||||
inputId := p.ID + "-input"
|
inputId := p.ID + "-input"
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative",
|
"relative",
|
||||||
utils.If(p.Disabled, "opacity-60"),
|
utils.If(p.Disabled, "opacity-60"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -202,8 +201,7 @@ func CheckboxCard(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var8 = []any{
|
var templ_7745c5c3_Var8 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"block w-full rounded-lg border overflow-hidden h-full",
|
"block w-full rounded-lg border overflow-hidden h-full",
|
||||||
"bg-card text-card-foreground p-4 flex flex-col",
|
"bg-card text-card-foreground p-4 flex flex-col",
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
|
@ -285,8 +283,7 @@ func Header(props ...HeaderProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var12 = []any{
|
var templ_7745c5c3_Var12 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center justify-between mb-2",
|
"flex items-center justify-between mb-2",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -380,8 +377,7 @@ func Description(props ...DescriptionProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var16 = []any{
|
var templ_7745c5c3_Var16 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"text-sm text-muted-foreground",
|
"text-sm text-muted-foreground",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -475,8 +471,7 @@ func Footer(props ...FooterProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var20 = []any{
|
var templ_7745c5c3_Var20 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"mt-auto pt-4 w-full",
|
"mt-auto pt-4 w-full",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component checkboxcard - version: v0.84.0 installed by templui v0.84.0
|
// templui component checkboxcard - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package checkboxcard
|
package checkboxcard
|
||||||
|
@ -70,8 +70,7 @@ func CheckboxCard(props ...Props) templ.Component {
|
||||||
p.ID = utils.RandomID()
|
p.ID = utils.RandomID()
|
||||||
}
|
}
|
||||||
inputId := p.ID + "-input"
|
inputId := p.ID + "-input"
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative",
|
"relative",
|
||||||
utils.If(p.Disabled, "opacity-60"),
|
utils.If(p.Disabled, "opacity-60"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -202,8 +201,7 @@ func CheckboxCard(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var8 = []any{
|
var templ_7745c5c3_Var8 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"block w-full rounded-lg border overflow-hidden h-full",
|
"block w-full rounded-lg border overflow-hidden h-full",
|
||||||
"bg-card text-card-foreground p-4 flex flex-col",
|
"bg-card text-card-foreground p-4 flex flex-col",
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
|
@ -285,8 +283,7 @@ func Header(props ...HeaderProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var12 = []any{
|
var templ_7745c5c3_Var12 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center justify-between mb-2",
|
"flex items-center justify-between mb-2",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -380,8 +377,7 @@ func Description(props ...DescriptionProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var16 = []any{
|
var templ_7745c5c3_Var16 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"text-sm text-muted-foreground",
|
"text-sm text-muted-foreground",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -475,8 +471,7 @@ func Footer(props ...FooterProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var20 = []any{
|
var templ_7745c5c3_Var20 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"mt-auto pt-4 w-full",
|
"mt-auto pt-4 w-full",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component code - version: v0.84.0 installed by templui v0.84.0
|
// templui component code - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package code
|
package code
|
||||||
|
@ -108,8 +108,7 @@ func Code(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var5 = []any{
|
var templ_7745c5c3_Var5 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"language-"+p.Language,
|
"language-"+p.Language,
|
||||||
"overflow-y-auto! rounded-md block text-sm max-h-[501px]",
|
"overflow-y-auto! rounded-md block text-sm max-h-[501px]",
|
||||||
utils.If(p.Size == SizeSm, "max-h-[250px]"),
|
utils.If(p.Size == SizeSm, "max-h-[250px]"),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component datepicker - version: main installed by templui v0.71.0
|
// templui component datepicker - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package datepicker
|
package datepicker
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component datepicker - version: v0.84.0 installed by templui v0.84.0
|
// templui component datepicker - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package datepicker
|
package datepicker
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component drawer - version: v0.84.0 installed by templui v0.84.0
|
// templui component drawer - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package drawer
|
package drawer
|
||||||
|
@ -245,8 +245,7 @@ func Content(props ...ContentProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var8 = []any{
|
var templ_7745c5c3_Var8 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"fixed z-50 templui-drawer-content hidden",
|
"fixed z-50 templui-drawer-content hidden",
|
||||||
p.Class,
|
p.Class,
|
||||||
utils.If(p.Position == PositionRight, "inset-y-0 right-0 w-3/4 md:w-1/2 lg:w-1/3"),
|
utils.If(p.Position == PositionRight, "inset-y-0 right-0 w-3/4 md:w-1/2 lg:w-1/3"),
|
||||||
|
@ -310,8 +309,7 @@ func Content(props ...ContentProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var12 = []any{
|
var templ_7745c5c3_Var12 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"h-full overflow-y-auto bg-background p-6 shadow-lg",
|
"h-full overflow-y-auto bg-background p-6 shadow-lg",
|
||||||
utils.If(p.Position == PositionRight, "border-l"),
|
utils.If(p.Position == PositionRight, "border-l"),
|
||||||
utils.If(p.Position == PositionLeft, "border-r"),
|
utils.If(p.Position == PositionLeft, "border-r"),
|
||||||
|
@ -737,8 +735,7 @@ func Close(props ...CloseProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var31 = []any{
|
var templ_7745c5c3_Var31 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background",
|
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background",
|
||||||
"transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
"transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
||||||
"disabled:pointer-events-none disabled:opacity-50 border border-input bg-background hover:bg-accent",
|
"disabled:pointer-events-none disabled:opacity-50 border border-input bg-background hover:bg-accent",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component dropdown - version: v0.84.0 installed by templui v0.84.0
|
// templui component dropdown - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package dropdown
|
package dropdown
|
||||||
|
@ -519,8 +519,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
p.ID = utils.RandomID()
|
p.ID = utils.RandomID()
|
||||||
}
|
}
|
||||||
if p.Href != "" {
|
if p.Href != "" {
|
||||||
var templ_7745c5c3_Var17 = []any{
|
var templ_7745c5c3_Var17 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex text-left items-center px-2 py-1.5 text-sm rounded-sm",
|
"flex text-left items-center px-2 py-1.5 text-sm rounded-sm",
|
||||||
utils.If(!p.Disabled, "focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground cursor-default"),
|
utils.If(!p.Disabled, "focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground cursor-default"),
|
||||||
utils.If(p.Disabled, "opacity-50 pointer-events-none"),
|
utils.If(p.Disabled, "opacity-50 pointer-events-none"),
|
||||||
|
@ -553,8 +552,12 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var19 templ.SafeURL = templ.SafeURL(p.Href)
|
var templ_7745c5c3_Var19 templ.SafeURL
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(string(templ_7745c5c3_Var19)))
|
templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Href))
|
||||||
|
if templ_7745c5c3_Err != nil {
|
||||||
|
return templ.Error{Err: templ_7745c5c3_Err, FileName: `server/web/templui/components/dropdown/dropdown.templ`, Line: 216, Col: 32}
|
||||||
|
}
|
||||||
|
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19))
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
|
@ -622,8 +625,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var templ_7745c5c3_Var22 = []any{
|
var templ_7745c5c3_Var22 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"w-full text-left flex items-center justify-between px-2 py-1.5 text-sm rounded-sm",
|
"w-full text-left flex items-center justify-between px-2 py-1.5 text-sm rounded-sm",
|
||||||
utils.If(!p.Disabled, "focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground cursor-default"),
|
utils.If(!p.Disabled, "focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground cursor-default"),
|
||||||
utils.If(p.Disabled, "opacity-50 pointer-events-none"),
|
utils.If(p.Disabled, "opacity-50 pointer-events-none"),
|
||||||
|
@ -1007,8 +1009,7 @@ func SubTrigger(props ...SubTriggerProps) templ.Component {
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
ctx = templ.InitializeContext(ctx)
|
ctx = templ.InitializeContext(ctx)
|
||||||
var templ_7745c5c3_Var39 = []any{
|
var templ_7745c5c3_Var39 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"w-full text-left flex items-center justify-between px-2 py-1.5 text-sm rounded-sm",
|
"w-full text-left flex items-center justify-between px-2 py-1.5 text-sm rounded-sm",
|
||||||
"focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground cursor-default",
|
"focus:bg-accent focus:text-accent-foreground hover:bg-accent hover:text-accent-foreground cursor-default",
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component form - version: v0.84.0 installed by templui v0.84.0
|
// templui component form - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package form
|
package form
|
||||||
|
@ -400,8 +400,7 @@ func Message(props ...MessageProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var16 = []any{
|
var templ_7745c5c3_Var16 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"text-[0.8rem] font-medium",
|
"text-[0.8rem] font-medium",
|
||||||
messageVariantClass(p.Variant),
|
messageVariantClass(p.Variant),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component input - version: v0.84.0 installed by templui v0.84.0
|
// templui component input - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package input
|
package input
|
||||||
|
@ -82,8 +82,7 @@ func Input(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
// Base styles
|
// Base styles
|
||||||
"flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
|
"flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
|
||||||
// Dark mode background
|
// Dark mode background
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component inputotp - version: main installed by templui v0.71.0
|
// templui component inputotp - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package inputotp
|
package inputotp
|
||||||
|
@ -76,8 +76,7 @@ func InputOTP(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex flex-row items-center gap-2 w-fit",
|
"flex flex-row items-center gap-2 w-fit",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -242,8 +241,7 @@ func Group(props ...GroupProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var9 = []any{
|
var templ_7745c5c3_Var9 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex gap-2",
|
"flex gap-2",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -375,8 +373,7 @@ func Slot(props ...SlotProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var14 = []any{
|
var templ_7745c5c3_Var14 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"w-10 h-12 text-center",
|
"w-10 h-12 text-center",
|
||||||
"rounded-md border border-input bg-background text-sm",
|
"rounded-md border border-input bg-background text-sm",
|
||||||
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
||||||
|
@ -503,8 +500,7 @@ func Separator(props ...SeparatorProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var20 = []any{
|
var templ_7745c5c3_Var20 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center text-muted-foreground text-xl",
|
"flex items-center text-muted-foreground text-xl",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component inputotp - version: v0.84.0 installed by templui v0.84.0
|
// templui component inputotp - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package inputotp
|
package inputotp
|
||||||
|
@ -73,8 +73,7 @@ func InputOTP(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex flex-row items-center gap-2 w-fit",
|
"flex flex-row items-center gap-2 w-fit",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -245,8 +244,7 @@ func Group(props ...GroupProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var9 = []any{
|
var templ_7745c5c3_Var9 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex gap-2",
|
"flex gap-2",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -378,8 +376,7 @@ func Slot(props ...SlotProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var14 = []any{
|
var templ_7745c5c3_Var14 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
// Base styles - keeping the specific OTP dimensions
|
// Base styles - keeping the specific OTP dimensions
|
||||||
"w-10 h-12 text-center rounded-md border border-input bg-transparent text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
|
"w-10 h-12 text-center rounded-md border border-input bg-transparent text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
|
||||||
// Dark mode background
|
// Dark mode background
|
||||||
|
@ -521,8 +518,7 @@ func Separator(props ...SeparatorProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var20 = []any{
|
var templ_7745c5c3_Var20 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex items-center text-muted-foreground text-xl",
|
"flex items-center text-muted-foreground text-xl",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component label - version: v0.84.0 installed by templui v0.84.0
|
// templui component label - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package label
|
package label
|
||||||
|
@ -45,8 +45,7 @@ func Label(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"text-sm font-medium leading-none inline-block",
|
"text-sm font-medium leading-none inline-block",
|
||||||
utils.If(len(p.Error) > 0, "text-destructive"),
|
utils.If(len(p.Error) > 0, "text-destructive"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component modal - version: v0.84.0 installed by templui v0.84.0
|
// templui component modal - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package modal
|
package modal
|
||||||
|
@ -138,8 +138,7 @@ func Modal(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var4 = []any{
|
var templ_7745c5c3_Var4 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"modal-content relative bg-background rounded-lg border text-left overflow-hidden shadow-xl transform transition-all sm:my-8 w-full scale-95 opacity-0", // Base classes + transition start
|
"modal-content relative bg-background rounded-lg border text-left overflow-hidden shadow-xl transform transition-all sm:my-8 w-full scale-95 opacity-0", // Base classes + transition start
|
||||||
"duration-300 ease-out", // Enter duration
|
"duration-300 ease-out", // Enter duration
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -216,8 +215,7 @@ func Trigger(props ...TriggerProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var8 = []any{
|
var templ_7745c5c3_Var8 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"group",
|
"group",
|
||||||
utils.IfElse(p.Disabled, "cursor-not-allowed opacity-50", "cursor-pointer"),
|
utils.IfElse(p.Disabled, "cursor-not-allowed opacity-50", "cursor-pointer"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component pagination - version: v0.84.0 installed by templui v0.84.0
|
// templui component pagination - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package pagination
|
package pagination
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component popover - version: main installed by templui v0.71.0
|
// templui component popover - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package popover
|
package popover
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component popover - version: main installed by templui v0.71.0
|
// templui component popover - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package popover
|
package popover
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component popover - version: v0.84.0 installed by templui v0.84.0
|
// templui component popover - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package popover
|
package popover
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component progress - version: v0.84.0 installed by templui v0.84.0
|
// templui component progress - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package progress
|
package progress
|
||||||
|
@ -192,8 +192,7 @@ func Progress(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var9 = []any{
|
var templ_7745c5c3_Var9 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"h-full rounded-full transition-all",
|
"h-full rounded-full transition-all",
|
||||||
sizeClasses(p.Size),
|
sizeClasses(p.Size),
|
||||||
variantClasses(p.Variant),
|
variantClasses(p.Variant),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component radio - version: v0.84.0 installed by templui v0.84.0
|
// templui component radio - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package radio
|
package radio
|
||||||
|
@ -48,8 +48,7 @@ func Radio(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative h-4 w-4",
|
"relative h-4 w-4",
|
||||||
"before:absolute before:left-1/2 before:top-1/2",
|
"before:absolute before:left-1/2 before:top-1/2",
|
||||||
"before:h-1.5 before:w-1.5 before:-translate-x-1/2 before:-translate-y-1/2",
|
"before:h-1.5 before:w-1.5 before:-translate-x-1/2 before:-translate-y-1/2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component radiocard - version: main installed by templui v0.71.0
|
// templui component radiocard - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package radiocard
|
package radiocard
|
||||||
|
@ -69,8 +69,7 @@ func RadioCard(props ...Props) templ.Component {
|
||||||
if p.ID == "" {
|
if p.ID == "" {
|
||||||
p.ID = utils.RandomID()
|
p.ID = utils.RandomID()
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative",
|
"relative",
|
||||||
utils.If(p.Disabled, "opacity-60"),
|
utils.If(p.Disabled, "opacity-60"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -191,8 +190,7 @@ func RadioCard(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var8 = []any{
|
var templ_7745c5c3_Var8 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"block w-full rounded-lg border overflow-hidden h-full",
|
"block w-full rounded-lg border overflow-hidden h-full",
|
||||||
"bg-card text-card-foreground p-4 flex flex-col",
|
"bg-card text-card-foreground p-4 flex flex-col",
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component radiocard - version: v0.84.0 installed by templui v0.84.0
|
// templui component radiocard - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package radiocard
|
package radiocard
|
||||||
|
@ -69,8 +69,7 @@ func RadioCard(props ...Props) templ.Component {
|
||||||
if p.ID == "" {
|
if p.ID == "" {
|
||||||
p.ID = utils.RandomID()
|
p.ID = utils.RandomID()
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative",
|
"relative",
|
||||||
utils.If(p.Disabled, "opacity-60"),
|
utils.If(p.Disabled, "opacity-60"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -191,8 +190,7 @@ func RadioCard(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var8 = []any{
|
var templ_7745c5c3_Var8 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"block w-full rounded-lg border overflow-hidden h-full",
|
"block w-full rounded-lg border overflow-hidden h-full",
|
||||||
"bg-card text-card-foreground p-4 flex flex-col",
|
"bg-card text-card-foreground p-4 flex flex-col",
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component rating - version: v0.84.0 installed by templui v0.84.0
|
// templui component rating - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package rating
|
package rating
|
||||||
|
@ -76,8 +76,7 @@ func Rating(props ...Props) templ.Component {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
p.setDefaults()
|
p.setDefaults()
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"flex flex-col items-start gap-1",
|
"flex flex-col items-start gap-1",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -369,8 +368,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
p.setDefaults()
|
p.setDefaults()
|
||||||
var templ_7745c5c3_Var17 = []any{
|
var templ_7745c5c3_Var17 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative",
|
"relative",
|
||||||
colorClass(p.Style),
|
colorClass(p.Style),
|
||||||
"transition-opacity",
|
"transition-opacity",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component selectbox - version: main installed by templui v0.71.0
|
// templui component selectbox - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package selectbox
|
package selectbox
|
||||||
|
@ -705,8 +705,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var26 = []any{
|
var templ_7745c5c3_Var26 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"select-item relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 px-2 text-sm font-light outline-none",
|
"select-item relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 px-2 text-sm font-light outline-none",
|
||||||
"hover:bg-accent hover:text-accent-foreground",
|
"hover:bg-accent hover:text-accent-foreground",
|
||||||
"focus:bg-accent focus:text-accent-foreground",
|
"focus:bg-accent focus:text-accent-foreground",
|
||||||
|
@ -814,8 +813,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var32 = []any{
|
var templ_7745c5c3_Var32 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"select-check absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
"select-check absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
||||||
utils.IfElse(p.Selected, "opacity-100", "opacity-0"),
|
utils.IfElse(p.Selected, "opacity-100", "opacity-0"),
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component selectbox - version: v0.84.0 installed by templui v0.84.0
|
// templui component selectbox - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package selectbox
|
package selectbox
|
||||||
|
@ -752,8 +752,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var25 = []any{
|
var templ_7745c5c3_Var25 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"select-item relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 px-2 text-sm font-light outline-none",
|
"select-item relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 px-2 text-sm font-light outline-none",
|
||||||
"hover:bg-accent hover:text-accent-foreground",
|
"hover:bg-accent hover:text-accent-foreground",
|
||||||
"focus:bg-accent focus:text-accent-foreground",
|
"focus:bg-accent focus:text-accent-foreground",
|
||||||
|
@ -861,8 +860,7 @@ func Item(props ...ItemProps) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var31 = []any{
|
var templ_7745c5c3_Var31 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"select-check absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
"select-check absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
||||||
utils.IfElse(p.Selected, "opacity-100", "opacity-0"),
|
utils.IfElse(p.Selected, "opacity-100", "opacity-0"),
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component separator - version: v0.84.0 installed by templui v0.84.0
|
// templui component separator - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package separator
|
package separator
|
||||||
|
@ -115,8 +115,7 @@ func Separator(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var5 = []any{
|
var templ_7745c5c3_Var5 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"absolute w-full border-t h-[1px]",
|
"absolute w-full border-t h-[1px]",
|
||||||
decorationClasses(p.Decoration),
|
decorationClasses(p.Decoration),
|
||||||
),
|
),
|
||||||
|
@ -204,8 +203,7 @@ func Separator(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var10 = []any{
|
var templ_7745c5c3_Var10 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"absolute h-full border-l w-[1px]",
|
"absolute h-full border-l w-[1px]",
|
||||||
decorationClasses(p.Decoration),
|
decorationClasses(p.Decoration),
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component skeleton - version: v0.84.0 installed by templui v0.84.0
|
// templui component skeleton - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package skeleton
|
package skeleton
|
||||||
|
@ -43,8 +43,7 @@ func Skeleton(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"animate-pulse rounded bg-muted",
|
"animate-pulse rounded bg-muted",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component slider - version: v0.84.0 installed by templui v0.84.0
|
// templui component slider - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package slider
|
package slider
|
||||||
|
@ -158,8 +158,7 @@ func Input(props ...InputProps) templ.Component {
|
||||||
if p.ID == "" {
|
if p.ID == "" {
|
||||||
p.ID = utils.RandomID()
|
p.ID = utils.RandomID()
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var6 = []any{
|
var templ_7745c5c3_Var6 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"w-full h-2 rounded-full bg-secondary appearance-none cursor-pointer",
|
"w-full h-2 rounded-full bg-secondary appearance-none cursor-pointer",
|
||||||
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
||||||
"[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:h-4",
|
"[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:h-4",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component spinner - version: main installed by templui v0.71.0
|
// templui component spinner - version: main installed by templui v0.71.0
|
||||||
|
|
||||||
package spinner
|
package spinner
|
||||||
|
@ -53,8 +53,7 @@ func Spinner(props ...Props) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"inline-flex flex-col items-center justify-center",
|
"inline-flex flex-col items-center justify-center",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -111,8 +110,7 @@ func Spinner(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var5 = []any{
|
var templ_7745c5c3_Var5 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"animate-spin rounded-full",
|
"animate-spin rounded-full",
|
||||||
sizeClass(p.Size),
|
sizeClass(p.Size),
|
||||||
borderSizeClass(p.Size),
|
borderSizeClass(p.Size),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component table - version: v0.84.0 installed by templui v0.84.0
|
// templui component table - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package table
|
package table
|
||||||
|
@ -450,8 +450,7 @@ func Row(props ...RowProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var18 = []any{
|
var templ_7745c5c3_Var18 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"border-b transition-colors hover:bg-muted/50",
|
"border-b transition-colors hover:bg-muted/50",
|
||||||
utils.If(p.Selected, "data-[state=selected]:bg-muted"),
|
utils.If(p.Selected, "data-[state=selected]:bg-muted"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -546,8 +545,7 @@ func Head(props ...HeadProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var22 = []any{
|
var templ_7745c5c3_Var22 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"h-10 px-2 text-left align-middle font-medium text-muted-foreground",
|
"h-10 px-2 text-left align-middle font-medium text-muted-foreground",
|
||||||
"[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
"[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
||||||
p.Class,
|
p.Class,
|
||||||
|
@ -642,8 +640,7 @@ func Cell(props ...CellProps) templ.Component {
|
||||||
if len(props) > 0 {
|
if len(props) > 0 {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var26 = []any{
|
var templ_7745c5c3_Var26 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"p-2 align-middle",
|
"p-2 align-middle",
|
||||||
"[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
"[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component tabs - version: v0.84.0 installed by templui v0.84.0
|
// templui component tabs - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package tabs
|
package tabs
|
||||||
|
@ -179,8 +179,7 @@ func List(props ...ListProps) templ.Component {
|
||||||
p = props[0]
|
p = props[0]
|
||||||
}
|
}
|
||||||
tabsID := IDFromContext(ctx)
|
tabsID := IDFromContext(ctx)
|
||||||
var templ_7745c5c3_Var7 = []any{
|
var templ_7745c5c3_Var7 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative flex items-center justify-center h-10 p-1 rounded-lg select-none bg-muted text-muted-foreground",
|
"relative flex items-center justify-center h-10 p-1 rounded-lg select-none bg-muted text-muted-foreground",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -297,8 +296,7 @@ func Trigger(props ...TriggerProps) templ.Component {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var12 = []any{
|
var templ_7745c5c3_Var12 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative z-20 flex-1 inline-flex items-center justify-center h-8 px-3 text-sm font-medium transition-all rounded-md cursor-pointer whitespace-nowrap hover:text-foreground",
|
"relative z-20 flex-1 inline-flex items-center justify-center h-8 px-3 text-sm font-medium transition-all rounded-md cursor-pointer whitespace-nowrap hover:text-foreground",
|
||||||
p.Class,
|
p.Class,
|
||||||
),
|
),
|
||||||
|
@ -441,8 +439,7 @@ func Content(props ...ContentProps) templ.Component {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var19 = []any{
|
var templ_7745c5c3_Var19 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative",
|
"relative",
|
||||||
utils.If(!p.IsActive, "hidden"),
|
utils.If(!p.IsActive, "hidden"),
|
||||||
p.Class,
|
p.Class,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component tagsinput - version: v0.84.0 installed by templui v0.84.0
|
// templui component tagsinput - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package tagsinput
|
package tagsinput
|
||||||
|
@ -49,8 +49,7 @@ func TagsInput(p Props) templ.Component {
|
||||||
templ_7745c5c3_Var1 = templ.NopComponent
|
templ_7745c5c3_Var1 = templ.NopComponent
|
||||||
}
|
}
|
||||||
ctx = templ.ClearChildren(ctx)
|
ctx = templ.ClearChildren(ctx)
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
// Base styles
|
// Base styles
|
||||||
"flex items-center flex-wrap gap-2 p-2 rounded-md border border-input bg-transparent shadow-xs transition-[color,box-shadow] outline-none",
|
"flex items-center flex-wrap gap-2 p-2 rounded-md border border-input bg-transparent shadow-xs transition-[color,box-shadow] outline-none",
|
||||||
// Dark mode background
|
// Dark mode background
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component textarea - version: v0.84.0 installed by templui v0.84.0
|
// templui component textarea - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package textarea
|
package textarea
|
||||||
|
@ -58,8 +58,7 @@ func Textarea(props ...Props) templ.Component {
|
||||||
if p.ID == "" {
|
if p.ID == "" {
|
||||||
p.ID = utils.RandomID()
|
p.ID = utils.RandomID()
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var2 = []any{
|
var templ_7745c5c3_Var2 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
// Base styles
|
// Base styles
|
||||||
"flex w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
|
"flex w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
|
||||||
"min-h-[80px]", // Default min-height
|
"min-h-[80px]", // Default min-height
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component toast - version: v0.84.0 installed by templui v0.84.0
|
// templui component toast - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package toast
|
package toast
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component toggle - version: v0.84.0 installed by templui v0.84.0
|
// templui component toggle - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package toggle
|
package toggle
|
||||||
|
@ -183,8 +183,7 @@ func Toggle(props ...Props) templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
var templ_7745c5c3_Var9 = []any{
|
var templ_7745c5c3_Var9 = []any{utils.TwMerge(
|
||||||
utils.TwMerge(
|
|
||||||
"relative h-6 w-10",
|
"relative h-6 w-10",
|
||||||
"after:absolute after:left-0.5 after:top-0.5",
|
"after:absolute after:left-0.5 after:top-0.5",
|
||||||
"after:h-5 after:w-5",
|
"after:h-5 after:w-5",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by templ - DO NOT EDIT.
|
// Code generated by templ - DO NOT EDIT.
|
||||||
|
|
||||||
// templ: version: v0.3.865
|
// templ: version: v0.3.924
|
||||||
// templui component tooltip - version: v0.84.0 installed by templui v0.84.0
|
// templui component tooltip - version: v0.84.0 installed by templui v0.84.0
|
||||||
|
|
||||||
package tooltip
|
package tooltip
|
||||||
|
|
Loading…
Add table
Reference in a new issue