From f070f6f042d9290e63b2618bb1da1233b0010659 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Tue, 29 Oct 2024 15:32:39 -0400 Subject: [PATCH] docs(examples): bump examples to current Bubbles v2-exp --- examples/chat/main.go | 2 +- examples/go.mod | 2 +- examples/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/chat/main.go b/examples/chat/main.go index 05cc2ebbf8..63e8cdc8c3 100644 --- a/examples/chat/main.go +++ b/examples/chat/main.go @@ -42,7 +42,7 @@ func initialModel() model { ta.SetHeight(3) // Remove cursor line styling - ta.FocusedStyle.CursorLine = lipgloss.NewStyle() + ta.Styles.Focused.CursorLine = lipgloss.NewStyle() ta.ShowLineNumbers = false diff --git a/examples/go.mod b/examples/go.mod index 6df119afa0..2d42848669 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -3,7 +3,7 @@ module examples go 1.23.1 require ( - github.com/charmbracelet/bubbles/v2 v2.0.0-alpha.1.0.20241024204430-9f3b67a0ef21 + github.com/charmbracelet/bubbles/v2 v2.0.0-alpha.1.0.20241024212941-12271df0271a github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.1.0.20241024164833-a31857d07198 github.com/charmbracelet/colorprofile v0.1.6 github.com/charmbracelet/glamour v0.8.0 diff --git a/examples/go.sum b/examples/go.sum index eec0c8b601..a4612a8a3f 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -14,8 +14,8 @@ github.com/aymanbagabas/go-udiff v0.2.0 h1:TK0fH4MteXUDspT88n8CKzvK0X9O2xu9yQjWp github.com/aymanbagabas/go-udiff v0.2.0/go.mod h1:RE4Ex0qsGkTAJoQdQQCA0uG+nAzJO/pI/QwceO5fgrA= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= -github.com/charmbracelet/bubbles/v2 v2.0.0-alpha.1.0.20241024204430-9f3b67a0ef21 h1:xRMyFmNQx+nmf1H4fy/taejezeNwa6BueGIrb+rZdSE= -github.com/charmbracelet/bubbles/v2 v2.0.0-alpha.1.0.20241024204430-9f3b67a0ef21/go.mod h1:VEdxVsfMDila6ynCQhmhBLsQK2KCpI1sItJKi92aANQ= +github.com/charmbracelet/bubbles/v2 v2.0.0-alpha.1.0.20241024212941-12271df0271a h1:HhnouTclU//H0P7ec2mtiMhlWL7zCfFgcrWruvVIv0Y= +github.com/charmbracelet/bubbles/v2 v2.0.0-alpha.1.0.20241024212941-12271df0271a/go.mod h1:VEdxVsfMDila6ynCQhmhBLsQK2KCpI1sItJKi92aANQ= github.com/charmbracelet/colorprofile v0.1.6 h1:nMMqCns0c0DfCwNGdagBh6SxutFqkltSxxKk5S9kt+Y= github.com/charmbracelet/colorprofile v0.1.6/go.mod h1:3EMXDxwRDJl0c17eJ1jX99MhtlP9OxE/9Qw0C5lvyUg= github.com/charmbracelet/glamour v0.8.0 h1:tPrjL3aRcQbn++7t18wOpgLyl8wrOHUEDS7IZ68QtZs=