praxis-kit 7.5.0 → 7.8.0

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.
@@ -159,7 +159,7 @@ type DefaultVariants<V extends VariantMap> = {
159
159
  * Presets are named bundles of variant props that callers activate by key,
160
160
  * avoiding the need to repeat variant combinations at each call site.
161
161
  */
162
- type RecipeMap<V extends VariantMap = VariantMap> = Readonly<Record<string, VariantSelection<V>>>;
162
+ type RecipeMap<V extends VariantMap = VariantMap> = Readonly<StringMap<VariantSelection<V>>>;
163
163
 
164
164
  type RecipeTarget<TVariants extends VariantMap = VariantMap> = VariantSelection<TVariants>;
165
165
 
@@ -193,7 +193,7 @@ interface BaseClassOptions {
193
193
  type ClassPipelineFn = (tag: unknown, props: AnyRecord, className?: ClassName, recipe?: string) => string | undefined;
194
194
 
195
195
  interface RecipeOptions<TVariants extends VariantMap = VariantMap> {
196
- recipeMap?: Record<string, RecipeTarget<TVariants>>;
196
+ recipeMap?: StringMap<RecipeTarget<TVariants>>;
197
197
  }
198
198
 
199
199
  interface TagMapOptions {
@@ -362,7 +362,7 @@ type StylingOptions<V extends Readonly<VariantMap> = Readonly<EmptyRecord>, TPre
362
362
  * combination, skipping runtime class computation entirely when a match is found. Normally
363
363
  * generated by a build-time class-extraction plugin rather than hand-authored.
364
364
  */
365
- readonly precomputedClasses?: Readonly<Record<string, string>>;
365
+ readonly precomputedClasses?: Readonly<StringMap<string>>;
366
366
  };
367
367
 
368
368
  type NormalizeFn<Props extends AnyRecord = AnyRecord> = {