@tenphi/tasty 0.0.0-snapshot.b2ad8a7 → 0.0.0-snapshot.b317d64

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 (119) hide show
  1. package/README.md +6 -6
  2. package/dist/babel-types-C_7kRP38.d.ts +18 -0
  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-BDLYGmKn.js +60 -0
  6. package/dist/chunks/build-config-BDLYGmKn.js.map +1 -0
  7. package/dist/{collector-DCI2yzwx.js → chunks/collector-DqcB0UUT.js} +25 -119
  8. package/dist/chunks/collector-DqcB0UUT.js.map +1 -0
  9. package/dist/chunks/config-engine-CGIMO2PV.js +272 -0
  10. package/dist/chunks/config-engine-CGIMO2PV.js.map +1 -0
  11. package/dist/chunks/css-definitions-BibU6ZnP.js +904 -0
  12. package/dist/chunks/css-definitions-BibU6ZnP.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-Dy36S1sU.js +502 -0
  16. package/dist/chunks/debug-Dy36S1sU.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-BljxMd6C.js +582 -0
  22. package/dist/chunks/react-runtime-BljxMd6C.js.map +1 -0
  23. package/dist/chunks/runtime-engine-CPYI2bA8.js +2415 -0
  24. package/dist/chunks/runtime-engine-CPYI2bA8.js.map +1 -0
  25. package/dist/chunks/runtime-state-C0u1jp-Q.js +141 -0
  26. package/dist/chunks/runtime-state-C0u1jp-Q.js.map +1 -0
  27. package/dist/{merge-styles-CzVxdtav.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-D35rvcdB.js +5420 -0
  30. package/dist/chunks/style-engine-D35rvcdB.js.map +1 -0
  31. package/dist/{css-writer-Cq0fg5v8.js → chunks/zero-engine-b--JCZad.js} +51 -146
  32. package/dist/chunks/zero-engine-b--JCZad.js.map +1 -0
  33. package/dist/{collector-CQDeU7WS.d.ts → collector-w4mBj5gd.d.ts} +23 -4
  34. package/dist/{config-CwRr6-fG.d.ts → config-CrZOfNJ5.d.ts} +110 -96
  35. package/dist/core/index.d.ts +5 -5
  36. package/dist/core/index.js +9 -6
  37. package/dist/{index-C0W21Qcb.d.ts → index-CYJtAI9a.d.ts} +243 -281
  38. package/dist/index.d.ts +5 -5
  39. package/dist/index.js +11 -998
  40. package/dist/{merge-styles-Bpwfy1CS.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 +134 -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-DpykQKO8.d.ts → types-JEY8PVYP.d.ts} +986 -972
  73. package/dist/zero/babel.d.ts +67 -2
  74. package/dist/zero/babel.js +57 -131
  75. package/dist/zero/babel.js.map +1 -1
  76. package/dist/zero/index.d.ts +44 -8
  77. package/dist/zero/index.js +24 -2
  78. package/dist/zero/index.js.map +1 -0
  79. package/dist/zero/next.d.ts +4 -5
  80. package/dist/zero/next.js +0 -31
  81. package/dist/zero/next.js.map +1 -1
  82. package/docs/ai-agents.md +31 -5
  83. package/docs/configuration.md +18 -2
  84. package/docs/debug.md +15 -5
  85. package/docs/dsl.md +56 -8
  86. package/docs/getting-started.md +13 -11
  87. package/docs/injector.md +21 -7
  88. package/docs/methodology.md +5 -5
  89. package/docs/pipeline.md +34 -10
  90. package/docs/plugins.md +1 -1
  91. package/docs/react-api.md +9 -0
  92. package/docs/runtime-benchmarks.md +282 -110
  93. package/docs/ssr.md +179 -20
  94. package/docs/styles.md +89 -19
  95. package/docs/tasty-static.md +34 -1
  96. package/package.json +101 -36
  97. package/dist/async-storage-DKK-wTD4.js +0 -44
  98. package/dist/async-storage-DKK-wTD4.js.map +0 -1
  99. package/dist/babel-B_P8t-f0.d.ts +0 -83
  100. package/dist/collector-DCI2yzwx.js.map +0 -1
  101. package/dist/config-B97n_EIv.js +0 -12612
  102. package/dist/config-B97n_EIv.js.map +0 -1
  103. package/dist/context-CA8YKeMn.js +0 -24
  104. package/dist/context-CA8YKeMn.js.map +0 -1
  105. package/dist/core-DWrUWxog.js +0 -1645
  106. package/dist/core-DWrUWxog.js.map +0 -1
  107. package/dist/css-writer-Cq0fg5v8.js.map +0 -1
  108. package/dist/format-global-rules-DklyaXv-.js +0 -22
  109. package/dist/format-global-rules-DklyaXv-.js.map +0 -1
  110. package/dist/format-rules-Wb7dJOoL.js +0 -130
  111. package/dist/format-rules-Wb7dJOoL.js.map +0 -1
  112. package/dist/hydrate-gFTLBDK9.js +0 -37
  113. package/dist/hydrate-gFTLBDK9.js.map +0 -1
  114. package/dist/index.js.map +0 -1
  115. package/dist/merge-styles-CzVxdtav.js.map +0 -1
  116. package/dist/renderChunk-COXABoQz.js +0 -290
  117. package/dist/renderChunk-COXABoQz.js.map +0 -1
  118. package/dist/resolve-recipes-BnrUEjWV.js +0 -144
  119. package/dist/resolve-recipes-BnrUEjWV.js.map +0 -1
@@ -1,8 +1,64 @@
1
- import { _ as TastyPluginFactory, w as StyleInjector } from "./config-CwRr6-fG.js";
2
- import { At as StyleRecipe, B as StyleValueStateMap, D as CSSMap, I as StyleHandlerResult, M as ResolvedStyleValue, R as StylePropValue, St as KeyframesSteps, _t as InjectResult, at as CSSProperties$1, b as Styles, dt as FunctionDefinition, gt as InjectOptions, ht as GlobalInjectResult, j as RawStyleHandler, kt as StyleInjectorConfig, lt as FontFaceDescriptors, mt as GCOptions, n as StyleResult, nt as StyleDetails, ot as CacheMetrics, st as CounterStyleDescriptors, ut as FontFaceInput, wt as PropertyOptions, x as StylesInterface, xt as KeyframesResult, z as StyleValue } from "./index-DpykQKO8.js";
3
- import { t as ServerStyleCollector } from "./collector-CQDeU7WS.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 { f as TastyPluginFactory, y as StyleInjector } from "./config-CrZOfNJ5.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
  /**
@@ -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
@@ -1530,21 +1529,6 @@ interface ComputeStylesOptions {
1530
1529
  * bookkeeping only when there is a next render to spend it on.
1531
1530
  */
1532
1531
  stableStyles?: boolean;
1533
- /**
1534
- * Set when the caller will acquire the returned classes in a
1535
- * `useInsertionEffect` — `useStyles()` and `tasty()` components do.
1536
- *
1537
- * Managed rendering writes nothing to a sheet: it resolves the class names
1538
- * and records what they stand for, and the commit inserts them. A render
1539
- * that is discarded therefore leaves no rule behind, and collection can
1540
- * never strip a render that has not committed yet, because the effect puts
1541
- * the rule back.
1542
- *
1543
- * Unmanaged is the default, and injects during the call as before: a bare
1544
- * `computeStyles()` has no commit to hook, so its classes are pinned and
1545
- * never collected.
1546
- */
1547
- managed?: boolean;
1548
1532
  }
