@tenphi/tasty 0.0.0-snapshot.da430e1 → 0.0.0-snapshot.db2ef70

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.
Files changed (130) hide show
  1. package/README.md +408 -385
  2. package/dist/babel-types-Dc5zghyE.d.ts +18 -0
  3. package/dist/chunks/async-storage-f9j9JRtq.js +37 -0
  4. package/dist/chunks/async-storage-f9j9JRtq.js.map +1 -0
  5. package/dist/chunks/build-config-D9Iq8QQm.js +60 -0
  6. package/dist/chunks/build-config-D9Iq8QQm.js.map +1 -0
  7. package/dist/{collector-BevHh16N.js → chunks/collector-Cb8ah2JF.js} +10 -127
  8. package/dist/chunks/collector-Cb8ah2JF.js.map +1 -0
  9. package/dist/chunks/config-engine-CMYFZYQh.js +272 -0
  10. package/dist/chunks/config-engine-CMYFZYQh.js.map +1 -0
  11. package/dist/chunks/config-file-DlZXJMj8.js +25 -0
  12. package/dist/chunks/config-file-DlZXJMj8.js.map +1 -0
  13. package/dist/chunks/css-definitions-B4aWBkH3.js +910 -0
  14. package/dist/chunks/css-definitions-B4aWBkH3.js.map +1 -0
  15. package/dist/chunks/css-resources-P7IBUUZs.js +142 -0
  16. package/dist/chunks/css-resources-P7IBUUZs.js.map +1 -0
  17. package/dist/chunks/debug-D2Pu7Xhy.js +502 -0
  18. package/dist/chunks/debug-D2Pu7Xhy.js.map +1 -0
  19. package/dist/chunks/dsl-CsFl9LGn.js +1458 -0
  20. package/dist/chunks/dsl-CsFl9LGn.js.map +1 -0
  21. package/dist/chunks/hydration-TRcz5vnk.js +41 -0
  22. package/dist/chunks/hydration-TRcz5vnk.js.map +1 -0
  23. package/dist/chunks/react-runtime-DHiopXCu.js +691 -0
  24. package/dist/chunks/react-runtime-DHiopXCu.js.map +1 -0
  25. package/dist/chunks/runtime-engine-NGCofNXy.js +2435 -0
  26. package/dist/chunks/runtime-engine-NGCofNXy.js.map +1 -0
  27. package/dist/chunks/runtime-state-lZjMbvwV.js +152 -0
  28. package/dist/chunks/runtime-state-lZjMbvwV.js.map +1 -0
  29. package/dist/{merge-styles-BKfagXfV.js → chunks/shared-utils-y-HjvPN4.js} +60 -55
  30. package/dist/chunks/shared-utils-y-HjvPN4.js.map +1 -0
  31. package/dist/chunks/style-engine-DnkV_4Jg.js +5602 -0
  32. package/dist/chunks/style-engine-DnkV_4Jg.js.map +1 -0
  33. package/dist/{css-writer-BDPmetHV.js → chunks/zero-engine-DcwaCvFs.js} +65 -145
  34. package/dist/chunks/zero-engine-DcwaCvFs.js.map +1 -0
  35. package/dist/{collector-CLVr5_p3.d.ts → collector-D2OT6I2G.d.ts} +6 -5
  36. package/dist/{config-YsxGv4tq.d.ts → config-C4ftFxgI.d.ts} +181 -77
  37. package/dist/core/index.d.ts +5 -5
  38. package/dist/core/index.js +9 -6
  39. package/dist/hydrate-CRyjjAyl.d.ts +22 -0
  40. package/dist/{index-CBK778ne.d.ts → index-DxQNRj50.d.ts} +308 -255
  41. package/dist/index.d.ts +5 -5
  42. package/dist/index.js +11 -922
  43. package/dist/{merge-styles-CU7JbEwg.d.ts → merge-styles-D39qBtox.d.ts} +2 -3
  44. package/dist/ssr/astro-client.d.ts +1 -1
  45. package/dist/ssr/astro-client.js +1 -14
  46. package/dist/ssr/astro-client.js.map +1 -1
  47. package/dist/ssr/astro-middleware-extract-static.d.ts +1 -2
  48. package/dist/ssr/astro-middleware-extract-static.js +1 -1
  49. package/dist/ssr/astro-middleware-extract.d.ts +1 -2
  50. package/dist/ssr/astro-middleware-extract.js +1 -1
  51. package/dist/ssr/astro-middleware-static.d.ts +1 -2
  52. package/dist/ssr/astro-middleware-static.js +1 -12
  53. package/dist/ssr/astro-middleware-static.js.map +1 -1
  54. package/dist/ssr/astro-middleware.d.ts +1 -2
  55. package/dist/ssr/astro-middleware.js +1 -13
  56. package/dist/ssr/astro-middleware.js.map +1 -1
  57. package/dist/ssr/astro.d.ts +17 -17
  58. package/dist/ssr/astro.js +220 -1
  59. package/dist/ssr/astro.js.map +1 -0
  60. package/dist/ssr/client.d.ts +2 -0
  61. package/dist/ssr/client.js +2 -0
  62. package/dist/ssr/index.d.ts +5 -25
  63. package/dist/ssr/index.js +5 -5
  64. package/dist/ssr/index.js.map +1 -1
  65. package/dist/ssr/next-config.d.ts +64 -0
  66. package/dist/ssr/next-config.js +123 -0
  67. package/dist/ssr/next-config.js.map +1 -0
  68. package/dist/ssr/next.d.ts +9 -8
  69. package/dist/ssr/next.js +29 -43
  70. package/dist/ssr/next.js.map +1 -1
  71. package/dist/static/index.d.ts +8 -9
  72. package/dist/static/index.js +4 -22
  73. package/dist/static/index.js.map +1 -1
  74. package/dist/static/inject.d.ts +1 -2
  75. package/dist/{index-Cd45t5NM.d.ts → types-CYQIhUg1.d.ts} +868 -820
  76. package/dist/zero/babel.d.ts +73 -2
  77. package/dist/zero/babel.js +81 -144
  78. package/dist/zero/babel.js.map +1 -1
  79. package/dist/zero/index.d.ts +63 -8
  80. package/dist/zero/index.js +25 -2
  81. package/dist/zero/index.js.map +1 -0
  82. package/dist/zero/next.d.ts +4 -5
  83. package/dist/zero/next.js +3 -38
  84. package/dist/zero/next.js.map +1 -1
  85. package/docs/README.md +4 -1
  86. package/docs/adoption.md +25 -17
  87. package/docs/ai-agents.md +68 -33
  88. package/docs/comparison.md +9 -8
  89. package/docs/configuration.md +204 -70
  90. package/docs/debug.md +21 -8
  91. package/docs/design-system.md +117 -15
  92. package/docs/dsl.md +307 -117
  93. package/docs/getting-started.md +81 -22
  94. package/docs/injector.md +105 -67
  95. package/docs/methodology.md +48 -23
  96. package/docs/migration-v3.md +3 -3
  97. package/docs/pipeline.md +54 -27
  98. package/docs/plugins.md +22 -42
  99. package/docs/react-api.md +76 -11
  100. package/docs/runtime-benchmarks.md +282 -110
  101. package/docs/ssr.md +226 -80
  102. package/docs/styles.md +169 -33
  103. package/docs/tasty-static.md +176 -58
  104. package/package.json +108 -44
  105. package/tasty.config.ts +1 -0
  106. package/dist/astro-C_by9qPq.js +0 -307
  107. package/dist/astro-C_by9qPq.js.map +0 -1
  108. package/dist/async-storage-DKK-wTD4.js +0 -44
  109. package/dist/async-storage-DKK-wTD4.js.map +0 -1
  110. package/dist/babel-BUQGeOXA.d.ts +0 -83
  111. package/dist/collector-BevHh16N.js.map +0 -1
  112. package/dist/config-NcdqU9PC.js +0 -12269
  113. package/dist/config-NcdqU9PC.js.map +0 -1
  114. package/dist/context-CA8YKeMn.js +0 -24
  115. package/dist/context-CA8YKeMn.js.map +0 -1
  116. package/dist/core-D7s7u-k1.js +0 -1566
  117. package/dist/core-D7s7u-k1.js.map +0 -1
  118. package/dist/css-writer-BDPmetHV.js.map +0 -1
  119. package/dist/format-global-rules-DklyaXv-.js +0 -22
  120. package/dist/format-global-rules-DklyaXv-.js.map +0 -1
  121. package/dist/format-rules-BQCn7JZH.js +0 -130
  122. package/dist/format-rules-BQCn7JZH.js.map +0 -1
  123. package/dist/hydrate-C3cfqlaQ.js +0 -37
  124. package/dist/hydrate-C3cfqlaQ.js.map +0 -1
  125. package/dist/index.js.map +0 -1
  126. package/dist/keyframes-ByhOtsXB.js +0 -493
  127. package/dist/keyframes-ByhOtsXB.js.map +0 -1
  128. package/dist/merge-styles-BKfagXfV.js.map +0 -1
  129. package/dist/resolve-recipes-vvygrWLw.js +0 -144
  130. package/dist/resolve-recipes-vvygrWLw.js.map +0 -1
