File tree Expand file tree Collapse file tree 14 files changed +26
-26
lines changed Expand file tree Collapse file tree 14 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 9
9
"strings"
10
10
"sync"
11
11
12
- "github.com/charmbracelet/bubbles/key"
12
+ "github.com/charmbracelet/bubbles/v2/ key"
13
13
tea "github.com/charmbracelet/bubbletea/v2"
14
14
"github.com/charmbracelet/lipgloss"
15
15
"github.com/dustin/go-humanize"
Original file line number Diff line number Diff line change 1
- module github.com/charmbracelet/bubbles
1
+ module github.com/charmbracelet/bubbles/v2
2
2
3
3
go 1.18
4
4
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package help
3
3
import (
4
4
"strings"
5
5
6
- "github.com/charmbracelet/bubbles/key"
6
+ "github.com/charmbracelet/bubbles/v2/ key"
7
7
tea "github.com/charmbracelet/bubbletea/v2"
8
8
"github.com/charmbracelet/lipgloss"
9
9
)
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ very flexible and powerful.
40
40
If you just want to alter the default style you could do something like:
41
41
42
42
``` go
43
- import " github.com/charmbracelet/bubbles/list"
43
+ import " github.com/charmbracelet/bubbles/v2/ list"
44
44
45
45
// Create a new default delegate
46
46
d := list.NewDefaultDelegate ()
Original file line number Diff line number Diff line change 5
5
"io"
6
6
"strings"
7
7
8
- "github.com/charmbracelet/bubbles/key"
8
+ "github.com/charmbracelet/bubbles/v2/ key"
9
9
tea "github.com/charmbracelet/bubbletea/v2"
10
10
"github.com/charmbracelet/lipgloss"
11
11
"github.com/charmbracelet/x/ansi"
Original file line number Diff line number Diff line change 1
1
package list
2
2
3
- import "github.com/charmbracelet/bubbles/key"
3
+ import "github.com/charmbracelet/bubbles/v2/ key"
4
4
5
5
// KeyMap defines keybindings. It satisfies to the help.KeyMap interface, which
6
6
// is used to render the menu.
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ import (
15
15
"github.com/charmbracelet/x/ansi"
16
16
"github.com/sahilm/fuzzy"
17
17
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"
23
23
)
24
24
25
25
// Item is an item that appears in the list.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package paginator
7
7
import (
8
8
"fmt"
9
9
10
- "github.com/charmbracelet/bubbles/key"
10
+ "github.com/charmbracelet/bubbles/v2/ key"
11
11
tea "github.com/charmbracelet/bubbletea/v2"
12
12
)
13
13
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package spinner_test
3
3
import (
4
4
"testing"
5
5
6
- "github.com/charmbracelet/bubbles/spinner"
6
+ "github.com/charmbracelet/bubbles/v2/ spinner"
7
7
)
8
8
9
9
func TestSpinnerNew (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ package table
3
3
import (
4
4
"strings"
5
5
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"
9
9
tea "github.com/charmbracelet/bubbletea/v2"
10
10
"github.com/charmbracelet/lipgloss"
11
11
"github.com/mattn/go-runewidth"
You can’t perform that action at this time.
0 commit comments