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

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 (106) hide show
  1. package/README.md +38 -54
  2. package/dist/{babel-BUQGeOXA.d.ts → babel-D6lOuSwk.d.ts} +2 -2
  3. package/dist/chunks/async-storage-DKK-wTD4.js.map +1 -0
  4. package/dist/chunks/build-config-BBThSdlo.js +45 -0
  5. package/dist/chunks/build-config-BBThSdlo.js.map +1 -0
  6. package/dist/{collector-DTahQUiV.js → chunks/collector-DcViW2ZQ.js} +28 -14
  7. package/dist/chunks/collector-DcViW2ZQ.js.map +1 -0
  8. package/dist/chunks/config-engine-DQVQK4NU.js +403 -0
  9. package/dist/chunks/config-engine-DQVQK4NU.js.map +1 -0
  10. package/dist/chunks/css-definitions-BZ9vm0ci.js +1284 -0
  11. package/dist/chunks/css-definitions-BZ9vm0ci.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-Vyauml7U.js +583 -0
  15. package/dist/chunks/debug-Vyauml7U.js.map +1 -0
  16. package/dist/chunks/dsl-CXvoaLnj.js +2097 -0
  17. package/dist/chunks/dsl-CXvoaLnj.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-so_X_yMo.js +1526 -0
  21. package/dist/chunks/react-runtime-so_X_yMo.js.map +1 -0
  22. package/dist/chunks/runtime-engine-DQ5laRou.js +3056 -0
  23. package/dist/chunks/runtime-engine-DQ5laRou.js.map +1 -0
  24. package/dist/{merge-styles-oklji0KB.js → chunks/shared-utils-OIg0N_dp.js} +42 -3
  25. package/dist/chunks/shared-utils-OIg0N_dp.js.map +1 -0
  26. package/dist/{config-B5kHzuNz.js → chunks/style-engine-CBuOt1e4.js} +2387 -7442
  27. package/dist/chunks/style-engine-CBuOt1e4.js.map +1 -0
  28. package/dist/{css-writer-B-J87ncv.js → chunks/zero-engine-BFh7gKbK.js} +3 -3
  29. package/dist/chunks/zero-engine-BFh7gKbK.js.map +1 -0
  30. package/dist/{collector-DUaHCcTS.d.ts → collector-CAmndLXe.d.ts} +23 -3
  31. package/dist/{config-YsxGv4tq.d.ts → config-BWYrv_Aa.d.ts} +141 -37
  32. package/dist/core/index.d.ts +5 -5
  33. package/dist/core/index.js +9 -6
  34. package/dist/{index-Cd45t5NM.d.ts → index-BzAC3p06.d.ts} +118 -23
  35. package/dist/{index-PqN-DIpn.d.ts → index-D4kRLj2o.d.ts} +128 -68
  36. package/dist/index.d.ts +5 -5
  37. package/dist/index.js +10 -922
  38. package/dist/{merge-styles-CU7JbEwg.d.ts → merge-styles-BFktNP8J.d.ts} +2 -2
  39. package/dist/ssr/astro-client.js +1 -1
  40. package/dist/ssr/astro-middleware-extract-static.d.ts +11 -0
  41. package/dist/ssr/astro-middleware-extract-static.js +9 -0
  42. package/dist/ssr/astro-middleware-extract-static.js.map +1 -0
  43. package/dist/ssr/astro-middleware-extract.d.ts +11 -0
  44. package/dist/ssr/astro-middleware-extract.js +9 -0
  45. package/dist/ssr/astro-middleware-extract.js.map +1 -0
  46. package/dist/ssr/astro-middleware-static.d.ts +3 -1
  47. package/dist/ssr/astro-middleware.d.ts +3 -1
  48. package/dist/ssr/astro.d.ts +45 -3
  49. package/dist/ssr/astro.js +157 -14
  50. package/dist/ssr/astro.js.map +1 -1
  51. package/dist/ssr/index.d.ts +7 -7
  52. package/dist/ssr/index.js +4 -4
  53. package/dist/ssr/index.js.map +1 -1
  54. package/dist/ssr/next-config.d.ts +66 -0
  55. package/dist/ssr/next-config.js +135 -0
  56. package/dist/ssr/next-config.js.map +1 -0
  57. package/dist/ssr/next.d.ts +9 -2
  58. package/dist/ssr/next.js +26 -10
  59. package/dist/ssr/next.js.map +1 -1
  60. package/dist/static/index.d.ts +2 -2
  61. package/dist/static/index.js +1 -1
  62. package/dist/zero/babel.d.ts +1 -1
  63. package/dist/zero/babel.js +25 -24
  64. package/dist/zero/babel.js.map +1 -1
  65. package/dist/zero/index.d.ts +1 -1
  66. package/dist/zero/index.js +1 -1
  67. package/dist/zero/next.d.ts +1 -1
  68. package/docs/README.md +5 -3
  69. package/docs/adoption.md +3 -3
  70. package/docs/ai-agents.md +83 -78
  71. package/docs/comparison.md +12 -12
  72. package/docs/configuration.md +47 -47
  73. package/docs/debug.md +19 -7
  74. package/docs/dsl.md +3 -3
  75. package/docs/getting-started.md +10 -10
  76. package/docs/injector.md +62 -25
  77. package/docs/methodology.md +3 -3
  78. package/docs/migration-v3.md +49 -49
  79. package/docs/plugins.md +37 -33
  80. package/docs/react-api.md +2 -2
  81. package/docs/runtime-benchmarks.md +351 -0
  82. package/docs/ssr.md +219 -61
  83. package/docs/styles.md +43 -11
  84. package/docs/tasty-static.md +136 -103
  85. package/package.json +80 -11
  86. package/dist/async-storage-DKK-wTD4.js.map +0 -1
  87. package/dist/collector-DTahQUiV.js.map +0 -1
  88. package/dist/config-B5kHzuNz.js.map +0 -1
  89. package/dist/context-CA8YKeMn.js +0 -24
  90. package/dist/context-CA8YKeMn.js.map +0 -1
  91. package/dist/core-Dr4u1NVD.js +0 -1566
  92. package/dist/core-Dr4u1NVD.js.map +0 -1
  93. package/dist/css-writer-B-J87ncv.js.map +0 -1
  94. package/dist/format-global-rules-DklyaXv-.js +0 -22
  95. package/dist/format-global-rules-DklyaXv-.js.map +0 -1
  96. package/dist/format-rules-DKOA-6qu.js +0 -130
  97. package/dist/format-rules-DKOA-6qu.js.map +0 -1
  98. package/dist/hydrate-OeMX99We.js +0 -37
  99. package/dist/hydrate-OeMX99We.js.map +0 -1
  100. package/dist/index.js.map +0 -1
  101. package/dist/keyframes-CV8azJf3.js +0 -493
  102. package/dist/keyframes-CV8azJf3.js.map +0 -1
  103. package/dist/merge-styles-oklji0KB.js.map +0 -1
  104. package/dist/resolve-recipes-DTG81rzl.js +0 -144
  105. package/dist/resolve-recipes-DTG81rzl.js.map +0 -1
  106. /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 { _ as TastyPluginFactory, w as StyleInjector } from "./config-BWYrv_Aa.js";