1549
1533
  /**
1550
1534
  * Synchronous, hook-free style computation.
@@ -1733,50 +1717,34 @@ declare function getCSSTextForNode(node: ParentNode | Element | DocumentFragment
1733
1717
  root?: Document | ShadowRoot;
1734
1718
  }): string;
1735
1719
  /**
1736
- * The class name a cache key resolves to, and whether its CSS is described
1737
- * already. Pure — safe during render.
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.
1738
1723
  */
1739
- declare function resolveChunk(cacheKey: string): {
1740
- name: string;
1741
- described: boolean;
1742
- };
1743
- /** Whether this class has already been described, so its CSS need not be re-rendered. */
1744
- declare function hasRecipe(className: string): boolean;
1745
- /**
1746
- * Record the CSS a class name stands for without writing it to a sheet, so the
1747
- * commit that mounts it can insert it — and put it back if it was collected.
1748
- */
1749
- declare function defineRecipe(className: string, recipe: StyleRecipe): void;
1750
- /**
1751
- * Take up styles on commit: insert whatever is missing from the sheet and count
1752
- * one more mounted holder. Call from `useInsertionEffect`, and pair with
1753
- * `releaseStyles` in its cleanup.
1754
- *
1755
- * `className` may hold several space-separated chunk classes; they are acquired
1756
- * together, so one component pays one effect.
1757
- */
1758
- declare function acquireStyles(className: string, options?: {
1724
+ declare function holdKeyframes(steps: Record<string, KeyframesSteps>, names: Map<string, string>, options?: {
1759
1725
  root?: Document | ShadowRoot;
1760
- }): void;
1726
+ }): Map<string, string>;
1761
1727
  /**
1762
- * Give up styles on unmount. At zero holders the classes become collectible,
1763
- * but nothing is deleted here — see `gc()`.
1728
+ * Record that a class animates these keyframes, so the reference is released
1729
+ * when the last such class is collected.
1764
1730
  */
