diff --git a/components/css/colors.templ b/components/css/colors.templ index af6cd1a..92ac73a 100644 --- a/components/css/colors.templ +++ b/components/css/colors.templ @@ -4,7 +4,7 @@ var cssColorsHandle = templ.NewOnceHandle() templ GoasterCSSColors() { @cssColorsHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/css/styles.templ b/components/css/styles.templ index 45292cd..cdb8a18 100644 --- a/components/css/styles.templ +++ b/components/css/styles.templ @@ -10,7 +10,7 @@ var cssHandle = templ.NewOnceHandle() templ GoasterCSS(variant string) { @cssHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -59,12 +72,12 @@ func GoasterCSS(variant string) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var3 string - templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) + var templ_7745c5c3_Var4 string + templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/css/styles.templ`, Line: 20, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -72,16 +85,16 @@ func GoasterCSS(variant string) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var4 string - templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) + var templ_7745c5c3_Var5 string + templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/css/styles.templ`, Line: 22, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -91,12 +104,12 @@ func GoasterCSS(variant string) templ.Component { return templ_7745c5c3_Err } } - var templ_7745c5c3_Var5 string - templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) + var templ_7745c5c3_Var6 string + templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/css/styles.templ`, Line: 26, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/css/themes/all_templ.go b/components/css/themes/all_templ.go index be535eb..ebf5201 100644 --- a/components/css/themes/all_templ.go +++ b/components/css/themes/all_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package themes //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/components/css/themes/dark.templ b/components/css/themes/dark.templ index 0d0257d..033a6d3 100644 --- a/components/css/themes/dark.templ +++ b/components/css/themes/dark.templ @@ -6,7 +6,7 @@ var toasterThemeDarkHandle = templ.NewOnceHandle() templ toasterThemeDark() { @toasterThemeDarkHandle.Once() { - diff --git a/components/css/themes/dark_templ.go b/components/css/themes/dark_templ.go index 22ae269..ec95965 100644 --- a/components/css/themes/dark_templ.go +++ b/components/css/themes/dark_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package themes //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -45,7 +45,20 @@ func toasterThemeDark() templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -55,12 +68,12 @@ func toasterThemeDark() templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var3 string - templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) + var templ_7745c5c3_Var4 string + templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/css/themes/dark.templ`, Line: 14, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/css/themes/light.templ b/components/css/themes/light.templ index 0645245..627aa19 100644 --- a/components/css/themes/light.templ +++ b/components/css/themes/light.templ @@ -6,7 +6,7 @@ var toasterThemeLightHandle = templ.NewOnceHandle() templ toasterThemeLight() { @toasterThemeLightHandle.Once() { - diff --git a/components/css/themes/light_templ.go b/components/css/themes/light_templ.go index 635825b..04326ab 100644 --- a/components/css/themes/light_templ.go +++ b/components/css/themes/light_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package themes //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -45,7 +45,20 @@ func toasterThemeLight() templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -55,12 +68,12 @@ func toasterThemeLight() templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var3 string - templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) + var templ_7745c5c3_Var4 string + templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("\n")) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/css/themes/light.templ`, Line: 14, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/css/variants/accent-dark.templ b/components/css/variants/accent-dark.templ index cb8e1d2..cd0168a 100644 --- a/components/css/variants/accent-dark.templ +++ b/components/css/variants/accent-dark.templ @@ -4,7 +4,7 @@ var toasterAccentDarkVariantHandle = templ.NewOnceHandle() templ variantAccentDark() { @toasterAccentDarkVariantHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/css/variants/accent-light.templ b/components/css/variants/accent-light.templ index 2faaf1d..aa291a9 100644 --- a/components/css/variants/accent-light.templ +++ b/components/css/variants/accent-light.templ @@ -4,7 +4,7 @@ var toasterAccentLightVariantHandle = templ.NewOnceHandle() templ variantAccentLight() { @toasterAccentLightVariantHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/css/variants/accent.templ b/components/css/variants/accent.templ index b565f39..682a74a 100644 --- a/components/css/variants/accent.templ +++ b/components/css/variants/accent.templ @@ -4,7 +4,7 @@ var toasterAccentVariantHandle = templ.NewOnceHandle() templ variantAccent() { @toasterAccentVariantHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/js/script.templ b/components/js/script.templ index 2125ddc..453c2bf 100644 --- a/components/js/script.templ +++ b/components/js/script.templ @@ -4,7 +4,7 @@ var jsHandle = templ.NewOnceHandle() templ GoasterJS() { @jsHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/components/toaster_templ.go b/components/toaster_templ.go index c2dcd76..a572631 100644 --- a/components/toaster_templ.go +++ b/components/toaster_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/layouts/page_templ.go b/examples/layouts/page_templ.go index b66a29b..6122430 100644 --- a/examples/layouts/page_templ.go +++ b/examples/layouts/page_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package layouts //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/layouts/partials/body_templ.go b/examples/layouts/partials/body_templ.go index 34d4c7c..1aef253 100644 --- a/examples/layouts/partials/body_templ.go +++ b/examples/layouts/partials/body_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package partials //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/layouts/partials/head_templ.go b/examples/layouts/partials/head_templ.go index 2193e89..820bbd2 100644 --- a/examples/layouts/partials/head_templ.go +++ b/examples/layouts/partials/head_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package partials //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/custom-animations.templ b/examples/pages/custom-animations.templ index 1a84c29..5538852 100644 --- a/examples/pages/custom-animations.templ +++ b/examples/pages/custom-animations.templ @@ -13,6 +13,7 @@ templ CustomAnimationPage(toaster *goaster.Toaster) { ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -69,11 +82,11 @@ func CustomAnimationPage(toaster *goaster.Toaster) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var4 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var5 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -85,7 +98,7 @@ func CustomAnimationPage(toaster *goaster.Toaster) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -95,7 +108,7 @@ func CustomAnimationPage(toaster *goaster.Toaster) templ.Component { } return nil }) - templ_7745c5c3_Err = partials.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var4), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = partials.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var5), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/examples/pages/custom-icons_templ.go b/examples/pages/custom-icons_templ.go index 36d1894..2e09d78 100644 --- a/examples/pages/custom-icons_templ.go +++ b/examples/pages/custom-icons_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/homepage_templ.go b/examples/pages/homepage_templ.go index 9c6c383..1515808 100644 --- a/examples/pages/homepage_templ.go +++ b/examples/pages/homepage_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/multiple_templ.go b/examples/pages/multiple_templ.go index 81a043f..1be5e54 100644 --- a/examples/pages/multiple_templ.go +++ b/examples/pages/multiple_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/single_templ.go b/examples/pages/single_templ.go index 72f3215..9626302 100644 --- a/examples/pages/single_templ.go +++ b/examples/pages/single_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/themes_templ.go b/examples/pages/themes_templ.go index fd880ed..1428746 100644 --- a/examples/pages/themes_templ.go +++ b/examples/pages/themes_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/variant-accent-dark_templ.go b/examples/pages/variant-accent-dark_templ.go index 0dcf3dd..5fa8a02 100644 --- a/examples/pages/variant-accent-dark_templ.go +++ b/examples/pages/variant-accent-dark_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/variant-accent-light_templ.go b/examples/pages/variant-accent-light_templ.go index 7e9236f..a732fc9 100644 --- a/examples/pages/variant-accent-light_templ.go +++ b/examples/pages/variant-accent-light_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/pages/variant-accent_templ.go b/examples/pages/variant-accent_templ.go index fc2d413..e862bf0 100644 --- a/examples/pages/variant-accent_templ.go +++ b/examples/pages/variant-accent_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.924 +// templ: version: v0.3.943 package pages //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/examples/styles/base.templ b/examples/styles/base.templ index 90c94c8..1710ca5 100644 --- a/examples/styles/base.templ +++ b/examples/styles/base.templ @@ -4,7 +4,7 @@ var baseCSSHandle = templ.NewOnceHandle() templ Base() { @baseCSSHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/examples/styles/nav.templ b/examples/styles/nav.templ index 58d8da8..ec7d263 100644 --- a/examples/styles/nav.templ +++ b/examples/styles/nav.templ @@ -4,7 +4,7 @@ var navigationCSSHandle = templ.NewOnceHandle() templ Navigation() { @navigationCSSHandle.Once() { - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }