@tenphi/tasty 3.9.8 → 3.9.10

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 (65) hide show
  1. package/dist/{babel-C5mN2_fA.d.ts → babel-rZcEwPLM.d.ts} +2 -3
  2. package/dist/chunks/{build-config-iyzPTrZa.js → build-config-CL4eRu2z.js} +6 -6
  3. package/dist/chunks/{build-config-iyzPTrZa.js.map → build-config-CL4eRu2z.js.map} +1 -1
  4. package/dist/chunks/{collector-C4ouIOgI.js → collector-D2ARGT2L.js} +4 -4
  5. package/dist/chunks/{collector-C4ouIOgI.js.map → collector-D2ARGT2L.js.map} +1 -1
  6. package/dist/chunks/{config-engine-BAldIMv7.js → config-engine-DEmmPPdp.js} +17 -12
  7. package/dist/chunks/{config-engine-BAldIMv7.js.map → config-engine-DEmmPPdp.js.map} +1 -1
  8. package/dist/chunks/{css-definitions-BIgGXRLz.js → css-definitions-DotDkIXt.js} +6 -5
  9. package/dist/chunks/{css-definitions-BIgGXRLz.js.map → css-definitions-DotDkIXt.js.map} +1 -1
  10. package/dist/chunks/{css-resources-BN8apgxt.js → css-resources-P7IBUUZs.js} +2 -2
  11. package/dist/chunks/{css-resources-BN8apgxt.js.map → css-resources-P7IBUUZs.js.map} +1 -1
  12. package/dist/chunks/{debug-CUDFFYpM.js → debug-D8pg9RGI.js} +20 -19
  13. package/dist/chunks/{debug-CUDFFYpM.js.map → debug-D8pg9RGI.js.map} +1 -1
  14. package/dist/chunks/{dsl-C5yuAn41.js → dsl-DRhFWQzo.js} +42 -37
  15. package/dist/chunks/{dsl-C5yuAn41.js.map → dsl-DRhFWQzo.js.map} +1 -1
  16. package/dist/chunks/{react-runtime-46TyXx9v.js → react-runtime-BpxlOTbO.js} +28 -23
  17. package/dist/chunks/{react-runtime-46TyXx9v.js.map → react-runtime-BpxlOTbO.js.map} +1 -1
  18. package/dist/chunks/{runtime-engine-B_4lx2DJ.js → runtime-engine-CKFXUH-A.js} +27 -19
  19. package/dist/chunks/runtime-engine-CKFXUH-A.js.map +1 -0
  20. package/dist/chunks/{runtime-state-BMtykrat.js → runtime-state-BxaLhVdP.js} +2 -2
  21. package/dist/chunks/{runtime-state-BMtykrat.js.map → runtime-state-BxaLhVdP.js.map} +1 -1
  22. package/dist/chunks/{shared-utils-DWA4LjIa.js → shared-utils-y-HjvPN4.js} +16 -12
  23. package/dist/chunks/{shared-utils-DWA4LjIa.js.map → shared-utils-y-HjvPN4.js.map} +1 -1
  24. package/dist/chunks/{style-engine-BpgmapBp.js → style-engine-BBbBuSkT.js} +87 -75
  25. package/dist/chunks/{style-engine-BpgmapBp.js.map → style-engine-BBbBuSkT.js.map} +1 -1
  26. package/dist/chunks/{zero-engine-DcjMs3WX.js → zero-engine-gJrKBRiw.js} +6 -4
  27. package/dist/chunks/{zero-engine-DcjMs3WX.js.map → zero-engine-gJrKBRiw.js.map} +1 -1
  28. package/dist/{collector-CViSMO84.d.ts → collector-w4mBj5gd.d.ts} +2 -3
  29. package/dist/{config-CbDtZzZy.d.ts → config-CZWCzBr6.d.ts} +3 -12
  30. package/dist/core/index.d.ts +4 -4
  31. package/dist/core/index.js +8 -8
  32. package/dist/{index-lhkF3ln5.d.ts → index-G9JuwM9p.d.ts} +136 -163
  33. package/dist/index.d.ts +4 -4
  34. package/dist/index.js +9 -9
  35. package/dist/{merge-styles-Dp3eKkK9.d.ts → merge-styles-VXwJ0Frr.d.ts} +2 -3
  36. package/dist/ssr/astro-client.d.ts +1 -1
  37. package/dist/ssr/astro-middleware-extract-static.d.ts +1 -2
  38. package/dist/ssr/astro-middleware-extract.d.ts +1 -2
  39. package/dist/ssr/astro-middleware-static.d.ts +1 -2
  40. package/dist/ssr/astro-middleware.d.ts +1 -2
  41. package/dist/ssr/astro.d.ts +8 -16
  42. package/dist/ssr/astro.js +5 -4
  43. package/dist/ssr/astro.js.map +1 -1
  44. package/dist/ssr/index.d.ts +5 -6
  45. package/dist/ssr/index.js +2 -2
  46. package/dist/ssr/next-config.d.ts +3 -5
  47. package/dist/ssr/next-config.js +10 -6
  48. package/dist/ssr/next-config.js.map +1 -1
  49. package/dist/ssr/next.d.ts +3 -9
  50. package/dist/ssr/next.js +5 -4
  51. package/dist/ssr/next.js.map +1 -1
  52. package/dist/static/index.d.ts +8 -9
  53. package/dist/static/index.js +4 -4
  54. package/dist/static/index.js.map +1 -1
  55. package/dist/static/inject.d.ts +1 -2
  56. package/dist/{types-Ji9PGExW.d.ts → types-JEY8PVYP.d.ts} +5 -58
  57. package/dist/zero/babel.d.ts +1 -1
  58. package/dist/zero/babel.js +23 -18
  59. package/dist/zero/babel.js.map +1 -1
  60. package/dist/zero/index.d.ts +6 -7
  61. package/dist/zero/index.js +1 -1
  62. package/dist/zero/next.d.ts +3 -5
  63. package/dist/zero/next.js.map +1 -1
  64. package/package.json +31 -31
  65. package/dist/chunks/runtime-engine-B_4lx2DJ.js.map +0 -1