package/docs/react-api.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use `tasty()` to turn state-aware style definitions into normal React components, extend existing Tasty components, and expose typed styling APIs to consumers.
4
4
 
5
- All Tasty style functions — `tasty()` components, `useStyles()`, `useGlobalStyles()`, `useRawCSS()`, `useKeyframes()`, `useProperty()`, `useFontFace()`, `useCounterStyle()`, and `useFunction()` — are hook-free and compatible with React Server Components. No `'use client'` directive is needed. For state maps, tokens, units, and extension semantics, see [Style DSL](dsl.md). For global configuration, see [Configuration](configuration.md). For the broader docs map, see the [Docs Hub](README.md).
5
+ Every Tasty style function — `tasty()` components, `computeStyles()`, `useStyles()`, `useGlobalStyles()`, `useRawCSS()`, `useKeyframes()`, `useProperty()`, `useFontFace()`, `useCounterStyle()`, and `useFunction()` — works in React Server Components with no `'use client'` directive. All of them except `useStyles()` are hook-free. `useStyles()` reads the `TastyRegistry` collector from React context on the client, so it is a real hook there; outside React, call `computeStyles()` instead. For state maps, tokens, units, and extension semantics, see [Style DSL](dsl.md). For global configuration, see [Configuration](configuration.md). For the broader docs map, see the [Docs Hub](README.md).
6
6
 