2
+ import { B as StyleValueStateMap, D as CSSMap, I as StyleHandlerResult, M as ResolvedStyleValue, N as StyleHandler, 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-BzAC3p06.js";
3
+ import { t as ServerStyleCollector } from "./collector-CAmndLXe.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 blockPadding: StyleHandler<Partial<Record<"blockPadding", string | number | boolean | undefined>>>;
1508
+ readonly inlinePadding: StyleHandler<Partial<Record<"inlinePadding", string | number | boolean | undefined>>>;
1509
+ readonly blockMargin: StyleHandler<Partial<Record<"blockMargin", string | number | boolean | undefined>>>;
1510
+ readonly inlineMargin: StyleHandler<Partial<Record<"inlineMargin", string | number | boolean | undefined>>>;
1511
+ readonly blockInset: StyleHandler<Partial<Record<"blockInset", string | number | boolean | undefined>>>;
1512
+ readonly inlineInset: StyleHandler<Partial<Record<"inlineInset", string | number | boolean | undefined>>>;
1513
+ readonly blockScrollMargin: StyleHandler<Partial<Record<"blockScrollMargin", string | number | boolean | undefined>>>;
1514
+ readonly inlineScrollMargin: StyleHandler<Partial<Record<"inlineScrollMargin", string | number | boolean | undefined>>>;
1515
+ readonly blockScrollPadding: StyleHandler<Partial<Record<"blockScrollPadding", string | number | boolean | undefined>>>;
1516
+ readonly inlineScrollPadding: StyleHandler<Partial<Record<"inlineScrollPadding", string | number | boolean | undefined>>>;
1517
+ readonly blockBorder: StyleHandler<Partial<Record<"blockBorder", string | number | boolean | undefined>>>;
1518
+ readonly inlineBorder: StyleHandler<Partial<Record<"inlineBorder", 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
  */
@@ -1799,16 +1862,7 @@ declare const dotize: {
1799
1862
  };
1800
1863
  //#endregion
1801
1864
  //#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
- */
1865
+ /** Resolve recipe references against the globally configured recipe map. */
1812
1866
  declare function resolveRecipes(styles: Styles): Styles;
1813
1867
  //#endregion
1814
1868
  //#region src/utils/process-tokens.d.ts
@@ -1870,7 +1924,13 @@ interface ChunkBreakdown {
1870
1924
  }
1871
1925
  interface Summary {
1872
1926
  activeClasses: string[];
1927
+ /** Classes `gc({ force: true })` would delete right now. */
1873
1928
  unusedClasses: string[];
1929
+ /**
1930
+ * Held but in neither list: nothing renders them, yet collection will not
1931
+ * take them — inside the grace window, or pinned by an `inject()` handle.
1932
+ */
1933
+ hotClasses: string[];
1874
1934
  totalStyledClasses: string[];
1875
1935
  activeCSSSize: number;
1876
1936
  unusedCSSSize: number;
@@ -1907,5 +1967,5 @@ declare const tastyDebug: {
1907
1967
  install(): void;
1908
1968
  };
1909
1969
  //#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
1970
+ export { resolveFunctionColor as $, Mods as $t, isPropertyDefined as A, TastyComponentPropsWithDefaults as At, defineHandler as B, BaseProps as Bt, getCSSTextForNode as C, DEFAULT_NAME_PREFIX as Cn, ModPropsInput as Ct, injectGlobal as D, ResolveTokenProps as Dt, inject as E, ResolveModProps as Et, ChunkSheetRegistry as F, TokenPropsInput as Ft, CHUNK_NAMES as G, BlockStyleProps as Gt, ChunkInfo as H, BaseStyleProps as Ht, chunkSheetRegistry as I, VariantMap as It, DISPLAY_CHUNK_STYLES as J, DimensionStyleProps as Jt, ChunkName as K, ColorStyleProps as Kt, ComputeStylesOptions as L, WithVariant as Lt, ownKeyframes as M, TastyElementProps as Mt, property as N, TastyPolymorphicComponent as Nt, injectRawCSS as O, SubElementDefinition as Ot, touch as P, TastyProps as Pt, STYLE_TO_CHUNK as Q, ModValue as Qt, ComputeStylesResult as R, tasty as Rt, getCSSText as S, TEXT_STYLES as Sn, ModPropDef as St, holdKeyframes as T, ResolveModPropDef as Tt, categorizeStyleKeys as U, BlockInnerStyleProps as Ut, styleHandlers as V, BasePropsWithoutChildren as Vt, APPEARANCE_CHUNK_STYLES as W, BlockOuterStyleProps as Wt, LAYOUT_CHUNK_STYLES as X, FlowStyleProps as Xt, FONT_CHUNK_STYLES as Y, ExtraBaseStyleProps as Yt, POSITION_CHUNK_STYLES as Z, InnerStyleProps as Zt, createInjector as _, DIMENSION_STYLES as _n, UseStylesResult as _t, DebugOptions as a, TastyCustomProps as an, getDisplayName as at, func as b, OUTER_STYLES as bn, Element$1 as bt, tastyDebug as c, TextStyleProps as cn, UseFunctionOptions as ct, dotize as d, BASE_STYLES as dn, useFontFace as dt, OuterStyleProps as en, createColorFunc as et, _modAttrs as f, BLOCK_INNER_STYLES as fn, UsePropertyOptions as ft, counterStyle as g, CONTAINER_STYLES as gn, useGlobalStyles as gt, cleanup as h, COLOR_STYLES as hn, useRawCSS as ht, DebugChunkInfo as i, TastyBaseStylePropNames as in, okhslPlugin as it, keyframes as j, TastyElementOptions as jt, injector as k, SubElementProps as kt, processTokens as l, TokenValue as ln, useFunction as lt, filterBaseProps as m, BLOCK_STYLES as mn, useKeyframes as mt, CacheStatus as n, ShortGridStyles as nn, okhstPlugin as nt, InspectResult as o, TastyExtensionConfig as on, TastyBatchProvider as ot, color$1 as p, BLOCK_OUTER_STYLES as pn, useProperty as pt, DIMENSION_CHUNK_STYLES as q, ContainerStyleProps as qt, ChunkBreakdown as r, TagName as rn, okhslFunction as rt, Summary as s, TastyThemeNames as sn, TastyBatchProviderProps as st, CSSOptions as t, PositionStyleProps as tn, okhstFunction as tt, resolveRecipes as u, Tokens as un, useCounterStyle as ut, destroy as v, FLOW_STYLES as vn, useStyles as vt, getRawCSSText as w, DEFAULT_ZERO_NAME_PREFIX as wn, ResolveAsProps as wt, gc as x, POSITION_STYLES as xn, ElementsDefinition as xt, fontFace as y, INNER_STYLES as yn, AllBasePropsWithMods as yt, computeStyles as z, AllBaseProps as zt };
1971
+ //# sourceMappingURL=index-D4kRLj2o.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 { 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 isConfigLocked, g as TastyPlugin, h as hasStylesGenerated, i as getGlobalCounterStyles, l as getNamePrefix, m as resetConfig, n as configure, o as getGlobalFunctions, p as isTestEnvironment, 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-BWYrv_Aa.js";
2
+ import { $ as StyleParser, A as ParsedColor, At as StyleRule, B as StyleValueStateMap, C as SuffixForSelector, Ct as PropertyDefinition, D as CSSMap, Dt as RuleInfo, E as AnyStyleHandler, Et as RootRegistry, F as StyleHandlerProps, Ft as resetStyleBatch, G as parseColor, H as getGlobalParser, I as StyleHandlerResult, J as getNamedColorHex, K as parseStyle, L as StyleMap, M as ResolvedStyleValue, Mt as QueuedWrite, N as StyleHandler, Nt as flushStyles, O as CUSTOM_UNITS, Ot as SheetInfo, P as StyleHandlerDefinition, Pt as hasPendingStyleWrites, Q as strToRgb, R as StylePropValue, S as StylesWithoutSelectors, St as KeyframesSteps, T as TastyPresetNames, Tt as RawCSSResult, U as getGlobalPredefinedTokens, V as filterMods, W as normalizeColorTokenValue, X as hexToRgb, Y as getRgbValuesFromRgbaString, Z as hslToRgbValues, _ as NotSelector, _t as InjectResult, a as parseStateKey, at as CSSProperties, b as Styles, bt as KeyframesInfo, c as StateParserContext, ct as DisposeFunction, d as setGlobalPredefinedStates, dt as FunctionDefinition, et as ParserOptions, f as ConditionNode, ft as FunctionParameter, g as NoType, gt as InjectOptions, h as ConfigTokens, i as ParseStateKeyOptions, it as UnitHandler, j as RawStyleHandler, jt as StyleUsage, k as DIRECTIONS, kt as StyleInjectorConfig, l as createStateParserContext, lt as FontFaceDescriptors, m as ConfigTokenValue, mt as GCOptions, n as StyleResult, nt as StyleDetails, o as AtRuleContext, ot as CacheMetrics, p as isSelector, pt as GCConfig, q as stringifyStyles, r as renderStyles, rt as StyleDetailsPart, s as ParsedAdvancedState, st as CounterStyleDescriptors, t as RenderResult, tt as ProcessedStyle, u as getGlobalPredefinedStates, ut as FontFaceInput, v as RecipeStyles, vt as InjectionMode, w as TastyNamedColors, wt as PropertyOptions, x as StylesInterface, xt as KeyframesResult, y as Selector, yt as KeyframesCacheEntry, z as StyleValue } from "./index-BzAC3p06.js";
3
+ import { $ as resolveFunctionColor, $t as Mods, A as isPropertyDefined, At as TastyComponentPropsWithDefaults, B as defineHandler, Bt as BaseProps, C as getCSSTextForNode, Cn as DEFAULT_NAME_PREFIX, Ct as ModPropsInput, D as injectGlobal, Dt as ResolveTokenProps, E as inject, Et as ResolveModProps, F as ChunkSheetRegistry, Ft as TokenPropsInput, G as CHUNK_NAMES, Gt as BlockStyleProps, H as ChunkInfo, Ht as BaseStyleProps, I as chunkSheetRegistry, It as VariantMap, J as DISPLAY_CHUNK_STYLES, Jt as DimensionStyleProps, K as ChunkName, Kt as ColorStyleProps, L as ComputeStylesOptions, Lt as WithVariant, M as ownKeyframes, Mt as TastyElementProps, N as property, Nt as TastyPolymorphicComponent, O as injectRawCSS, Ot as SubElementDefinition, P as touch, Pt as TastyProps, Q as STYLE_TO_CHUNK, Qt as ModValue, R as ComputeStylesResult, Rt as tasty, S as getCSSText, Sn as TEXT_STYLES, St as ModPropDef, T as holdKeyframes, Tt as ResolveModPropDef, U as categorizeStyleKeys, Ut as BlockInnerStyleProps, V as styleHandlers, Vt as BasePropsWithoutChildren, W as APPEARANCE_CHUNK_STYLES, Wt as BlockOuterStyleProps, X as LAYOUT_CHUNK_STYLES, Xt as FlowStyleProps, Y as FONT_CHUNK_STYLES, Yt as ExtraBaseStyleProps, Z as POSITION_CHUNK_STYLES, Zt as InnerStyleProps, _ as createInjector, _n as DIMENSION_STYLES, _t as UseStylesResult, a as DebugOptions, an as TastyCustomProps, at as getDisplayName, b as func, bn as OUTER_STYLES, bt as Element, c as tastyDebug, cn as TextStyleProps, ct as UseFunctionOptions, d as dotize, dn as BASE_STYLES, dt as useFontFace, en as OuterStyleProps, et as createColorFunc, f as _modAttrs, fn as BLOCK_INNER_STYLES, ft as UsePropertyOptions, g as counterStyle, gn as CONTAINER_STYLES, gt as useGlobalStyles, h as cleanup, hn as COLOR_STYLES, ht as useRawCSS, i as DebugChunkInfo, in as TastyBaseStylePropNames, it as okhslPlugin, j as keyframes, jt as TastyElementOptions, k as injector, kt as SubElementProps, l as processTokens, ln as TokenValue, lt as useFunction, m as filterBaseProps, mn as BLOCK_STYLES, mt as useKeyframes, n as CacheStatus, nn as ShortGridStyles, nt as okhstPlugin, o as InspectResult, on as TastyExtensionConfig, ot as TastyBatchProvider, p as color, pn as BLOCK_OUTER_STYLES, pt as useProperty, q as DIMENSION_CHUNK_STYLES, qt as ContainerStyleProps, r as ChunkBreakdown, rn as TagName, rt as okhslFunction, s as Summary, sn as TastyThemeNames, st as TastyBatchProviderProps, t as CSSOptions, tn as PositionStyleProps, tt as okhstFunction, u as resolveRecipes, un as Tokens, ut as useCounterStyle, v as destroy, vn as FLOW_STYLES, vt as useStyles, w as getRawCSSText, wn as DEFAULT_ZERO_NAME_PREFIX, wt as ResolveAsProps, x as gc, xn as POSITION_STYLES, xt as ElementsDefinition, y as fontFace, yn as INNER_STYLES, yt as AllBasePropsWithMods, z as computeStyles, zt as AllBaseProps } from "./index-D4kRLj2o.js";
4
+ import { t as mergeStyles } from "./merge-styles-BFktNP8J.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, 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, holdKeyframes, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, _modAttrs as 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 };