MCPcopy Create free account

hub / github.com/charmbracelet/lipgloss / types & classes

Types & classes65 in github.com/charmbracelet/lipgloss

↓ 5 callersTypeAliasNodeChildren
NodeChildren is the implementation of the Children interface with tree Nodes.
tree/children.go:15
↓ 4 callersTypeAliasPosition
Position represents a position along a horizontal or vertical axis. It's in situations where an axis is involved, like alignment, joining, placement a
position.go:19
↓ 3 callersTypeAliasprops
props is a set of properties.
style.go:94
StructAdaptiveColor
AdaptiveColor provides color options for light and dark backgrounds. The appropriate color will be returned at runtime based on the darkness of the te
compat/color.go:26
StructBorder
Border contains a series of values which comprise the various parts of a border.
borders.go:16
StructCanvas
Canvas is a cell-buffer that can be used to compose and draw [uv.Drawable]s like [Layer]s. Composed drawables are drawn onto the canvas in the order
canvas.go:17
InterfaceChildren
Children is the interface that wraps the basic methods of a tree model.
tree/children.go:6
StructCompleteAdaptiveColor
CompleteAdaptiveColor specifies exact values for truecolor, ANSI256, and ANSI color profiles, with separate options for light and dark backgrounds. Au
compat/color.go:65
StructCompleteColor
CompleteColor specifies exact values for truecolor, ANSI256, and ANSI color profiles. Automatic color degradation will not be performed.
compat/color.go:42
FuncTypeCompleteFunc
CompleteFunc is a function that returns the appropriate color based on the given color profile. Example usage: p := colorprofile.Detect(os.Stderr,
color.go:250
StructCompositor
Compositor manages the composition of layers. It flattens a layer hierarchy once and provides efficient drawing and hit testing operations. All comput
layer.go:188
InterfaceData
Data is the interface that wraps the basic methods of a table model.
table/rows.go:4
StructDocument
examples/list/glow/main.go:8
FuncTypeEnumerator
Enumerator enumerates a list. Given a list of items and the index of the current enumeration, it returns the prefix that should be displayed for the c
list/enumerator.go:26
FuncTypeEnumerator
Enumerator enumerates a tree. Typically, this is used to draw the branches for the tree nodes and is different for the last child. For example, the d
tree/enumerator.go:15
StructFilter
Filter applies a filter on some data.
table/rows.go:66
StructFilter
Filter applies a filter on some data. You could use this to create a new tree whose values all satisfy the condition provided in the Filter() function
tree/children.go:59
FuncTypeIndenter
Indenter indents the children of a tree. Indenters allow for displaying nested tree items with connecting borders to sibling nodes. For example, the
list/enumerator.go:42
FuncTypeIndenter
Indenter indents the children of a tree. Indenters allow for displaying nested tree items with connecting borders to sibling nodes. For example, the
tree/enumerator.go:57
TypeAliasItems
Items represents the list items.
list/list.go:58
StructLayer
Layer represents a visual layer with content and positioning. It's a pure data structure that defines the layer hierarchy without any computation.
layer.go:13
StructLayerHit
LayerHit represents the result of a hit test on a [Layer].
layer.go:159
StructLeaf
Leaf is a node without children.
tree/tree.go:46
FuncTypeLightDarkFunc
LightDarkFunc is a function that returns a color based on whether the terminal has a light or dark background. You can create one of these with [Light
color.go:174
StructList
List represents a list of items that can be displayed. Lists can contain lists as items, they will be rendered as nested (sub)lists. In fact, lists c
list/list.go:34
StructNoColor
NoColor is used to specify the absence of color styling. When this is active foreground colors will be rendered with the terminal's default text color
color.go:52
InterfaceNode
Node defines a node in a tree.
tree/tree.go:36
StructRGBColor
RGBColor is a color specified by red, green, and blue values.
color.go:138
StructRange
Range is a range of text and associated styling to be used with [StyleRanges].
ranges.go:45
StructStringData
StringData is a string-based implementation of the Data interface.
table/rows.go:16
StructStyle
Style contains a set of rules that comprise a style as a whole.
style.go:142
StructStyle
Style is the styling applied to the tree.
tree/renderer.go:13
FuncTypeStyleFunc
StyleFunc is the style function that determines the style of a Cell. It takes the row and column of the cell as an input and determines the lipgloss
table/table.go:37
FuncTypeStyleFunc
StyleFunc is the style function that determines the style of an item. It takes the list items and index of the list and determines the lipgloss Style
list/list.go:81
FuncTypeStyleFunc
StyleFunc allows the tree to be styled per item.
tree/renderer.go:10
StructTable
Table is a type for rendering tables.
table/table.go:45
StructTree
Tree implements a Node.
tree/tree.go:96
FuncTypeWhitespaceOption
WhitespaceOption sets a styling rule for rendering whitespace.
whitespace.go:62
StructWrapWriter
WrapWriter is a writer that writes to a buffer and keeps track of the current pen style and link state for the purpose of wrapping with newlines. Whe
wrap.go:26
StructborderBlend
borders.go:281
StructborderRotationTickMsg
examples/blending/border-blend-rotation/bubbletea/main.go:17
StructcompositeLayer
compositeLayer holds a flattened layer with its calculated absolute position and bounds.
layer.go:196
Structdir
examples/tree/selection/main.go:42
Structdir
examples/tree/toggle/main.go:38
Structfile
file implements the Node interface.
examples/tree/selection/main.go:58
Structfile
examples/tree/toggle/main.go:53
StructgradientData
examples/blending/linear-1d/bubbletea/main.go:58
Structmodel
examples/compat/bubbletea/main.go:59
Structmodel
examples/blending/border-blend-rotation/bubbletea/main.go:27
Structmodel
examples/blending/linear-2d/bubbletea/main.go:76
Structmodel
examples/blending/linear-1d/bubbletea/main.go:94
Structmodel
examples/color/bubbletea/main.go:66
TypeAliaspropKey
Property for a key.
style.go:18
FuncTypequeryTerminalFilter
queryTerminalFilter is a function that filters input events using a type switch. If false is returned, the QueryTerminal function will stop reading in
terminal.go:54
Structrenderer
tree/renderer.go:39
Structresizer
resizer is a table resizer.
table/resizing.go:122
StructresizerColumn
resizerColumn is a column in the resizer.
table/resizing.go:111
Structstyles
Style definitions.
examples/compat/bubbletea/main.go:21
Structstyles
Style definitions.
examples/blending/linear-1d/bubbletea/main.go:64
Structstyles
Available styles.
examples/ssh/main.go:21
Structstyles
Style definitions.
examples/color/bubbletea/main.go:12
Structstyles
examples/tree/selection/main.go:13
Structstyles
examples/tree/toggle/main.go:8
Structtest
join_test.go:6
Structwhitespace
whitespace is a whitespace renderer.
whitespace.go:10