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
5 changes: 0 additions & 5 deletions .changeset/ink-switch-size-scale.md

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:
scope: "@inkcre"
- run: pnpm install --frozen-lockfile
- run: pnpm check
# A GitHub App token (not the default GITHUB_TOKEN) creates the release PR:
# events produced by GITHUB_TOKEN never trigger new workflow runs, so the
# release PR would have no CI and could not satisfy the branch ruleset.
- uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.1
id: release-app-token
with:
app-id: ${{ secrets.INKCRE_RELEASE_APP_ID }}
private-key: ${{ secrets.INKCRE_RELEASE_APP_PRIVATE_KEY }}
owner: InKCre
repositories: ui
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
Expand All @@ -38,6 +48,8 @@ jobs:
publish: pnpm run release
commit: "chore: version packages"
title: "chore: version packages"
# The action reads this input (not the GITHUB_TOKEN env) for PR creation.
github-token: ${{ steps.release-app-token.outputs.token }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @inkcre/ui-web

## 2.5.0

### Minor Changes

- 207bec8: Remap the InkSwitch size scale so `md` matches the previous `sm` dimensions (80x24), `lg` matches the previous `md` (100x36), and `sm` gets smaller (64x24). The base/xs tier shrinks to 48x20. This is a visual change for consumers relying on the old `md`/`lg` rendered sizes; the `md` default was oversized relative to the label font and surrounding form controls.

## 2.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inkcre/ui-web",
"version": "2.4.0",
"version": "2.5.0",
"description": "Design System for InKCre Web Projects",
"keywords": [
"design-system",
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Auto-generated by build-package-metadata.ts - DO NOT EDIT
export const version = "2.4.0";
export const version = "2.5.0";
Loading