7
7
  > **Note:** This file was previously named `runtime.md`. All functionality documented here works in both server and client contexts — "runtime" referred to style computation during React rendering, not to client-side JavaScript.
8
8
 
@@ -44,6 +44,30 @@ const PrimaryButton = tasty(Button, {
44
44
 
45
45
  Style maps merge intelligently — see [Style DSL — Extending vs. Replacing State Maps](dsl.md#extending-vs-replacing-state-maps) for extend mode, replace mode, `@inherit`, `null`, and `false` tombstones.
46
46
 
47
+ The extension form takes the same component options as `tasty({ … })`:
48
+
49
+ ```jsx
50
+ const ActionCard = tasty(Card, {
51
+ styles: { fill: { '': '#surface', isRaised: '#surface-raised' } },
52
+ styleProps: ['gap'] as const, // gap="2x" becomes a style
53
+ modProps: ['isRaised'] as const, // isRaised becomes a mod (data-is-raised)
54
+ tokenProps: ['accentColor'] as const, // accentColor sets the #accent token
55
+ variants: {
56
+ plain: { border: 0 },
57
+ framed: { border: '2bw #accent' },
58
+ },
59
+ variant: 'framed', // applied when no variant prop is passed
60
+ elements: { Footer: 'footer' },
61
+ });
62
+
63
+ <ActionCard gap="2x" isRaised accentColor="#purple">
64
+ <ActionCard.Title>Kept from Card</ActionCard.Title>
65
+ <ActionCard.Footer>Added here</ActionCard.Footer>
66
+ </ActionCard>;
67
+ ```
68
+
69
+ The extension turns its own `styleProps`, `modProps`, and `tokenProps` into the `styles`, `mods`, and `tokens` it passes to the base, which renders them as usual: mods as `data-*` attributes, tokens as inline custom properties. Its `variants` merge over its `styles`, and the `variant` prop is still forwarded, so it selects the base's own variants too and accepts either set's names. Both sets share that one prop, so a name only one of them defines leaves the other at its fallback: if `Card` had an `accent` variant, `variant="accent"` would apply it together with `framed`, and `variant="plain"` would leave `Card` on its default. For two independent choices, give one of them its own prop, such as a `modProps` value list. `elements` adds sub-components, and the base's are kept: `ActionCard.Title` is `Card.Title`. The returned component is typed with all of these props and sub-components.
70
+
47
71
  `tasty(Component, ...)` always wraps `Component` and forwards every prop to it, so `Component` must be Tasty-aware (i.e. it accepts `styles`, `mods`, `qa`, etc. and renders them through its own Tasty pipeline). To apply styles to a third-party component or a string DOM tag via `className`, use the options-only form with `as`:
48
72
 
49
73
  ```jsx
@@ -68,7 +92,9 @@ const Span = tasty({
68
92
  </Link>;
69
93
  ```
70
94
 
71
- The wrapped component only needs to forward `className` (and ideally `style`/`ref`). Tasty-specific props (`qa`, `qaVal`, `mods`, `tokens`, `styleProps`, `modProps`, `tokenProps`) are consumed by Tasty and never leak to the DOM.
95
+ The wrapped component only needs to forward `className` (and ideally `style`/`ref`). Tasty's own props (`styles`, `mods`, `tokens`, `qa`, `qaVal`, `theme`, `element`, the `is*` props) and the props you declared with `styleProps`, `modProps`, or `tokenProps` are consumed by Tasty; mods, `qa`, `qaVal`, `theme`, and `element` reach the DOM only as `data-*` attributes.
96
+
97
+ Props forwarded to the `as` component keep their declared types and requiredness. For example, a component with `position: 'top-right' | 'bottom-left'` accepts those values through `tasty({ as: Component })`; CSS positioning can still be set through `styles.position`. A prop explicitly listed in `styleProps` is consumed as a style value instead. The always-available base style props below are also consumed by Tasty, so keep component-specific prop names separate from those reserved names.
72
98
 
73
99
  ---
74
100
 
@@ -110,12 +136,12 @@ A small set of style properties — `display`, `font`, `preset`, `hide`, `whiteS
110
136
 
111
137
  ## `Element`
112
138
 
113
- `Element` is the unstyled base component exported from the main entry — equivalent to `tasty({})` (a `div` with no default styles). It accepts all Tasty props (`styles`, `styleProps`, `mods`, `tokens`, `as`, `qa`, `theme`, the `is*` props, etc.) and is useful as a generic styled box or as a building block for layout primitives.
139
+ `Element` is the unstyled base component exported from the main entry — equivalent to `tasty({})` (a `div` with no default styles). It accepts the props every Tasty component has (`as`, `styles`, `mods`, `tokens`, `qa`, `theme`, the `is*` props) plus the [always-available style props](#always-available-style-props), and is useful as a generic box or as a building block for layout primitives. Other style names, such as `padding`, are not props on it: create a component with `styleProps` for those, or pass them through `styles`.
114
140
 
115
141
  ```jsx
116
142
  import { Element } from '@tenphi/tasty';
117
143
 
118
- <Element as="section" padding="4x" fill="#surface">
144
+ <Element as="section" display="grid" preset="t2" styles={{ padding: '4x' }}>
119
145
  Content
120
146
  </Element>;
121
147
  ```
@@ -142,6 +168,7 @@ List modifier key names. Types default to `ModValue` (`boolean | string | number
142
168
 
143
169
  ```jsx
144
170
  const Button = tasty({
171
+ as: 'button',
145
172
  modProps: ['isLoading', 'isSelected'] as const,
146
173
  styles: {
147
174
  fill: { '': '#surface', isLoading: '#surface.5' },
@@ -159,6 +186,7 @@ Map modifier names to type descriptors for precise TypeScript types:
159
186
 
160
187
  ```tsx
161
188
  const Button = tasty({
189
+ as: 'button',
162
190
  modProps: {
163
191
  isLoading: Boolean, // isLoading?: boolean
164
192
  isSelected: Boolean, // isSelected?: boolean
@@ -295,6 +323,24 @@ const Button = tasty({
295
323
  <Button variant="danger">Delete</Button>;
296
324
  ```
297
325
 
326
+ With `variant` omitted, or set to a key `variants` does not define, the `default` variant applies; without a `default` key only the base `styles` apply. `variant` is typed from the variant keys.
327
+
328
+ To fall back to another variant instead, name it in the `variant` option:
329
+
330
+ ```jsx
331
+ const Button = tasty({
332
+ styles: { padding: '2x 4x' },
333
+ variants: {
334
+ primary: { fill: '#blue', color: '#white' },
335
+ danger: { fill: '#red', color: '#white' },
336
+ },
337
+ variant: 'primary',
338
+ });
339
+
340
+ <Button>Save</Button>; // primary
341
+ <Button variant="danger">Delete</Button>;
342
+ ```
343
+
298
344
  ### Extending Variants with Base State Maps
299
345
 
300
346
  When base `styles` contain an extend-mode state map (an object **without** a `''` key), it is applied **after** the variant merge. This lets you add or override states across all variants without repeating yourself:
@@ -310,7 +356,7 @@ const Badge = tasty({
310
356
  variants: {
311
357
  primary: {
312
358
  border: { '': '#white.2', pressed: '#primary-text', disabled: '#clear' },
313
- fill: { '': '#white #primary', hovered: '#white #primary-text' },
359
+ fill: { '': '#primary', hovered: '#primary-text' },
314
360
  },
315
361
  secondary: {
316
362
  border: { '': '#primary.15', pressed: '#primary.3' },
@@ -360,7 +406,7 @@ elements: {
360
406
  }
361
407
  ```
362
408
 
363
- The sub-components produced by `elements` support `mods`, `tokens`, `isDisabled`, `isHidden`, and `isChecked` props — the same modifier interface as the root component.
409
+ The sub-components produced by `elements` support `mods`, `tokens`, `theme`, `isDisabled`, `isHidden`, and `isChecked` props — the same modifier interface as the root component. As on the root, `theme` renders as `data-theme`, and an explicit `data-theme` wins over it.
364
410
 
365
411
  If you don't need sub-components (e.g., the inner elements are already rendered by a third-party library), you can still style them by key alone — just omit `elements` and apply `data-element` manually:
366
412
 
@@ -399,19 +445,19 @@ const { className } = computeStyles({
399
445
  });
400
446
  ```
401
447
 
402
- On the client, CSS is injected synchronously into the DOM (idempotent via the injector cache). On the server, CSS is collected via the SSR collector if one is available. This is the same function that `tasty()` components use internally.
448
+ On the client, CSS is injected synchronously into the DOM (idempotent via the injector cache). On the server with an SSR collector (from `runWithCollector()` or `TastyRegistry`), the CSS goes to the collector. With neither a collector nor a `document` — a React Server Component — nothing is injected: the CSS comes back as `css`, and you render it in a `style` tag yourself, as `tasty()` components do. This is the same function that `tasty()` components use internally.
403
449
 
404
450
  ---
405
451
 
406
452
  ## Style Functions
407
453
 
408
- All style functions below are plain functions (not React hooks) and can be used in any environment: client components, SSR with a `ServerStyleCollector`, and React Server Components. They retain their `use` prefix for backward compatibility, but do not use any React hooks internally.
454
+ All style functions below work in client components, SSR with a `ServerStyleCollector`, and React Server Components. All except `useStyles()` are plain functions, not React hooks; they keep the `use` prefix for backward compatibility.
409
455
 
410
456
  In server-only contexts, components that use only Tasty style functions ship no Tasty styling runtime. Astro without `client:*` directives produces no client JavaScript; server-only Next.js RSC follows the same Tasty architecture, while final output depends on the application deployment. Tasty never forces the `'use client'` boundary — that decision belongs to your component when it needs React interactivity (state, effects, event handlers).
411
457
 
412
458
  ### useStyles
413
459
 
414
- Generate a className from a style object. Thin wrapper around `computeStyles()`:
460
+ Generate a className from a style object. A thin wrapper around `computeStyles()` that also picks up the `TastyRegistry` collector through React context. That makes it a hook on the client: call it inside a component, and use `computeStyles()` outside React. It also works in a Server Component, where it skips the context lookup; like the other style functions there, it cannot emit CSS itself, so the next `tasty()` element in the tree emits it.
415
461
 
416
462
  ```tsx
417
463
  import { useStyles } from '@tenphi/tasty';
@@ -445,6 +491,17 @@ function ThemeStyles() {
445
491
  }
446
492
  ```
447
493
 
494
+ The selector can be a list (`'.uni-checkbox, uni-checkbox'`) — every item gets
495
+ the states and sub-elements, with no `:is()` wrapping needed. Root states
496
+ (`@root(...)`) on a selector that is the root itself (`:root`, `html`) apply to
497
+ that element. A selector that ends in a pseudo-element takes its states on the
498
+ pseudo-element (`'.card::before'` with `:hover` gives
499
+ `.card::before:where(:hover)`) and `@parent()` on the element before it.
500
+ Attribute and modifier states, which a pseudo-element can't have, are ignored
501
+ with a warning. Local `@keyframes` are injected with the rules,
502
+ under the same resolved names `tasty()` components use, and `@starting` states
503
+ emit `@starting-style`.
504
+
448
505
  A slot — the `id`, or the selector when no `id` is given — holds exactly one
449
506
  injection **per `root`**. So:
450
507
 
@@ -473,6 +530,8 @@ function GlobalReset() {
473
530
  An `id` slot holds one injection per `root`. Without an `id` the CSS is deduped
474
531
  by content and permanent — there is nothing to replace it with later.
475
532
 
533
+ It also accepts a factory and deps — `useRawCSS(() => css, [deps], { id })` — and skips the factory while the deps for that `id` are unchanged.
534
+
476
535
  ### useKeyframes
477
536
 
478
537
  Inject `@keyframes` rules and return the generated animation name:
@@ -582,7 +641,11 @@ useFontFace('Brand Sans', [
582
641
  Signature:
583
642
 
584
643
  ```ts
585
- function useFontFace(family: string, input: FontFaceInput): void;
644
+ function useFontFace(
645
+ family: string,
646
+ input: FontFaceInput,
647
+ options?: { root?: Document | ShadowRoot },
648
+ ): void;
586
649
  ```
587
650
 
588
651
  ### useCounterStyle
@@ -664,9 +727,10 @@ See the [Functions section of the DSL reference](dsl.md#functions-function) for
664
727
 
665
728
  - Styles are not updating: make sure `configure()` runs before first render, and verify the generated class name or global rule with [Debug Utilities](debug.md).
666
729
  - SSR output looks wrong: check the [SSR guide](ssr.md) for collector setup. All style functions discover the SSR collector via `AsyncLocalStorage` or the global getter registered by `TastyRegistry`.
730
+ - "Server rendering without a style collector" in development: the server render has no request scope, so each `tasty()` element inlines its own CSS and configured globals are not emitted. Add `tastyIntegration()` (Astro), `TastyRegistry` (Next.js), or `runWithCollector()` — see the [SSR guide](ssr.md).
667
731
  - Animation/custom property issues: prefer `useKeyframes()` and `useProperty()` over raw CSS when you want Tasty to manage injection and SSR collection for you.
668
732
  - For dynamic styles that change over the component lifecycle, use the `id` option in `useGlobalStyles()` and `useRawCSS()` to enable update tracking.
669
- - RSC inline mode: CSS accumulated by standalone style functions (`useGlobalStyles`, `useRawCSS`, etc.) is flushed into inline `<style>` tags by the next `tasty()` component in the render tree. If your page uses only standalone style functions without any `tasty()` component, the CSS will not be emitted. Ensure at least one `tasty()` component is present in each RSC render tree.
733
+ - RSC inline mode: CSS accumulated by standalone style functions (`useStyles`, `useGlobalStyles`, `useRawCSS`, etc.) is flushed into inline `<style>` tags by the next `tasty()` component in the render tree. If your page uses only standalone style functions without any `tasty()` component, the CSS will not be emitted. Ensure at least one `tasty()` component is present in each RSC render tree.
670
734
 
671
735
  ---
672
736
 
@@ -675,6 +739,7 @@ See the [Functions section of the DSL reference](dsl.md#functions-function) for
675
739
  - **[Style DSL](dsl.md)** — State maps, tokens, units, extending semantics, keyframes, @property
676
740
  - **[Methodology](methodology.md)** — Recommended patterns: root + sub-elements, styleProps, tokens, wrapping
677
741
  - **[Configuration](configuration.md)** — Tokens, recipes, custom units, style handlers, TypeScript extensions
742
+ - **[Configuration → TypeScript](configuration.md#typescript)** — How props are typed and how to register your names
678
743
  - **[Style Properties](styles.md)** — Complete reference for all enhanced style properties
679
744
  - **[Build-Time Extraction (`tastyStatic`)](tasty-static.md)** — Static styling with the Babel plugin
680
745
  - **[Server-Side Rendering](ssr.md)** — SSR setup for Next.js, Astro, and generic frameworks