@tenphi/tasty 0.0.0-snapshot.1d29633 → 0.0.0-snapshot.1f1c00a

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 (122) hide show
  1. package/README.md +152 -134
  2. package/dist/{babel-Cg-mJV_t.d.ts → babel-rZcEwPLM.d.ts} +2 -3
  3. package/dist/chunks/async-storage-CG5HnUT5.js +20 -0
  4. package/dist/chunks/async-storage-CG5HnUT5.js.map +1 -0
  5. package/dist/chunks/build-config-CL4eRu2z.js +42 -0
  6. package/dist/chunks/build-config-CL4eRu2z.js.map +1 -0
  7. package/dist/{collector-BMT05AmU.js → chunks/collector-D2ARGT2L.js} +21 -117
  8. package/dist/chunks/collector-D2ARGT2L.js.map +1 -0
  9. package/dist/chunks/config-engine-DEmmPPdp.js +272 -0
  10. package/dist/chunks/config-engine-DEmmPPdp.js.map +1 -0
  11. package/dist/chunks/css-definitions-DotDkIXt.js +876 -0
  12. package/dist/chunks/css-definitions-DotDkIXt.js.map +1 -0
  13. package/dist/chunks/css-resources-P7IBUUZs.js +142 -0
  14. package/dist/chunks/css-resources-P7IBUUZs.js.map +1 -0
  15. package/dist/chunks/debug-D8pg9RGI.js +502 -0
  16. package/dist/chunks/debug-D8pg9RGI.js.map +1 -0
  17. package/dist/chunks/dsl-DRhFWQzo.js +1378 -0
  18. package/dist/chunks/dsl-DRhFWQzo.js.map +1 -0
  19. package/dist/chunks/hydration-TRcz5vnk.js +41 -0
  20. package/dist/chunks/hydration-TRcz5vnk.js.map +1 -0
  21. package/dist/chunks/react-runtime-BpxlOTbO.js +562 -0
  22. package/dist/chunks/react-runtime-BpxlOTbO.js.map +1 -0
  23. package/dist/chunks/runtime-engine-CKFXUH-A.js +2416 -0
  24. package/dist/chunks/runtime-engine-CKFXUH-A.js.map +1 -0
  25. package/dist/chunks/runtime-state-BxaLhVdP.js +127 -0
  26. package/dist/chunks/runtime-state-BxaLhVdP.js.map +1 -0
  27. package/dist/{merge-styles-CkAcnd0Z.js → chunks/shared-utils-y-HjvPN4.js} +60 -55
  28. package/dist/chunks/shared-utils-y-HjvPN4.js.map +1 -0
  29. package/dist/chunks/style-engine-BBbBuSkT.js +5260 -0
  30. package/dist/chunks/style-engine-BBbBuSkT.js.map +1 -0
  31. package/dist/{css-writer-b02uBqNF.js → chunks/zero-engine-gJrKBRiw.js} +6 -121
  32. package/dist/chunks/zero-engine-gJrKBRiw.js.map +1 -0
  33. package/dist/{collector-BFuqdF2F.d.ts → collector-w4mBj5gd.d.ts} +23 -4
  34. package/dist/{config-DmFxnBxg.d.ts → config-CZWCzBr6.d.ts} +171 -72
  35. package/dist/core/index.d.ts +5 -5
  36. package/dist/core/index.js +9 -6
  37. package/dist/{index-D1nMkpUe.d.ts → index-G9JuwM9p.d.ts} +263 -247
  38. package/dist/index.d.ts +5 -5
  39. package/dist/index.js +11 -921
  40. package/dist/{merge-styles-Cx_6ySBv.d.ts → merge-styles-VXwJ0Frr.d.ts} +2 -3
  41. package/dist/ssr/astro-client.d.ts +1 -1
  42. package/dist/ssr/astro-client.js +1 -14
  43. package/dist/ssr/astro-client.js.map +1 -1
  44. package/dist/ssr/astro-middleware-extract-static.d.ts +10 -0
  45. package/dist/ssr/astro-middleware-extract-static.js +9 -0
  46. package/dist/ssr/astro-middleware-extract-static.js.map +1 -0
  47. package/dist/ssr/astro-middleware-extract.d.ts +10 -0
  48. package/dist/ssr/astro-middleware-extract.js +9 -0
  49. package/dist/ssr/astro-middleware-extract.js.map +1 -0
  50. package/dist/ssr/astro-middleware-static.d.ts +3 -2
  51. package/dist/ssr/astro-middleware-static.js +0 -11
  52. package/dist/ssr/astro-middleware-static.js.map +1 -1
  53. package/dist/ssr/astro-middleware.d.ts +3 -2
  54. package/dist/ssr/astro-middleware.js +0 -12
  55. package/dist/ssr/astro-middleware.js.map +1 -1
  56. package/dist/ssr/astro.d.ts +40 -6
  57. package/dist/ssr/astro.js +157 -93
  58. package/dist/ssr/astro.js.map +1 -1
  59. package/dist/ssr/index.d.ts +10 -11
  60. package/dist/ssr/index.js +4 -4
  61. package/dist/ssr/index.js.map +1 -1
  62. package/dist/ssr/next-config.d.ts +64 -0
  63. package/dist/ssr/next-config.js +128 -0
  64. package/dist/ssr/next-config.js.map +1 -0
  65. package/dist/ssr/next.d.ts +9 -8
  66. package/dist/ssr/next.js +29 -43
  67. package/dist/ssr/next.js.map +1 -1
  68. package/dist/static/index.d.ts +8 -9
  69. package/dist/static/index.js +4 -22
  70. package/dist/static/index.js.map +1 -1
  71. package/dist/static/inject.d.ts +1 -2
  72. package/dist/{index-LC3O3Jj4.d.ts → types-JEY8PVYP.d.ts} +862 -811
  73. package/dist/zero/babel.d.ts +1 -1
  74. package/dist/zero/babel.js +41 -107
  75. package/dist/zero/babel.js.map +1 -1
  76. package/dist/zero/index.d.ts +6 -7
  77. package/dist/zero/index.js +1 -1
  78. package/dist/zero/next.d.ts +3 -5
  79. package/dist/zero/next.js +0 -31
  80. package/dist/zero/next.js.map +1 -1
  81. package/docs/README.md +13 -8
  82. package/docs/adoption.md +56 -31
  83. package/docs/ai-agents.md +107 -80
  84. package/docs/comparison.md +69 -40
  85. package/docs/configuration.md +179 -114
  86. package/docs/debug.md +19 -7
  87. package/docs/design-system.md +41 -22
  88. package/docs/dsl.md +310 -201
  89. package/docs/getting-started.md +64 -41
  90. package/docs/injector.md +63 -26
  91. package/docs/methodology.md +44 -38
  92. package/docs/migration-v3.md +49 -49
  93. package/docs/pipeline.md +32 -8
  94. package/docs/plugins.md +38 -34
  95. package/docs/react-api.md +67 -44
  96. package/docs/runtime-benchmarks.md +388 -0
  97. package/docs/ssr.md +219 -61
  98. package/docs/styles.md +95 -18
  99. package/docs/tasty-static.md +138 -105
  100. package/package.json +104 -33
  101. package/dist/async-storage-DKK-wTD4.js +0 -44
  102. package/dist/async-storage-DKK-wTD4.js.map +0 -1
  103. package/dist/collector-BMT05AmU.js.map +0 -1
  104. package/dist/config-DF93rL3u.js +0 -12661
  105. package/dist/config-DF93rL3u.js.map +0 -1
  106. package/dist/context-CA8YKeMn.js +0 -24
  107. package/dist/context-CA8YKeMn.js.map +0 -1
  108. package/dist/core-B5ybnMP1.js +0 -1529
  109. package/dist/core-B5ybnMP1.js.map +0 -1
  110. package/dist/css-writer-b02uBqNF.js.map +0 -1
  111. package/dist/format-global-rules-DklyaXv-.js +0 -22
  112. package/dist/format-global-rules-DklyaXv-.js.map +0 -1
  113. package/dist/format-rules-Cs4e3M9m.js +0 -130
  114. package/dist/format-rules-Cs4e3M9m.js.map +0 -1
  115. package/dist/hydrate-aaUSNJZJ.js +0 -37
  116. package/dist/hydrate-aaUSNJZJ.js.map +0 -1
  117. package/dist/index.js.map +0 -1
  118. package/dist/keyframes-BedEzEXk.js +0 -424
  119. package/dist/keyframes-BedEzEXk.js.map +0 -1
  120. package/dist/merge-styles-CkAcnd0Z.js.map +0 -1
  121. package/dist/resolve-recipes-CiyLtJG9.js +0 -144
  122. package/dist/resolve-recipes-CiyLtJG9.js.map +0 -1
