Skip to content

feat(tag)!: add Tag.Ai variant and unify variants under Tag namespace - #2238

Draft
soulcramer wants to merge 1 commit into
mainfrom
feat/ai-tag
Draft

feat(tag)!: add Tag.Ai variant and unify variants under Tag namespace#2238
soulcramer wants to merge 1 commit into
mainfrom
feat/ai-tag

Conversation

@soulcramer

Copy link
Copy Markdown
Collaborator
  • Add experimental Tag.Ai composable for AI-generated content, styled with ai, aiContainer, and onAiContainer colour tokens.
  • Rename TagHighlightTag.Highlight, TagHighlightBadgeTag.HighlightBadge.
  • Centralise tag tokens in TagTokens: border size, icon size, spacing, typography, padding, and TagTokens.Ai colour tokens.
  • Remove TagIntent.Basic (was DeprecationLevel.ERROR).

BREAKING CHANGE: TagHighlight renamed to Tag.Highlight; TagHighlightBadge renamed to Tag.HighlightBadge; TagIntent.Basic removed.

📋 Changes

🤔 Context

✅ Checklist

  • I have reviewed the submitted code.
  • I have tested on a phone device/emulator.

📸 Screenshots

🗒️ Other info

- Add experimental `Tag.Ai` composable for AI-generated content, styled with
  `ai`, `aiContainer`, and `onAiContainer` colour tokens.
- Rename `TagHighlight` → `Tag.Highlight`, `TagHighlightBadge` → `Tag.HighlightBadge`.
- Centralise tag tokens in `TagTokens`: border size, icon size, spacing, typography,
  padding, and `TagTokens.Ai` colour tokens.
- Remove `TagIntent.Basic` (was `DeprecationLevel.ERROR`).

BREAKING CHANGE: `TagHighlight` renamed to `Tag.Highlight`; `TagHighlightBadge`
renamed to `Tag.HighlightBadge`; `TagIntent.Basic` removed.
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🚨 UI regression detected! Checkout the paparazzi-delta artifact.
If these changes are expected, you can either:

  • manually run the gradlew cleanRecordPaparazziRelease and commit the new golden images
  • or ask @spark-ui-bot paparazzi golden images in this PR

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Job Summary for Gradle

🏭 CI :: test
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
spark-android ciUnitTest verifyPaparazziRelease 9.7.1 Build Scan not published

public val ContentSpacing: Dp = 4.dp

public val contentTypo: TextStyle
@Composable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants