dashronym 0.0.10
dashronym: ^0.0.10 copied to clipboard
Inline glossary tooltips for acronyms in Flutter text.
0.0.10 #
- Updated inline tooltip semantics to use
SemanticsService.sendAnnouncementwithView.of(context)so screen reader announcements remain polite and compatible with multi-window Flutter apps. - Bumped tooling to
flutter_lints^6.0.0 and refreshed formatting to keepdart analyzeclean on Dart 3.10 / Flutter 3.38. - Verified package health on pub.flutter-io.cn (160/160 score) and dry-run publishing on the latest stable toolchain.
- Slimmed the public API surface to focus on
DashronymText,AcronymRegistry,DashronymConfig,DashronymTheme, andDashronymLocalizations, keeping overlay widgets, parsers, and LRU caching as internallib/src/details. - Kept the
Text.dashronyms()extension as a convenient way to enhance existingTextwidgets, while implementing it in terms ofDashronymTextso both paths share the same behavior. - Renamed internal files to clearer, feature-oriented names (for example:
acronym_inline.dart,acronym_parser.dart,lru_cache.dart,dashronym_theme.dart,dashronym_localizations.dart) and updated docs/tests to match. - Split the parsing pipeline into a pure-Dart core (
DashronymParserCore+DashronymTokens) and a small Flutter adapter (DashronymParser) that builds spans and inline widgets. - Documented the internal layering and responsibilities in the codebase so domain logic and presentation concerns are clearly separated.
- Tightened README and in-code documentation to keep
DashronymTextas the primary API while keeping theText.dashronyms()extension as a convenience helper for existingTextwidgets. - Made tooltip positioning explicitly respect [TextDirection], so RTL layouts bias the tooltip horizontally from the anchor’s right edge and updated the inline goldens to match.
0.0.9 #
- Introduced a shared
TooltipConstraintsResolverso every tooltip (stock or custom) respects viewport gutters plus new orientation caps: 360 px portrait, 600 px landscape. - Wrapped inline tooltips with the resolver, ensuring custom builders inherit the same clamp logic while overlays keep the existing follower nudge/scroll dismissal behaviour.
- Expanded unit and widget coverage (100 % lines) with constraint, positioner, orientation-change, and scroll-dismiss tests; refreshed all inline goldens.
- Replaced the published screenshots with the latest portrait/landscape captures and updated README guidance to highlight the new sizing rules.
0.0.8 #
- Fixed pubspec screenshot metadata quoting for pub.flutter-io.cn
0.0.7 #
- Added annotated screenshots and an animated tooltip walkthrough to the package metadata so pub.flutter-io.cn showcases behavior.
- Expanded pub.flutter-io.cn topics with acronym and accessibility tags to improve discoverability.
- Documented localization constructors to maintain full dartdoc coverage for pub scoring.
- Updated README installation instructions to reference version 0.0.7.
0.0.6 #
- Clamp inline tooltip overlays so they stay within the visible viewport on mobile, desktop, and when the window resizes.
- Made tooltip positioning responsive to safe areas, keyboard insets, and RTL layouts, and prevented teardown setState calls.
- Added regression test coverage for the viewport-clamping behavior.
0.0.5 #
- Expanded dartdoc coverage across public APIs, including constructors and library documentation.
- Clarified usage examples for
DashronymText,Text.dashronyms, and configuration helpers. - Ran
dart formaton source and tests to keep style aligned with Flutter guidelines.
0.0.4 #
- Added configurable hover hide delay and tooltip fade duration to
DashronymTheme. - Introduced animated tooltip dismissal with fade transitions and deferred hover hide timers.
- Improved focus handling to auto-show tooltips and prevent lingering overlays when unmounted.
- Excluded tests from static analysis to speed up local iteration and updated theme tests for new fields.
0.0.3 #
- Refactored inline tooltip widgets for richer semantics and accessibility.
- Added localizations, theme customization options, and comprehensive tests.
- Expanded the example app with advanced customization and localization demos.
0.0.2 #
- Applied
dart format .and refreshed documentation to align with pub.flutter-io.cn publishing guidelines.
0.0.1 #
- Initial release with
Text.dashronyms()extension,DashronymTextwidget, and configurable registry/theme support.