@@ -1,8 +1,64 @@
1
- import { _ as TastyPluginFactory, w as StyleInjector } from "./config-DmFxnBxg.js";
2
- import { B as StyleValueStateMap, Ct as PropertyOptions, D as CSSMap, I as StyleHandlerResult, M as ResolvedStyleValue, Ot as StyleInjectorConfig, R as StylePropValue, at as CSSProperties$1, b as Styles, bt as KeyframesResult, dt as FunctionDefinition, gt as InjectResult, ht as GlobalInjectResult, j as RawStyleHandler, lt as FontFaceDescriptors, mt as GCOptions, n as StyleResult, nt as StyleDetails, ot as CacheMetrics, st as CounterStyleDescriptors, ut as FontFaceInput, x as StylesInterface, xt as KeyframesSteps, z as StyleValue } from "./index-LC3O3Jj4.js";
3
- import { t as ServerStyleCollector } from "./collector-BFuqdF2F.js";
1
+ import { Et as StyleDetails, G as NoType, M as StyleResult, X as StylesInterface, Y as Styles, _ as KeyframesSteps, a as FontFaceInput, ct as StyleHandler, d as InjectOptions, dt as StyleHandlerResult, f as InjectResult, g as KeyframesResult, ht as StyleValueStateMap, i as FontFaceDescriptors, kt as CSSProperties$1, l as GCOptions, mt as StyleValue, n as CounterStyleDescriptors, nt as CSSMap, o as FunctionDefinition, ot as RawStyleHandler, pt as StylePropValue, st as ResolvedStyleValue, t as CacheMetrics, u as GlobalInjectResult, w as StyleInjectorConfig, y as PropertyOptions } from "./types-JEY8PVYP.js";
2
+ import { b as StyleInjector, p as TastyPluginFactory } from "./config-CZWCzBr6.js";
3
+ import { t as ServerStyleCollector } from "./collector-w4mBj5gd.js";
4
+ import "./merge-styles-VXwJ0Frr.js";
4
5
  import { AllHTMLAttributes, CSSProperties, ComponentType, ElementType, ForwardRefExoticComponent, JSX, PropsWithoutRef, ReactNode, RefAttributes } from "react";
5
-
6
+ //#region src/utils/color-math.d.ts
7
+ /**
8
+ * Consolidated color conversion math.
9
+ *
10
+ * Single source of truth for all color space conversions used across the
11
+ * library: sRGB gamma, HSL, OKLab, OKLCH, OKHSL, hex parsing, named
12
+ * colors, and CSS string converters.
13
+ *
14
+ * This module has zero internal imports — it is a leaf dependency.
15
+ *
16
+ * Reference: https://bottosson.github.io/posts/oklab/
17
+ */
18
+ type Vec3 = [number, number, number];
19
+ /**
20
+ * HSL to RGB.
21
+ * Algorithm from CSS Color 4 spec.
22
+ *
23
+ * @param h - Hue in degrees (0-360)
24
+ * @param s - Saturation (0-1)
25
+ * @param l - Lightness (0-1)
26
+ * @returns RGB values in 0-255 range (may have fractional values)
27
+ */
28
+ declare function hslToRgbValues(h: number, s: number, l: number): Vec3;
29
+ declare function getNamedColorHex(): Map<string, string>;
30
+ /**
31
+ * Convert hex color string to `rgb()` CSS string.
32
+ * Supports 3, 4, 6, and 8 character hex values (with or without `#`).
33
+ */
34
+ declare function hexToRgb(hex: string): string | null;
35
+ /**
36
+ * Extract RGB values from an `rgb()`/`rgba()` string.
37
+ * Supports comma-separated, space-separated, fractional, percentage,
38
+ * and slash alpha notation.
39
+ *
40
+ * @returns Array of RGB values (0-255 range), converting percentages as needed.
41
+ */
42
+ declare function getRgbValuesFromRgbaString(str: string): number[];
43
+ /**
44
+ * Convert any recognized color string to an `rgb()` CSS string.
45
+ * Handles hex, `okhsl()`, `okhst()`, `hsl()`/`hsla()`, named CSS colors,
46
+ * and `rgb()`/`rgba()` pass-through.
47
+ */
48
+ declare function strToRgb(color: string, _ignoreAlpha?: boolean): string | null | undefined;
49
+ //#endregion
50
+ //#region src/utils/is-selector.d.ts
51
+ /** Check whether a style-object key identifies a nested CSS selector. */
52
+ declare function isSelector(key: string): boolean;
53
+ //#endregion
54
+ //#region src/config-state.d.ts
55
+ /**
56
+ * Minimal configuration state shared by the style engine, zero-runtime
57
+ * extractor, and runtime configuration module. Keeping it independent
58
+ * prevents pure rendering code from importing the full injector graph.
59
+ */
60
+ declare function hasStylesGenerated(): boolean;
61
+ //#endregion
6
62
  //#region src/utils/name-prefix.d.ts
7
63
  /**
8
64
  * Name prefix utilities for generated identifiers.
@@ -31,17 +87,17 @@ declare const DEFAULT_ZERO_NAME_PREFIX = "ts";
31
87
  //#endregion
32
88
  //#region src/styles/list.d.ts
33
89
  declare const BASE_STYLES: readonly ["display", "font", "preset", "hide", "whiteSpace", "opacity", "transition"];
34
- declare const POSITION_STYLES: readonly ["gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "inset", "position", "scrollMargin"];
35
- declare const BLOCK_INNER_STYLES: readonly ["padding", "paddingInline", "paddingBlock", "overflow", "scrollbar", "textAlign"];
36
- declare const BLOCK_OUTER_STYLES: readonly ["border", "radius", "shadow", "outline"];
37
- declare const BLOCK_STYLES: readonly ["padding", "paddingInline", "paddingBlock", "overflow", "scrollbar", "textAlign", "border", "radius", "shadow", "outline"];
90
+ declare const POSITION_STYLES: readonly ["gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "blockMargin", "inlineMargin", "inset", "blockInset", "inlineInset", "position", "scrollMargin", "blockScrollMargin", "inlineScrollMargin", "scrollPadding", "blockScrollPadding", "inlineScrollPadding"];
91
+ declare const BLOCK_INNER_STYLES: readonly ["padding", "blockPadding", "inlinePadding", "overflow", "scrollbar", "textAlign"];
92
+ declare const BLOCK_OUTER_STYLES: readonly ["border", "blockBorder", "inlineBorder", "radius", "shadow", "outline"];
93
+ declare const BLOCK_STYLES: readonly ["padding", "blockPadding", "inlinePadding", "overflow", "scrollbar", "textAlign", "border", "blockBorder", "inlineBorder", "radius", "shadow", "outline"];
38
94
  declare const COLOR_STYLES: readonly ["color", "fill", "fade", "image"];
39
95
  declare const TEXT_STYLES: readonly ["textTransform", "fontWeight", "fontStyle"];
40
- declare const DIMENSION_STYLES: readonly ["width", "height", "flexBasis", "flexGrow", "flexShrink", "flex"];
96
+ declare const DIMENSION_STYLES: readonly ["width", "height", "blockSize", "inlineSize", "flexBasis", "flexGrow", "flexShrink", "flex"];
41
97
  declare const FLOW_STYLES: readonly ["flow", "place", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "align", "justify", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
42
- declare const CONTAINER_STYLES: readonly ["display", "font", "preset", "hide", "whiteSpace", "opacity", "transition", "color", "fill", "fade", "image", "width", "height", "flexBasis", "flexGrow", "flexShrink", "flex", "gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "inset", "position", "scrollMargin", "padding", "paddingInline", "paddingBlock", "overflow", "scrollbar", "textAlign", "border", "radius", "shadow", "outline", "flow", "place", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "align", "justify", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
43
- declare const OUTER_STYLES: readonly ["gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "inset", "position", "scrollMargin", "width", "height", "flexBasis", "flexGrow", "flexShrink", "flex", "border", "radius", "shadow", "outline"];
44
- declare const INNER_STYLES: readonly ["display", "font", "preset", "hide", "whiteSpace", "opacity", "transition", "color", "fill", "fade", "image", "padding", "paddingInline", "paddingBlock", "overflow", "scrollbar", "textAlign", "flow", "place", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "align", "justify", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
98
+ declare const CONTAINER_STYLES: readonly ["display", "font", "preset", "hide", "whiteSpace", "opacity", "transition", "color", "fill", "fade", "image", "width", "height", "blockSize", "inlineSize", "flexBasis", "flexGrow", "flexShrink", "flex", "gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "blockMargin", "inlineMargin", "inset", "blockInset", "inlineInset", "position", "scrollMargin", "blockScrollMargin", "inlineScrollMargin", "scrollPadding", "blockScrollPadding", "inlineScrollPadding", "padding", "blockPadding", "inlinePadding", "overflow", "scrollbar", "textAlign", "border", "blockBorder", "inlineBorder", "radius", "shadow", "outline", "flow", "place", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "align", "justify", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
99
+ declare const OUTER_STYLES: readonly ["gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "blockMargin", "inlineMargin", "inset", "blockInset", "inlineInset", "position", "scrollMargin", "blockScrollMargin", "inlineScrollMargin", "scrollPadding", "blockScrollPadding", "inlineScrollPadding", "width", "height", "blockSize", "inlineSize", "flexBasis", "flexGrow", "flexShrink", "flex", "border", "blockBorder", "inlineBorder", "radius", "shadow", "outline"];
100
+ declare const INNER_STYLES: readonly ["display", "font", "preset", "hide", "whiteSpace", "opacity", "transition", "color", "fill", "fade", "image", "padding", "blockPadding", "inlinePadding", "overflow", "scrollbar", "textAlign", "flow", "place", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "align", "justify", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
45
101
  //#endregion
46
102
  //#region src/types.d.ts
47
103
  /**
@@ -96,7 +152,7 @@ interface TastyBaseStylePropNames {}
96
152
  * it names. Intersecting with `keyof StylesInterface` makes a name that isn't a
97
153
  * real style inert rather than `never`-typed.
98
154
  */
