Skip to content

Commit a2602f8

Browse files
committed
feat!: v2: move to v2 module
1 parent 0fdf5f5 commit a2602f8

File tree

14 files changed

+26
-26
lines changed

14 files changed

+26
-26
lines changed

filepicker/filepicker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"sync"
1111

12-
"github.com/charmbracelet/bubbles/key"
12+
"github.com/charmbracelet/bubbles/v2/key"
1313
tea "github.com/charmbracelet/bubbletea/v2"
1414
"github.com/charmbracelet/lipgloss"
1515
"github.com/dustin/go-humanize"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/charmbracelet/bubbles
1+
module github.com/charmbracelet/bubbles/v2
22

33
go 1.18
44

help/help.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package help
33
import (
44
"strings"
55

6-
"github.com/charmbracelet/bubbles/key"
6+
"github.com/charmbracelet/bubbles/v2/key"
77
tea "github.com/charmbracelet/bubbletea/v2"
88
"github.com/charmbracelet/lipgloss"
99
)

list/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ very flexible and powerful.
4040
If you just want to alter the default style you could do something like:
4141

4242
```go
43-
import "github.com/charmbracelet/bubbles/list"
43+
import "github.com/charmbracelet/bubbles/v2/list"
4444

4545
// Create a new default delegate
4646
d := list.NewDefaultDelegate()

list/defaultitem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"io"
66
"strings"
77

8-
"github.com/charmbracelet/bubbles/key"
8+
"github.com/charmbracelet/bubbles/v2/key"
99
tea "github.com/charmbracelet/bubbletea/v2"
1010
"github.com/charmbracelet/lipgloss"
1111
"github.com/charmbracelet/x/ansi"

list/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package list
22

3-
import "github.com/charmbracelet/bubbles/key"
3+
import "github.com/charmbracelet/bubbles/v2/key"
44

55
// KeyMap defines keybindings. It satisfies to the help.KeyMap interface, which
66
// is used to render the menu.

list/list.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ import (
1515
"github.com/charmbracelet/x/ansi"
1616
"github.com/sahilm/fuzzy"
1717

18-
"github.com/charmbracelet/bubbles/help"
19-
"github.com/charmbracelet/bubbles/key"
20-
"github.com/charmbracelet/bubbles/paginator"
21-
"github.com/charmbracelet/bubbles/spinner"
22-
"github.com/charmbracelet/bubbles/textinput"
18+
"github.com/charmbracelet/bubbles/v2/help"
19+
"github.com/charmbracelet/bubbles/v2/key"
20+
"github.com/charmbracelet/bubbles/v2/paginator"
21+
"github.com/charmbracelet/bubbles/v2/spinner"
22+
"github.com/charmbracelet/bubbles/v2/textinput"
2323
)
2424

2525
// Item is an item that appears in the list.

paginator/paginator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package paginator
77
import (
88
"fmt"
99

10-
"github.com/charmbracelet/bubbles/key"
10+
"github.com/charmbracelet/bubbles/v2/key"
1111
tea "github.com/charmbracelet/bubbletea/v2"
1212
)
1313

spinner/spinner_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package spinner_test
33
import (
44
"testing"
55

6-
"github.com/charmbracelet/bubbles/spinner"
6+
"github.com/charmbracelet/bubbles/v2/spinner"
77
)
88

99
func TestSpinnerNew(t *testing.T) {

table/table.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package table
33
import (
44
"strings"
55

6-
"github.com/charmbracelet/bubbles/help"
7-
"github.com/charmbracelet/bubbles/key"
8-
"github.com/charmbracelet/bubbles/viewport"
6+
"github.com/charmbracelet/bubbles/v2/help"
7+
"github.com/charmbracelet/bubbles/v2/key"
8+
"github.com/charmbracelet/bubbles/v2/viewport"
99
tea "github.com/charmbracelet/bubbletea/v2"
1010
"github.com/charmbracelet/lipgloss"
1111
"github.com/mattn/go-runewidth"

0 commit comments

Comments
 (0)