@tenphi/tasty 0.0.0-snapshot.27b6708 → 0.0.0-snapshot.28b6339

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 (109) hide show
  1. package/README.md +38 -54
  2. package/dist/{babel-BUQGeOXA.d.ts → babel-Zs1Q03qt.d.ts} +2 -2
  3. package/dist/chunks/async-storage-DKK-wTD4.js.map +1 -0
  4. package/dist/chunks/build-config-Mk7waOsw.js +45 -0
  5. package/dist/chunks/build-config-Mk7waOsw.js.map +1 -0
  6. package/dist/{collector-DTahQUiV.js → chunks/collector-Ducc5l3E.js} +29 -15
  7. package/dist/chunks/collector-Ducc5l3E.js.map +1 -0
  8. package/dist/chunks/config-engine-tKK7WxJO.js +331 -0
  9. package/dist/chunks/config-engine-tKK7WxJO.js.map +1 -0
  10. package/dist/chunks/css-definitions-Crstltrf.js +1229 -0
  11. package/dist/chunks/css-definitions-Crstltrf.js.map +1 -0
  12. package/dist/chunks/css-resources-Cyl_axbI.js +149 -0
  13. package/dist/chunks/css-resources-Cyl_axbI.js.map +1 -0
  14. package/dist/chunks/debug-HyyLIf6O.js +543 -0
  15. package/dist/chunks/debug-HyyLIf6O.js.map +1 -0
  16. package/dist/chunks/dsl-D7kBow--.js +1771 -0
  17. package/dist/chunks/dsl-D7kBow--.js.map +1 -0
  18. package/dist/chunks/hydration-CLdVKcH2.js +59 -0
  19. package/dist/chunks/hydration-CLdVKcH2.js.map +1 -0
  20. package/dist/chunks/react-runtime-UlZcbsEN.js +877 -0
  21. package/dist/chunks/react-runtime-UlZcbsEN.js.map +1 -0
  22. package/dist/chunks/runtime-engine-D2WOLvd6.js +3439 -0
  23. package/dist/chunks/runtime-engine-D2WOLvd6.js.map +1 -0
  24. package/dist/chunks/runtime-state-DOeH6rsG.js +138 -0
  25. package/dist/chunks/runtime-state-DOeH6rsG.js.map +1 -0
  26. package/dist/{merge-styles-oklji0KB.js → chunks/shared-utils-Bgl8FNGJ.js} +64 -24
  27. package/dist/chunks/shared-utils-Bgl8FNGJ.js.map +1 -0
  28. package/dist/chunks/style-engine-C4ZcOAPb.js +6915 -0
  29. package/dist/chunks/style-engine-C4ZcOAPb.js.map +1 -0
  30. package/dist/{css-writer-B-J87ncv.js → chunks/zero-engine-D4Rluo7u.js} +3 -3
  31. package/dist/chunks/zero-engine-D4Rluo7u.js.map +1 -0
  32. package/dist/{collector-DUaHCcTS.d.ts → collector-hl5KNH7k.d.ts} +23 -3
  33. package/dist/{config-YsxGv4tq.d.ts → config-DWL1ZYue.d.ts} +150 -55
  34. package/dist/core/index.d.ts +5 -5
  35. package/dist/core/index.js +9 -6
  36. package/dist/{index-PqN-DIpn.d.ts → index-D9N9GV24.d.ts} +129 -93
  37. package/dist/index.d.ts +5 -5
  38. package/dist/index.js +11 -922
  39. package/dist/{merge-styles-CU7JbEwg.d.ts → merge-styles-C_oMoJVd.d.ts} +2 -2
  40. package/dist/ssr/astro-client.js +1 -1
  41. package/dist/ssr/astro-middleware-extract-static.d.ts +11 -0
  42. package/dist/ssr/astro-middleware-extract-static.js +9 -0
  43. package/dist/ssr/astro-middleware-extract-static.js.map +1 -0
  44. package/dist/ssr/astro-middleware-extract.d.ts +11 -0
  45. package/dist/ssr/astro-middleware-extract.js +9 -0
  46. package/dist/ssr/astro-middleware-extract.js.map +1 -0
  47. package/dist/ssr/astro-middleware-static.d.ts +3 -1
  48. package/dist/ssr/astro-middleware.d.ts +3 -1
  49. package/dist/ssr/astro.d.ts +45 -3
  50. package/dist/ssr/astro.js +158 -15
  51. package/dist/ssr/astro.js.map +1 -1
  52. package/dist/ssr/index.d.ts +7 -7
  53. package/dist/ssr/index.js +4 -4
  54. package/dist/ssr/index.js.map +1 -1
  55. package/dist/ssr/next-config.d.ts +66 -0
  56. package/dist/ssr/next-config.js +135 -0
  57. package/dist/ssr/next-config.js.map +1 -0
  58. package/dist/ssr/next.d.ts +9 -2
  59. package/dist/ssr/next.js +27 -11
  60. package/dist/ssr/next.js.map +1 -1
  61. package/dist/static/index.d.ts +2 -2
  62. package/dist/static/index.js +1 -1
  63. package/dist/{index-Cd45t5NM.d.ts → types-jKZNpias.d.ts} +898 -803
  64. package/dist/zero/babel.d.ts +1 -1
  65. package/dist/zero/babel.js +25 -24
  66. package/dist/zero/babel.js.map +1 -1
  67. package/dist/zero/index.d.ts +1 -1
  68. package/dist/zero/index.js +1 -1
  69. package/dist/zero/next.d.ts +1 -1
  70. package/docs/README.md +5 -3
  71. package/docs/adoption.md +3 -3
  72. package/docs/ai-agents.md +83 -78
  73. package/docs/comparison.md +12 -12
  74. package/docs/configuration.md +47 -47
  75. package/docs/debug.md +19 -7
  76. package/docs/dsl.md +3 -3
  77. package/docs/getting-started.md +10 -10
  78. package/docs/injector.md +62 -25
  79. package/docs/methodology.md +3 -3
  80. package/docs/migration-v3.md +49 -49
  81. package/docs/plugins.md +37 -33
  82. package/docs/react-api.md +2 -2
  83. package/docs/runtime-benchmarks.md +351 -0
  84. package/docs/ssr.md +219 -61
  85. package/docs/styles.md +43 -11
  86. package/docs/tasty-static.md +136 -103
  87. package/package.json +80 -11
  88. package/dist/async-storage-DKK-wTD4.js.map +0 -1
  89. package/dist/collector-DTahQUiV.js.map +0 -1
  90. package/dist/config-B5kHzuNz.js +0 -12269
  91. package/dist/config-B5kHzuNz.js.map +0 -1
  92. package/dist/context-CA8YKeMn.js +0 -24
  93. package/dist/context-CA8YKeMn.js.map +0 -1
  94. package/dist/core-Dr4u1NVD.js +0 -1566
  95. package/dist/core-Dr4u1NVD.js.map +0 -1
  96. package/dist/css-writer-B-J87ncv.js.map +0 -1
  97. package/dist/format-global-rules-DklyaXv-.js +0 -22
  98. package/dist/format-global-rules-DklyaXv-.js.map +0 -1
  99. package/dist/format-rules-DKOA-6qu.js +0 -130
  100. package/dist/format-rules-DKOA-6qu.js.map +0 -1
  101. package/dist/hydrate-OeMX99We.js +0 -37
  102. package/dist/hydrate-OeMX99We.js.map +0 -1
  103. package/dist/index.js.map +0 -1
  104. package/dist/keyframes-CV8azJf3.js +0 -493
  105. package/dist/keyframes-CV8azJf3.js.map +0 -1
  106. package/dist/merge-styles-oklji0KB.js.map +0 -1
  107. package/dist/resolve-recipes-DTG81rzl.js +0 -144
  108. package/dist/resolve-recipes-DTG81rzl.js.map +0 -1
  109. /package/dist/{async-storage-DKK-wTD4.js → chunks/async-storage-DKK-wTD4.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { _ as TastyPluginFactory, w as StyleInjector } from "./config-YsxGv4tq.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-Cd45t5NM.js";
3
- import { t as ServerStyleCollector } from "./collector-DUaHCcTS.js";
1
+ import { Ft as CSSProperties$1, M as StyleResult, Mt as StyleDetails, X as Styles, Z as StylesInterface, _ as KeyframesSteps, a as FontFaceInput, ct as ResolvedStyleValue, d as InjectOptions, f as InjectResult, ft as StyleHandlerResult, g as KeyframesResult, gt as StyleValueStateMap, ht as StyleValue, i as FontFaceDescriptors, l as GCOptions, lt as StyleHandler, mt as StylePropValue, n as CounterStyleDescriptors, o as FunctionDefinition, rt as CSSMap, st as RawStyleHandler, t as CacheMetrics, u as GlobalInjectResult, w as StyleInjectorConfig, y as PropertyOptions } from "./types-jKZNpias.js";
2
+ import { m as TastyPluginFactory, x as StyleInjector } from "./config-DWL1ZYue.js";
3
+ import { t as ServerStyleCollector } from "./collector-hl5KNH7k.js";
4
4
  import { AllHTMLAttributes, CSSProperties, ComponentType, ElementType, ForwardRefExoticComponent, JSX, PropsWithoutRef, ReactNode, RefAttributes } from "react";
5
5
 
6
6
  //#region src/utils/name-prefix.d.ts
@@ -31,17 +31,17 @@ declare const DEFAULT_ZERO_NAME_PREFIX = "ts";
31
31
  //#endregion
32
32
  //#region src/styles/list.d.ts
33
33
  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"];
34
+ 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"];
35
+ declare const BLOCK_INNER_STYLES: readonly ["padding", "blockPadding", "inlinePadding", "overflow", "scrollbar", "textAlign"];
36
+ declare const BLOCK_OUTER_STYLES: readonly ["border", "blockBorder", "inlineBorder", "radius", "shadow", "outline"];
37
+ declare const BLOCK_STYLES: readonly ["padding", "blockPadding", "inlinePadding", "overflow", "scrollbar", "textAlign", "border", "blockBorder", "inlineBorder", "radius", "shadow", "outline"];
38
38
  declare const COLOR_STYLES: readonly ["color", "fill", "fade", "image"];
39
39
  declare const TEXT_STYLES: readonly ["textTransform", "fontWeight", "fontStyle"];
40
- declare const DIMENSION_STYLES: readonly ["width", "height", "flexBasis", "flexGrow", "flexShrink", "flex"];
40
+ declare const DIMENSION_STYLES: readonly ["width", "height", "blockSize", "inlineSize", "flexBasis", "flexGrow", "flexShrink", "flex"];
41
41
  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"];
42
+ 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"];
43
+ 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"];
44
+ 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
45
  //#endregion
46
46
  //#region src/types.d.ts
47
47
  /**
@@ -887,8 +887,8 @@ declare function resolveFunctionColor(str: string): string | null;
887
887
  /**
888
888
  * Chunk names, the built-in chunk style lists, and the style→chunk lookup.
889
889
  *
890
- * This is a **leaf module with no imports**. It exists separately from
891
- * `definitions.ts` for two reasons:
890
+ * This module only imports data-only style-name lists. It exists separately
891
+ * from `definitions.ts` for two reasons:
892
892
  *
893
893
  * 1. The style handler registry (`styles/predefined.ts`) needs to assign chunk
894
894
  * membership for custom handlers. Reaching for `definitions.ts` would create an
@@ -917,7 +917,7 @@ type ChunkName = (typeof CHUNK_NAMES)[keyof typeof CHUNK_NAMES];
917
917
  *
918
918
  * @public
919
919
  */
920
- declare const APPEARANCE_CHUNK_STYLES: readonly ["fill", "color", "opacity", "border", "radius", "outline", "outlineOffset", "shadow", "fade"];
920
+ declare const APPEARANCE_CHUNK_STYLES: readonly ["fill", "color", "opacity", "border", "blockBorder", "inlineBorder", "radius", "outline", "outlineOffset", "shadow", "fade"];
921
921
  /**
922
922
  * Font chunk - typography styles
923
923
  *
@@ -931,13 +931,15 @@ declare const FONT_CHUNK_STYLES: readonly ["preset", "font", "fontWeight", "font
931
931
  * Dimension chunk - sizing and spacing
932
932
  *
933
933
  * 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
934
+ * ⚠️ paddingStyle: padding, paddingTop/Right/Bottom/Left
935
+ * ⚠️ marginStyle: margin, marginTop/Right/Bottom/Left
936
936
  * ⚠️ widthStyle: width, minWidth, maxWidth
937
937
  * ⚠️ heightStyle: height, minHeight, maxHeight
938
+ * ⚠️ blockSizeStyle: blockSize, minBlockSize, maxBlockSize
939
+ * ⚠️ inlineSizeStyle: inlineSize, minInlineSize, maxInlineSize
938
940
  */
939
941
  /** @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"];
942
+ 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
943
  /**
942
944
  * Display chunk - display mode, layout flow, text overflow, and scrollbar
943
945
  *
@@ -961,10 +963,10 @@ declare const LAYOUT_CHUNK_STYLES: readonly ["placeItems", "placeContent", "alig
961
963
  * Position chunk - element positioning
962
964
  *
963
965
  * Handler dependencies (all styles in each handler MUST stay in this chunk):
964
- * ⚠️ insetStyle: inset, insetBlock, insetInline, top, right, bottom, left
966
+ * ⚠️ insetStyle: inset, top, right, bottom, left
965
967
  */
966
968
  /** @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"];
969
+ 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
970
  /**
969
971
  * Map for O(1) style-to-chunk lookup. Seeded with the built-in lists above and
970
972
  * extended by {@link assignStyleChunk} when a custom handler declares style names
@@ -1013,6 +1015,20 @@ declare namespace borderStyle {
1013
1015
  var __lookupStyles: string[];
1014
1016
  }
1015
1017
  //#endregion
1018
+ //#region src/styles/blockSize.d.ts
1019
+ declare function blockSizeStyle({
1020
+ blockSize,
1021
+ minBlockSize,
1022
+ maxBlockSize
1023
+ }: {
1024
+ blockSize?: string | number | boolean;
1025
+ minBlockSize?: string | number | boolean;
1026
+ maxBlockSize?: string | number | boolean;
1027
+ }): Record<string, string | string[]> | null;
1028
+ declare namespace blockSizeStyle {
1029
+ var __lookupStyles: ("blockSize" | "maxBlockSize" | "minBlockSize")[];
1030
+ }
1031
+ //#endregion
1016
1032
  //#region src/styles/color.d.ts
1017
1033
  declare function colorStyle({
1018
1034
  color
@@ -1165,16 +1181,12 @@ declare namespace heightStyle {
1165
1181
  //#region src/styles/inset.d.ts
1166
1182
  declare function insetStyle({
1167
1183
  inset,
1168
- insetBlock,
1169
- insetInline,
1170
1184
  top,
1171
1185
  right,
1172
1186
  bottom,
1173
1187
  left
1174
1188
  }: {
1175
1189
  inset?: string | number | boolean;
1176
- insetBlock?: string | number | boolean;
1177
- insetInline?: string | number | boolean;
1178
1190
  top?: string | number | boolean;
1179
1191
  right?: string | number | boolean;
1180
1192
  bottom?: string | number | boolean;
@@ -1184,19 +1196,29 @@ declare namespace insetStyle {
1184
1196
  var __lookupStyles: string[];
1185
1197
  }
1186
1198
  //#endregion
1199
+ //#region src/styles/inlineSize.d.ts
1200
+ declare function inlineSizeStyle({
1201
+ inlineSize,
1202
+ minInlineSize,
1203
+ maxInlineSize
1204
+ }: {
1205
+ inlineSize?: string | number | boolean;
1206
+ minInlineSize?: string | number | boolean;
1207
+ maxInlineSize?: string | number | boolean;
1208
+ }): Record<string, string | string[]> | null;
1209
+ declare namespace inlineSizeStyle {
1210
+ var __lookupStyles: ("inlineSize" | "maxInlineSize" | "minInlineSize")[];
1211
+ }
1212
+ //#endregion
1187
1213
  //#region src/styles/margin.d.ts
1188
1214
  declare function marginStyle({
1189
1215
  margin,
1190
- marginBlock,
1191
- marginInline,
1192
1216
  marginTop,
1193
1217
  marginRight,
1194
1218
  marginBottom,
1195
1219
  marginLeft
1196
1220
  }: {
1197
1221
  margin?: string | number | boolean;
1198
- marginBlock?: string | number | boolean;
1199
- marginInline?: string | number | boolean;
1200
1222
  marginTop?: string | number | boolean;
1201
1223
  marginRight?: string | number | boolean;
1202
1224
  marginBottom?: string | number | boolean;
@@ -1236,16 +1258,12 @@ declare namespace outlineStyle {
1236
1258
  //#region src/styles/padding.d.ts
1237
1259
  declare function paddingStyle({
1238
1260
  padding,
1239
- paddingBlock,
1240
- paddingInline,
1241
1261
  paddingTop,
1242
1262
  paddingRight,
1243
1263
  paddingBottom,
1244
1264
  paddingLeft
1245
1265
  }: {
1246
1266
  padding?: string | number | boolean;
1247
- paddingBlock?: string | number | boolean;
1248
- paddingInline?: string | number | boolean;
1249
1267
  paddingTop?: string | number | boolean;
1250
1268
  paddingRight?: string | number | boolean;
1251
1269
  paddingBottom?: string | number | boolean;
@@ -1354,16 +1372,12 @@ declare namespace radiusStyle {
1354
1372
  //#region src/styles/scrollMargin.d.ts
1355
1373
  declare function scrollMarginStyle({
1356
1374
  scrollMargin,
1357
- scrollMarginBlock,
1358
- scrollMarginInline,
1359
1375
  scrollMarginTop,
1360
1376
  scrollMarginRight,
1361
1377
  scrollMarginBottom,
1362
1378
  scrollMarginLeft
1363
1379
  }: {
1364
1380
  scrollMargin?: string | number | boolean;
1365
- scrollMarginBlock?: string | number | boolean;
1366
- scrollMarginInline?: string | number | boolean;
1367
1381
  scrollMarginTop?: string | number | boolean;
1368
1382
  scrollMarginRight?: string | number | boolean;
1369
1383
  scrollMarginBottom?: string | number | boolean;
@@ -1373,6 +1387,24 @@ declare namespace scrollMarginStyle {
1373
1387
  var __lookupStyles: string[];
1374
1388
  }
1375
1389
  //#endregion
1390
+ //#region src/styles/scrollPadding.d.ts
1391
+ declare function scrollPaddingStyle({
1392
+ scrollPadding,
1393
+ scrollPaddingTop,
1394
+ scrollPaddingRight,
1395
+ scrollPaddingBottom,
1396
+ scrollPaddingLeft
1397
+ }: {
1398
+ scrollPadding?: string | number | boolean;
1399
+ scrollPaddingTop?: string | number | boolean;
1400
+ scrollPaddingRight?: string | number | boolean;
1401
+ scrollPaddingBottom?: string | number | boolean;
1402
+ scrollPaddingLeft?: string | number | boolean;
1403
+ }): Record<string, string> | null;
1404
+ declare namespace scrollPaddingStyle {
1405
+ var __lookupStyles: string[];
1406
+ }
1407
+ //#endregion
1376
1408
  //#region src/styles/scrollbar.d.ts
1377
1409
  interface ScrollbarStyleProps {
1378
1410
  scrollbar?: string | boolean;
@@ -1460,16 +1492,6 @@ declare namespace widthStyle {
1460
1492
  * ```
1461
1493
  */
1462
1494
  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
1495
  readonly margin: typeof marginStyle;
1474
1496
  readonly outline: typeof outlineStyle;
1475
1497
  readonly padding: typeof paddingStyle;
@@ -1477,10 +1499,35 @@ declare const styleHandlers: {
1477
1499
  readonly preset: typeof presetStyle;
1478
1500
  readonly radius: typeof radiusStyle;
1479
1501
  readonly scrollMargin: typeof scrollMarginStyle;
1502
+ readonly scrollPadding: typeof scrollPaddingStyle;
1480
1503
  readonly scrollbar: typeof scrollbarStyle;
1481
1504
  readonly shadow: typeof shadowStyle;
1482
1505
  readonly transition: typeof transitionStyle;
1483
1506
  readonly width: typeof widthStyle;
1507
+ readonly blockBorder: StyleHandler<Partial<Record<"blockBorder", string | number | boolean | undefined>>>;
1508
+ readonly inlineBorder: StyleHandler<Partial<Record<"inlineBorder", string | number | boolean | undefined>>>;
1509
+ readonly blockScrollPadding: StyleHandler<Partial<Record<"blockScrollPadding", string | number | boolean | undefined>>>;
1510
+ readonly inlineScrollPadding: StyleHandler<Partial<Record<"inlineScrollPadding", string | number | boolean | undefined>>>;
1511
+ readonly blockScrollMargin: StyleHandler<Partial<Record<"blockScrollMargin", string | number | boolean | undefined>>>;
1512
+ readonly inlineScrollMargin: StyleHandler<Partial<Record<"inlineScrollMargin", string | number | boolean | undefined>>>;
1513
+ readonly blockInset: StyleHandler<Partial<Record<"blockInset", string | number | boolean | undefined>>>;
1514
+ readonly inlineInset: StyleHandler<Partial<Record<"inlineInset", string | number | boolean | undefined>>>;
1515
+ readonly blockMargin: StyleHandler<Partial<Record<"blockMargin", string | number | boolean | undefined>>>;
1516
+ readonly inlineMargin: StyleHandler<Partial<Record<"inlineMargin", string | number | boolean | undefined>>>;
1517
+ readonly blockPadding: StyleHandler<Partial<Record<"blockPadding", string | number | boolean | undefined>>>;
1518
+ readonly inlinePadding: StyleHandler<Partial<Record<"inlinePadding", string | number | boolean | undefined>>>;
1519
+ readonly blockSize: typeof blockSizeStyle;
1520
+ readonly border: typeof borderStyle;
1521
+ readonly color: typeof colorStyle;
1522
+ readonly display: typeof displayStyle;
1523
+ readonly fade: typeof fadeStyle;
1524
+ readonly fill: typeof fillStyle;
1525
+ readonly svgFill: typeof svgFillStyle;
1526
+ readonly flow: typeof flowStyle;
1527
+ readonly gap: typeof gapStyle;
1528
+ readonly height: typeof heightStyle;
1529
+ readonly inset: typeof insetStyle;
1530
+ readonly inlineSize: typeof inlineSizeStyle;
1484
1531
  };
1485
1532
  //#endregion
1486
1533
  //#region src/styles/define-handler.d.ts
@@ -1587,10 +1634,7 @@ declare const chunkSheetRegistry: ChunkSheetRegistry;
1587
1634
  /**
1588
1635
  * Inject styles and return className with dispose function
1589
1636
  */
1590
- declare function inject(rules: StyleResult[], options?: {
1591
- root?: Document | ShadowRoot;
1592
- cacheKey?: string;
1593
- }): InjectResult;
1637
+ declare function inject(rules: StyleResult[], options?: InjectOptions): InjectResult;
1594
1638
  /**
1595
1639
  * Inject global rules that should not reserve tasty class names
1596
1640
  */
@@ -1721,21 +1765,40 @@ declare function getCSSTextForNode(node: ParentNode | Element | DocumentFragment
1721
1765
  root?: Document | ShadowRoot;
1722
1766
  }): string;