99
- type ExtraBaseStyleProps = { [key in keyof TastyBaseStylePropNames & keyof StylesInterface]?: StylePropValue<StylesInterface[key]> };
155
+ type ExtraBaseStyleProps = { [key in keyof TastyBaseStylePropNames & keyof StylesInterface]?: StylePropValue<StylesInterface[key]>; };
100
156
  /** Allowed mod value types */
101
157
  type ModValue = boolean | string | number | undefined | null;
102
158
  /**
@@ -119,7 +175,7 @@ type TokenValue = string | number | boolean | undefined | null;
119
175
  /**
120
176
  * Tokens definition for inline CSS custom properties.
121
177
  * - `$name` keys become `--name` CSS properties
122
- * - `#name` keys become `--name-color` and `--name-color-{colorSpace}` CSS properties
178
+ * - `#name` keys become `--name-color` CSS properties
123
179
  */
124
180
  type Tokens = Record<`$${string}` | `#${string}`, TokenValue>;
125
181
  type Caps = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
@@ -247,7 +303,7 @@ interface TastyExtensionConfig {
247
303
  }
248
304
  //#endregion
249
305
  //#region src/tasty.d.ts
250
- type StyleList = readonly (keyof { [key in keyof StylesInterface]: StylesInterface[key] })[];
306
+ type StyleList = readonly (keyof { [key in keyof StylesInterface]: StylesInterface[key]; })[];
251
307
  /** Type descriptor for a single mod prop: a JS constructor or an enum array. */
252
308
  type ModPropDef = BooleanConstructor | StringConstructor | NumberConstructor | readonly string[];
253
309
  /** Array form: list of mod key names (types default to ModValue). */
@@ -259,7 +315,7 @@ type ModPropsInput = ModPropsList | ModPropsMap;
259
315
  /** Resolve a single ModPropDef to its TypeScript type. */
260
316
  type ResolveModPropDef<T> = T extends BooleanConstructor ? boolean : T extends StringConstructor ? string : T extends NumberConstructor ? number : T extends readonly (infer U)[] ? U : ModValue;
261
317
  /** Resolve an entire `modProps` definition to the component prop types it adds. */
262
- type ResolveModProps<M extends ModPropsInput> = M extends readonly (infer K)[] ? Partial<Record<K & string, ModValue>> : M extends Record<string, ModPropDef> ? { [key in keyof M & string]?: ResolveModPropDef<M[key]> } : {};
318
+ type ResolveModProps<M extends ModPropsInput> = M extends readonly (infer K)[] ? Partial<Record<K & string, ModValue>> : M extends Record<string, ModPropDef> ? { [key in keyof M & string]?: ResolveModPropDef<M[key]>; } : {};
263
319
  /** A token key with `$` or `#` prefix. */
264
320
  type TokenPropKey = `$${string}` | `#${string}`;
265
321
  /** Array form: list of prop names. Names ending in `Color` map to `#` color tokens. */
@@ -315,23 +371,30 @@ type SubElementProps<Tag extends keyof JSX.IntrinsicElements = 'div'> = Omit<JSX
315
371
  /**
316
372
  * Generates the sub-element component types from an ElementsDefinition
317
373
  */
318
- type SubElementComponents<E extends ElementsDefinition> = { [K in keyof E]: ForwardRefExoticComponent<PropsWithoutRef<SubElementProps<ResolveElementTag<E[K]>>> & RefAttributes<ResolveElementTag<E[K]> extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[ResolveElementTag<E[K]>] : Element$1>> };
374
+ type SubElementComponents<E extends ElementsDefinition> = { [K in keyof E]: ForwardRefExoticComponent<PropsWithoutRef<SubElementProps<ResolveElementTag<E[K]>>> & RefAttributes<ResolveElementTag<E[K]> extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[ResolveElementTag<E[K]>] : Element$1>>; };
319
375
  /**
320
376
  * Base type containing common properties shared between TastyProps and TastyElementOptions.
321
377
  * Separated to avoid code duplication while allowing different type constraints.
322
378
  */
323
379
  type TastyBaseProps<K extends StyleList, V extends VariantMap, E extends ElementsDefinition = Record<string, never>, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = {
324
- /** Default styles of the element. */styles?: Styles; /** The list of styles that can be provided by props */
325
- styleProps?: K; /** Modifier keys exposed as top-level component props (array or typed object form). */
326
- modProps?: M; /** Token keys exposed as top-level component props (array or typed object form). */
380
+ /** Default styles of the element. */
381
+ styles?: Styles;
382
+ /** The list of styles that can be provided by props */
383
+ styleProps?: K;
384
+ /** Modifier keys exposed as top-level component props (array or typed object form). */
385
+ modProps?: M;
386
+ /** Token keys exposed as top-level component props (array or typed object form). */
327
387
  tokenProps?: TP;
328
388
  element?: BaseProps['element'];
329
- variants?: V; /** Default tokens for inline CSS custom properties */
330
- tokens?: Tokens; /** Sub-element definitions for compound components */
389
+ variants?: V;
390
+ /** Default tokens for inline CSS custom properties */
391
+ tokens?: Tokens;
392
+ /** Sub-element definitions for compound components */
331
393
  elements?: E;
332
394
  } & Pick<BaseProps, 'qa' | 'qaVal'> & WithVariant<V>;
333
395
  type TastyProps<K extends StyleList, V extends VariantMap, E extends ElementsDefinition = Record<string, never>, DefaultProps = AnyProps, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = TastyBaseProps<K, V, E, M, TP> & {
334
- /** The tag name of the element or a React component. */as?: string | ComponentType<any>;
396
+ /** The tag name of the element or a React component. */
397
+ as?: string | ComponentType<any>;
335
398
  } & Partial<Omit<DefaultProps, 'as' | 'styles' | 'styleProps' | 'modProps' | 'tokenProps' | 'tokens'>>;
336
399
  /**
337
400
  * Resolves the props of a polymorphic `as` value (intrinsic tag or component).
@@ -350,14 +413,15 @@ type ResolveAsProps<AsType extends ElementType> = AsType extends keyof JSX.Intri
350
413
  * record to ensure strict type checking for styles.
351
414
  */
352
415
  type TastyElementOptions<K extends StyleList, V extends VariantMap, E extends ElementsDefinition = Record<string, never>, AsType extends ElementType = 'div', M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = TastyBaseProps<K, V, E, M, TP> & {
353
- /** The tag name of the element or a React component. */as?: AsType;
416
+ /** The tag name of the element or a React component. */
417
+ as?: AsType;
354
418
  } & Record<string, unknown>;
355
- type AllBasePropsWithMods<K extends StyleList, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = AllBaseProps & { [key in K[number]]?: StyleValue<StylesInterface[key]> | StyleValueStateMap<StylesInterface[key]> } & BaseStyleProps & ExtraBaseStyleProps & Partial<TastyCustomProps> & ResolveModProps<M> & ResolveTokenProps<TP>;
419
+ type AllBasePropsWithMods<K extends StyleList, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = AllBaseProps & { [key in K[number]]?: StyleValue<StylesInterface[key]> | StyleValueStateMap<StylesInterface[key]>; } & BaseStyleProps & ExtraBaseStyleProps & Partial<TastyCustomProps> & ResolveModProps<M> & ResolveTokenProps<TP>;
356
420
  /**
357
- * Keys from BasePropsWithoutChildren that should be omitted from HTML attributes.
358
- * This excludes event handlers so they can be properly typed from JSX.IntrinsicElements.
421
+ * Props consumed by Tasty rather than forwarded to the `as` component.
422
+ * Event handlers are resolved from JSX.IntrinsicElements or the component's own props.
359
423
  */
360
- type TastySpecificKeys = 'as' | 'qa' | 'qaVal' | 'element' | 'styles' | 'mods' | 'isHidden' | 'isDisabled' | 'isChecked' | 'style' | 'theme' | 'tokens' | 'ref' | 'color';
424
+ type TastySpecificKeys = keyof BaseStyleProps | 'as' | 'qa' | 'qaVal' | 'element' | 'styles' | 'mods' | 'isHidden' | 'isDisabled' | 'isChecked' | 'style' | 'theme' | 'tokens' | 'ref';
361
425
  /** Extract prop key names from a ModPropsInput (array elements or object keys). */
362
426
  type ModPropsKeys<M extends ModPropsInput> = M extends readonly (infer K)[] ? K & string : keyof M & string;
363
427
  /** Extract prop key names from a TokenPropsInput (array elements or object keys). */