1765
- declare function releaseStyles(className: string, options?: {
1731
+ declare function ownKeyframes(key: string, className: string, options?: {
1766
1732
  root?: Document | ShadowRoot;
1767
1733
  }): void;
1768
1734
  /**
1769
- * Remove every injected rule that no mounted component holds and no `inject()`
1770
- * handle pins. Equivalent to `gc({ force: true })`.
1735
+ * Remove every injected rule that is neither in the DOM nor held by an
1736
+ * outstanding `inject()` handle. Equivalent to `gc({ force: true })`.
1771
1737
  */
1772
1738
  declare function cleanup(root?: Document | ShadowRoot): void;
1773
1739
  /**
1774
- * @deprecated No longer does anything. Collection follows React commits —
1775
- * styled components acquire their classes in `useInsertionEffect` and release
1776
- * them on unmount — so there is no usage counter left to feed. Kept so existing
1777
- * imports keep working; remove the call.
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.
1778
1746
  */
1779
- declare function touch(_className: string, _options?: {
1747
+ declare function touch(className: string, options?: {
1780
1748
  root?: Document | ShadowRoot;
1781
1749
  }): void;
1782
1750
  /**
@@ -1803,59 +1771,47 @@ declare function destroy(root?: Document | ShadowRoot): void;
1803
1771
  declare function createInjector(config?: Partial<StyleInjectorConfig>): StyleInjector;
1804
1772
  //#endregion
1805
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"];
1806
1776
  interface PropsFilterOptions {
1807
1777
  labelable?: boolean;
1808
- propNames?: Set<string>;
1778
+ propNames?: ReadonlySet<string>;
1809
1779
  eventProps?: boolean;
1810
1780
  }
1811
- /**
1812
- * 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.
1813
1801
  * @param props - The component props to be filtered.
1814
- * @param opts - Props to override.
1802
+ * @param opts - Additional prop names and event forwarding options.
1815
1803
  */
1816
- 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>;
1817
1806
  //#endregion
1818
1807
  //#region src/utils/colors.d.ts
1819
1808
  declare function color$1(name: string, opacity?: number): string;
1820
1809
  //#endregion
1821
1810
  //#region src/utils/mod-attrs.d.ts
1822
- declare const _modAttrs: (firstArg: Record<string, ModValue> | undefined, secondArg?: unknown) => Record<string, string> | null;
1823
- //#endregion
1824
- //#region src/utils/dotize.d.ts
1825
- declare const dotize: {
1826
- valTypes: {
1827
- none: string;
1828
- primitive: string;
1829
- object: string;
1830
- array: string;
1831
- };
1832
- getValType: (val: any) => string | undefined;
1833
- getPathType: (arrPath: any) => string[];
1834
- isUndefined: (obj: any) => obj is undefined;
1835
- isNumber: (f: any) => boolean;
1836
- isEmptyObj: (obj: any) => boolean;
1837
- isPlainObject: (obj: any) => boolean;
1838
- isNotObject: (obj: any) => boolean;
1839
- isEmptyArray: (arr: any) => boolean;
1840
- isNotArray: (arr: any) => boolean;
1841
- removeEmptyArrayItem: (arr: any) => any;
1842
- getFieldName: (field: any, prefix: any, isRoot: any, isArrayItem: any, isArray: any) => string;
1843
- startsWith: (val: any, valToSearch: any) => boolean;
1844
- convert: (obj: any, prefix?: string) => any;
1845
- backward: (obj: any, prefix: any) => any;
1846
- };
1811
+ declare function modAttrs(map: AllBaseProps['mods']): Record<string, string> | null;
1847
1812
  //#endregion
1848
1813
  //#region src/utils/resolve-recipes.d.ts
1849
- /**
1850
- * Resolve all `recipe` style properties in a styles object.
1851
- *
1852
- * Handles both top-level and sub-element recipe references.
1853
- * Returns the same object reference if no recipes are present anywhere
1854
- * (zero overhead for the common case).
1855
- *
1856
- * @param styles - The styles object potentially containing `recipe` keys
1857
- * @returns Resolved styles with recipe values merged in, or the original object if unchanged
1858
- */
1814
+ /** Resolve recipe references against the globally configured recipe map. */
1859
1815
  declare function resolveRecipes(styles: Styles): Styles;
1860
1816
  //#endregion
1861
1817
  //#region src/utils/process-tokens.d.ts
@@ -1917,7 +1873,13 @@ interface ChunkBreakdown {
1917
1873
  }
1918
1874
  interface Summary {
1919
1875
  activeClasses: string[];
1876
+ /** Classes `gc({ force: true })` would delete right now. */
1920
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[];
1921
1883
  totalStyledClasses: string[];
1922
1884
  activeCSSSize: number;
1923
1885
  unusedCSSSize: number;
@@ -1954,5 +1916,5 @@ declare const tastyDebug: {
1954
1916
  install(): void;
1955
1917
  };
1956
1918
  //#endregion
1957
- export { LAYOUT_CHUNK_STYLES as $, FlowStyleProps as $t, injectRawCSS as A, ResolveTokenProps as At, ComputeStylesOptions as B, WithVariant as Bt, gc as C, OUTER_STYLES as Cn, Element$1 as Ct, hasRecipe as D, DEFAULT_ZERO_NAME_PREFIX as Dn, ResolveAsProps as Dt, getRawCSSText as E, DEFAULT_NAME_PREFIX as En, ModPropsInput as Et, releaseStyles as F, TastyElementProps as Ft, ChunkInfo as G, BaseStyleProps as Gt, computeStyles as H, AllBaseProps as Ht, resolveChunk as I, TastyPolymorphicComponent as It, CHUNK_NAMES as J, BlockStyleProps as Jt, categorizeStyleKeys as K, BlockInnerStyleProps as Kt, touch as L, TastyProps as Lt, isPropertyDefined as M, SubElementProps as Mt, keyframes as N, TastyComponentPropsWithDefaults as Nt, inject as O, ResolveModPropDef as Ot, property as P, TastyElementOptions as Pt, FONT_CHUNK_STYLES as Q, ExtraBaseStyleProps as Qt, ChunkSheetRegistry as R, TokenPropsInput as Rt, func as S, INNER_STYLES as Sn, AllBasePropsWithMods as St, getCSSTextForNode as T, TEXT_STYLES as Tn, ModPropDef as Tt, defineHandler as U, BaseProps as Ut, ComputeStylesResult as V, tasty as Vt, styleHandlers as W, BasePropsWithoutChildren as Wt, DIMENSION_CHUNK_STYLES as X, ContainerStyleProps as Xt, ChunkName as Y, ColorStyleProps as Yt, DISPLAY_CHUNK_STYLES as Z, DimensionStyleProps as Zt, counterStyle as _, BLOCK_STYLES as _n, useKeyframes as _t, DebugOptions as a, ShortGridStyles as an, okhstPlugin as at, destroy as b, DIMENSION_STYLES as bn, UseStylesResult as bt, tastyDebug as c, TastyCustomProps as cn, getDisplayName as ct, dotize as d, TextStyleProps as dn, UseFunctionOptions as dt, InnerStyleProps as en, POSITION_CHUNK_STYLES as et, _modAttrs as f, TokenValue as fn, useFunction as ft, cleanup as g, BLOCK_OUTER_STYLES as gn, useProperty as gt, acquireStyles as h, BLOCK_INNER_STYLES as hn, UsePropertyOptions as ht, DebugChunkInfo as i, PositionStyleProps as in, okhstFunction as it, injector as j, SubElementDefinition as jt, injectGlobal as k, ResolveModProps as kt, processTokens as l, TastyExtensionConfig as ln, TastyBatchProvider as lt, filterBaseProps as m, BASE_STYLES as mn, useFontFace as mt, CacheStatus as n, Mods as nn, resolveFunctionColor as nt, InspectResult as o, TagName as on, okhslFunction as ot, color$1 as p, Tokens as pn, useCounterStyle as pt, APPEARANCE_CHUNK_STYLES as q, BlockOuterStyleProps as qt, ChunkBreakdown as r, OuterStyleProps as rn, createColorFunc as rt, Summary as s, TastyBaseStylePropNames as sn, okhslPlugin as st, CSSOptions as t, ModValue as tn, STYLE_TO_CHUNK as tt, resolveRecipes as u, TastyThemeNames as un, TastyBatchProviderProps as ut, createInjector as v, COLOR_STYLES as vn, useRawCSS as vt, getCSSText as w, POSITION_STYLES as wn, ElementsDefinition as wt, fontFace as x, FLOW_STYLES as xn, useStyles as xt, defineRecipe as y, CONTAINER_STYLES as yn, useGlobalStyles as yt, chunkSheetRegistry as z, VariantMap as zt };
1958
- //# sourceMappingURL=index-C0W21Qcb.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-CYJtAI9a.d.ts.map