diff --git a/.changeset/navigate-re-export.md b/.changeset/navigate-re-export.md deleted file mode 100644 index e3389f20..00000000 --- a/.changeset/navigate-re-export.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@tailor-platform/app-shell": minor ---- - -Re-export react-router's `Navigate`, so apps no longer need `react-router` as a direct dependency for declarative redirects. - -```tsx -import { Navigate } from "@tailor-platform/app-shell"; - -if (!allowed) return ; -``` - -See [Declarative Redirects](https://github.com/tailor-platform/app-shell/blob/main/docs/concepts/routing-navigation.md#declarative-redirects) for when to prefer the route-level `redirectTo()` guard instead. diff --git a/.changeset/olive-donkeys-shake.md b/.changeset/olive-donkeys-shake.md deleted file mode 100644 index 76a18279..00000000 --- a/.changeset/olive-donkeys-shake.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@tailor-platform/app-shell": minor ---- - -Bridge `--alert-*` tokens into Tailwind's theme as `--color-alert-*` - -The `--alert-*` design tokens (`neutral` / `success` / `warning` / `error` / `info` × `background` / `foreground` / `foreground-muted` / `border`) are now exposed through `@theme inline`, matching how `--status-*` is already bridged. - -Application code can now use ordinary color utilities for callouts, banners, and status-highlighted rows: - -```tsx -// Before — arbitrary values, no autocomplete, silent failure on a typo -
- -// After -
-``` - -This is purely additive — existing arbitrary-value usage keeps working, and the generated CSS is unchanged. diff --git a/.changeset/wild-moons-repeat.md b/.changeset/wild-moons-repeat.md deleted file mode 100644 index 51327fcc..00000000 --- a/.changeset/wild-moons-repeat.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@tailor-platform/app-shell": patch ---- - -Fix the bundled `app-shell-patterns` skill, whose `design-system.md` documented a token system that does not exist in the package. Agents read it as canonical and emitted classes like `bg-surface-1`, `text-fg-default`, and `bg-danger`, which produce no CSS at all — a silent failure with no error or warning. - -Tokens, dark mode (`.dark` on ``), elevation, z-index, and the `styles` import now match the shipped CSS, and the fabricated spacing, typography, motion, and icon scales are gone in favour of stock Tailwind. Also drops references to `Icon` and `Stat`, which aren't exported, and to a `Sheet` `contentClassName` prop that doesn't exist. - -Documentation only — no runtime or CSS changes. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index fe9adc19..a326c22d 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,43 @@ # @tailor-platform/app-shell +## 1.12.0 + +### Minor Changes + +- b5289fc: Re-export react-router's `Navigate`, so apps no longer need `react-router` as a direct dependency for declarative redirects. + + ```tsx + import { Navigate } from "@tailor-platform/app-shell"; + + if (!allowed) return ; + ``` + + See [Declarative Redirects](https://github.com/tailor-platform/app-shell/blob/main/docs/concepts/routing-navigation.md#declarative-redirects) for when to prefer the route-level `redirectTo()` guard instead. + +- fa587b2: Bridge `--alert-*` tokens into Tailwind's theme as `--color-alert-*` + + The `--alert-*` design tokens (`neutral` / `success` / `warning` / `error` / `info` × `background` / `foreground` / `foreground-muted` / `border`) are now exposed through `@theme inline`, matching how `--status-*` is already bridged. + + Application code can now use ordinary color utilities for callouts, banners, and status-highlighted rows: + + ```tsx + // Before — arbitrary values, no autocomplete, silent failure on a typo +
+ + // After +
+ ``` + + This is purely additive — existing arbitrary-value usage keeps working, and the generated CSS is unchanged. + +### Patch Changes + +- 45218cc: Fix the bundled `app-shell-patterns` skill, whose `design-system.md` documented a token system that does not exist in the package. Agents read it as canonical and emitted classes like `bg-surface-1`, `text-fg-default`, and `bg-danger`, which produce no CSS at all — a silent failure with no error or warning. + + Tokens, dark mode (`.dark` on ``), elevation, z-index, and the `styles` import now match the shipped CSS, and the fabricated spacing, typography, motion, and icon scales are gone in favour of stock Tailwind. Also drops references to `Icon` and `Stat`, which aren't exported, and to a `Sheet` `contentClassName` prop that doesn't exist. + + Documentation only — no runtime or CSS changes. + ## 1.11.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 85cf7720..e270a212 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tailor-platform/app-shell", - "version": "1.11.0", + "version": "1.12.0", "description": "An opinionated React application framework for building ERP applications on Tailor Platform", "keywords": [ "app-shell",