@@ -379,7 +443,7 @@ type TokenPropsKeys<TP extends TokenPropsInput> = TP extends readonly (infer K)[
379
443
  * is a component type with a narrower prop API.
380
444
  */
381
445
  type TastyElementProps<K extends StyleList, V extends VariantMap, AsType extends ElementType = 'div', M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = Omit<AllBasePropsWithMods<K, M, TP>, Exclude<keyof ResolveAsProps<AsType>, TastySpecificKeys | keyof TastyCustomProps | keyof ExtraBaseStyleProps | K[number] | ModPropsKeys<M> | TokenPropsKeys<TP>>> & WithVariant<V> & Omit<Omit<AllHTMLAttributes<HTMLElement>, keyof ResolveAsProps<AsType>> & ResolveAsProps<AsType>, TastySpecificKeys | keyof TastyCustomProps | keyof ExtraBaseStyleProps | K[number] | ModPropsKeys<M> | TokenPropsKeys<TP>>;
382
- type TastyComponentPropsWithDefaults<Props extends PropsWithStyles, DefaultProps extends Partial<Props>> = keyof DefaultProps extends never ? Props : { [key in Extract<keyof Props, keyof DefaultProps>]?: Props[key] } & { [key in keyof Omit<Props, keyof DefaultProps>]: Props[key] };
446
+ type TastyComponentPropsWithDefaults<Props extends PropsWithStyles, DefaultProps extends Partial<Props>> = keyof DefaultProps extends never ? Props : { [key in Extract<keyof Props, keyof DefaultProps>]?: Props[key]; } & { [key in keyof Omit<Props, keyof DefaultProps>]: Props[key]; };
383
447
  /**
384
448
  * The component type returned by the `tasty(options)` element-factory overload.
385
449
  *
@@ -394,9 +458,9 @@ type TastyComponentPropsWithDefaults<Props extends PropsWithStyles, DefaultProps
394
458
  * `SomeComponent`; create another `tasty({ as: SomeComponent })` for that.
395
459
  */
396
460
  type TastyPolymorphicComponent<DefaultAs extends ElementType, K extends StyleList, V extends VariantMap, M extends ModPropsInput, TP extends TokenPropsInput> = ForwardRefExoticComponent<PropsWithoutRef<TastyElementProps<K, V, DefaultAs, M, TP>> & RefAttributes<unknown>>;
397
- declare function tasty<K extends StyleList, V extends VariantMap, E extends ElementsDefinition = Record<string, never>, AsType extends ElementType = 'div', M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]>(options: TastyElementOptions<K, V, E, AsType, M, TP>, secondArg?: never): TastyPolymorphicComponent<AsType, K, V, M, TP> & SubElementComponents<E>;
461
+ declare function tasty<K extends StyleList = readonly never[], V extends VariantMap = VariantMap, E extends ElementsDefinition = Record<string, never>, AsType extends ElementType = 'div', M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]>(options: TastyElementOptions<K, V, E, AsType, M, TP>, secondArg?: never): TastyPolymorphicComponent<AsType, K, V, M, TP> & SubElementComponents<E>;
398
462
  declare function tasty<Props extends PropsWithStyles, DefaultProps extends Partial<Props> = Partial<Props>, K extends StyleList = readonly never[], V extends VariantMap = VariantMap, E extends ElementsDefinition = Record<string, never>, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]>(Component: ComponentType<Props>, options?: TastyProps<K, V, E, Props, M, TP>): ComponentType<TastyComponentPropsWithDefaults<Props, DefaultProps>>;
399
- declare const Element$1: TastyPolymorphicComponent<"div", StyleList, VariantMap, readonly never[], readonly never[]> & SubElementComponents<Record<string, never>>;
463
+ declare const Element$1: TastyPolymorphicComponent<"div", readonly never[], VariantMap, readonly never[], readonly never[]> & SubElementComponents<Record<string, never>>;
400
464
  //#endregion
401
465
  //#region src/hooks/useStyles.d.ts
