ansix 0.3.3 copy "ansix: ^0.3.3" to clipboard
ansix: ^0.3.3 copied to clipboard

AnsiX is a powerful and easy-to-use library that provides tools and extensions for adding ANSI color and styling support to your Dart & Flutter applications.

v0.3.3 #

TreeView enhancements & fixes (#261, #261, #263) #

  • Fixed issue when sublists were parsed as maps
  • Fixed various issues with compact flag of AnsiTreeViewTheme
  • Added hideIfEmpty flag in AnsiTreeAnchorTheme
  • Added more tests

Dependencies #

  • Βump meta from 1.11.0 to 1.12.0 (#258)
  • Βump mocktail from 1.0.2 to 1.0.3 (#259)
  • Βump test from 1.25.1 to 1.25.2 (#260)

v0.3.2 #

Dependencies #

  • Bump data_class_plugin from 1.2.1 to 1.3.0 (#256)
  • Bump test from 1.24.9 to 1.25.1 (#255)
  • Bump mocktail from 1.0.1 to 1.0.2 (#254)
  • Bump path from 1.8.3 to 1.9.0 (#253)
  • Bump tachyon from 0.2.2 to 0.3.0 (#252)
  • Bump data_class_plugin from 1.1.0 to 1.2.1 (#251)
  • Bump test from 1.24.8 to 1.24.9 (#250)
  • Bump tachyon from 0.1.0 to 0.2.2 (#249)

v0.3.1 #

Dependencies #

  • Bump lints from 2.1.1 to 3.0.0 (#241)
  • Bump lints from 2.1.1 to 3.0.0 in /tool/export_docs (#246)

CI/CD #

  • Bump nikosportolos/dart_package from 0.1.2 to 0.2.0 (#242)
  • Bump actions/checkout from 4.1.0 to 4.1.1 (#243)
  • Dependabot: Check github actions weekly (#244)
  • Bump nikosportolos/dart_package from 0.2.0 to 0.2.1 (#247)

v0.3.0 #

Changes/Improvements #

  • Enhance web support (#225)
    • Create custom BrowserDetector (#236)
  • Enhance printing methods (#226)
    • Create method printDataGrid (#220)
    • Create Writer to mute all Ansi escape codes (#221)
    • Create print method (#223)
    • Refactor writer (#224)
      • Rename to 'Printer' for consistency
      • Enhance testing
  • Add more options in ensureSupportsAnsi() (#234)

Bug fixes #

  • Fix static instance (#222)

Dependencies #

  • Bump meta from 1.10.0 to 1.11.0 (#228)
  • Bump test from 1.24.7 to 1.24.8 (#229)

Testing #

  • Add missing process manager test (#238)

v0.2.3 #

Changes/Improvements #

  • AnsiOutlinedText: Set default border (#211)

Dependencies #

  • Bump tachyon from 0.0.9 to 0.1.0 (#213)
  • Bump data_class_plugin from 1.0.5 to 1.1.0 (#214)
  • Bump test from 1.24.6 to 1.24.7 (#215)
  • Bump mocktail from 1.0.0 to 1.0.1 (#216)

Misc #

  • Decrease project line length to 80 (#217)

v0.2.2 #

Improvements & Fixes on AnsiTreeView #

  • Fix tree alignment (#206)
  • Increase the prefix of the last node if it's a List (#208)

v0.2.1 #

Changes/Improvements #

  • Enable web platform support (#196)

    • Conditional import between dart:io and dart:html depending on the platform
    • Create separate implementations for io-dependant functions

Dependencies #

  • Bump data_class_plugin from 1.0.4 to 1.0.5 (#198)
  • Bump nikosportolos/dart_package from 0.1.1 to 0.1.2 (#201)
  • Bump checkout from 3.6.0 to 4.1.0 (#203)

v0.2.0 #

BREAKING CHANGES

Refactor AnsiTable to AnsiGrid

AnsiTable gets deprecated and replaced with AnsiGrid which supports text-wrapping and multiple lines of text in each grid cell.

Changes/Improvements #

  • AnsiTable: Wrap line if AnsiText.fixedWidth is set (#3)
  • AnsiTable: Support multiline cells (#138)
  • Refactor AnsiTreeView (#171)
  • Create 'AnsiWidget' interface (#173)
  • Refactor AnsiOutlinedText (#176)
  • AnsiGridTheme: Remove 'fixedCellWidth' (#185)
  • Set AnsiBorderType.all as default border type (#187)
  • Create 'writeTabs' string buffer extension (#191)

Bug fixes #

  • AnsiGrid: Wrong cell width when keepSameWidth is true with center alignment (#178)
  • Fix AnsiGrid issues (#180)
    • Fix wrong calculation for AnsiText content with horizontal padding and center alignment
    • Fix border color
    • Fix background color with vertical padding
  • AnsiTreeView: Fix header issues (#189)

Documentation #

  • Update badges on README.md (#181)
  • Update topics and screenshots for pub.dev
  • Update screenshots (#194)
  • Update outdated examples & tests

Dependencies #

  • Bump ansix from 0.0.9-prerelease to 0.1.0 in /tool/export_docs (#168)
  • Bump tachyon from 0.0.8 to 0.0.9 (#169)
  • Bump meta from 1.9.1 to 1.10.0 (#170)

v0.1.0 #

Dependencies #

  • Bump data_class_plugin from 1.0.2 to 1.0.3 (#148)
  • Bump collection from 1.17.2 to 1.18.0 (#149)
  • Bump nikosportolos/dart_package from 0.0.6 to 0.1.0 (#150)
  • Bump mocktail from 0.3.0 to 1.0.0 (#152)
  • Bump test from 1.24.4 to 1.24.6 (#154)
  • Bump test from 1.24.4 to 1.24.6 in /tool/export_docs (#155)
  • Bump tachyon from 0.0.7 to 0.0.8 (#156)
  • Bump data_class_plugin from 1.0.3 to 1.0.4 (#157)
  • Bump min dart SDK to 3.1.0 (#158)
  • Bump 'dart-package' action to 0.1.1 (#160)

Documentation #

  • Update README.md (#162)

Changes/Improvements #

  • Modify header theme of AnsiTreeView (#164)

v0.0.9-prerelease #

Changes/Improvements #

  • AnsiTable: Set headerTextStyle & footerTextStyle as optional (#134)
  • Refactor AnsiX class library (#136)

Dependencies #

  • Bump tachyon to 0.0.7 (#142)
  • Bump test to 1.24.4 (#143)

v0.0.8-prerelease #

Dependencies #

  • Bump data_class_plugin from 1.0.1 to 1.0.2 (#122)

Documentation #

  • Add screenshots & topics in pubspec.yaml (#126)

AnsiTable #

  • Fix transparency (#128)

    • Add the ANSI reset escape code in every line if the transparent flag is set to true.
  • Add default AnsiTextTheme for cell values (#130)

    • Provide different AnsiTextTheme for headers, footers and all other cells.

v0.0.7-prerelease #

  • Refactor extensions (#67)
  • Migrate to Tachyon (#71)
  • Enable Dart 3 (#88)
    • Bump minimum Dart SDK to 3.0.0
    • Bump lints to 2.1.1
    • AnsiTreeView: Add support for records
    • Update GitHub workflows
  • AnsiTreeView: Add alignment for tree node value (#105)
  • Create new Widget AnsiOutlinedText (#106)
  • AnsiOutlinedText: Add text wrap options (#115)
  • AnsiTreeView: Add wrap options (#117)

v0.0.6-prerelease #

Bug fixes #

  • AnsiTable uses external color if no border color is set (#93)
  • Wrapped lines in AnsiTreeView lose their styling (#98)

Misc #

  • Add missing tests (#94)
  • Add more documentation on public API elements (#97)
  • Update examples & README.md (#102)

v0.0.5-prerelease #

AnsiTreeView enhancements & bug fixes #

  • Refactor AnsiTreeViewTheme (#75)
    • Rename TreeAnchorTheme to AnsiTreeAnchorTheme
    • Rename TreeClassTheme to AnsiTreeClassTheme
    • Rename TreeNodeTheme to AnsiTreeNodeTheme
    • Replace AnsiTreeAnchorTheme's BoxDrawingSet property with AnsiBorderStyle
  • AnsiTreeView - fix border & anchor issues (#77)
  • Add copyWith on AnsiTreeViewTheme (#79)
  • AnsiTreeView - fix class header border replacement (#83)
  • Update AnsiTreeView examples on README.md (#85)
  • AnsiTreeView: Handle new lines & long text (#90)

Misc #

  • Export drawing enums (#72)
  • AnsiBorder - Set 'none' as default type and 'square' as default style (#81)
  • Detect terminal size (#87)

v0.0.4-prerelease #

New features #

  • Introduced a new widget, AnsiTreeView (#58, #63)

    Read more here

Bug fixes #

  • Fix AnsiTable with only one cell (#59)
  • Export class AnsiTableRow (#62)

Misc #

  • AnsiTable - Set default AnsiBorderType to all (#68)
  • Update CONTRIBUTING.md

v0.0.3-prerelease #

Bug fixes #

  • AnsiTable: Fix cell width calculation for styled/colored text (#50)

Dependencies #

  • Bump test from 1.24.2 to 1.24.3 (#46)

v0.0.2-prerelease #

AnsiX #

  • ensureSupportsAnsi throws exception on Mac/VSCode (#12)
  • Export missing classes (#13, #20)

Extensions #

  • Refactor coloredRgb extension (#35)

Widgets #

  • Support AnsiText headers in AnsiTable.fromMap (#14)
  • Add a space separator between columns in tables with no inside vertical border (#16)
  • Refactor AnsiText properties (#24)
  • Remove markdown border style (#32)

Documentation #

  • Update README.md (#15, #17)
  • Add badges in CONTRIBUTING.md (#28)
  • Add FAQ.md (#37)

Testing #

  • Add missing tests (#39)

v0.0.1-prerelease #

  • Initial beta release
12
likes
140
pub points
70%
popularity
screenshot

Publisher

verified publishernikosportolos.com

AnsiX is a powerful and easy-to-use library that provides tools and extensions for adding ANSI color and styling support to your Dart & Flutter applications.

Repository (GitHub)
View/report issues
Contributing

Topics

#ansi #cli #console #grid #treeview

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

collection, data_class_plugin, meta, path

More

Packages that depend on ansix