1723
1767
  /**
1724
- * Force cleanup of unused rules
1768
+ * Take a reference on local `@keyframes` under the deterministic names the
1769
+ * caller resolved, and report which entry holds each. Pair with
1770
+ * `ownKeyframes()` once the rules exist to inspect.
1771
+ */
1772
+ declare function holdKeyframes(steps: Record<string, KeyframesSteps>, names: Map<string, string>, options?: {
1773
+ root?: Document | ShadowRoot;
1774
+ }): Map<string, string>;
1775
+ /**
1776
+ * Record that a class animates these keyframes, so the reference is released
1777
+ * when the last such class is collected.
1778
+ */
1779
+ declare function ownKeyframes(key: string, className: string, options?: {
1780
+ root?: Document | ShadowRoot;
1781
+ }): void;
1782
+ /**
1783
+ * Remove every injected rule that is neither in the DOM nor held by an
1784
+ * outstanding `inject()` handle. Equivalent to `gc({ force: true })`.
1725
1785
  */
1726
1786
  declare function cleanup(root?: Document | ShadowRoot): void;
1727
1787
  /**
1728
- * Record a render-time usage hit for one or more classNames.
1729
- * Used internally by computeStyles and tasty() to track usage for GC.
1730
- * When the global touch counter reaches `touchInterval`, schedules GC.
1788
+ * Count a render, so that a collection pass is scheduled every
1789
+ * `gc.touchInterval` of them. Used internally by computeStyles and tasty().
1790
+ *
1791
+ * @deprecated The class name is ignored — collection asks the DOM what is
1792
+ * rendered rather than recording usage per class. The argument is kept so
1793
+ * existing calls still compile.
1731
1794
  */
