pax_global_header00006660000000000000000000000064143044637270014524gustar00rootroot0000000000000052 comment=13f52d678d315676568a656b5211b8a24a54a885 bubbles-0.14.0/000077500000000000000000000000001430446372700132245ustar00rootroot00000000000000bubbles-0.14.0/.github/000077500000000000000000000000001430446372700145645ustar00rootroot00000000000000bubbles-0.14.0/.github/workflows/000077500000000000000000000000001430446372700166215ustar00rootroot00000000000000bubbles-0.14.0/.github/workflows/build.yml000066400000000000000000000011151430446372700204410ustar00rootroot00000000000000name: build on: [push, pull_request] jobs: test: strategy: matrix: go-version: [~1.13, ^1] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} env: GO111MODULE: "on" steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Checkout code uses: actions/checkout@v2 - name: Download Go modules run: go mod download - name: Build run: go build -v ./... - name: Test run: go test ./... bubbles-0.14.0/.github/workflows/coverage.yml000066400000000000000000000013211430446372700211340ustar00rootroot00000000000000name: coverage on: [push, pull_request] jobs: coverage: strategy: matrix: go-version: [^1] os: [ubuntu-latest] runs-on: ${{ matrix.os }} env: GO111MODULE: "on" steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Checkout code uses: actions/checkout@v2 - name: Coverage env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | go test -race -covermode atomic -coverprofile=profile.cov ./... GO111MODULE=off go get github.com/mattn/goveralls $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github bubbles-0.14.0/.github/workflows/lint.yml000066400000000000000000000010561430446372700203140ustar00rootroot00000000000000name: lint on: [push, pull_request] jobs: golangci: name: lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: # Optional: golangci-lint command line arguments. args: --issues-exit-code=0 # Optional: working directory, useful for monorepos # working-directory: somedir # Optional: show only new issues if it's a pull request. The default value is `false`. only-new-issues: true bubbles-0.14.0/.github/workflows/soft-serve.yml000066400000000000000000000003251430446372700214410ustar00rootroot00000000000000name: soft-serve on: push: branches: - master jobs: soft-serve: uses: charmbracelet/meta/.github/workflows/soft-serve.yml@main secrets: ssh-key: "${{ secrets.CHARM_SOFT_SERVE_KEY }}" bubbles-0.14.0/.gitignore000066400000000000000000000000121430446372700152050ustar00rootroot00000000000000.DS_Store bubbles-0.14.0/.golangci.yml000066400000000000000000000007121430446372700156100ustar00rootroot00000000000000run: tests: false issues: include: - EXC0001 - EXC0005 - EXC0011 - EXC0012 - EXC0013 max-issues-per-linter: 0 max-same-issues: 0 linters: enable: - bodyclose - dupl - exportloopref - goconst - godot - godox - goimports - goprintffuncname - gosec - ifshort - misspell - prealloc - revive - rowserrcheck - sqlclosecheck - unconvert - unparam - whitespace bubbles-0.14.0/LICENSE000066400000000000000000000020631430446372700142320ustar00rootroot00000000000000MIT License Copyright (c) 2020 Charmbracelet, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. bubbles-0.14.0/README.md000066400000000000000000000226341430446372700145120ustar00rootroot00000000000000Bubbles =======

The Bubbles Logo

[![Latest Release](https://img.shields.io/github/release/charmbracelet/bubbles.svg)](https://github.com/charmbracelet/bubbles/releases) [![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](https://pkg.go.dev/github.com/charmbracelet/bubbles) [![Build Status](https://github.com/charmbracelet/bubbles/workflows/build/badge.svg)](https://github.com/charmbracelet/bubbles/actions) [![Go ReportCard](https://goreportcard.com/badge/charmbracelet/bubbles)](https://goreportcard.com/report/charmbracelet/bubbles) Some components for [Bubble Tea](https://github.com/charmbracelet/bubbletea) applications. These components are used in production in [Glow][glow], [Charm][charm] and [many other applications][otherstuff]. [glow]: https://github.com/charmbracelet/glow [charm]: https://github.com/charmbracelet/charm [otherstuff]: https://github.com/charmbracelet/bubbletea/#bubble-tea-in-the-wild ## Spinner Spinner Example A spinner, useful for indicating that some kind an operation is happening. There are a couple default ones, but you can also pass your own ”frames.” * [Example code, basic spinner](https://github.com/charmbracelet/tea/tree/master/examples/spinner/main.go) * [Example code, various spinners](https://github.com/charmbracelet/tea/tree/master/examples/spinners/main.go) ## Text Input Text Input Example A text input field, akin to an `` in HTML. Supports unicode, pasting, in-place scrolling when the value exceeds the width of the element and the common, and many customization options. * [Example code, one field](https://github.com/charmbracelet/tea/tree/master/examples/textinput/main.go) * [Example code, many fields](https://github.com/charmbracelet/tea/tree/master/examples/textinputs/main.go) ## Text Area Text Area Example A text area field, akin to an `