# @telegraph/tokens

## 0.2.2

### Patch Changes

- [#837](https://github.com/knocklabs/telegraph/pull/837) [`b78f9b6`](https://github.com/knocklabs/telegraph/commit/b78f9b6b4e209597a56094ac565978b49b777dde) Thanks [@kylemcd](https://github.com/kylemcd)! - Publish JavaScript wrappers for token CSS variable map exports so ESM consumers can import them without JSON import attributes.

## 0.2.1

### Patch Changes

- [#830](https://github.com/knocklabs/telegraph/pull/830) [`f9c6e1c`](https://github.com/knocklabs/telegraph/commit/f9c6e1c078a1bd3d6a8e5eb0ce2dd6713ccc781e) Thanks [@kylemcd](https://github.com/kylemcd)! - fix(vite-config): emit declaration files to a consistent `dist/types` root

  Pin the TypeScript declaration root to `src` in the shared dts plugin config so
  every package emits its types to `dist/types/index.d.ts`. Previously, packages
  whose tsconfig omitted `rootDir` emitted to `dist/types/src/index.d.ts`, which
  did not match the `types` entrypoint declared in their `package.json`, so
  consumers received no type definitions (`@telegraph/compose-refs`, `helpers`,
  `input`, `modal`, `nextjs`, `tokens`).

  Pinning the declaration root also repairs degraded type emission that depended
  on the inferred root: `@telegraph/tabs` previously emitted a dangling
  `TgphElement` reference (`error TS2304: Cannot find name 'TgphElement'` for
  consumers), and `@telegraph/modal`'s `Content` prop type was widened to `any`.
  Both now emit correct, fully-resolved types.

  Also corrects the stale top-level `types` field in `@telegraph/tokens`.

## 0.2.0

### Minor Changes

- [#734](https://github.com/knocklabs/telegraph/pull/734) [`d3b6fee`](https://github.com/knocklabs/telegraph/commit/d3b6fee0e7cd308151efdc5921164d324ccaf045) Thanks [@ksorathia](https://github.com/ksorathia)! - Update shadow tokens to work in light and dark modes. Adjust modal, popover, menu, and tooltip to rely on shadow to apply border

## 0.1.4

### Patch Changes

- [#701](https://github.com/knocklabs/telegraph/pull/701) [`16e678c`](https://github.com/knocklabs/telegraph/commit/16e678c5e8bc7f13613116954bc15099a8694bb7) Thanks [@ksorathia](https://github.com/ksorathia)! - Add surface-3 background color for interactive outlined variants.

## 0.1.3

### Patch Changes

- [#653](https://github.com/knocklabs/telegraph/pull/653) [`d6c6aa9`](https://github.com/knocklabs/telegraph/commit/d6c6aa9cb0e11ba96df7d7efd479c8e4652fc029) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore(deps): bump react and @types/react

## 0.1.2

### Patch Changes

- [#587](https://github.com/knocklabs/telegraph/pull/587) [`0474256`](https://github.com/knocklabs/telegraph/commit/047425631c37101998e39896a34812da5bd4dcbb) Thanks [@kylemcd](https://github.com/kylemcd)! - fix: tokens shouldn't need explicit appearance data attribute

## 0.1.1

### Patch Changes

- [#524](https://github.com/knocklabs/telegraph/pull/524) [`fd14d50`](https://github.com/knocklabs/telegraph/commit/fd14d509c3f3f76eafc07d08c73e30db79255a2e) Thanks [@kylemcd](https://github.com/kylemcd)! - bump packages to get tokens upgrades

## 0.1.0

### Minor Changes

- [#517](https://github.com/knocklabs/telegraph/pull/517) [`bca0117`](https://github.com/knocklabs/telegraph/commit/bca011776c3b8b96e4f46a049578fcd7a167e052) Thanks [@ksorathia](https://github.com/ksorathia)! - Color palette update to match latest branding.
  Add half steps to small spaces. Adjust text size and leading.

## 0.0.22

### Patch Changes

- [#494](https://github.com/knocklabs/telegraph/pull/494) [`e769470`](https://github.com/knocklabs/telegraph/commit/e7694701fb63ebc65d9fe77d9a89c8f0bf557b67) Thanks [@kylemcd](https://github.com/kylemcd)! - update package exports to be in the correct order

## 0.0.21

### Patch Changes

- [#470](https://github.com/knocklabs/telegraph/pull/470) [`9eec71e`](https://github.com/knocklabs/telegraph/commit/9eec71e19160c4d987d959a62ed02648d1639d2e) Thanks [@connorlindsey](https://github.com/connorlindsey)! - feat: add 120 to spacing constants

## 0.0.20

### Patch Changes

- [#428](https://github.com/knocklabs/telegraph/pull/428) [`c738dff`](https://github.com/knocklabs/telegraph/commit/c738dff0c3686f72cb366d4dd001fbc467dec132) Thanks [@kylemcd](https://github.com/kylemcd)! - adds style-engine post css plugin

## 0.0.19

### Patch Changes

- [#384](https://github.com/knocklabs/telegraph/pull/384) [`552fb82`](https://github.com/knocklabs/telegraph/commit/552fb82a33203c87e58715b4a52ea0c360999636) Thanks [@dependabot](https://github.com/apps/dependabot)! - upgrade typescript dep

## 0.0.18

### Patch Changes

- [#408](https://github.com/knocklabs/telegraph/pull/408) [`916d37c`](https://github.com/knocklabs/telegraph/commit/916d37cc78433eeb70a93e041b18f951d2d25bcd) Thanks [@MikeCarbone](https://github.com/MikeCarbone)! - chore: minor upgrades to react, fixes peer dependency issues

- [#409](https://github.com/knocklabs/telegraph/pull/409) [`734b5c5`](https://github.com/knocklabs/telegraph/commit/734b5c5ee2ac0484a09f534148a4ca1cf23fb3d0) Thanks [@MikeCarbone](https://github.com/MikeCarbone)! - chore: adds React 19 as a peer dependency

## 0.0.15

### Patch Changes

- [#407](https://github.com/knocklabs/telegraph/pull/407) [`2925a69`](https://github.com/knocklabs/telegraph/commit/2925a699379f14b08fc91d2c5f84a143dfda01eb) Thanks [@MikeCarbone](https://github.com/MikeCarbone)! - chore: upgrades Vite plugins, fixes peer dependency issues

## 0.0.13

### Patch Changes

- [#142](https://github.com/knocklabs/telegraph/pull/142) [`76d97da`](https://github.com/knocklabs/telegraph/commit/76d97daac50c92ad6a1e59fcaa73c98728266297) Thanks [@connorlindsey](https://github.com/connorlindsey)! - feat: update default font family stacks

## 0.0.12

### Patch Changes

- [#127](https://github.com/knocklabs/telegraph/pull/127) [`04e1459`](https://github.com/knocklabs/telegraph/commit/04e14597ed2148354923023b3668f63387ce63c4) Thanks [@kylemcd](https://github.com/kylemcd)! - tooltip + better themeing support

## 0.0.11

### Patch Changes

- [#111](https://github.com/knocklabs/telegraph/pull/111) [`aa7b43d`](https://github.com/knocklabs/telegraph/commit/aa7b43d6a43aadab268abb2d93c67ad2c9dd981a) Thanks [@kylemcd](https://github.com/kylemcd)! - add border style to tokens and support to layout components

## 0.0.10

### Patch Changes

- [#98](https://github.com/knocklabs/telegraph/pull/98) [`1e06a4e`](https://github.com/knocklabs/telegraph/commit/1e06a4e505ec5a2d6bdebf3d6355fa9c7f8d12fa) Thanks [@kylemcd](https://github.com/kylemcd)! - updates to modal component for production use

## 0.0.9

### Patch Changes

- [#86](https://github.com/knocklabs/telegraph/pull/86) [`0944c50`](https://github.com/knocklabs/telegraph/commit/0944c50e3043ab010405db468733a78c618777d0) Thanks [@kylemcd](https://github.com/kylemcd)! - Layout component improvements + early modal version

## 0.0.8

### Patch Changes

- [`2a91a9d`](https://github.com/knocklabs/telegraph/commit/2a91a9d77798390afeccbacf9dc1ca232c391668) Thanks [@kylemcd](https://github.com/kylemcd)! - add code typography style + fix design issues

## 0.0.7

### Patch Changes

- [#76](https://github.com/knocklabs/telegraph/pull/76) [`10a480f`](https://github.com/knocklabs/telegraph/commit/10a480f1013bcdfb1805012ce503f4bb7b52e724) Thanks [@connorlindsey](https://github.com/connorlindsey)! - feat: add purple color option

## 0.0.6

### Patch Changes

- [`94c879e`](https://github.com/knocklabs/telegraph/commit/94c879ed645a7b9b1385c2232dfc0d182d20dad2) Thanks [@kylemcd](https://github.com/kylemcd)! - supporting layout and input components

## 0.0.5

### Patch Changes

- [#58](https://github.com/knocklabs/telegraph/pull/58) [`8a5298e`](https://github.com/knocklabs/telegraph/commit/8a5298e344c55dfa38553f1df09f17d90aa78951) Thanks [@kylemcd](https://github.com/kylemcd)! - telegraph component and supporting updates

## 0.0.4

### Patch Changes

- [#52](https://github.com/knocklabs/telegraph/pull/52) [`fa40877`](https://github.com/knocklabs/telegraph/commit/fa408773387bf864fb3d38f13028ba889fef60a5) Thanks [@kylemcd](https://github.com/kylemcd)! - fixes esm build issues, removes semantic tokens, deprecates the core package

## 0.0.3

### Patch Changes

- [#43](https://github.com/knocklabs/telegraph/pull/43) [`f7d46e6`](https://github.com/knocklabs/telegraph/commit/f7d46e6e916f878cadb666032229badb5f182c0f) Thanks [@kylemcd](https://github.com/kylemcd)! - fixes leading tokens, adds new surface tokens

## 0.0.2

### Patch Changes

- [#36](https://github.com/knocklabs/telegraph/pull/36) [`06bf439`](https://github.com/knocklabs/telegraph/commit/06bf439773d05154e9cc4a6523382a73330c4060) Thanks [@kylemcd](https://github.com/kylemcd)! - adds documentation via the readme file

## 0.0.1

### Patch Changes

- [#31](https://github.com/knocklabs/telegraph/pull/31) [`05bd163`](https://github.com/knocklabs/telegraph/commit/05bd1637a93ede8b3ad13c6943c5e454114fca32) Thanks [@kylemcd](https://github.com/kylemcd)! - design tokens & tailwind config generated from design tokens

- [#32](https://github.com/knocklabs/telegraph/pull/32) [`572641b`](https://github.com/knocklabs/telegraph/commit/572641b5eb828f06110a0d573dae8b43e6c33cf1) Thanks [@kylemcd](https://github.com/kylemcd)! - adds heading component to `@telegraph/typography`