402
466
  interface UseStylesResult {
@@ -777,9 +841,7 @@ interface TastyBatchProviderProps {
777
841
  * );
778
842
  * ```
779
843
  */
780
- declare function TastyBatchProvider({
781
- children
782
- }: TastyBatchProviderProps): ReactNode;
844
+ declare function TastyBatchProvider({ children }: TastyBatchProviderProps): ReactNode;
783
845
  //#endregion
784
846
  //#region src/utils/get-display-name.d.ts
785
847
  declare function getDisplayName<T>(Component: ElementType<T>, fallbackName?: string): string;
@@ -887,8 +949,8 @@ declare function resolveFunctionColor(str: string): string | null;
887
949
  /**
888
950
  * Chunk names, the built-in chunk style lists, and the style→chunk lookup.
889
951
  *
890
- * This is a **leaf module with no imports**. It exists separately from
891
- * `definitions.ts` for two reasons:
952
+ * This module only imports data-only style-name lists. It exists separately
953
+ * from `definitions.ts` for two reasons:
892
954
  *
893
955
  * 1. The style handler registry (`styles/predefined.ts`) needs to assign chunk
894
956
  * membership for custom handlers. Reaching for `definitions.ts` would create an
@@ -901,7 +963,8 @@ declare function resolveFunctionColor(str: string): string | null;
901
963
  * public API surface are unchanged.
902
964
  */
903
965
  declare const CHUNK_NAMES: {
904
- /** Special chunk for styles that cannot be split */readonly COMBINED: "combined";
966
+ /** Special chunk for styles that cannot be split */
967
+ readonly COMBINED: "combined";
905
968
  readonly SUBCOMPONENTS: "subcomponents";
906
969
  readonly APPEARANCE: "appearance";
907
970
  readonly FONT: "font";
@@ -917,7 +980,7 @@ type ChunkName = (typeof CHUNK_NAMES)[keyof typeof CHUNK_NAMES];
917
980
  *
918
981
  * @public
919
982
  */
920
- declare const APPEARANCE_CHUNK_STYLES: readonly ["fill", "color", "opacity", "border", "radius", "outline", "outlineOffset", "shadow", "fade"];
983
+ declare const APPEARANCE_CHUNK_STYLES: readonly ["fill", "color", "opacity", "border", "blockBorder", "inlineBorder", "radius", "outline", "outlineOffset", "shadow", "fade"];
921
984
  /**
922
985
  * Font chunk - typography styles
923
986
  *
@@ -931,13 +994,15 @@ declare const FONT_CHUNK_STYLES: readonly ["preset", "font", "fontWeight", "font
931
994
  * Dimension chunk - sizing and spacing
932
995
  *
933
996
  * Handler dependencies (all styles in each handler MUST stay in this chunk):
934
- * ⚠️ paddingStyle: padding, paddingTop/Right/Bottom/Left, paddingBlock/Inline
935
- * ⚠️ marginStyle: margin, marginTop/Right/Bottom/Left, marginBlock/Inline
997
+ * ⚠️ paddingStyle: padding, paddingTop/Right/Bottom/Left
998
+ * ⚠️ marginStyle: margin, marginTop/Right/Bottom/Left
936
999
  * ⚠️ widthStyle: width, minWidth, maxWidth
937
1000
  * ⚠️ heightStyle: height, minHeight, maxHeight
1001
+ * ⚠️ blockSizeStyle: blockSize, minBlockSize, maxBlockSize
1002
+ * ⚠️ inlineSizeStyle: inlineSize, minInlineSize, maxInlineSize
938
1003
  */
939
1004
  /** @public */
940
- declare const DIMENSION_CHUNK_STYLES: readonly ["padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingBlock", "paddingInline", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginBlock", "marginInline", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "flexBasis", "flexGrow", "flexShrink", "flex"];
1005
+ declare const DIMENSION_CHUNK_STYLES: readonly ["padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "blockPadding", "inlinePadding", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "blockMargin", "inlineMargin", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "blockSize", "minBlockSize", "maxBlockSize", "inlineSize", "minInlineSize", "maxInlineSize", "flexBasis", "flexGrow", "flexShrink", "flex"];
941
1006
  /**
942
1007
  * Display chunk - display mode, layout flow, text overflow, and scrollbar
943
1008
  *
@@ -961,10 +1026,10 @@ declare const LAYOUT_CHUNK_STYLES: readonly ["placeItems", "placeContent", "alig
961
1026
  * Position chunk - element positioning
962
1027
  *
963
1028
  * Handler dependencies (all styles in each handler MUST stay in this chunk):
964
- * ⚠️ insetStyle: inset, insetBlock, insetInline, top, right, bottom, left
1029
+ * ⚠️ insetStyle: inset, top, right, bottom, left
965
1030
  */
966
1031
  /** @public */
967
- declare const POSITION_CHUNK_STYLES: readonly ["position", "inset", "insetBlock", "insetInline", "top", "right", "bottom", "left", "zIndex", "gridArea", "gridColumn", "gridRow", "order", "placeSelf", "alignSelf", "justifySelf", "transform", "transition", "animation"];
1032
+ declare const POSITION_CHUNK_STYLES: readonly ["position", "inset", "blockInset", "inlineInset", "top", "right", "bottom", "left", "blockScrollMargin", "inlineScrollMargin", "blockScrollPadding", "inlineScrollPadding", "zIndex", "gridArea", "gridColumn", "gridRow", "order", "placeSelf", "alignSelf", "justifySelf", "transform", "transition", "animation"];
968
1033
  /**
969
1034
  * Map for O(1) style-to-chunk lookup. Seeded with the built-in lists above and
970
1035
  * extended by {@link assignStyleChunk} when a custom handler declares style names
@@ -1004,19 +1069,25 @@ declare function categorizeStyleKeys(styles: Record<string, unknown>): Map<strin
1004
1069
  *
1005
1070
  * Later groups override earlier groups for conflicting directions.
1006
1071
  */
1007
- declare function borderStyle({
1008
- border
1009
- }: {
1072
+ declare function borderStyle({ border }: {
1010
1073
  border?: string | number | boolean;
1011
1074
  }): Record<string, string> | null;
1012
1075
  declare namespace borderStyle {
1013
1076
  var __lookupStyles: string[];
1014
1077
  }
1015
1078
  //#endregion
1079
+ //#region src/styles/blockSize.d.ts
1080
+ declare function blockSizeStyle({ blockSize, minBlockSize, maxBlockSize }: {
1081
+ blockSize?: string | number | boolean;
1082
+ minBlockSize?: string | number | boolean;
1083
+ maxBlockSize?: string | number | boolean;
1084
+ }): Record<string, string | string[]> | null;
1085
+ declare namespace blockSizeStyle {
1086
+ var __lookupStyles: ("blockSize" | "maxBlockSize" | "minBlockSize")[];
1087
+ }
1088
+ //#endregion
1016
1089
  //#region src/styles/color.d.ts
1017
- declare function colorStyle({
1018
- color
1019
- }: {
1090
+ declare function colorStyle({ color }: {
1020
1091
  color?: string | boolean;
1021
1092
  }): Record<string, string> | null;
1022
1093
  declare namespace colorStyle {
@@ -1040,21 +1111,13 @@ interface DisplayStyleProps {
1040
1111
  * 3. Single-line `textOverflow` defaults white-space to nowrap
1041
1112
  * 4. Explicit `whiteSpace` overrides the default from `textOverflow`
1042
1113
  */
1043
- declare function displayStyle({
1044
- display,
1045
- hide,
1046
- textOverflow,
1047
- overflow,
1048
- whiteSpace
1049
- }: DisplayStyleProps): Record<string, string | number> | null;
1114
+ declare function displayStyle({ display, hide, textOverflow, overflow, whiteSpace }: DisplayStyleProps): Record<string, string | number> | null;
1050
1115
  declare namespace displayStyle {
1051
1116
  var __lookupStyles: string[];
1052
1117
  }
1053
1118
  //#endregion
1054
1119
  //#region src/styles/fade.d.ts
1055
- declare function fadeStyle({
1056
- fade
1057
- }: {
1120
+ declare function fadeStyle({ fade }: {
1058
1121
  fade?: string;
1059
1122
  }): {
1060
1123
  mask: string;
@@ -1065,19 +1128,7 @@ declare namespace fadeStyle {
1065
1128
  }
1066
1129
  //#endregion
1067
1130
  //#region src/styles/fill.d.ts
1068
- declare function fillStyle({
1069
- fill,
1070
- backgroundColor,
1071
- image,
1072
- backgroundImage,
1073
- backgroundPosition,
1074
- backgroundSize,
1075
- backgroundRepeat,
1076
- backgroundAttachment,
1077
- backgroundOrigin,
1078
- backgroundClip,
1079
- background
1080
- }: {
1131
+ declare function fillStyle({ fill, backgroundColor, image, backgroundImage, backgroundPosition, backgroundSize, backgroundRepeat, backgroundAttachment, backgroundOrigin, backgroundClip, background }: {
1081
1132
  fill?: string;
1082
1133
  backgroundColor?: string;
1083
1134
  image?: string;
@@ -1093,9 +1144,7 @@ declare function fillStyle({
1093
1144
  declare namespace fillStyle {
1094
1145
  var __lookupStyles: string[];
1095
1146
  }
1096
- declare function svgFillStyle({
1097
- svgFill
1098
- }: {
1147
+ declare function svgFillStyle({ svgFill }: {
1099
1148
  svgFill?: string;
1100
1149
  }): {
1101
1150
  fill: string;
@@ -1105,12 +1154,9 @@ declare namespace svgFillStyle {
1105
1154
  }
1106
1155
  //#endregion
1107
1156
  //#region src/styles/flow.d.ts
1108
- declare function flowStyle({
1109
- display,
1110
- flow
1111
- }: {
1112
- display?: string;
1113
- flow?: string;
1157
+ declare function flowStyle({ display, flow }: {
1158
+ display?: string | NoType;
1159
+ flow?: string | NoType;
1114
1160
  }): {
1115
1161
  [x: string]: string;
1116
1162
  } | null;
@@ -1119,14 +1165,10 @@ declare namespace flowStyle {
1119
1165
  }
1120
1166
  //#endregion
1121
1167
  //#region src/styles/gap.d.ts
1122
- declare function gapStyle({
1123
- display,
1124
- flow,
1125
- gap
1126
- }: {
1127
- display?: string;
1128
- flow?: string;
1129
- gap?: string | number | boolean;
1168
+ declare function gapStyle({ display, flow, gap }: {
1169
+ display?: string | NoType;
1170
+ flow?: string | NoType;
1171
+ gap?: string | number | boolean | NoType;
1130
1172
  }): {
1131
1173
  gap: string;
1132
1174
  $?: undefined;
@@ -1153,28 +1195,14 @@ interface HeightStyleProps {
1153
1195
  minHeight?: string | number | boolean;
1154
1196
  maxHeight?: string | number | boolean;
1155
1197
  }
1156
- declare function heightStyle({
1157
- height,
1158
- minHeight,
1159
- maxHeight
1160
- }: HeightStyleProps): Record<string, string | string[]> | null;
1198
+ declare function heightStyle({ height, minHeight, maxHeight }: HeightStyleProps): Record<string, string | string[]> | null;
1161
1199
  declare namespace heightStyle {
1162
1200
  var __lookupStyles: string[];
1163
1201
  }
1164
1202
  //#endregion
1165
1203
  //#region src/styles/inset.d.ts
1166
- declare function insetStyle({
1167
- inset,
1168
- insetBlock,
1169
- insetInline,
1170
- top,
1171
- right,
1172
- bottom,
1173
- left
1174
- }: {
1204
+ declare function insetStyle({ inset, top, right, bottom, left }: {
1175
1205
  inset?: string | number | boolean;
1176
- insetBlock?: string | number | boolean;
1177
- insetInline?: string | number | boolean;
1178
1206
  top?: string | number | boolean;
1179
1207
  right?: string | number | boolean;
1180
1208
  bottom?: string | number | boolean;
@@ -1184,19 +1212,19 @@ declare namespace insetStyle {
1184
1212
  var __lookupStyles: string[];
1185
1213
  }
1186
1214
  //#endregion
1215
+ //#region src/styles/inlineSize.d.ts
1216
+ declare function inlineSizeStyle({ inlineSize, minInlineSize, maxInlineSize }: {
1217
+ inlineSize?: string | number | boolean;
1218
+ minInlineSize?: string | number | boolean;
1219
+ maxInlineSize?: string | number | boolean;
1220
+ }): Record<string, string | string[]> | null;
1221
+ declare namespace inlineSizeStyle {
1222
+ var __lookupStyles: ("inlineSize" | "maxInlineSize" | "minInlineSize")[];
1223
+ }
1224
+ //#endregion
1187
1225
  //#region src/styles/margin.d.ts
1188
- declare function marginStyle({
1189
- margin,
1190
- marginBlock,
1191
- marginInline,
1192
- marginTop,
1193
- marginRight,
1194
- marginBottom,
1195
- marginLeft
1196
- }: {
1226
+ declare function marginStyle({ margin, marginTop, marginRight, marginBottom, marginLeft }: {
1197
1227
  margin?: string | number | boolean;
1198
- marginBlock?: string | number | boolean;
1199
- marginInline?: string | number | boolean;
1200
1228
  marginTop?: string | number | boolean;
1201
1229
  marginRight?: string | number | boolean;
1202
1230
  marginBottom?: string | number | boolean;
@@ -1225,27 +1253,14 @@ interface OutlineStyleProps {
1225
1253
  *
1226
1254
  * @return CSS properties for outline and optionally outline-offset
1227
1255
  */
1228
- declare function outlineStyle({
1229
- outline,
1230
- outlineOffset
1231
- }: OutlineStyleProps): Record<string, string> | null;
1256
+ declare function outlineStyle({ outline, outlineOffset }: OutlineStyleProps): Record<string, string> | null;
1232
1257
  declare namespace outlineStyle {
1233
1258
  var __lookupStyles: string[];
1234
1259
  }
1235
1260
  //#endregion
1236
1261
  //#region src/styles/padding.d.ts
1237
- declare function paddingStyle({
1238
- padding,
1239
- paddingBlock,
1240
- paddingInline,
1241
- paddingTop,
1242
- paddingRight,
1243
- paddingBottom,
1244
- paddingLeft
1245
- }: {
1262
+ declare function paddingStyle({ padding, paddingTop, paddingRight, paddingBottom, paddingLeft }: {
1246
1263
  padding?: string | number | boolean;
1247
- paddingBlock?: string | number | boolean;
1248
- paddingInline?: string | number | boolean;
1249
1264
  paddingTop?: string | number | boolean;
1250
1265
  paddingRight?: string | number | boolean;
1251
1266
  paddingBottom?: string | number | boolean;
@@ -1275,17 +1290,7 @@ interface PlacementStyleProps {
1275
1290
  * 2. placeItems, placeContent, align, justify (medium) — each sets 2 longhands
1276
1291
  * 3. alignItems, alignContent, justifyItems, justifyContent (highest) — each sets 1 longhand
1277
1292
  */
1278
- declare function placementStyle({
1279
- place,
1280
- placeItems,
1281
- placeContent,
1282
- align,
1283
- justify,
1284
- alignItems,
1285
- alignContent,
1286
- justifyItems,
1287
- justifyContent
1288
- }: PlacementStyleProps): Record<string, string> | null;
1293
+ declare function placementStyle({ place, placeItems, placeContent, align, justify, alignItems, alignContent, justifyItems, justifyContent }: PlacementStyleProps): Record<string, string> | null;
1289
1294
  declare namespace placementStyle {
1290
1295
  var __lookupStyles: string[];
1291
1296
  }
@@ -1326,25 +1331,13 @@ interface PresetStyleProps {
1326
1331
  * - `font` is the recommended prop with special handling (monospace, boolean, fallback)
1327
1332
  * - `fontFamily` is a direct value without special handling
1328
1333
  */
1329
- declare function presetStyle({
1330
- preset,
1331
- fontSize,
1332
- lineHeight,
1333
- textTransform,
1334
- letterSpacing,
1335
- fontWeight,
1336
- fontStyle,
1337
- fontFamily,
1338
- font
1339
- }: PresetStyleProps): CSSMap | null;
1334
+ declare function presetStyle({ preset, fontSize, lineHeight, textTransform, letterSpacing, fontWeight, fontStyle, fontFamily, font }: PresetStyleProps): CSSMap | null;
1340
1335
  declare namespace presetStyle {
1341
1336
  var __lookupStyles: string[];
1342
1337
  }
1343
1338
  //#endregion
1344
1339
  //#region src/styles/radius.d.ts
1345
- declare function radiusStyle({
1346
- radius
1347
- }: {
1340
+ declare function radiusStyle({ radius }: {
1348
1341
  radius?: string | number | boolean;
1349
1342
  }): Record<string, string> | null;
1350
1343
  declare namespace radiusStyle {
@@ -1352,18 +1345,8 @@ declare namespace radiusStyle {
1352
1345
  }
1353
1346
  //#endregion
1354
1347
  //#region src/styles/scrollMargin.d.ts
1355
- declare function scrollMarginStyle({
1356
- scrollMargin,
1357
- scrollMarginBlock,
1358
- scrollMarginInline,
1359
- scrollMarginTop,
1360
- scrollMarginRight,
1361
- scrollMarginBottom,
1362
- scrollMarginLeft
1363
- }: {
1348
+ declare function scrollMarginStyle({ scrollMargin, scrollMarginTop, scrollMarginRight, scrollMarginBottom, scrollMarginLeft }: {
1364
1349
  scrollMargin?: string | number | boolean;
1365
- scrollMarginBlock?: string | number | boolean;
1366
- scrollMarginInline?: string | number | boolean;
1367
1350
  scrollMarginTop?: string | number | boolean;
1368
1351
  scrollMarginRight?: string | number | boolean;
1369
1352
  scrollMarginBottom?: string | number | boolean;
@@ -1373,6 +1356,18 @@ declare namespace scrollMarginStyle {
1373
1356
  var __lookupStyles: string[];
1374
1357
  }
1375
1358
  //#endregion
1359
+ //#region src/styles/scrollPadding.d.ts
1360
+ declare function scrollPaddingStyle({ scrollPadding, scrollPaddingTop, scrollPaddingRight, scrollPaddingBottom, scrollPaddingLeft }: {
1361
+ scrollPadding?: string | number | boolean;
1362
+ scrollPaddingTop?: string | number | boolean;
1363
+ scrollPaddingRight?: string | number | boolean;
1364
+ scrollPaddingBottom?: string | number | boolean;
1365
+ scrollPaddingLeft?: string | number | boolean;
1366
+ }): Record<string, string> | null;
1367
+ declare namespace scrollPaddingStyle {
1368
+ var __lookupStyles: string[];
1369
+ }
1370
+ //#endregion
1376
1371
  //#region src/styles/scrollbar.d.ts
1377
1372
  interface ScrollbarStyleProps {
1378
1373
  scrollbar?: string | boolean;
@@ -1388,18 +1383,13 @@ interface ScrollbarStyleProps {
1388
1383
  * Note: `auto` is classified as a VALUE_KEYWORD by the parser, so it lands
1389
1384
  * in `values` rather than `mods`. Both locations are checked for robustness.
1390
1385
  */
1391
- declare function scrollbarStyle({
1392
- scrollbar,
1393
- overflow
1394
- }: ScrollbarStyleProps): Record<string, string> | null;
1386
+ declare function scrollbarStyle({ scrollbar, overflow }: ScrollbarStyleProps): Record<string, string> | null;
1395
1387
  declare namespace scrollbarStyle {
1396
1388
  var __lookupStyles: string[];
1397
1389
  }
1398
1390
  //#endregion
1399
1391
  //#region src/styles/shadow.d.ts
1400
- declare function shadowStyle({
1401
- shadow
1402
- }: {
1392
+ declare function shadowStyle({ shadow }: {
1403
1393
  shadow?: string | boolean;
1404
1394
  }): {
1405
1395
  'box-shadow': string;
@@ -1409,9 +1399,7 @@ declare namespace shadowStyle {
1409
1399
  }
1410
1400
  //#endregion
1411
1401
  //#region src/styles/transition.d.ts
1412
- declare function transitionStyle({
1413
- transition
1414
- }: {
1402
+ declare function transitionStyle({ transition }: {
1415
1403
  transition?: string;
1416
1404
  }): {
1417
1405
  transition: string;
@@ -1426,11 +1414,7 @@ interface WidthStyleProps {
1426
1414
  minWidth?: string | number | boolean;
1427
1415
  maxWidth?: string | number | boolean;
1428
1416
  }
1429
- declare function widthStyle({
1430
- width,
1431
- minWidth,
1432
- maxWidth
1433
- }: WidthStyleProps): Record<string, string | string[]> | null;
1417
+ declare function widthStyle({ width, minWidth, maxWidth }: WidthStyleProps): Record<string, string | string[]> | null;
1434
1418
  declare namespace widthStyle {
1435
1419
  var __lookupStyles: string[];
1436
1420
  }
@@ -1460,16 +1444,6 @@ declare namespace widthStyle {
1460
1444
  * ```
1461
1445
  */
1462
1446
  declare const styleHandlers: {
1463
- readonly border: typeof borderStyle;
1464
- readonly color: typeof colorStyle;
1465
- readonly display: typeof displayStyle;
1466
- readonly fade: typeof fadeStyle;
1467
- readonly fill: typeof fillStyle;
1468
- readonly svgFill: typeof svgFillStyle;
1469
- readonly flow: typeof flowStyle;
1470
- readonly gap: typeof gapStyle;
1471
- readonly height: typeof heightStyle;
1472
- readonly inset: typeof insetStyle;
1473
1447
  readonly margin: typeof marginStyle;
1474
1448
  readonly outline: typeof outlineStyle;
1475
1449
  readonly padding: typeof paddingStyle;
@@ -1477,10 +1451,35 @@ declare const styleHandlers: {
1477
1451
  readonly preset: typeof presetStyle;
1478
1452
  readonly radius: typeof radiusStyle;
1479
1453
  readonly scrollMargin: typeof scrollMarginStyle;
1454
+ readonly scrollPadding: typeof scrollPaddingStyle;
1480
1455
  readonly scrollbar: typeof scrollbarStyle;
1481
1456
  readonly shadow: typeof shadowStyle;
1482
1457
  readonly transition: typeof transitionStyle;
1483
1458
  readonly width: typeof widthStyle;
1459
+ readonly blockBorder: StyleHandler<Partial<Record<"blockBorder", string | number | boolean | undefined>>>;
1460
+ readonly inlineBorder: StyleHandler<Partial<Record<"inlineBorder", string | number | boolean | undefined>>>;
1461
+ readonly blockScrollPadding: StyleHandler<Partial<Record<"blockScrollPadding", string | number | boolean | undefined>>>;
1462
+ readonly inlineScrollPadding: StyleHandler<Partial<Record<"inlineScrollPadding", string | number | boolean | undefined>>>;
1463
+ readonly blockScrollMargin: StyleHandler<Partial<Record<"blockScrollMargin", string | number | boolean | undefined>>>;
1464
+ readonly inlineScrollMargin: StyleHandler<Partial<Record<"inlineScrollMargin", string | number | boolean | undefined>>>;
1465
+ readonly blockInset: StyleHandler<Partial<Record<"blockInset", string | number | boolean | undefined>>>;
1466
+ readonly inlineInset: StyleHandler<Partial<Record<"inlineInset", string | number | boolean | undefined>>>;
1467
+ readonly blockMargin: StyleHandler<Partial<Record<"blockMargin", string | number | boolean | undefined>>>;
1468
+ readonly inlineMargin: StyleHandler<Partial<Record<"inlineMargin", string | number | boolean | undefined>>>;
1469
+ readonly blockPadding: StyleHandler<Partial<Record<"blockPadding", string | number | boolean | undefined>>>;
1470
+ readonly inlinePadding: StyleHandler<Partial<Record<"inlinePadding", string | number | boolean | undefined>>>;
1471
+ readonly blockSize: typeof blockSizeStyle;
1472
+ readonly border: typeof borderStyle;
1473
+ readonly color: typeof colorStyle;
1474
+ readonly display: typeof displayStyle;
1475
+ readonly fade: typeof fadeStyle;
1476
+ readonly fill: typeof fillStyle;
1477
+ readonly svgFill: typeof svgFillStyle;
1478
+ readonly flow: typeof flowStyle;
1479
+ readonly gap: typeof gapStyle;
1480
+ readonly height: typeof heightStyle;
1481
+ readonly inset: typeof insetStyle;
1482
+ readonly inlineSize: typeof inlineSizeStyle;
1484
1483
  };
1485
1484
  //#endregion
1486
1485
  //#region src/styles/define-handler.d.ts
@@ -1523,6 +1522,13 @@ interface ComputeStylesOptions {
1523
1522
  ssrCollector?: ServerStyleCollector | null;
1524
1523
  /** Target root for style injection (client only). Defaults to `document`. */
1525
1524
  root?: Document | ShadowRoot;
1525
+ /**
1526
+ * Set when `styles` outlives this call and will be passed in again — a
1527
+ * `tasty()` factory's own styles object rather than a per-render merge.
1528
+ * It lets chunk cache keys be memoized on the object, which is worth the
1529
+ * bookkeeping only when there is a next render to spend it on.
1530
+ */
1531
+ stableStyles?: boolean;
1526
1532
  }
1527
1533
  /**
1528
1534
  * Synchronous, hook-free style computation.
@@ -1580,10 +1586,7 @@ declare const chunkSheetRegistry: ChunkSheetRegistry;
1580
1586
  /**
1581
1587
  * Inject styles and return className with dispose function
1582
1588
  */
1583
- declare function inject(rules: StyleResult[], options?: {
1584
- root?: Document | ShadowRoot;
1585
- cacheKey?: string;
1586
- }): InjectResult;
1589
+ declare function inject(rules: StyleResult[], options?: InjectOptions): InjectResult;
1587
1590
  /**
1588
1591
  * Inject global rules that should not reserve tasty class names
1589
1592
  */
@@ -1714,21 +1717,40 @@ declare function getCSSTextForNode(node: ParentNode | Element | DocumentFragment
1714
1717
  root?: Document | ShadowRoot;
1715
1718
  }): string;
1716
1719
  /**
1717
- * Force cleanup of unused rules
1720
+ * Take a reference on local `@keyframes` under the deterministic names the
1721
+ * caller resolved, and report which entry holds each. Pair with
1722
+ * `ownKeyframes()` once the rules exist to inspect.
1723
+ */
1724
+ declare function holdKeyframes(steps: Record<string, KeyframesSteps>, names: Map<string, string>, options?: {
1725
+ root?: Document | ShadowRoot;
1726
+ }): Map<string, string>;
1727
+ /**
1728
+ * Record that a class animates these keyframes, so the reference is released
1729
+ * when the last such class is collected.
1730
+ */
1731
+ declare function ownKeyframes(key: string, className: string, options?: {
1732
+ root?: Document | ShadowRoot;
1733
+ }): void;
1734
+ /**
1735
+ * Remove every injected rule that is neither in the DOM nor held by an
1736
+ * outstanding `inject()` handle. Equivalent to `gc({ force: true })`.
1718
1737
  */
1719
1738
  declare function cleanup(root?: Document | ShadowRoot): void;
1720
1739
  /**
1721
- * Record a render-time usage hit for one or more classNames.
1722
- * Used internally by computeStyles and tasty() to track usage for GC.
1723
- * When the global touch counter reaches `touchInterval`, schedules GC.
1740
+ * Count a render, so that a collection pass is scheduled every
1741
+ * `gc.touchInterval` of them. Used internally by computeStyles and tasty().
1742
+ *
1743
+ * @deprecated The class name is ignored — collection asks the DOM what is
1744
+ * rendered rather than recording usage per class. The argument is kept so
1745
+ * existing calls still compile.
1724
1746
  */
1725
1747
  declare function touch(className: string, options?: {
1726
1748
  root?: Document | ShadowRoot;
1727
1749
  }): void;
1728
1750
  /**
1729
- * Synchronous garbage collection of unused styles.
1730
- * Evicts the oldest unused styles when usageMap exceeds capacity.
1731
- * With `{ force: true }`, removes ALL unused styles regardless of capacity.
1751
+ * Synchronous garbage collection of unused styles — those no element carries
1752
+ * and no `inject()` handle references. Evicts the oldest ones once they exceed
1753
+ * capacity. With `{ force: true }`, removes all of them regardless of capacity.
1732
1754
  *
1733
1755
  * @returns Number of styles evicted.
1734
1756
  */
@@ -1749,66 +1771,54 @@ declare function destroy(root?: Document | ShadowRoot): void;
1749
1771
  declare function createInjector(config?: Partial<StyleInjectorConfig>): StyleInjector;
1750
1772
  //#endregion
1751
1773
  //#region src/utils/filter-base-props.d.ts
1774
+ declare const basePropNames: readonly ["role", "title", "inert", "as", "element", "css", "qa", "mods", "qaVal", "hidden", "isHidden", "disabled", "isDisabled", "children", "style", "className", "href", "target", "tabIndex"];
1775
+ declare const ignoredEventPropNames: readonly ["onPress", "onHoverStart", "onHoverEnd", "onPressStart", "onPressEnd"];
1752
1776
  interface PropsFilterOptions {
1753
1777
  labelable?: boolean;
1754
- propNames?: Set<string>;
1778
+ propNames?: ReadonlySet<string>;
1755
1779
  eventProps?: boolean;
1756
1780
  }
1757
- /**
1758
- * Filters out all props that aren't valid DOM props or defined via override prop obj.
1781
+ type ExplicitPropName<O> = O extends {
1782
+ propNames?: ReadonlySet<infer P>;
1783
+ } ? Extract<P, string> : never;
1784
+ type EventPropsEnabled<O> = O extends {
1785
+ eventProps?: infer E;
1786
+ } ? Extract<E, boolean> : never;
1787
+ type Characters<S extends string> = S extends `${infer First}${infer Rest}` ? First | Characters<Rest> : never;
1788
+ /** Models DOM-style event keys and the runtime's ignored event names. */
1789
+ type EventPropName<K extends string> = string extends K ? `on${Characters<'ABCDEFGHIJKLMNOPQRSTUVWXYZ'>}${string}` : K extends `on${infer Initial}${infer Rest}` ? 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' extends `${string}${Initial}${string}` ? Rest extends '' ? never : Exclude<K, (typeof ignoredEventPropNames)[number]> : never : never;
1790
+ type ExplicitNumericPropName<K, O> = K extends number ? `${K}` extends ExplicitPropName<O> ? K : never : never;
1791
+ type RetainedPropName<T, O> = 'id' | (typeof basePropNames)[number] | `aria-${string}` | `data-${string}` | ExplicitPropName<O> | (true extends EventPropsEnabled<O> ? EventPropName<Extract<keyof T, string>> : never);
1792
+ type FilteredProps<T extends object, O> = T extends unknown ? Partial<Pick<T, Extract<keyof T, RetainedPropName<T, O>> | Extract<RetainedPropName<T, O>, keyof T> | ExplicitNumericPropName<keyof T, O>>> : never;
1793
+ /**
1794
+ * Keeps the built-in base props, ARIA/data attributes, and explicitly allowed props.
1795
+ * DOM-style event names are kept only with `eventProps: true`, except the ignored
1796
+ * interaction events (which can still be allowed explicitly via `propNames`).
1797
+ * The return type preserves the input value types only for potentially retained
1798
+ * keys. Props remain optional because only own enumerable string keys are copied.
1799
+ * Use a literal union (e.g. `new Set(['name', 'type'] as const)`) for `propNames`
1800
+ * to keep precise types; a `Set<string>` can potentially retain any string key.
1759
1801
  * @param props - The component props to be filtered.
1760
- * @param opts - Props to override.
1802
+ * @param opts - Additional prop names and event forwarding options.
1761
1803
  */
1762
- declare function filterBaseProps<T extends object>(props: T, opts?: PropsFilterOptions): Partial<T>;
1804
+ declare function filterBaseProps<T extends object>(props: T, opts?: undefined): FilteredProps<T, undefined>;
1805
+ declare function filterBaseProps<T extends object, O extends PropsFilterOptions | undefined = PropsFilterOptions>(props: T, opts: O): FilteredProps<T, O>;
1763
1806
  //#endregion
1764
1807
  //#region src/utils/colors.d.ts
1765
1808
  declare function color$1(name: string, opacity?: number): string;
1766
1809
  //#endregion
1767
1810
  //#region src/utils/mod-attrs.d.ts
1768
- declare const _modAttrs: (firstArg: Record<string, ModValue> | undefined, secondArg?: unknown) => Record<string, string> | null;
1769
- //#endregion
1770
- //#region src/utils/dotize.d.ts
1771
- declare const dotize: {
1772
- valTypes: {
1773
- none: string;
1774
- primitive: string;
1775
- object: string;
1776
- array: string;
1777
- };
1778
- getValType: (val: any) => string | undefined;
1779
- getPathType: (arrPath: any) => string[];
1780
- isUndefined: (obj: any) => obj is undefined;
1781
- isNumber: (f: any) => boolean;
1782
- isEmptyObj: (obj: any) => boolean;
1783
- isPlainObject: (obj: any) => boolean;
1784
- isNotObject: (obj: any) => boolean;
1785
- isEmptyArray: (arr: any) => boolean;
1786
- isNotArray: (arr: any) => boolean;
1787
- removeEmptyArrayItem: (arr: any) => any;
1788
- getFieldName: (field: any, prefix: any, isRoot: any, isArrayItem: any, isArray: any) => string;
1789
- startsWith: (val: any, valToSearch: any) => boolean;
1790
- convert: (obj: any, prefix?: string) => any;
1791
- backward: (obj: any, prefix: any) => any;
1792
- };
1811
+ declare function modAttrs(map: AllBaseProps['mods']): Record<string, string> | null;
1793
1812
  //#endregion
1794
1813
  //#region src/utils/resolve-recipes.d.ts
1795
- /**
1796
- * Resolve all `recipe` style properties in a styles object.
1797
- *
1798
- * Handles both top-level and sub-element recipe references.
1799
- * Returns the same object reference if no recipes are present anywhere
1800
- * (zero overhead for the common case).
1801
- *
1802
- * @param styles - The styles object potentially containing `recipe` keys
1803
- * @returns Resolved styles with recipe values merged in, or the original object if unchanged
1804
- */
1814
+ /** Resolve recipe references against the globally configured recipe map. */
1805
1815
  declare function resolveRecipes(styles: Styles): Styles;
1806
1816
  //#endregion
1807
1817
  //#region src/utils/process-tokens.d.ts
1808
1818
  /**
1809
1819
  * Process tokens object into inline style properties.
1810
- * - $name -> --name with parsed value
1811
- * - #name -> --name-color with parsed value
1820
+ * - `$name` -> `--name` with the parsed value
1821
+ * - `#name` -> `--name-color` with the parsed value
1812
1822
  *
1813
1823
  * @param tokens - The tokens object to process
1814
1824
  * @returns CSSProperties object or undefined if no tokens to process
@@ -1863,7 +1873,13 @@ interface ChunkBreakdown {
1863
1873
  }
1864
1874
  interface Summary {
1865
1875
  activeClasses: string[];
1876
+ /** Classes `gc({ force: true })` would delete right now. */
1866
1877
  unusedClasses: string[];
1878
+ /**
1879
+ * Held but in neither list: nothing renders them, yet collection will not
1880
+ * take them — inside the grace window, or pinned by an `inject()` handle.
1881
+ */
1882
+ hotClasses: string[];
1867
1883
  totalStyledClasses: string[];
1868
1884
  activeCSSSize: number;
1869
1885
  unusedCSSSize: number;
@@ -1900,5 +1916,5 @@ declare const tastyDebug: {
1900
1916
  install(): void;
1901
1917
  };
1902
1918
  //#endregion
1903
- export { okhstFunction as $, PositionStyleProps as $t, keyframes as A, TastyElementProps as At, ChunkInfo as B, BaseStyleProps as Bt, getCSSTextForNode as C, ResolveModPropDef as Ct, injectRawCSS as D, SubElementProps as Dt, injectGlobal as E, SubElementDefinition as Et, ComputeStylesOptions as F, WithVariant as Ft, DIMENSION_CHUNK_STYLES as G, ContainerStyleProps as Gt, APPEARANCE_CHUNK_STYLES as H, BlockOuterStyleProps as Ht, ComputeStylesResult as I, tasty as It, LAYOUT_CHUNK_STYLES as J, FlowStyleProps as Jt, DISPLAY_CHUNK_STYLES as K, DimensionStyleProps as Kt, computeStyles as L, AllBaseProps as Lt, touch as M, TastyProps as Mt, ChunkSheetRegistry as N, TokenPropsInput as Nt, injector as O, TastyComponentPropsWithDefaults as Ot, chunkSheetRegistry as P, VariantMap as Pt, createColorFunc as Q, OuterStyleProps as Qt, defineHandler as R, BaseProps as Rt, getCSSText as S, DEFAULT_ZERO_NAME_PREFIX as Sn, ResolveAsProps as St, inject as T, ResolveTokenProps as Tt, CHUNK_NAMES as U, BlockStyleProps as Ut, categorizeStyleKeys as V, BlockInnerStyleProps as Vt, ChunkName as W, ColorStyleProps as Wt, STYLE_TO_CHUNK as X, ModValue as Xt, POSITION_CHUNK_STYLES as Y, InnerStyleProps as Yt, resolveFunctionColor as Z, Mods as Zt, createInjector as _, INNER_STYLES as _n, AllBasePropsWithMods as _t, DebugOptions as a, TastyThemeNames as an, TastyBatchProviderProps as at, func as b, TEXT_STYLES as bn, ModPropDef as bt, tastyDebug as c, Tokens as cn, useCounterStyle as ct, dotize as d, BLOCK_OUTER_STYLES as dn, useProperty as dt, ShortGridStyles as en, okhstPlugin as et, _modAttrs as f, BLOCK_STYLES as fn, useKeyframes as ft, counterStyle as g, FLOW_STYLES as gn, useStyles as gt, cleanup as h, DIMENSION_STYLES as hn, UseStylesResult as ht, DebugChunkInfo as i, TastyExtensionConfig as in, TastyBatchProvider as it, property as j, TastyPolymorphicComponent as jt, isPropertyDefined as k, TastyElementOptions as kt, processTokens as l, BASE_STYLES as ln, useFontFace as lt, filterBaseProps as m, CONTAINER_STYLES as mn, useGlobalStyles as mt, CacheStatus as n, TastyBaseStylePropNames as nn, okhslPlugin as nt, InspectResult as o, TextStyleProps as on, UseFunctionOptions as ot, color$1 as p, COLOR_STYLES as pn, useRawCSS as pt, FONT_CHUNK_STYLES as q, ExtraBaseStyleProps as qt, ChunkBreakdown as r, TastyCustomProps as rn, getDisplayName as rt, Summary as s, TokenValue as sn, useFunction as st, CSSOptions as t, TagName as tn, okhslFunction as tt, resolveRecipes as u, BLOCK_INNER_STYLES as un, UsePropertyOptions as ut, destroy as v, OUTER_STYLES as vn, Element$1 as vt, getRawCSSText as w, ResolveModProps as wt, gc as x, DEFAULT_NAME_PREFIX as xn, ModPropsInput as xt, fontFace as y, POSITION_STYLES as yn, ElementsDefinition as yt, styleHandlers as z, BasePropsWithoutChildren as zt };
1904
- //# sourceMappingURL=index-D1nMkpUe.d.ts.map
1919
+ export { createColorFunc as $, OuterStyleProps as $t, keyframes as A, strToRgb as An, TastyElementOptions as At, styleHandlers as B, BasePropsWithoutChildren as Bt, getRawCSSText as C, DEFAULT_ZERO_NAME_PREFIX as Cn, ResolveAsProps as Ct, injectRawCSS as D, getRgbValuesFromRgbaString as Dn, SubElementDefinition as Dt, injectGlobal as E, getNamedColorHex as En, ResolveTokenProps as Et, chunkSheetRegistry as F, VariantMap as Ft, ChunkName as G, ColorStyleProps as Gt, categorizeStyleKeys as H, BlockInnerStyleProps as Ht, ComputeStylesOptions as I, WithVariant as It, FONT_CHUNK_STYLES as J, ExtraBaseStyleProps as Jt, DIMENSION_CHUNK_STYLES as K, ContainerStyleProps as Kt, ComputeStylesResult as L, tasty as Lt, property as M, TastyPolymorphicComponent as Mt, touch as N, TastyProps as Nt, injector as O, hexToRgb as On, SubElementProps as Ot, ChunkSheetRegistry as P, TokenPropsInput as Pt, resolveFunctionColor as Q, Mods as Qt, computeStyles as R, AllBaseProps as Rt, getCSSTextForNode as S, DEFAULT_NAME_PREFIX as Sn, ModPropsInput as St, inject as T, isSelector as Tn, ResolveModProps as Tt, APPEARANCE_CHUNK_STYLES as U, BlockOuterStyleProps as Ut, ChunkInfo as V, BaseStyleProps as Vt, CHUNK_NAMES as W, BlockStyleProps as Wt, POSITION_CHUNK_STYLES as X, InnerStyleProps as Xt, LAYOUT_CHUNK_STYLES as Y, FlowStyleProps as Yt, STYLE_TO_CHUNK as Z, ModValue as Zt, destroy as _, FLOW_STYLES as _n, useStyles as _t, DebugOptions as a, TastyExtensionConfig as an, TastyBatchProvider as at, gc as b, POSITION_STYLES as bn, ElementsDefinition as bt, tastyDebug as c, TokenValue as cn, useFunction as ct, modAttrs as d, BLOCK_INNER_STYLES as dn, UsePropertyOptions as dt, PositionStyleProps as en, okhstFunction as et, color$1 as f, BLOCK_OUTER_STYLES as fn, useProperty as ft, createInjector as g, DIMENSION_STYLES as gn, UseStylesResult as gt, counterStyle as h, CONTAINER_STYLES as hn, useGlobalStyles as ht, DebugChunkInfo as i, TastyCustomProps as in, getDisplayName as it, ownKeyframes as j, TastyElementProps as jt, isPropertyDefined as k, hslToRgbValues as kn, TastyComponentPropsWithDefaults as kt, processTokens as l, Tokens as ln, useCounterStyle as lt, cleanup as m, COLOR_STYLES as mn, useRawCSS as mt, CacheStatus as n, TagName as nn, okhslFunction as nt, InspectResult as o, TastyThemeNames as on, TastyBatchProviderProps as ot, filterBaseProps as p, BLOCK_STYLES as pn, useKeyframes as pt, DISPLAY_CHUNK_STYLES as q, DimensionStyleProps as qt, ChunkBreakdown as r, TastyBaseStylePropNames as rn, okhslPlugin as rt, Summary as s, TextStyleProps as sn, UseFunctionOptions as st, CSSOptions as t, ShortGridStyles as tn, okhstPlugin as tt, resolveRecipes as u, BASE_STYLES as un, useFontFace as ut, fontFace as v, INNER_STYLES as vn, AllBasePropsWithMods as vt, holdKeyframes as w, hasStylesGenerated as wn, ResolveModPropDef as wt, getCSSText as x, TEXT_STYLES as xn, ModPropDef as xt, func as y, OUTER_STYLES as yn, Element$1 as yt, defineHandler as z, BaseProps as zt };
1920
+ //# sourceMappingURL=index-G9JuwM9p.d.ts.map