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
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Composium is an Android Jetpack Compose library for building an in-app UI catalo

One of the core ideas of the library is that it gives you a ready-to-embed `ComposiumScreen()` composable. You can place this screen anywhere in your app: in a debug-only route, a separate activity, an internal tools section, or any custom navigation graph. `ComposiumScreen()` will render the scenes that you described in your project and turn them into a browsable interactive catalog.

Version: `1.3.0-alpha04` (pre-release)
Version: `1.3.0` (stable)

Artifacts:
- `io.github.oleginvoke:composium:1.3.0-alpha04`
- `io.github.oleginvoke:composium-processor:1.3.0-alpha04`
- `io.github.oleginvoke:composium:1.3.0`
- `io.github.oleginvoke:composium-processor:1.3.0`

It is useful for:
- design systems and component libraries;
Expand Down Expand Up @@ -101,8 +101,8 @@ plugins {
}

dependencies {
implementation("io.github.oleginvoke:composium:1.3.0-alpha04")
ksp("io.github.oleginvoke:composium-processor:1.3.0-alpha04")
implementation("io.github.oleginvoke:composium:1.3.0")
ksp("io.github.oleginvoke:composium-processor:1.3.0")
}
```

Expand All @@ -116,7 +116,7 @@ Automatic discovery collects scenes declared in that showcase module; it does no

```kotlin
dependencies {
implementation("io.github.oleginvoke:composium:1.3.0-alpha04")
implementation("io.github.oleginvoke:composium:1.3.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ org.gradle.caching=true

# Publishing (used by com.vanniktech.maven.publish)
GROUP=io.github.oleginvoke
VERSION_NAME=1.3.0-alpha04
VERSION_NAME=1.3.0

# Maven Central release credentials must not be committed.
# Provide them via ~/.gradle/gradle.properties or ORG_GRADLE_PROJECT_* env vars:
Expand Down
3 changes: 2 additions & 1 deletion website/scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const base = '/composium/';
const repository = 'https://github.com/oleginvoke/composium';
const source = await readFile(resolve(root, 'README.md'), 'utf8');
const version = getVersion(source);
const releaseLabel = version.split('+', 1)[0].includes('-') ? 'Pre-release' : 'Stable release';
const sections = splitReadme(source);
const assigned = pages.flatMap(page => page.sections);
if (assigned.length !== new Set(assigned).size || assigned.length !== sections.size || assigned.some(section => !sections.has(section))) {
Expand Down Expand Up @@ -112,7 +113,7 @@ const home = `<main id="main">
<section class="hero wrap"><div class="hero-copy"><p class="eyebrow"><span class="status-dot"></span> STORYBOOK FOR ANDROID JETPACK COMPOSE</p>
<h1>Your Compose UI.<br><em>Ready to explore.</em></h1><p class="hero-description">Turn your components into an interactive, in-app catalog. Explore real UI states, tweak parameters, and give your design system a place to live.</p>
<div class="hero-actions"><a class="button button-primary" href="${link('docs/getting-started/')}">Get started <span aria-hidden="true">→</span></a><a class="button button-text" href="${repository}">View on GitHub ${arrow}</a></div>
<p class="release"><span>v${version}</span> <span class="release-label">Pre-release</span><span class="release-separator">/</span> Available on Maven Central</p>
<p class="release"><span>v${version}</span> <span class="release-label">${releaseLabel}</span><span class="release-separator">/</span> Available on Maven Central</p>
<div class="hero-note"><span class="mono">ComposiumScreen()</span><p>One composable. Anywhere in your app.</p></div></div>
<figure class="demo"><div class="demo-top"><span><span class="status-dot"></span> THE REAL THING</span><span>Android sample</span></div><div class="demo-stage"><div class="demo-label"><span>YOUR COMPONENTS</span><strong>A living<br>UI catalog.</strong><span class="demo-marker" aria-hidden="true">↘</span></div><div class="phone"><img id="demo-image" src="${link('assets/demo-poster.png')}" data-animation="${link('assets/composium-demo.gif')}" data-poster="${link('assets/demo-poster.png')}" alt="Composium Android catalog with nested scene groups, thumbnails, and a sample button" width="480" height="1004" fetchpriority="high"></div></div><figcaption><span>Browse scenes. Change values. See what happens.</span><button type="button" class="demo-toggle" aria-pressed="false"><span aria-hidden="true">▶</span> Play demo</button></figcaption></figure></section>
<div class="trust-strip wrap"><span>Native Jetpack Compose</span><span>KSP discovery · optional</span><span>Android minSdk 24</span><span>Apache 2.0 · open source</span></div>
Expand Down
Loading