@tenphi/tasty 3.17.0 → 3.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/ai-agents.md CHANGED
@@ -10,7 +10,7 @@ Notation: ❌ wrong → ✅ correct.
10
10
 
11
11
  Color tokens (`#name`), custom properties (`$name`), `preset` names, `recipe` names, state aliases (`@mobile`) and extra units are **project-defined** in `tasty.config.ts` or a `configure({ … })` call. Look them up before writing styles. Never invent a name — reuse an existing one, or add it to the config.
12
12
 
13
- Only Tasty's built-ins exist without config: `#white`, `#black`, `#border`, `#outline`, `#current`, `#clear`, and `$gap`, `$radius`, `$border-width`, `$outline-width`, `$transition`, `$sharp-radius`, `$bold-font-weight`, `$font-sans-fallback`, `$font-mono-fallback`.
13
+ Only Tasty's built-ins exist without config: `#white`, `#black`, `#border`, `#outline`, `#current`, `#clear`, and `$gap`, `$radius`, `$border-width`, `$outline-width`, `$transition`, `$sharp-radius`, `$bold-font-weight`, `$icon-size` (only where a `preset` applies), `$font-sans-fallback`, `$font-mono-fallback`.
14
14
 
15
15
  ## 1. Where styles go
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenphi/tasty",
3
- "version": "3.17.0",
3
+ "version": "3.17.1",
4
4
  "description": "A design-system-integrated styling system and DSL for concise, state-aware UI styling",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -174,7 +174,7 @@
174
174
  "@eslint/js": "^10.0.1",
175
175
  "@size-limit/esbuild": "^14.1.0",
176
176
  "@size-limit/file": "^14.1.0",
177
- "@tenphi/eslint-plugin-tasty": "^1.8.0",
177
+ "@tenphi/eslint-plugin-tasty": "^1.15.0",
178
178
  "@testing-library/jest-dom": "^7.0.1",
179
179
  "@testing-library/react": "^16.3.3",
180
180
  "@types/node": "^24.19.1",
package/tasty.config.ts CHANGED
@@ -11,6 +11,7 @@ export default {
11
11
  '$transition',
12
12
  '$sharp-radius',
13
13
  '$bold-font-weight',
14
+ '$icon-size',
14
15
  ],
15
16
  styles: ['viewTransitionName'],
16
17
  // This repo imports its own API relatively, so the plugin's default