Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# publishes packages/flow_ui to pub.dev and deploys the docs site (playground
# included) to Cloudflare Pages. Publishing is OIDC: pub.dev → flow_ui → Admin
# → Automated publishing must list StacDev/flow_ui with the tag pattern
# → Automated publishing must list StacDev/flow with the tag pattern
# `flow_ui-v{{version}}`. A future package gets its own tag glob below, a
# `case` line in `meta`, and its own pub.dev tag pattern.
#
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flow_ui docs

The documentation site for [flow_ui](https://github.com/StacDev/flow_ui),
The documentation site for [flow_ui](https://github.com/StacDev/flow),
built with [Astro Starlight](https://starlight.astro.build).

```bash
Expand Down
4 changes: 2 additions & 2 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default defineConfig({
{
icon: 'github',
label: 'GitHub',
href: 'https://github.com/StacDev/flow_ui',
href: 'https://github.com/StacDev/flow',
},
{
icon: 'x.com',
Expand All @@ -132,7 +132,7 @@ export default defineConfig({
},
],
editLink: {
baseUrl: 'https://github.com/StacDev/flow_ui/edit/main/docs/',
baseUrl: 'https://github.com/StacDev/flow/edit/main/docs/',
},
sidebar: [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/components/attachments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ a pending strip keeps every original in memory until it is sent or
removed. That was already true of the thumbnail's `MemoryImage` — the
field hands you the same list rather than a second copy.

The [example app](https://github.com/StacDev/flow_ui/tree/main/example)
The [example app](https://github.com/StacDev/flow/tree/main/packages/flow_ui/example)
does exactly this against Gemini.

## Key API
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ import logo from '../../assets/flow-ui-logo.svg';
<span class="site-footer__tagline">Flutter UI library for AI Chat Interfaces</span>
</div>
<div class="site-footer__social">
<a href="https://github.com/StacDev/flow_ui" target="_blank" rel="noopener">
<a href="https://github.com/StacDev/flow" target="_blank" rel="noopener">
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" /></svg>
GitHub
</a>
Expand Down
6 changes: 3 additions & 3 deletions packages/flow_ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<p align="center">
<a href="https://pub.dev/packages/flow_ui"><img src="https://img.shields.io/pub/v/flow_ui.svg" alt="pub package"></a>
<a href="https://pub.dev/packages/flow_ui/score"><img src="https://img.shields.io/pub/points/flow_ui" alt="pub points"></a>
<a href="https://github.com/StacDev/flow_ui"><img src="https://img.shields.io/github/stars/StacDev/flow_ui?style=flat&logo=github&color=8250df" alt="github stars"></a>
<a href="https://github.com/StacDev/flow_ui/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license: MIT"></a>
<a href="https://github.com/StacDev/flow"><img src="https://img.shields.io/github/stars/StacDev/flow?style=flat&logo=github&color=8250df" alt="github stars"></a>
<a href="https://github.com/StacDev/flow/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license: MIT"></a>
</p>

<p align="center">
Expand Down Expand Up @@ -297,7 +297,7 @@ Full documentation lives at [flowui.stac.dev](https://flowui.stac.dev/), and
every component has a stage in the
[live playground](https://flowui.stac.dev/playground) — variant pills and
code snippets included. The playground is also
[in the repo](https://github.com/StacDev/flow_ui/tree/main/playground) to run
[in the repo](https://github.com/StacDev/flow/tree/main/playground) to run
locally:

```bash
Expand Down
2 changes: 1 addition & 1 deletion packages/flow_ui/example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ error card explaining what's missing.

For a live tour of every component — with variants and code snippets — open
the hosted [playground](https://flowui.stac.dev/playground), or run it from
[the repo](https://github.com/StacDev/flow_ui/tree/main/playground):
[the repo](https://github.com/StacDev/flow/tree/main/playground):

```bash
cd playground && flutter run -d chrome # from the repo root
Expand Down
4 changes: 2 additions & 2 deletions packages/flow_ui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: flow_ui
description: Flow UI is an open-source Flutter UI library to build production-grade Chat & AI assistant interfaces.
version: 0.4.0
homepage: https://flowui.stac.dev/
repository: https://github.com/StacDev/flow_ui/tree/main/packages/flow_ui
issue_tracker: https://github.com/StacDev/flow_ui/issues
repository: https://github.com/StacDev/flow/tree/main/packages/flow_ui
issue_tracker: https://github.com/StacDev/flow/issues
documentation: https://flowui.stac.dev/
topics:
- ai
Expand Down
6 changes: 3 additions & 3 deletions packages/stacflow/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://raw.githubusercontent.com/StacDev/flow_ui/main/packages/flow_ui/assets/flow_ui_logo.svg" width="76" alt="Flow UI logo">
<img src="https://raw.githubusercontent.com/StacDev/flow/main/packages/flow_ui/assets/flow_ui_logo.svg" width="76" alt="Flow UI logo">
</p>

<h1 align="center">stacflow</h1>
Expand Down Expand Up @@ -85,7 +85,7 @@ so every widget it exports is available too.

## Example

[`example/`](https://github.com/StacDev/flow_ui/tree/main/packages/stacflow/example)
[`example/`](https://github.com/StacDev/flow/tree/main/packages/stacflow/example)
is this screen, runnable against Gemini:

```bash
Expand Down Expand Up @@ -198,4 +198,4 @@ written today.

## License

MIT. Part of the [flow_ui](https://github.com/StacDev/flow_ui) repository.
MIT. Part of the [flow](https://github.com/StacDev/flow) repository.
4 changes: 2 additions & 2 deletions packages/stacflow/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: stacflow
description: Streaming AI chat for Flutter on flow_ui, talking to Gemini, OpenAI or Claude with your own API key.
version: 0.1.0
homepage: https://flowui.stac.dev/
repository: https://github.com/StacDev/flow_ui/tree/main/packages/stacflow
issue_tracker: https://github.com/StacDev/flow_ui/issues
repository: https://github.com/StacDev/flow/tree/main/packages/stacflow
issue_tracker: https://github.com/StacDev/flow/issues

environment:
sdk: ^3.13.0
Expand Down
4 changes: 2 additions & 2 deletions playground/lib/src/demos/markdown_demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ Alignment comes from the delimiter row — left, right, left. Cells carry inline
''';

const String _links = '''
Links report **intent**: try [the docs](https://flowui.stac.dev), the [GitHub repo](https://github.com/StacDev/flow_ui), or the autolink <https://stac.dev> — the package styles the label, hands the host the href, and launches nothing itself.
Links report **intent**: try [the docs](https://flowui.stac.dev), the [GitHub repo](https://github.com/StacDev/flow), or the autolink <https://stac.dev> — the package styles the label, hands the host the href, and launches nothing itself.

Bare URLs autolink with GFM's trimming: https://stac.dev/docs, the parenthesized https://en.wikipedia.org/wiki/Dart_(programming_language), and www.example.com; a trailing period stays prose: https://flutter.dev.

Without an `onLinkTap`, links render as plain prose — never a styled-but-dead affordance:
''';

const String _linksPlain = '''
The same [docs](https://flowui.stac.dev) link and the same [repo](https://github.com/StacDev/flow_ui) link, with no handler wired.
The same [docs](https://flowui.stac.dev) link and the same [repo](https://github.com/StacDev/flow) link, with no handler wired.
''';

/// Stage demo for `FlowMarkdown` — the typeset document, the streaming
Expand Down
Loading