1732
1795
  declare function touch(className: string, options?: {
1733
1796
  root?: Document | ShadowRoot;
1734
1797
  }): void;
1735
1798
  /**
1736
- * Synchronous garbage collection of unused styles.
1737
- * Evicts the oldest unused styles when usageMap exceeds capacity.
1738
- * With `{ force: true }`, removes ALL unused styles regardless of capacity.
1799
+ * Synchronous garbage collection of unused styles — those no element carries
1800
+ * and no `inject()` handle references. Evicts the oldest ones once they exceed
1801
+ * capacity. With `{ force: true }`, removes all of them regardless of capacity.
1739
1802
  *
1740
1803
  * @returns Number of styles evicted.
1741
1804
  */
@@ -1772,43 +1835,10 @@ declare function filterBaseProps<T extends object>(props: T, opts?: PropsFilterO
1772
1835
  declare function color$1(name: string, opacity?: number): string;
1773
1836
  //#endregion
1774
1837
  //#region src/utils/mod-attrs.d.ts
1775
- declare const _modAttrs: (firstArg: Record<string, ModValue> | undefined, secondArg?: unknown) => Record<string, string> | null;
1776
- //#endregion
1777
- //#region src/utils/dotize.d.ts
1778
- declare const dotize: {
1779
- valTypes: {
1780
- none: string;
1781
- primitive: string;
1782
- object: string;
1783
- array: string;
1784
- };
1785
- getValType: (val: any) => string | undefined;
1786
- getPathType: (arrPath: any) => string[];
1787
- isUndefined: (obj: any) => obj is undefined;
1788
- isNumber: (f: any) => boolean;
1789
- isEmptyObj: (obj: any) => boolean;
1790
- isPlainObject: (obj: any) => boolean;
1791
- isNotObject: (obj: any) => boolean;
1792
- isEmptyArray: (arr: any) => boolean;
1793
- isNotArray: (arr: any) => boolean;
1794
- removeEmptyArrayItem: (arr: any) => any;
1795
- getFieldName: (field: any, prefix: any, isRoot: any, isArrayItem: any, isArray: any) => string;
1796
- startsWith: (val: any, valToSearch: any) => boolean;
1797
- convert: (obj: any, prefix?: string) => any;
1798
- backward: (obj: any, prefix: any) => any;
1799
- };
1838
+ declare function modAttrs(map: AllBaseProps['mods']): Record<string, string> | null;
1800
1839
  //#endregion
1801
1840
  //#region src/utils/resolve-recipes.d.ts
1802
- /**
1803
- * Resolve all `recipe` style properties in a styles object.
1804
- *
1805
- * Handles both top-level and sub-element recipe references.
1806
- * Returns the same object reference if no recipes are present anywhere
1807
- * (zero overhead for the common case).
1808
- *
1809
- * @param styles - The styles object potentially containing `recipe` keys
1810
- * @returns Resolved styles with recipe values merged in, or the original object if unchanged
1811
- */
1841
+ /** Resolve recipe references against the globally configured recipe map. */
1812
1842
  declare function resolveRecipes(styles: Styles): Styles;
1813
1843
  //#endregion
1814
1844
  //#region src/utils/process-tokens.d.ts
@@ -1870,7 +1900,13 @@ interface ChunkBreakdown {
1870
1900
  }
1871
1901
  interface Summary {
1872
1902
  activeClasses: string[];
1903
+ /** Classes `gc({ force: true })` would delete right now. */
1873
1904
  unusedClasses: string[];
1905
+ /**
1906
+ * Held but in neither list: nothing renders them, yet collection will not
1907
+ * take them — inside the grace window, or pinned by an `inject()` handle.
1908
+ */
1909
+ hotClasses: string[];
1874
1910
  totalStyledClasses: string[];
1875
1911
  activeCSSSize: number;
1876
1912
  unusedCSSSize: number;
@@ -1907,5 +1943,5 @@ declare const tastyDebug: {
1907
1943
  install(): void;
1908
1944
  };
1909
1945
  //#endregion
1910
- 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 };
1911
- //# sourceMappingURL=index-PqN-DIpn.d.ts.map
1946
+ export { createColorFunc as $, OuterStyleProps as $t, keyframes as A, TastyElementOptions as At, styleHandlers as B, BasePropsWithoutChildren as Bt, getRawCSSText as C, DEFAULT_ZERO_NAME_PREFIX as Cn, ResolveAsProps as Ct, injectRawCSS as D, SubElementDefinition as Dt, injectGlobal as E, 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, 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, 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, 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, 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 };
1947
+ //# sourceMappingURL=index-D9N9GV24.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ParseFunction, D as PropHandlerDefinition, E as PropHandler, O as PropHandlerProps, S as FunctionsConfig, T as SheetManager, _ as TastyPluginFactory, a as getGlobalFontFaces, b as generateTypographyTokens, c as getGlobalRecipes, d as hasGlobalRecipes, f as hasStylesGenerated, g as TastyPlugin, h as resetConfig, i as getGlobalCounterStyles, l as getNamePrefix, m as isTestEnvironment, n as configure, o as getGlobalFunctions, p as isConfigLocked, r as getConfig, s as getGlobalKeyframes, t as TastyConfig, u as hasGlobalKeyframes, v as TypographyPreset, w as StyleInjector, x as ColorSpace, y as TypographyTokenValue } from "./config-YsxGv4tq.js";
2
- import { $ as StyleParser, A as ParsedColor, At as StyleUsage, B as StyleValueStateMap, C as SuffixForSelector, Ct as PropertyOptions, D as CSSMap, Dt as SheetInfo, E as AnyStyleHandler, Et as RuleInfo, F as StyleHandlerProps, G as parseColor, H as getGlobalParser, I as StyleHandlerResult, J as getNamedColorHex, K as parseStyle, L as StyleMap, M as ResolvedStyleValue, Mt as flushStyles, N as StyleHandler, Nt as hasPendingStyleWrites, O as CUSTOM_UNITS, Ot as StyleInjectorConfig, P as StyleHandlerDefinition, Pt as resetStyleBatch, Q as strToRgb, R as StylePropValue, S as StylesWithoutSelectors, St as PropertyDefinition, T as TastyPresetNames, Tt as RootRegistry, U as getGlobalPredefinedTokens, V as filterMods, W as normalizeColorTokenValue, X as hexToRgb, Y as getRgbValuesFromRgbaString, Z as hslToRgbValues, _ as NotSelector, _t as InjectionMode, a as ParseStateKeyOptions, at as CSSProperties, b as Styles, bt as KeyframesResult, c as ParsedAdvancedState, ct as DisposeFunction, d as getGlobalPredefinedStates, dt as FunctionDefinition, et as ParserOptions, f as setGlobalPredefinedStates, ft as FunctionParameter, g as NoType, gt as InjectResult, h as ConfigTokens, i as renderStyles, it as UnitHandler, j as RawStyleHandler, jt as QueuedWrite, k as DIRECTIONS, kt as StyleRule, l as StateParserContext, lt as FontFaceDescriptors, m as ConfigTokenValue, mt as GCOptions, n as StyleResult, nt as StyleDetails, o as parseStateKey, ot as CacheMetrics, p as ConditionNode, pt as GCConfig, q as stringifyStyles, r as isSelector, rt as StyleDetailsPart, s as AtRuleContext, st as CounterStyleDescriptors, t as RenderResult, tt as ProcessedStyle, u as createStateParserContext, ut as FontFaceInput, v as RecipeStyles, vt as KeyframesCacheEntry, w as TastyNamedColors, wt as RawCSSResult, x as StylesInterface, xt as KeyframesSteps, y as Selector, yt as KeyframesInfo, z as StyleValue } from "./index-Cd45t5NM.js";
3
- import { $ as okhstFunction, $t as PositionStyleProps, A as keyframes, At as TastyElementProps, B as ChunkInfo, Bt as BaseStyleProps, C as getCSSTextForNode, Ct as ResolveModPropDef, D as injectRawCSS, Dt as SubElementProps, E as injectGlobal, Et as SubElementDefinition, F as ComputeStylesOptions, Ft as WithVariant, G as DIMENSION_CHUNK_STYLES, Gt as ContainerStyleProps, H as APPEARANCE_CHUNK_STYLES, Ht as BlockOuterStyleProps, I as ComputeStylesResult, It as tasty, J as LAYOUT_CHUNK_STYLES, Jt as FlowStyleProps, K as DISPLAY_CHUNK_STYLES, Kt as DimensionStyleProps, L as computeStyles, Lt as AllBaseProps, M as touch, Mt as TastyProps, N as ChunkSheetRegistry, Nt as TokenPropsInput, O as injector, Ot as TastyComponentPropsWithDefaults, P as chunkSheetRegistry, Pt as VariantMap, Q as createColorFunc, Qt as OuterStyleProps, R as defineHandler, Rt as BaseProps, S as getCSSText, Sn as DEFAULT_ZERO_NAME_PREFIX, St as ResolveAsProps, T as inject, Tt as ResolveTokenProps, U as CHUNK_NAMES, Ut as BlockStyleProps, V as categorizeStyleKeys, Vt as BlockInnerStyleProps, W as ChunkName, Wt as ColorStyleProps, X as STYLE_TO_CHUNK, Xt as ModValue, Y as POSITION_CHUNK_STYLES, Yt as InnerStyleProps, Z as resolveFunctionColor, Zt as Mods, _ as createInjector, _n as INNER_STYLES, _t as AllBasePropsWithMods, a as DebugOptions, an as TastyThemeNames, at as TastyBatchProviderProps, b as func, bn as TEXT_STYLES, bt as ModPropDef, c as tastyDebug, cn as Tokens, ct as useCounterStyle, d as dotize, dn as BLOCK_OUTER_STYLES, dt as useProperty, en as ShortGridStyles, et as okhstPlugin, f as _modAttrs, fn as BLOCK_STYLES, ft as useKeyframes, g as counterStyle, gn as FLOW_STYLES, gt as useStyles, h as cleanup, hn as DIMENSION_STYLES, ht as UseStylesResult, i as DebugChunkInfo, in as TastyExtensionConfig, it as TastyBatchProvider, j as property, jt as TastyPolymorphicComponent, k as isPropertyDefined, kt as TastyElementOptions, l as processTokens, ln as BASE_STYLES, lt as useFontFace, m as filterBaseProps, mn as CONTAINER_STYLES, mt as useGlobalStyles, n as CacheStatus, nn as TastyBaseStylePropNames, nt as okhslPlugin, o as InspectResult, on as TextStyleProps, ot as UseFunctionOptions, p as color, pn as COLOR_STYLES, pt as useRawCSS, q as FONT_CHUNK_STYLES, qt as ExtraBaseStyleProps, r as ChunkBreakdown, rn as TastyCustomProps, rt as getDisplayName, s as Summary, sn as TokenValue, st as useFunction, t as CSSOptions, tn as TagName, tt as okhslFunction, u as resolveRecipes, un as BLOCK_INNER_STYLES, ut as UsePropertyOptions, v as destroy, vn as OUTER_STYLES, vt as Element, w as getRawCSSText, wt as ResolveModProps, x as gc, xn as DEFAULT_NAME_PREFIX, xt as ModPropsInput, y as fontFace, yn as POSITION_STYLES, yt as ElementsDefinition, z as styleHandlers, zt as BasePropsWithoutChildren } from "./index-PqN-DIpn.js";
4
- import { t as mergeStyles } from "./merge-styles-CU7JbEwg.js";
5
- export { APPEARANCE_CHUNK_STYLES, type AllBaseProps, type AllBasePropsWithMods, type AnyStyleHandler, type AtRuleContext, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, type BaseProps, type BasePropsWithoutChildren, type BaseStyleProps, type BlockInnerStyleProps, type BlockOuterStyleProps, type BlockStyleProps, CHUNK_NAMES, COLOR_STYLES, CONTAINER_STYLES, type CSSMap, CSSOptions, type CSSProperties, CUSTOM_UNITS, type CacheMetrics, CacheStatus, ChunkBreakdown, type ChunkInfo, type ChunkName, ChunkSheetRegistry, type ColorSpace, type ColorStyleProps, type ComputeStylesOptions, type ComputeStylesResult, type ConditionNode, type ConfigTokenValue, type ConfigTokens, type ContainerStyleProps, type CounterStyleDescriptors, DEFAULT_NAME_PREFIX, DEFAULT_ZERO_NAME_PREFIX, DIMENSION_CHUNK_STYLES, DIMENSION_STYLES, DIRECTIONS, DISPLAY_CHUNK_STYLES, DebugChunkInfo, DebugOptions, type DimensionStyleProps, type DisposeFunction, Element, type ElementsDefinition, type ExtraBaseStyleProps, FLOW_STYLES, FONT_CHUNK_STYLES, type FlowStyleProps, type FontFaceDescriptors, type FontFaceInput, type FunctionDefinition, type FunctionParameter, type FunctionsConfig, type GCConfig, type GCOptions, INNER_STYLES, type InjectResult, type InjectionMode, type InnerStyleProps, InspectResult, type KeyframesCacheEntry, type KeyframesInfo, type KeyframesResult, type KeyframesSteps, LAYOUT_CHUNK_STYLES, type ModPropDef, type ModPropsInput, type ModValue, type Mods, type NoType, type NotSelector, OUTER_STYLES, type OuterStyleProps, POSITION_CHUNK_STYLES, POSITION_STYLES, type ParseFunction, type ParseStateKeyOptions, type ParsedAdvancedState, type ParsedColor, type ParserOptions, type PositionStyleProps, type ProcessedStyle, type PropHandler, type PropHandlerDefinition, type PropHandlerProps, type PropertyDefinition, type PropertyOptions, type QueuedWrite, type RawCSSResult, type RawStyleHandler, type RecipeStyles, type RenderResult, type ResolveAsProps, type ResolveModPropDef, type ResolveModProps, type ResolveTokenProps, type ResolvedStyleValue, type RootRegistry, type RuleInfo, STYLE_TO_CHUNK, type Selector, type SheetInfo, SheetManager, type ShortGridStyles, type StateParserContext, type StyleDetails, type StyleDetailsPart, type StyleHandler, type StyleHandlerDefinition, type StyleHandlerProps, type StyleHandlerResult, StyleInjector, type StyleInjectorConfig, type StyleMap, StyleParser, type StylePropValue, type StyleResult, type StyleRule, type StyleUsage, type StyleValue, type StyleValueStateMap, type Styles, type StylesInterface, type StylesWithoutSelectors, type SubElementDefinition, type SubElementProps, type SuffixForSelector, Summary, TEXT_STYLES, type TagName, type TastyBaseStylePropNames, TastyBatchProvider, type TastyBatchProviderProps, type TastyComponentPropsWithDefaults, type TastyConfig, type TastyCustomProps, type TastyElementOptions, type TastyElementProps, type TastyExtensionConfig, type TastyNamedColors, type TastyPlugin, type TastyPluginFactory, type TastyPolymorphicComponent, type TastyPresetNames, type TastyProps, type TastyThemeNames, type TextStyleProps, type TokenPropsInput, type TokenValue, type Tokens, TypographyPreset, TypographyTokenValue, type UnitHandler, type UseFunctionOptions, type UsePropertyOptions, type UseStylesResult, type VariantMap, type WithVariant, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, dotize, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getDisplayName, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, _modAttrs as modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tasty, tastyDebug, touch, useCounterStyle, useFontFace, useFunction, useGlobalStyles, useKeyframes, useProperty, useRawCSS, useStyles };
1
+ import { $ as SuffixForSelector, A as resetStyleBatch, At as ParserOptions, B as getGlobalPredefinedStates, C as SheetInfo, Ct as stringifyStyles, D as QueuedWrite, Dt as hslToRgbValues, E as StyleUsage, Et as hexToRgb, F as parseStateKey, Ft as CSSProperties, G as ConfigTokens, H as ConditionNode, I as AtRuleContext, J as RecipeStyles, K as NoType, L as ParsedAdvancedState, M as StyleResult, Mt as StyleDetails, N as renderStyles, Nt as StyleDetailsPart, O as flushStyles, Ot as strToRgb, P as ParseStateKeyOptions, Pt as UnitHandler, Q as StylesWithoutSelectors, R as StateParserContext, S as RuleInfo, St as parseStyle, T as StyleRule, Tt as getRgbValuesFromRgbaString, U as isSelector, V as setGlobalPredefinedStates, W as ConfigTokenValue, X as Styles, Y as Selector, Z as StylesInterface, _ as KeyframesSteps, _t as filterMods, a as FontFaceInput, at as DIRECTIONS, b as RawCSSResult, bt as normalizeColorTokenValue, c as GCConfig, ct as ResolvedStyleValue, d as InjectOptions, dt as StyleHandlerProps, et as TastyNamedColors, f as InjectResult, ft as StyleHandlerResult, g as KeyframesResult, gt as StyleValueStateMap, h as KeyframesInfo, ht as StyleValue, i as FontFaceDescriptors, it as CUSTOM_UNITS, j as RenderResult, jt as ProcessedStyle, k as hasPendingStyleWrites, kt as StyleParser, l as GCOptions, lt as StyleHandler, m as KeyframesCacheEntry, mt as StylePropValue, n as CounterStyleDescriptors, nt as AnyStyleHandler, o as FunctionDefinition, ot as ParsedColor, p as InjectionMode, pt as StyleMap, q as NotSelector, r as DisposeFunction, rt as CSSMap, s as FunctionParameter, st as RawStyleHandler, t as CacheMetrics, tt as TastyPresetNames, ut as StyleHandlerDefinition, v as PropertyDefinition, vt as getGlobalParser, w as StyleInjectorConfig, wt as getNamedColorHex, x as RootRegistry, xt as parseColor, y as PropertyOptions, yt as getGlobalPredefinedTokens, z as createStateParserContext } from "./types-jKZNpias.js";
2
+ import { C as PropHandler, D as getGlobalFontFaces, E as getGlobalCounterStyles, O as getGlobalFunctions, S as SheetManager, T as PropHandlerProps, _ as generateTypographyTokens, a as getGlobalRecipes, b as ParseFunction, c as hasGlobalRecipes, d as resetConfig, f as hasStylesGenerated, g as TypographyTokenValue, h as TypographyPreset, i as getGlobalKeyframes, l as isConfigLocked, m as TastyPluginFactory, n as configure, o as getNamePrefix, p as TastyPlugin, r as getConfig, s as hasGlobalKeyframes, t as TastyConfig, u as isTestEnvironment, v as ColorSpace, w as PropHandlerDefinition, x as StyleInjector, y as FunctionsConfig } from "./config-DWL1ZYue.js";
3
+ import { $ as createColorFunc, $t as OuterStyleProps, A as keyframes, At as TastyElementOptions, B as styleHandlers, Bt as BasePropsWithoutChildren, C as getRawCSSText, Cn as DEFAULT_ZERO_NAME_PREFIX, Ct as ResolveAsProps, D as injectRawCSS, Dt as SubElementDefinition, E as injectGlobal, Et as ResolveTokenProps, F as chunkSheetRegistry, Ft as VariantMap, G as ChunkName, Gt as ColorStyleProps, H as categorizeStyleKeys, Ht as BlockInnerStyleProps, I as ComputeStylesOptions, It as WithVariant, J as FONT_CHUNK_STYLES, Jt as ExtraBaseStyleProps, K as DIMENSION_CHUNK_STYLES, Kt as ContainerStyleProps, L as ComputeStylesResult, Lt as tasty, M as property, Mt as TastyPolymorphicComponent, N as touch, Nt as TastyProps, O as injector, Ot as SubElementProps, P as ChunkSheetRegistry, Pt as TokenPropsInput, Q as resolveFunctionColor, Qt as Mods, R as computeStyles, Rt as AllBaseProps, S as getCSSTextForNode, Sn as DEFAULT_NAME_PREFIX, St as ModPropsInput, T as inject, Tt as ResolveModProps, U as APPEARANCE_CHUNK_STYLES, Ut as BlockOuterStyleProps, V as ChunkInfo, Vt as BaseStyleProps, W as CHUNK_NAMES, Wt as BlockStyleProps, X as POSITION_CHUNK_STYLES, Xt as InnerStyleProps, Y as LAYOUT_CHUNK_STYLES, Yt as FlowStyleProps, Z as STYLE_TO_CHUNK, Zt as ModValue, _ as destroy, _n as FLOW_STYLES, _t as useStyles, a as DebugOptions, an as TastyExtensionConfig, at as TastyBatchProvider, b as gc, bn as POSITION_STYLES, bt as ElementsDefinition, c as tastyDebug, cn as TokenValue, ct as useFunction, d as modAttrs, dn as BLOCK_INNER_STYLES, dt as UsePropertyOptions, en as PositionStyleProps, et as okhstFunction, f as color, fn as BLOCK_OUTER_STYLES, ft as useProperty, g as createInjector, gn as DIMENSION_STYLES, gt as UseStylesResult, h as counterStyle, hn as CONTAINER_STYLES, ht as useGlobalStyles, i as DebugChunkInfo, in as TastyCustomProps, it as getDisplayName, j as ownKeyframes, jt as TastyElementProps, k as isPropertyDefined, kt as TastyComponentPropsWithDefaults, l as processTokens, ln as Tokens, lt as useCounterStyle, m as cleanup, mn as COLOR_STYLES, mt as useRawCSS, n as CacheStatus, nn as TagName, nt as okhslFunction, o as InspectResult, on as TastyThemeNames, ot as TastyBatchProviderProps, p as filterBaseProps, pn as BLOCK_STYLES, pt as useKeyframes, q as DISPLAY_CHUNK_STYLES, qt as DimensionStyleProps, r as ChunkBreakdown, rn as TastyBaseStylePropNames, rt as okhslPlugin, s as Summary, sn as TextStyleProps, st as UseFunctionOptions, t as CSSOptions, tn as ShortGridStyles, tt as okhstPlugin, u as resolveRecipes, un as BASE_STYLES, ut as useFontFace, v as fontFace, vn as INNER_STYLES, vt as AllBasePropsWithMods, w as holdKeyframes, wt as ResolveModPropDef, x as getCSSText, xn as TEXT_STYLES, xt as ModPropDef, y as func, yn as OUTER_STYLES, yt as Element, z as defineHandler, zt as BaseProps } from "./index-D9N9GV24.js";
4
+ import { t as mergeStyles } from "./merge-styles-C_oMoJVd.js";
5
+ export { APPEARANCE_CHUNK_STYLES, type AllBaseProps, type AllBasePropsWithMods, type AnyStyleHandler, type AtRuleContext, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, type BaseProps, type BasePropsWithoutChildren, type BaseStyleProps, type BlockInnerStyleProps, type BlockOuterStyleProps, type BlockStyleProps, CHUNK_NAMES, COLOR_STYLES, CONTAINER_STYLES, type CSSMap, CSSOptions, type CSSProperties, CUSTOM_UNITS, type CacheMetrics, CacheStatus, ChunkBreakdown, type ChunkInfo, type ChunkName, ChunkSheetRegistry, type ColorSpace, type ColorStyleProps, type ComputeStylesOptions, type ComputeStylesResult, type ConditionNode, type ConfigTokenValue, type ConfigTokens, type ContainerStyleProps, type CounterStyleDescriptors, DEFAULT_NAME_PREFIX, DEFAULT_ZERO_NAME_PREFIX, DIMENSION_CHUNK_STYLES, DIMENSION_STYLES, DIRECTIONS, DISPLAY_CHUNK_STYLES, DebugChunkInfo, DebugOptions, type DimensionStyleProps, type DisposeFunction, Element, type ElementsDefinition, type ExtraBaseStyleProps, FLOW_STYLES, FONT_CHUNK_STYLES, type FlowStyleProps, type FontFaceDescriptors, type FontFaceInput, type FunctionDefinition, type FunctionParameter, type FunctionsConfig, type GCConfig, type GCOptions, INNER_STYLES, type InjectOptions, type InjectResult, type InjectionMode, type InnerStyleProps, InspectResult, type KeyframesCacheEntry, type KeyframesInfo, type KeyframesResult, type KeyframesSteps, LAYOUT_CHUNK_STYLES, type ModPropDef, type ModPropsInput, type ModValue, type Mods, type NoType, type NotSelector, OUTER_STYLES, type OuterStyleProps, POSITION_CHUNK_STYLES, POSITION_STYLES, type ParseFunction, type ParseStateKeyOptions, type ParsedAdvancedState, type ParsedColor, type ParserOptions, type PositionStyleProps, type ProcessedStyle, type PropHandler, type PropHandlerDefinition, type PropHandlerProps, type PropertyDefinition, type PropertyOptions, type QueuedWrite, type RawCSSResult, type RawStyleHandler, type RecipeStyles, type RenderResult, type ResolveAsProps, type ResolveModPropDef, type ResolveModProps, type ResolveTokenProps, type ResolvedStyleValue, type RootRegistry, type RuleInfo, STYLE_TO_CHUNK, type Selector, type SheetInfo, SheetManager, type ShortGridStyles, type StateParserContext, type StyleDetails, type StyleDetailsPart, type StyleHandler, type StyleHandlerDefinition, type StyleHandlerProps, type StyleHandlerResult, StyleInjector, type StyleInjectorConfig, type StyleMap, StyleParser, type StylePropValue, type StyleResult, type StyleRule, type StyleUsage, type StyleValue, type StyleValueStateMap, type Styles, type StylesInterface, type StylesWithoutSelectors, type SubElementDefinition, type SubElementProps, type SuffixForSelector, Summary, TEXT_STYLES, type TagName, type TastyBaseStylePropNames, TastyBatchProvider, type TastyBatchProviderProps, type TastyComponentPropsWithDefaults, type TastyConfig, type TastyCustomProps, type TastyElementOptions, type TastyElementProps, type TastyExtensionConfig, type TastyNamedColors, type TastyPlugin, type TastyPluginFactory, type TastyPolymorphicComponent, type TastyPresetNames, type TastyProps, type TastyThemeNames, type TextStyleProps, type TokenPropsInput, type TokenValue, type Tokens, TypographyPreset, TypographyTokenValue, type UnitHandler, type UseFunctionOptions, type UsePropertyOptions, type UseStylesResult, type VariantMap, type WithVariant, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getDisplayName, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, holdKeyframes, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, ownKeyframes, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tasty, tastyDebug, touch, useCounterStyle, useFontFace, useFunction, useGlobalStyles, useKeyframes, useProperty, useRawCSS, useStyles };