Skip to content

Commit

Permalink
Merge pull request #2 from willoma/upgrade-to-maragudevgomponents
Browse files Browse the repository at this point in the history
Upgrade to maragu.dev/gomponents v1.0.0
  • Loading branch information
willoma authored Oct 11, 2024
2 parents 33704bc + 5601115 commit 72d4da0
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion aria_live_region_attributes.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gomplements

import "github.com/maragudk/gomponents"
import "maragu.dev/gomponents"

type ariaBusy string

Expand Down
2 changes: 1 addition & 1 deletion aria_other_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gomplements
import (
"strings"

"github.com/maragudk/gomponents"
"maragu.dev/gomponents"
)

type ariaCurrent string
Expand Down
2 changes: 1 addition & 1 deletion aria_relationship_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strconv"
"strings"

"github.com/maragudk/gomponents"
"maragu.dev/gomponents"
)

// aria-activedescendant attribute
Expand Down
2 changes: 1 addition & 1 deletion aria_role.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gomplements

import "github.com/maragudk/gomponents"
import "maragu.dev/gomponents"

type ariaRole string

Expand Down
2 changes: 1 addition & 1 deletion aria_widget_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gomplements
import (
"strconv"

"github.com/maragudk/gomponents"
"maragu.dev/gomponents"
)

type ariaAutocomplete string
Expand Down
4 changes: 2 additions & 2 deletions conditional_attributes.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package gomplements

import (
"github.com/maragudk/gomponents"
"github.com/maragudk/gomponents/html"
"maragu.dev/gomponents"
"maragu.dev/gomponents/html"
)

func newConditionalAttribute(attrFn func() gomponents.Node, condition ...bool) gomponents.Node {
Expand Down
4 changes: 2 additions & 2 deletions elem.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"io"

"github.com/maragudk/gomponents"
"github.com/maragudk/gomponents/html"
"maragu.dev/gomponents"
"maragu.dev/gomponents/html"
)

// Element is an element, which implements the gomponents.Node interface with
Expand Down
2 changes: 1 addition & 1 deletion elements.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gomplements

import (
"github.com/maragudk/gomponents/html"
"maragu.dev/gomponents/html"
)

func A(children ...any) Element {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/willoma/gomplements

go 1.22.0

require github.com/maragudk/gomponents v0.20.2
require maragu.dev/gomponents v1.0.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/maragudk/gomponents v0.20.2 h1:39FhnBNNCJzqNcD9Hmvp/5xj0otweFoyvVgFG6kXoy0=
github.com/maragudk/gomponents v0.20.2/go.mod h1:nHkNnZL6ODgMBeJhrZjkMHVvNdoYsfmpKB2/hjdQ0Hg=
maragu.dev/gomponents v1.0.0 h1:eeLScjq4PqP1l+r5z/GC+xXZhLHXa6RWUWGW7gSfLh4=
maragu.dev/gomponents v1.0.0/go.mod h1:oEDahza2gZoXDoDHhw8jBNgH+3UR5ni7Ur648HORydM=
4 changes: 2 additions & 2 deletions helpers.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package gomplements

import (
"github.com/maragudk/gomponents"
"github.com/maragudk/gomponents/html"
"maragu.dev/gomponents"
"maragu.dev/gomponents/html"
)

// AHref creates an <a> element with the provided href.
Expand Down
2 changes: 1 addition & 1 deletion helpers_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"strings"

"github.com/maragudk/gomponents"
"maragu.dev/gomponents"
)

// On adds a "on<event>" attribute to an element.
Expand Down
2 changes: 1 addition & 1 deletion parent_modifier.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gomplements

import "github.com/maragudk/gomponents"
import "maragu.dev/gomponents"

// ParentModifier is an interface for modifying the parent of an element.
type ParentModifier interface {
Expand Down
2 changes: 1 addition & 1 deletion prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"io"

"github.com/maragudk/gomponents"
"maragu.dev/gomponents"
)

// Prepare pre-renders a node in memory for future uses.
Expand Down

0 comments on commit 72d4da0

Please sign in to comment.