@@ -1,8 +1,64 @@
1
- import { Ft as CSSProperties$1, K as NoType, 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-Ji9PGExW.js";
2
- import { m as TastyPluginFactory, x as StyleInjector } from "./config-CbDtZzZy.js";
3
- import { t as ServerStyleCollector } from "./collector-CViSMO84.js";
1
+ import { Et as StyleDetails, G as NoType, M as StyleResult, X as StylesInterface, Y as Styles, _ as KeyframesSteps, a as FontFaceInput, ct as StyleHandler, d as InjectOptions, dt as StyleHandlerResult, f as InjectResult, g as KeyframesResult, ht as StyleValueStateMap, i as FontFaceDescriptors, kt as CSSProperties$1, l as GCOptions, mt as StyleValue, n as CounterStyleDescriptors, nt as CSSMap, o as FunctionDefinition, ot as RawStyleHandler, pt as StylePropValue, st as ResolvedStyleValue, t as CacheMetrics, u as GlobalInjectResult, w as StyleInjectorConfig, y as PropertyOptions } from "./types-JEY8PVYP.js";
2
+ import { b as StyleInjector, p as TastyPluginFactory } from "./config-CZWCzBr6.js";
3
+ import { t as ServerStyleCollector } from "./collector-w4mBj5gd.js";
4
+ import "./merge-styles-VXwJ0Frr.js";
4
5
  import { AllHTMLAttributes, CSSProperties, ComponentType, ElementType, ForwardRefExoticComponent, JSX, PropsWithoutRef, ReactNode, RefAttributes } from "react";
5
-
6
+ //#region src/utils/color-math.d.ts
7
+ /**
8
+ * Consolidated color conversion math.
9
+ *
10
+ * Single source of truth for all color space conversions used across the
11
+ * library: sRGB gamma, HSL, OKLab, OKLCH, OKHSL, hex parsing, named
12
+ * colors, and CSS string converters.
13
+ *
14
+ * This module has zero internal imports — it is a leaf dependency.
15
+ *
16
+ * Reference: https://bottosson.github.io/posts/oklab/
17
+ */
18
+ type Vec3 = [number, number, number];
19
+ /**
20
+ * HSL to RGB.
21
+ * Algorithm from CSS Color 4 spec.
22
+ *
23
+ * @param h - Hue in degrees (0-360)
24
+ * @param s - Saturation (0-1)
25
+ * @param l - Lightness (0-1)
26
+ * @returns RGB values in 0-255 range (may have fractional values)
27
+ */
28
+ declare function hslToRgbValues(h: number, s: number, l: number): Vec3;
29
+ declare function getNamedColorHex(): Map<string, string>;
30
+ /**
31
+ * Convert hex color string to `rgb()` CSS string.
32
+ * Supports 3, 4, 6, and 8 character hex values (with or without `#`).
33
+ */
34
+ declare function hexToRgb(hex: string): string | null;
35
+ /**
36
+ * Extract RGB values from an `rgb()`/`rgba()` string.
37
+ * Supports comma-separated, space-separated, fractional, percentage,
38
+ * and slash alpha notation.
39
+ *
40
+ * @returns Array of RGB values (0-255 range), converting percentages as needed.
41
+ */
42
+ declare function getRgbValuesFromRgbaString(str: string): number[];
43
+ /**
44
+ * Convert any recognized color string to an `rgb()` CSS string.
45
+ * Handles hex, `okhsl()`, `okhst()`, `hsl()`/`hsla()`, named CSS colors,
46
+ * and `rgb()`/`rgba()` pass-through.
47
+ */
48
+ declare function strToRgb(color: string, _ignoreAlpha?: boolean): string | null | undefined;
49
+ //#endregion
50
+ //#region src/utils/is-selector.d.ts
51
+ /** Check whether a style-object key identifies a nested CSS selector. */
52
+ declare function isSelector(key: string): boolean;
53
+ //#endregion
54
+ //#region src/config-state.d.ts
55
+ /**
56
+ * Minimal configuration state shared by the style engine, zero-runtime
57
+ * extractor, and runtime configuration module. Keeping it independent
58
+ * prevents pure rendering code from importing the full injector graph.
59
+ */
60
+ declare function hasStylesGenerated(): boolean;
61
+ //#endregion
6
62
  //#region src/utils/name-prefix.d.ts
7
63
  /**
8
64
  * Name prefix utilities for generated identifiers.
@@ -96,7 +152,7 @@ interface TastyBaseStylePropNames {}
96
152
  * it names. Intersecting with `keyof StylesInterface` makes a name that isn't a
97
153
  * real style inert rather than `never`-typed.
98
154
  */
99
- type ExtraBaseStyleProps = { [key in keyof TastyBaseStylePropNames & keyof StylesInterface]?: StylePropValue<StylesInterface[key]> };
155
+ type ExtraBaseStyleProps = { [key in keyof TastyBaseStylePropNames & keyof StylesInterface]?: StylePropValue<StylesInterface[key]>; };
100
156
  /** Allowed mod value types */
101
157
  type ModValue = boolean | string | number | undefined | null;
102
158
  /**
@@ -247,7 +303,7 @@ interface TastyExtensionConfig {
247
303
  }
248
304
  //#endregion
249
305
  //#region src/tasty.d.ts
250
- type StyleList = readonly (keyof { [key in keyof StylesInterface]: StylesInterface[key] })[];
306
+ type StyleList = readonly (keyof { [key in keyof StylesInterface]: StylesInterface[key]; })[];
251
307
  /** Type descriptor for a single mod prop: a JS constructor or an enum array. */
252
308
  type ModPropDef = BooleanConstructor | StringConstructor | NumberConstructor | readonly string[];
253
309
  /** Array form: list of mod key names (types default to ModValue). */
@@ -259,7 +315,7 @@ type ModPropsInput = ModPropsList | ModPropsMap;
259
315
  /** Resolve a single ModPropDef to its TypeScript type. */
260
316
  type ResolveModPropDef<T> = T extends BooleanConstructor ? boolean : T extends StringConstructor ? string : T extends NumberConstructor ? number : T extends readonly (infer U)[] ? U : ModValue;
261
317
  /** Resolve an entire `modProps` definition to the component prop types it adds. */
262
- type ResolveModProps<M extends ModPropsInput> = M extends readonly (infer K)[] ? Partial<Record<K & string, ModValue>> : M extends Record<string, ModPropDef> ? { [key in keyof M & string]?: ResolveModPropDef<M[key]> } : {};
318
+ type ResolveModProps<M extends ModPropsInput> = M extends readonly (infer K)[] ? Partial<Record<K & string, ModValue>> : M extends Record<string, ModPropDef> ? { [key in keyof M & string]?: ResolveModPropDef<M[key]>; } : {};
263
319
  /** A token key with `$` or `#` prefix. */
264
320
  type TokenPropKey = `$${string}` | `#${string}`;
265
321
  /** Array form: list of prop names. Names ending in `Color` map to `#` color tokens. */
@@ -315,23 +371,30 @@ type SubElementProps<Tag extends keyof JSX.IntrinsicElements = 'div'> = Omit<JSX
315
371
  /**
316
372
  * Generates the sub-element component types from an ElementsDefinition
317
373
  */
318
- type SubElementComponents<E extends ElementsDefinition> = { [K in keyof E]: ForwardRefExoticComponent<PropsWithoutRef<SubElementProps<ResolveElementTag<E[K]>>> & RefAttributes<ResolveElementTag<E[K]> extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[ResolveElementTag<E[K]>] : Element$1>> };
374
+ type SubElementComponents<E extends ElementsDefinition> = { [K in keyof E]: ForwardRefExoticComponent<PropsWithoutRef<SubElementProps<ResolveElementTag<E[K]>>> & RefAttributes<ResolveElementTag<E[K]> extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[ResolveElementTag<E[K]>] : Element$1>>; };
319
375
  /**
320
376
  * Base type containing common properties shared between TastyProps and TastyElementOptions.
321
377
  * Separated to avoid code duplication while allowing different type constraints.
322
378
  */
323
379
  type TastyBaseProps<K extends StyleList, V extends VariantMap, E extends ElementsDefinition = Record<string, never>, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = {
324
- /** Default styles of the element. */styles?: Styles; /** The list of styles that can be provided by props */
325
- styleProps?: K; /** Modifier keys exposed as top-level component props (array or typed object form). */
326
- modProps?: M; /** Token keys exposed as top-level component props (array or typed object form). */
380
+ /** Default styles of the element. */
381
+ styles?: Styles;
382
+ /** The list of styles that can be provided by props */
383
+ styleProps?: K;
384
+ /** Modifier keys exposed as top-level component props (array or typed object form). */
385
+ modProps?: M;
386
+ /** Token keys exposed as top-level component props (array or typed object form). */
327
387
  tokenProps?: TP;
328
388
  element?: BaseProps['element'];
329
- variants?: V; /** Default tokens for inline CSS custom properties */
330
- tokens?: Tokens; /** Sub-element definitions for compound components */
389
+ variants?: V;
390
+ /** Default tokens for inline CSS custom properties */
391
+ tokens?: Tokens;
392
+ /** Sub-element definitions for compound components */
331
393
  elements?: E;
332
394
  } & Pick<BaseProps, 'qa' | 'qaVal'> & WithVariant<V>;
333
395
  type TastyProps<K extends StyleList, V extends VariantMap, E extends ElementsDefinition = Record<string, never>, DefaultProps = AnyProps, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = TastyBaseProps<K, V, E, M, TP> & {
334
- /** The tag name of the element or a React component. */as?: string | ComponentType<any>;
396
+ /** The tag name of the element or a React component. */
397
+ as?: string | ComponentType<any>;
335
398
  } & Partial<Omit<DefaultProps, 'as' | 'styles' | 'styleProps' | 'modProps' | 'tokenProps' | 'tokens'>>;
336
399
  /**
337
400
  * Resolves the props of a polymorphic `as` value (intrinsic tag or component).
@@ -350,9 +413,10 @@ type ResolveAsProps<AsType extends ElementType> = AsType extends keyof JSX.Intri
350
413
  * record to ensure strict type checking for styles.
351
414
  */
352
415
  type TastyElementOptions<K extends StyleList, V extends VariantMap, E extends ElementsDefinition = Record<string, never>, AsType extends ElementType = 'div', M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = TastyBaseProps<K, V, E, M, TP> & {
353
- /** The tag name of the element or a React component. */as?: AsType;
416
+ /** The tag name of the element or a React component. */
417
+ as?: AsType;
354
418
  } & Record<string, unknown>;
355
- type AllBasePropsWithMods<K extends StyleList, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = AllBaseProps & { [key in K[number]]?: StyleValue<StylesInterface[key]> | StyleValueStateMap<StylesInterface[key]> } & BaseStyleProps & ExtraBaseStyleProps & Partial<TastyCustomProps> & ResolveModProps<M> & ResolveTokenProps<TP>;
419
+ type AllBasePropsWithMods<K extends StyleList, M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = AllBaseProps & { [key in K[number]]?: StyleValue<StylesInterface[key]> | StyleValueStateMap<StylesInterface[key]>; } & BaseStyleProps & ExtraBaseStyleProps & Partial<TastyCustomProps> & ResolveModProps<M> & ResolveTokenProps<TP>;
356
420
  /**
357
421
  * Props consumed by Tasty rather than forwarded to the `as` component.
358
422
  * Event handlers are resolved from JSX.IntrinsicElements or the component's own props.
@@ -379,7 +443,7 @@ type TokenPropsKeys<TP extends TokenPropsInput> = TP extends readonly (infer K)[
379
443
  * is a component type with a narrower prop API.
380
444
  */
381
445
  type TastyElementProps<K extends StyleList, V extends VariantMap, AsType extends ElementType = 'div', M extends ModPropsInput = readonly never[], TP extends TokenPropsInput = readonly never[]> = Omit<AllBasePropsWithMods<K, M, TP>, Exclude<keyof ResolveAsProps<AsType>, TastySpecificKeys | keyof TastyCustomProps | keyof ExtraBaseStyleProps | K[number] | ModPropsKeys<M> | TokenPropsKeys<TP>>> & WithVariant<V> & Omit<Omit<AllHTMLAttributes<HTMLElement>, keyof ResolveAsProps<AsType>> & ResolveAsProps<AsType>, TastySpecificKeys | keyof TastyCustomProps | keyof ExtraBaseStyleProps | K[number] | ModPropsKeys<M> | TokenPropsKeys<TP>>;
382
- type TastyComponentPropsWithDefaults<Props extends PropsWithStyles, DefaultProps extends Partial<Props>> = keyof DefaultProps extends never ? Props : { [key in Extract<keyof Props, keyof DefaultProps>]?: Props[key] } & { [key in keyof Omit<Props, keyof DefaultProps>]: Props[key] };
446
+ type TastyComponentPropsWithDefaults<Props extends PropsWithStyles, DefaultProps extends Partial<Props>> = keyof DefaultProps extends never ? Props : { [key in Extract<keyof Props, keyof DefaultProps>]?: Props[key]; } & { [key in keyof Omit<Props, keyof DefaultProps>]: Props[key]; };
383
447
  /**
384
448
  * The component type returned by the `tasty(options)` element-factory overload.
385
449
  *
@@ -777,9 +841,7 @@ interface TastyBatchProviderProps {
777
841
  * );
778
842
  * ```
779
843
  */
780
- declare function TastyBatchProvider({
781
- children
782
- }: TastyBatchProviderProps): ReactNode;
844
+ declare function TastyBatchProvider({ children }: TastyBatchProviderProps): ReactNode;
783
845
  //#endregion
784
846
  //#region src/utils/get-display-name.d.ts
785
847
  declare function getDisplayName<T>(Component: ElementType<T>, fallbackName?: string): string;
@@ -901,7 +963,8 @@ declare function resolveFunctionColor(str: string): string | null;
901
963
  * public API surface are unchanged.
902
964
  */
903
965
  declare const CHUNK_NAMES: {
904
- /** Special chunk for styles that cannot be split */readonly COMBINED: "combined";
966
+ /** Special chunk for styles that cannot be split */
967
+ readonly COMBINED: "combined";
905
968
  readonly SUBCOMPONENTS: "subcomponents";
906
969
  readonly APPEARANCE: "appearance";
907
970
  readonly FONT: "font";
@@ -1006,9 +1069,7 @@ declare function categorizeStyleKeys(styles: Record<string, unknown>): Map<strin
1006
1069
  *
1007
1070
  * Later groups override earlier groups for conflicting directions.
1008
1071
  */
1009
- declare function borderStyle({
1010
- border
1011
- }: {
1072
+ declare function borderStyle({ border }: {
1012
1073
  border?: string | number | boolean;
1013
1074
  }): Record<string, string> | null;
1014
1075
  declare namespace borderStyle {
@@ -1016,11 +1077,7 @@ declare namespace borderStyle {
1016
1077
  }
1017
1078
  //#endregion
1018
1079
  //#region src/styles/blockSize.d.ts
1019
- declare function blockSizeStyle({
1020
- blockSize,
1021
- minBlockSize,
1022
- maxBlockSize
1023
- }: {
1080
+ declare function blockSizeStyle({ blockSize, minBlockSize, maxBlockSize }: {
1024
1081
  blockSize?: string | number | boolean;
1025
1082
  minBlockSize?: string | number | boolean;
1026
1083
  maxBlockSize?: string | number | boolean;
@@ -1030,9 +1087,7 @@ declare namespace blockSizeStyle {
1030
1087
  }
1031
1088
  //#endregion
1032
1089
  //#region src/styles/color.d.ts
1033
- declare function colorStyle({
1034
- color
1035
- }: {
1090
+ declare function colorStyle({ color }: {
1036
1091
  color?: string | boolean;
1037
1092
  }): Record<string, string> | null;
1038
1093
  declare namespace colorStyle {
@@ -1056,21 +1111,13 @@ interface DisplayStyleProps {
1056
1111
  * 3. Single-line `textOverflow` defaults white-space to nowrap
1057
1112
  * 4. Explicit `whiteSpace` overrides the default from `textOverflow`
1058
1113
  */
1059
- declare function displayStyle({
1060
- display,
1061
- hide,
1062
- textOverflow,
1063
- overflow,
1064
- whiteSpace
1065
- }: DisplayStyleProps): Record<string, string | number> | null;
1114
+ declare function displayStyle({ display, hide, textOverflow, overflow, whiteSpace }: DisplayStyleProps): Record<string, string | number> | null;
1066
1115
  declare namespace displayStyle {
1067
1116
  var __lookupStyles: string[];
1068
1117
  }
1069
1118
  //#endregion
1070
1119
  //#region src/styles/fade.d.ts
1071
- declare function fadeStyle({
1072
- fade
1073
- }: {
1120
+ declare function fadeStyle({ fade }: {
1074
1121
  fade?: string;
1075
1122
  }): {
1076
1123
  mask: string;
@@ -1081,19 +1128,7 @@ declare namespace fadeStyle {
1081
1128
  }
1082
1129
  //#endregion
1083
1130
  //#region src/styles/fill.d.ts
1084
- declare function fillStyle({
1085
- fill,
1086
- backgroundColor,
1087
- image,
1088
- backgroundImage,
1089
- backgroundPosition,
1090
- backgroundSize,
1091
- backgroundRepeat,
1092
- backgroundAttachment,
1093
- backgroundOrigin,
1094
- backgroundClip,
1095
- background
1096
- }: {
1131
+ declare function fillStyle({ fill, backgroundColor, image, backgroundImage, backgroundPosition, backgroundSize, backgroundRepeat, backgroundAttachment, backgroundOrigin, backgroundClip, background }: {
1097
1132
  fill?: string;
1098
1133
  backgroundColor?: string;
1099
1134
  image?: string;
@@ -1109,9 +1144,7 @@ declare function fillStyle({
1109
1144
  declare namespace fillStyle {
1110
1145
  var __lookupStyles: string[];
1111
1146
  }
1112
- declare function svgFillStyle({
1113
- svgFill
1114
- }: {
1147
+ declare function svgFillStyle({ svgFill }: {
1115
1148
  svgFill?: string;
1116
1149
  }): {
1117
1150
  fill: string;
@@ -1121,10 +1154,7 @@ declare namespace svgFillStyle {
1121
1154
  }
1122
1155
  //#endregion
1123
1156
  //#region src/styles/flow.d.ts
1124
- declare function flowStyle({
1125
- display,
1126
- flow
1127
- }: {
1157
+ declare function flowStyle({ display, flow }: {
1128
1158
  display?: string | NoType;
1129
1159
  flow?: string | NoType;
1130
1160
  }): {
@@ -1135,11 +1165,7 @@ declare namespace flowStyle {
1135
1165
  }
1136
1166
  //#endregion
1137
1167
  //#region src/styles/gap.d.ts
1138
- declare function gapStyle({
1139
- display,
1140
- flow,
1141
- gap
1142
- }: {
1168
+ declare function gapStyle({ display, flow, gap }: {
1143
1169
  display?: string | NoType;
1144
1170
  flow?: string | NoType;
1145
1171
  gap?: string | number | boolean | NoType;
@@ -1169,23 +1195,13 @@ interface HeightStyleProps {
1169
1195
  minHeight?: string | number | boolean;
1170
1196
  maxHeight?: string | number | boolean;
1171
1197
  }
1172
- declare function heightStyle({
1173
- height,
1174
- minHeight,
1175
- maxHeight
1176
- }: HeightStyleProps): Record<string, string | string[]> | null;
1198
+ declare function heightStyle({ height, minHeight, maxHeight }: HeightStyleProps): Record<string, string | string[]> | null;
1177
1199
  declare namespace heightStyle {
1178
1200
  var __lookupStyles: string[];
1179
1201
  }
1180
1202
  //#endregion
1181
1203
  //#region src/styles/inset.d.ts
1182
- declare function insetStyle({
1183
- inset,
1184
- top,
1185
- right,
1186
- bottom,
1187
- left
1188
- }: {
1204
+ declare function insetStyle({ inset, top, right, bottom, left }: {
1189
1205
  inset?: string | number | boolean;
1190
1206
  top?: string | number | boolean;
1191
1207
  right?: string | number | boolean;
@@ -1197,11 +1213,7 @@ declare namespace insetStyle {
1197
1213
  }
1198
1214
  //#endregion
1199
1215
  //#region src/styles/inlineSize.d.ts
1200
- declare function inlineSizeStyle({
1201
- inlineSize,
1202
- minInlineSize,
1203
- maxInlineSize
1204
- }: {
1216
+ declare function inlineSizeStyle({ inlineSize, minInlineSize, maxInlineSize }: {
1205
1217
  inlineSize?: string | number | boolean;
1206
1218
  minInlineSize?: string | number | boolean;
1207
1219
  maxInlineSize?: string | number | boolean;
@@ -1211,13 +1223,7 @@ declare namespace inlineSizeStyle {
1211
1223
  }
1212
1224
  //#endregion
1213
1225
  //#region src/styles/margin.d.ts
1214
- declare function marginStyle({
1215
- margin,
1216
- marginTop,
1217
- marginRight,
1218
- marginBottom,
1219
- marginLeft
1220
- }: {
1226
+ declare function marginStyle({ margin, marginTop, marginRight, marginBottom, marginLeft }: {
1221
1227
  margin?: string | number | boolean;
1222
1228
  marginTop?: string | number | boolean;
1223
1229
  marginRight?: string | number | boolean;
@@ -1247,22 +1253,13 @@ interface OutlineStyleProps {
1247
1253
  *
1248
1254
  * @return CSS properties for outline and optionally outline-offset
1249
1255
  */
1250
- declare function outlineStyle({
1251
- outline,
1252
- outlineOffset
1253
- }: OutlineStyleProps): Record<string, string> | null;
1256
+ declare function outlineStyle({ outline, outlineOffset }: OutlineStyleProps): Record<string, string> | null;
1254
1257
  declare namespace outlineStyle {
1255
1258
  var __lookupStyles: string[];
1256
1259
  }
1257
1260
  //#endregion
1258
1261
  //#region src/styles/padding.d.ts
1259
- declare function paddingStyle({
1260
- padding,
1261
- paddingTop,
1262
- paddingRight,
1263
- paddingBottom,
1264
- paddingLeft
1265
- }: {
1262
+ declare function paddingStyle({ padding, paddingTop, paddingRight, paddingBottom, paddingLeft }: {
1266
1263
  padding?: string | number | boolean;
1267
1264
  paddingTop?: string | number | boolean;
1268
1265
  paddingRight?: string | number | boolean;
@@ -1293,17 +1290,7 @@ interface PlacementStyleProps {
1293
1290
  * 2. placeItems, placeContent, align, justify (medium) — each sets 2 longhands
1294
1291
  * 3. alignItems, alignContent, justifyItems, justifyContent (highest) — each sets 1 longhand
1295
1292
  */
1296
- declare function placementStyle({
1297
- place,
1298
- placeItems,
1299
- placeContent,
1300
- align,
1301
- justify,
1302
- alignItems,
1303
- alignContent,
1304
- justifyItems,
1305
- justifyContent
1306
- }: PlacementStyleProps): Record<string, string> | null;
1293
+ declare function placementStyle({ place, placeItems, placeContent, align, justify, alignItems, alignContent, justifyItems, justifyContent }: PlacementStyleProps): Record<string, string> | null;
1307
1294
  declare namespace placementStyle {
1308
1295
  var __lookupStyles: string[];
1309
1296
  }
@@ -1344,25 +1331,13 @@ interface PresetStyleProps {
1344
1331
  * - `font` is the recommended prop with special handling (monospace, boolean, fallback)
1345
1332
  * - `fontFamily` is a direct value without special handling
1346
1333
  */
1347
- declare function presetStyle({
1348
- preset,
1349
- fontSize,
1350
- lineHeight,
1351
- textTransform,
1352
- letterSpacing,
1353
- fontWeight,
1354
- fontStyle,
1355
- fontFamily,
1356
- font
1357
- }: PresetStyleProps): CSSMap | null;
1334
+ declare function presetStyle({ preset, fontSize, lineHeight, textTransform, letterSpacing, fontWeight, fontStyle, fontFamily, font }: PresetStyleProps): CSSMap | null;
1358
1335
  declare namespace presetStyle {
1359
1336
  var __lookupStyles: string[];
1360
1337
  }
1361
1338
  //#endregion
1362
1339
  //#region src/styles/radius.d.ts
1363
- declare function radiusStyle({
1364
- radius
1365
- }: {
1340
+ declare function radiusStyle({ radius }: {
1366
1341
  radius?: string | number | boolean;
1367
1342
  }): Record<string, string> | null;
1368
1343
  declare namespace radiusStyle {
@@ -1370,13 +1345,7 @@ declare namespace radiusStyle {
1370
1345
  }
1371
1346
  //#endregion
1372
1347
  //#region src/styles/scrollMargin.d.ts
1373
- declare function scrollMarginStyle({
1374
- scrollMargin,
1375
- scrollMarginTop,
1376
- scrollMarginRight,
1377
- scrollMarginBottom,
1378
- scrollMarginLeft
1379
- }: {
1348
+ declare function scrollMarginStyle({ scrollMargin, scrollMarginTop, scrollMarginRight, scrollMarginBottom, scrollMarginLeft }: {
1380
1349
  scrollMargin?: string | number | boolean;
1381
1350
  scrollMarginTop?: string | number | boolean;
1382
1351
  scrollMarginRight?: string | number | boolean;
@@ -1388,13 +1357,7 @@ declare namespace scrollMarginStyle {
1388
1357
  }
1389
1358
  //#endregion
1390
1359
  //#region src/styles/scrollPadding.d.ts
1391
- declare function scrollPaddingStyle({
1392
- scrollPadding,
1393
- scrollPaddingTop,
1394
- scrollPaddingRight,
1395
- scrollPaddingBottom,
1396
- scrollPaddingLeft
1397
- }: {
1360
+ declare function scrollPaddingStyle({ scrollPadding, scrollPaddingTop, scrollPaddingRight, scrollPaddingBottom, scrollPaddingLeft }: {
1398
1361
  scrollPadding?: string | number | boolean;
1399
1362
  scrollPaddingTop?: string | number | boolean;
1400
1363
  scrollPaddingRight?: string | number | boolean;
@@ -1420,18 +1383,13 @@ interface ScrollbarStyleProps {
1420
1383
  * Note: `auto` is classified as a VALUE_KEYWORD by the parser, so it lands
1421
1384
  * in `values` rather than `mods`. Both locations are checked for robustness.
1422
1385
  */
1423
- declare function scrollbarStyle({
1424
- scrollbar,
1425
- overflow
1426
- }: ScrollbarStyleProps): Record<string, string> | null;
1386
+ declare function scrollbarStyle({ scrollbar, overflow }: ScrollbarStyleProps): Record<string, string> | null;
1427
1387
  declare namespace scrollbarStyle {
1428
1388
  var __lookupStyles: string[];
1429
1389
  }
1430
1390
  //#endregion
1431
1391
  //#region src/styles/shadow.d.ts
1432
- declare function shadowStyle({
1433
- shadow
1434
- }: {
1392
+ declare function shadowStyle({ shadow }: {
1435
1393
  shadow?: string | boolean;
1436
1394
  }): {
1437
1395
  'box-shadow': string;
@@ -1441,9 +1399,7 @@ declare namespace shadowStyle {
1441
1399
  }
1442
1400
  //#endregion
1443
1401
  //#region src/styles/transition.d.ts
1444
- declare function transitionStyle({
1445
- transition
1446
- }: {
1402
+ declare function transitionStyle({ transition }: {
1447
1403
  transition?: string;
1448
1404
  }): {
1449
1405
  transition: string;
@@ -1458,11 +1414,7 @@ interface WidthStyleProps {
1458
1414
  minWidth?: string | number | boolean;
1459
1415
  maxWidth?: string | number | boolean;
1460
1416
  }
1461
- declare function widthStyle({
1462
- width,
1463
- minWidth,
1464
- maxWidth
1465
- }: WidthStyleProps): Record<string, string | string[]> | null;
1417
+ declare function widthStyle({ width, minWidth, maxWidth }: WidthStyleProps): Record<string, string | string[]> | null;
1466
1418
  declare namespace widthStyle {
1467
1419
  var __lookupStyles: string[];
1468
1420
  }
@@ -1819,17 +1771,38 @@ declare function destroy(root?: Document | ShadowRoot): void;
1819
1771
  declare function createInjector(config?: Partial<StyleInjectorConfig>): StyleInjector;
1820
1772
  //#endregion
1821
1773
  //#region src/utils/filter-base-props.d.ts
1774
+ declare const basePropNames: readonly ["role", "title", "inert", "as", "element", "css", "qa", "mods", "qaVal", "hidden", "isHidden", "disabled", "isDisabled", "children", "style", "className", "href", "target", "tabIndex"];
1775
+ declare const ignoredEventPropNames: readonly ["onPress", "onHoverStart", "onHoverEnd", "onPressStart", "onPressEnd"];
1822
1776
  interface PropsFilterOptions {
1823
1777
  labelable?: boolean;
1824
- propNames?: Set<string>;
1778
+ propNames?: ReadonlySet<string>;
1825
1779
  eventProps?: boolean;
1826
1780
  }
1827
- /**
1828
- * Filters out all props that aren't valid DOM props or defined via override prop obj.
1781
+ type ExplicitPropName<O> = O extends {
1782
+ propNames?: ReadonlySet<infer P>;
1783
+ } ? Extract<P, string> : never;
1784
+ type EventPropsEnabled<O> = O extends {
1785
+ eventProps?: infer E;
1786
+ } ? Extract<E, boolean> : never;
1787
+ type Characters<S extends string> = S extends `${infer First}${infer Rest}` ? First | Characters<Rest> : never;
1788
+ /** Models DOM-style event keys and the runtime's ignored event names. */
1789
+ type EventPropName<K extends string> = string extends K ? `on${Characters<'ABCDEFGHIJKLMNOPQRSTUVWXYZ'>}${string}` : K extends `on${infer Initial}${infer Rest}` ? 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' extends `${string}${Initial}${string}` ? Rest extends '' ? never : Exclude<K, (typeof ignoredEventPropNames)[number]> : never : never;
1790
+ type ExplicitNumericPropName<K, O> = K extends number ? `${K}` extends ExplicitPropName<O> ? K : never : never;
1791
+ type RetainedPropName<T, O> = 'id' | (typeof basePropNames)[number] | `aria-${string}` | `data-${string}` | ExplicitPropName<O> | (true extends EventPropsEnabled<O> ? EventPropName<Extract<keyof T, string>> : never);
1792
+ type FilteredProps<T extends object, O> = T extends unknown ? Partial<Pick<T, Extract<keyof T, RetainedPropName<T, O>> | Extract<RetainedPropName<T, O>, keyof T> | ExplicitNumericPropName<keyof T, O>>> : never;
1793
+ /**
1794
+ * Keeps the built-in base props, ARIA/data attributes, and explicitly allowed props.
1795
+ * DOM-style event names are kept only with `eventProps: true`, except the ignored
1796
+ * interaction events (which can still be allowed explicitly via `propNames`).
1797
+ * The return type preserves the input value types only for potentially retained
1798
+ * keys. Props remain optional because only own enumerable string keys are copied.
1799
+ * Use a literal union (e.g. `new Set(['name', 'type'] as const)`) for `propNames`
1800
+ * to keep precise types; a `Set<string>` can potentially retain any string key.
1829
1801
  * @param props - The component props to be filtered.
1830
- * @param opts - Props to override.
1802
+ * @param opts - Additional prop names and event forwarding options.
1831
1803
  */
1832
- declare function filterBaseProps<T extends object>(props: T, opts?: PropsFilterOptions): Partial<T>;
1804
+ declare function filterBaseProps<T extends object>(props: T, opts?: undefined): FilteredProps<T, undefined>;
1805
+ declare function filterBaseProps<T extends object, O extends PropsFilterOptions | undefined = PropsFilterOptions>(props: T, opts: O): FilteredProps<T, O>;
1833
1806
  //#endregion
1834
1807
  //#region src/utils/colors.d.ts
1835
1808
  declare function color$1(name: string, opacity?: number): string;
@@ -1943,5 +1916,5 @@ declare const tastyDebug: {
1943
1916
  install(): void;
1944
1917
  };
1945
1918
  //#endregion
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-lhkF3ln5.d.ts.map
1919
+ export { createColorFunc as $, OuterStyleProps as $t, keyframes as A, strToRgb as An, TastyElementOptions as At, styleHandlers as B, BasePropsWithoutChildren as Bt, getRawCSSText as C, DEFAULT_ZERO_NAME_PREFIX as Cn, ResolveAsProps as Ct, injectRawCSS as D, getRgbValuesFromRgbaString as Dn, SubElementDefinition as Dt, injectGlobal as E, getNamedColorHex as En, ResolveTokenProps as Et, chunkSheetRegistry as F, VariantMap as Ft, ChunkName as G, ColorStyleProps as Gt, categorizeStyleKeys as H, BlockInnerStyleProps as Ht, ComputeStylesOptions as I, WithVariant as It, FONT_CHUNK_STYLES as J, ExtraBaseStyleProps as Jt, DIMENSION_CHUNK_STYLES as K, ContainerStyleProps as Kt, ComputeStylesResult as L, tasty as Lt, property as M, TastyPolymorphicComponent as Mt, touch as N, TastyProps as Nt, injector as O, hexToRgb as On, SubElementProps as Ot, ChunkSheetRegistry as P, TokenPropsInput as Pt, resolveFunctionColor as Q, Mods as Qt, computeStyles as R, AllBaseProps as Rt, getCSSTextForNode as S, DEFAULT_NAME_PREFIX as Sn, ModPropsInput as St, inject as T, isSelector as Tn, ResolveModProps as Tt, APPEARANCE_CHUNK_STYLES as U, BlockOuterStyleProps as Ut, ChunkInfo as V, BaseStyleProps as Vt, CHUNK_NAMES as W, BlockStyleProps as Wt, POSITION_CHUNK_STYLES as X, InnerStyleProps as Xt, LAYOUT_CHUNK_STYLES as Y, FlowStyleProps as Yt, STYLE_TO_CHUNK as Z, ModValue as Zt, destroy as _, FLOW_STYLES as _n, useStyles as _t, DebugOptions as a, TastyExtensionConfig as an, TastyBatchProvider as at, gc as b, POSITION_STYLES as bn, ElementsDefinition as bt, tastyDebug as c, TokenValue as cn, useFunction as ct, modAttrs as d, BLOCK_INNER_STYLES as dn, UsePropertyOptions as dt, PositionStyleProps as en, okhstFunction as et, color$1 as f, BLOCK_OUTER_STYLES as fn, useProperty as ft, createInjector as g, DIMENSION_STYLES as gn, UseStylesResult as gt, counterStyle as h, CONTAINER_STYLES as hn, useGlobalStyles as ht, DebugChunkInfo as i, TastyCustomProps as in, getDisplayName as it, ownKeyframes as j, TastyElementProps as jt, isPropertyDefined as k, hslToRgbValues as kn, TastyComponentPropsWithDefaults as kt, processTokens as l, Tokens as ln, useCounterStyle as lt, cleanup as m, COLOR_STYLES as mn, useRawCSS as mt, CacheStatus as n, TagName as nn, okhslFunction as nt, InspectResult as o, TastyThemeNames as on, TastyBatchProviderProps as ot, filterBaseProps as p, BLOCK_STYLES as pn, useKeyframes as pt, DISPLAY_CHUNK_STYLES as q, DimensionStyleProps as qt, ChunkBreakdown as r, TastyBaseStylePropNames as rn, okhslPlugin as rt, Summary as s, TextStyleProps as sn, UseFunctionOptions as st, CSSOptions as t, ShortGridStyles as tn, okhstPlugin as tt, resolveRecipes as u, BASE_STYLES as un, useFontFace as ut, fontFace as v, INNER_STYLES as vn, AllBasePropsWithMods as vt, holdKeyframes as w, hasStylesGenerated as wn, ResolveModPropDef as wt, getCSSText as x, TEXT_STYLES as xn, ModPropDef as xt, func as y, OUTER_STYLES as yn, Element$1 as yt, defineHandler as z, BaseProps as zt };
1920
+ //# sourceMappingURL=index-G9JuwM9p.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
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-Ji9PGExW.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-CbDtZzZy.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-lhkF3ln5.js";
4
- import { t as mergeStyles } from "./merge-styles-Dp3eKkK9.js";
1
+ import { $ as TastyNamedColors, A as resetStyleBatch, B as getGlobalPredefinedStates, C as SheetInfo, Ct as StyleParser, D as QueuedWrite, Dt as StyleDetailsPart, E as StyleUsage, Et as StyleDetails, F as parseStateKey, G as NoType, H as ConditionNode, I as AtRuleContext, J as Selector, K as NotSelector, L as ParsedAdvancedState, M as StyleResult, N as renderStyles, O as flushStyles, Ot as UnitHandler, P as ParseStateKeyOptions, Q as SuffixForSelector, R as StateParserContext, S as RuleInfo, St as stringifyStyles, T as StyleRule, Tt as ProcessedStyle, U as ConfigTokenValue, V as setGlobalPredefinedStates, W as ConfigTokens, X as StylesInterface, Y as Styles, Z as StylesWithoutSelectors, _ as KeyframesSteps, _t as getGlobalParser, a as FontFaceInput, at as ParsedColor, b as RawCSSResult, bt as parseColor, c as GCConfig, ct as StyleHandler, d as InjectOptions, dt as StyleHandlerResult, et as TastyPresetNames, f as InjectResult, ft as StyleMap, g as KeyframesResult, gt as filterMods, h as KeyframesInfo, ht as StyleValueStateMap, i as FontFaceDescriptors, it as DIRECTIONS, j as RenderResult, k as hasPendingStyleWrites, kt as CSSProperties, l as GCOptions, lt as StyleHandlerDefinition, m as KeyframesCacheEntry, mt as StyleValue, n as CounterStyleDescriptors, nt as CSSMap, o as FunctionDefinition, ot as RawStyleHandler, p as InjectionMode, pt as StylePropValue, q as RecipeStyles, r as DisposeFunction, rt as CUSTOM_UNITS, s as FunctionParameter, st as ResolvedStyleValue, t as CacheMetrics, tt as AnyStyleHandler, ut as StyleHandlerProps, v as PropertyDefinition, vt as getGlobalPredefinedTokens, w as StyleInjectorConfig, wt as ParserOptions, x as RootRegistry, xt as parseStyle, y as PropertyOptions, yt as normalizeColorTokenValue, z as createStateParserContext } from "./types-JEY8PVYP.js";
2
+ import { $ as createColorFunc, $t as OuterStyleProps, A as keyframes, An as strToRgb, At as TastyElementOptions, B as styleHandlers, Bt as BasePropsWithoutChildren, C as getRawCSSText, Cn as DEFAULT_ZERO_NAME_PREFIX, Ct as ResolveAsProps, D as injectRawCSS, Dn as getRgbValuesFromRgbaString, Dt as SubElementDefinition, E as injectGlobal, En as getNamedColorHex, 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, On as hexToRgb, 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, Tn as isSelector, 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, kn as hslToRgbValues, 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, wn as hasStylesGenerated, 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-G9JuwM9p.js";
3
+ import { C as PropHandlerDefinition, D as getGlobalFunctions, E as getGlobalFontFaces, S as PropHandler, T as getGlobalCounterStyles, _ as ColorSpace, a as getGlobalRecipes, b as StyleInjector, c as hasGlobalRecipes, d as resetConfig, f as TastyPlugin, g as generateTypographyTokens, h as TypographyTokenValue, i as getGlobalKeyframes, l as isConfigLocked, m as TypographyPreset, n as configure, o as getNamePrefix, p as TastyPluginFactory, r as getConfig, s as hasGlobalKeyframes, t as TastyConfig, u as isTestEnvironment, v as FunctionsConfig, w as PropHandlerProps, x as SheetManager, y as ParseFunction } from "./config-CZWCzBr6.js";
4
+ import { t as mergeStyles } from "./merge-styles-VXwJ0Frr.js";
5
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 };
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { A as strToRgb, C as StyleParser, D as getRgbValuesFromRgbaString, E as getNamedColorHex, O as hexToRgb, S as createColorFunc, _ as stringifyStyles, b as okhslFunction, c as getGlobalParser, d as parseColor, f as parseStyle, i as DIRECTIONS, k as hslToRgbValues, l as getGlobalPredefinedTokens, n as resolveFunctionColor, o as filterMods, r as CUSTOM_UNITS, t as color, u as normalizeColorTokenValue, v as okhstFunction, x as okhslPlugin, y as okhstPlugin } from "./chunks/dsl-C5yuAn41.js";
2
- import { n as isSelector, t as mergeStyles } from "./chunks/shared-utils-DWA4LjIa.js";
3
- import { C as DEFAULT_NAME_PREFIX, w as DEFAULT_ZERO_NAME_PREFIX } from "./chunks/css-definitions-BIgGXRLz.js";
4
- import { B as createStateParserContext, F as FONT_CHUNK_STYLES, H as setGlobalPredefinedStates, I as LAYOUT_CHUNK_STYLES, L as POSITION_CHUNK_STYLES, M as CHUNK_NAMES, N as DIMENSION_CHUNK_STYLES, P as DISPLAY_CHUNK_STYLES, R as STYLE_TO_CHUNK, T as defineHandler, U as hasStylesGenerated, V as getGlobalPredefinedStates, _ as POSITION_STYLES, b as renderStyles, c as BLOCK_INNER_STYLES, d as COLOR_STYLES, f as CONTAINER_STYLES, g as OUTER_STYLES, h as INNER_STYLES, j as APPEARANCE_CHUNK_STYLES, k as styleHandlers, l as BLOCK_OUTER_STYLES, m as FLOW_STYLES, p as DIMENSION_STYLES, r as categorizeStyleKeys, s as BASE_STYLES, u as BLOCK_STYLES, v as TEXT_STYLES, x as parseStateKey } from "./chunks/style-engine-BpgmapBp.js";
5
- import { i as generateTypographyTokens } from "./chunks/config-engine-BAldIMv7.js";
6
- import { c as getGlobalFunctions, o as getGlobalCounterStyles, s as getGlobalFontFaces } from "./chunks/runtime-state-BMtykrat.js";
7
- import { A as ownKeyframes, B as getNamePrefix, C as holdKeyframes, D as injector, E as injectRawCSS, F as configure, G as resetConfig, H as hasGlobalRecipes, I as getConfig, K as StyleInjector, M as touch, N as ChunkSheetRegistry, O as isPropertyDefined, P as chunkSheetRegistry, Q as resetStyleBatch, R as getGlobalKeyframes, S as getRawCSSText, T as injectGlobal, U as isConfigLocked, V as hasGlobalKeyframes, W as isTestEnvironment, X as hasPendingStyleWrites, Y as flushStyles, _ as fontFace, a as filterBaseProps, b as getCSSText, g as destroy, h as createInjector, i as modAttrs, j as property, k as keyframes, m as counterStyle, o as computeStyles, p as cleanup, q as SheetManager, r as processTokens, s as resolveRecipes, v as func, w as inject, x as getCSSTextForNode, y as gc, z as getGlobalRecipes } from "./chunks/runtime-engine-B_4lx2DJ.js";
8
- import { t as tastyDebug } from "./chunks/debug-CUDFFYpM.js";
1
+ import { A as strToRgb, C as StyleParser, D as getRgbValuesFromRgbaString, E as getNamedColorHex, O as hexToRgb, S as createColorFunc, _ as stringifyStyles, b as okhslFunction, c as getGlobalParser, d as parseColor, f as parseStyle, i as DIRECTIONS, k as hslToRgbValues, l as getGlobalPredefinedTokens, n as resolveFunctionColor, o as filterMods, r as CUSTOM_UNITS, t as color, u as normalizeColorTokenValue, v as okhstFunction, x as okhslPlugin, y as okhstPlugin } from "./chunks/dsl-DRhFWQzo.js";
2
+ import { n as isSelector, t as mergeStyles } from "./chunks/shared-utils-y-HjvPN4.js";
3
+ import { C as DEFAULT_NAME_PREFIX, w as DEFAULT_ZERO_NAME_PREFIX } from "./chunks/css-definitions-DotDkIXt.js";
4
+ import { B as createStateParserContext, F as FONT_CHUNK_STYLES, H as setGlobalPredefinedStates, I as LAYOUT_CHUNK_STYLES, L as POSITION_CHUNK_STYLES, M as CHUNK_NAMES, N as DIMENSION_CHUNK_STYLES, P as DISPLAY_CHUNK_STYLES, R as STYLE_TO_CHUNK, T as defineHandler, U as hasStylesGenerated, V as getGlobalPredefinedStates, _ as POSITION_STYLES, b as renderStyles, c as BLOCK_INNER_STYLES, d as COLOR_STYLES, f as CONTAINER_STYLES, g as OUTER_STYLES, h as INNER_STYLES, j as APPEARANCE_CHUNK_STYLES, k as styleHandlers, l as BLOCK_OUTER_STYLES, m as FLOW_STYLES, p as DIMENSION_STYLES, r as categorizeStyleKeys, s as BASE_STYLES, u as BLOCK_STYLES, v as TEXT_STYLES, x as parseStateKey } from "./chunks/style-engine-BBbBuSkT.js";
5
+ import { i as generateTypographyTokens } from "./chunks/config-engine-DEmmPPdp.js";
6
+ import { c as getGlobalFunctions, o as getGlobalCounterStyles, s as getGlobalFontFaces } from "./chunks/runtime-state-BxaLhVdP.js";
7
+ import { A as ownKeyframes, B as getNamePrefix, C as holdKeyframes, D as injector, E as injectRawCSS, F as configure, G as resetConfig, H as hasGlobalRecipes, I as getConfig, K as StyleInjector, M as touch, N as ChunkSheetRegistry, O as isPropertyDefined, P as chunkSheetRegistry, Q as resetStyleBatch, R as getGlobalKeyframes, S as getRawCSSText, T as injectGlobal, U as isConfigLocked, V as hasGlobalKeyframes, W as isTestEnvironment, X as hasPendingStyleWrites, Y as flushStyles, _ as fontFace, a as filterBaseProps, b as getCSSText, g as destroy, h as createInjector, i as modAttrs, j as property, k as keyframes, m as counterStyle, o as computeStyles, p as cleanup, q as SheetManager, r as processTokens, s as resolveRecipes, v as func, w as inject, x as getCSSTextForNode, y as gc, z as getGlobalRecipes } from "./chunks/runtime-engine-CKFXUH-A.js";
8
+ import { t as tastyDebug } from "./chunks/debug-D8pg9RGI.js";
9
9
  import "./core/index.js";
10
- import { a as useProperty, c as useGlobalStyles, d as Element, f as tasty, i as useFontFace, l as useStyles, n as useFunction, o as useKeyframes, p as getDisplayName, r as useCounterStyle, s as useRawCSS, t as TastyBatchProvider } from "./chunks/react-runtime-46TyXx9v.js";
10
+ import { a as useProperty, c as useGlobalStyles, d as Element, f as tasty, i as useFontFace, l as useStyles, n as useFunction, o as useKeyframes, p as getDisplayName, r as useCounterStyle, s as useRawCSS, t as TastyBatchProvider } from "./chunks/react-runtime-BpxlOTbO.js";
11
11
  export { APPEARANCE_CHUNK_STYLES, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, CHUNK_NAMES, COLOR_STYLES, CONTAINER_STYLES, CUSTOM_UNITS, ChunkSheetRegistry, DEFAULT_NAME_PREFIX, DEFAULT_ZERO_NAME_PREFIX, DIMENSION_CHUNK_STYLES, DIMENSION_STYLES, DIRECTIONS, DISPLAY_CHUNK_STYLES, Element, FLOW_STYLES, FONT_CHUNK_STYLES, INNER_STYLES, LAYOUT_CHUNK_STYLES, OUTER_STYLES, POSITION_CHUNK_STYLES, POSITION_STYLES, STYLE_TO_CHUNK, SheetManager, StyleInjector, StyleParser, TEXT_STYLES, TastyBatchProvider, 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 };
@@ -1,7 +1,6 @@
1
- import { X as Styles } from "./types-Ji9PGExW.js";
2
-
1
+ import { Y as Styles } from "./types-JEY8PVYP.js";
3
2
  //#region src/utils/merge-styles.d.ts
4
3
  declare function mergeStyles(...objects: (Styles | undefined | null)[]): Styles;
5
4
  //#endregion
6
5
  export { mergeStyles as t };
7
- //# sourceMappingURL=merge-styles-Dp3eKkK9.d.ts.map
6
+ //# sourceMappingURL=merge-styles-VXwJ0Frr.d.ts.map
@@ -1 +1 @@
1
- export { };
1
+ export {}