@animus-ui/system 0.1.23 → 0.1.24

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.
@@ -1,2 +1,2 @@
1
- import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
2
- export { type ClassResolver, type ClassResolverAttributes, createClassResolver };
1
+ import { i as createClassResolver, n as ClassResolverAttributes, r as ClassResolverProps, t as ClassResolver } from "./createClassResolver-C-UOgE_d.js";
2
+ export { type ClassResolver, type ClassResolverAttributes, type ClassResolverProps, createClassResolver };
@@ -1,2 +1,2 @@
1
- import { t as createClassResolver } from "./createClassResolver-uGu2N5MK.js";
1
+ import { t as createClassResolver } from "./createClassResolver-DdrmIC5J.js";
2
2
  export { createClassResolver };
@@ -1,4 +1,4 @@
1
- import { i as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
1
+ import { a as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-C-UOgE_d.js";
2
2
  import { ComponentPropsWithRef, ComponentType, ForwardRefExoticComponent, JSX, ReactNode } from "react";
3
3
  import { Globals, ObsoleteProperties, StandardProperties, SvgProperties, VendorProperties } from "csstype";
4
4
  //#region src/conditions.d.ts
@@ -359,17 +359,18 @@ interface AbstractParser {
359
359
  type IsEmpty<T> = [] extends T ? true : false | {} extends T ? true : false;
360
360
  type StrictOrEmpty<Config extends SystemProp, ScaleT> = Config['strict'] extends false ? true : IsEmpty<ScaleT>;
361
361
  type NegateKeys<T> = T extends number ? T extends 0 ? never : `-${T}` extends `${infer N extends number}` ? N : never : never;
362
- type PropertyValues<Property extends SystemProp, IncludeGlobals = false> = Exclude<PropertyTypes<IncludeGlobals extends true ? (string & {}) | 0 : never>[Property['property'] & string], IncludeGlobals extends true ? never : object | any[]>;
362
+ type PropertyValues<Property extends SystemProp, IncludeGlobals = false> = Exclude<PropertyTypes<IncludeGlobals extends true ? (string & {}) | number : never>[Property['property'] & string], IncludeGlobals extends true ? never : object | any[]>;
363
363
  type NegativeOf<Config extends SystemProp, Keys> = Config['negative'] extends true ? NegateKeys<Extract<Keys, number>> : never;
364
364
  /**
365
365
  * What a strict scale admits beside its keys and keywords, as strict
366
- * extraction and the runtime do: the string zero on a property that takes a
367
- * length, and a reference to one of the scale's own tokens. A non-strict scale
368
- * already admits both through its raw values. The numeric zero waits: adding
369
- * a number to every length prop overflows the union TS builds when checking
370
- * keyframe frames against a large prop registry (TS2590).
371
- */
372
- type StrictAdmissions<Config extends SystemProp, Strict, ScaleName, Keys> = Strict extends true ? never : (0 extends PropertyValues<Config, true> ? '0' : never) | (ScaleName extends string ? `{${ScaleName}.${Extract<Keys, string | number>}}` : never);
366
+ * extraction and the runtime do: zero, as a string or a number, on a property
367
+ * that takes a length, and a reference to one of the scale's own tokens. A
368
+ * non-strict scale already admits them through its raw values. The authored
369
+ * style inputs check values through `ThemedCSSInputProps`, whose leaves TS
370
+ * does not infer from, so the numeric zero does not overflow the unions TS
371
+ * builds when inferring a style record against a large prop registry (TS2590).
372
+ */
373
+ type StrictAdmissions<Config extends SystemProp, Strict, ScaleName, Keys> = Strict extends true ? never : (0 extends PropertyValues<Config, true> ? '0' | 0 : never) | (ScaleName extends string ? `{${ScaleName}.${Extract<Keys, string | number>}}` : never);
373
374
  type ScaleValue<Config extends SystemProp, T extends BaseTheme> = Config['scale'] extends keyof TokenScales<T> ? keyof TokenScales<T>[Config['scale']] | NegativeOf<Config, keyof TokenScales<T>[Config['scale']]> | PropertyValues<Config, StrictOrEmpty<Config, TokenScales<T>[Config['scale']]>> | StrictAdmissions<Config, StrictOrEmpty<Config, TokenScales<T>[Config['scale']]>, Config['scale'], keyof TokenScales<T>[Config['scale']]> : Config['scale'] extends MapScale ? keyof Config['scale'] | NegativeOf<Config, keyof Config['scale']> | PropertyValues<Config, StrictOrEmpty<Config, Config['scale']>> | StrictAdmissions<Config, StrictOrEmpty<Config, Config['scale']>, never, never> : Config['scale'] extends ArrayScale ? Config['scale'][number] | PropertyValues<Config, StrictOrEmpty<Config, Config['scale']>> | StrictAdmissions<Config, StrictOrEmpty<Config, Config['scale']>, never, never> : PropertyValues<Config, true>;
374
375
  type Scale<Config extends SystemProp, T extends BaseTheme> = [Config] extends [DeclarationProp] ? ResponsiveProp<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsiveProp<ScaleValue<Config, T>>;
375
376
  type ParserProps<Config extends Record<string, SystemProp>, T extends BaseTheme> = ThemeProps<{ [P in keyof Config]?: Scale<Config[P], T>; }, T>;
@@ -404,6 +405,19 @@ type UnderscoreBlockMembers<Config extends Record<string, SystemProp>> = { [K in
404
405
  type ThemedBlockBody<Config extends Record<string, SystemProp>> = { [K in Exclude<keyof PropertyTypes, keyof Config>]?: PassThroughProp<K>; } & { [P in keyof Config]?: ThemedScale<Config[P]>; } & { [K in RawSelectorKey | RawAtRuleKey]?: ThemedBlockBody<Config>; } & UnderscoreBlockMembers<Config>;
405
406
  type ThemedCSSProps<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: K extends keyof Config ? ThemedScale<Config[K]> : K extends RawSelectorKey ? ThemedBlockBody<Config> : K extends RawAtRuleKey ? ThemedBlockBody<Config> : K extends KnownUnderscoreKey ? ThemedBlockBody<Config> : K extends keyof PropertyTypes ? PassThroughProp<K> : K extends `_${string}` ? UnknownConditionAlias<K & string> : K extends `@${string}` ? UnknownAtRule<K & string> : Omit<PropertyTypes, keyof Config> & { [P in keyof Config]?: ThemedScale<Config[P]>; }; };
406
407
  type ThemedCSSPropMap<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: ThemedCSSProps<Props[K], Config>; };
408
+ /**
409
+ * What an authored style input accepts: `ThemedCSSProps` key for key, with
410
+ * each registered and raw value wrapped in `NoInfer`, so TS checks a value
411
+ * against its domain without inferring from it. A generic wrapper types its
412
+ * style parameter with this, and what it stores or returns with
413
+ * `ThemedCSSProps`.
414
+ */
415
+ type ThemedCSSInputProps<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: K extends keyof Config ? NoInfer<ThemedScale<Config[K]>> : K extends RawSelectorKey ? ThemedBlockBody<Config> : K extends RawAtRuleKey ? ThemedBlockBody<Config> : K extends KnownUnderscoreKey ? ThemedBlockBody<Config> : K extends keyof PropertyTypes ? NoInfer<PassThroughProp<K>> : K extends `_${string}` ? UnknownConditionAlias<K & string> : K extends `@${string}` ? UnknownAtRule<K & string> : Omit<PropertyTypes, keyof Config> & { [P in keyof Config]?: ThemedScale<Config[P]>; }; };
416
+ /** `ThemedCSSPropMap`'s input counterpart: a style input per key. */
417
+ type ThemedCSSInputPropMap<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: ThemedCSSInputProps<Props[K], Config>; };
418
+ /** A variant's options as stored: its `base` and `variants` as checked
419
+ * style models, and every other field as written. */
420
+ type ThemedVariantModel<Options, Base, Props, Config extends Record<string, SystemProp>> = { [K in keyof Options]: K extends 'base' ? ThemedCSSProps<Base, Config> : K extends 'variants' ? ThemedCSSPropMap<Props, Config> : Options[K]; };
407
421
  interface VariantConfig {
408
422
  prop?: string;
409
423
  defaultVariant?: string;
@@ -488,38 +502,38 @@ declare class AnimusExtendedWithStates<PropRegistry extends Record<string, Syste
488
502
  system<PickedKeys extends keyof GroupRegistry | Extract<keyof PropRegistry, string>>(config: SystemPicks<GroupRegistry, PickedKeys, StylingNames<Variants, States>>): AnimusExtendedWithSystem<PropRegistry, GroupRegistry, BaseStyles, Variants, States, Record<PickedKeys, true> & ActiveGroups, CustomProps>;
489
503
  }
490
504
  declare class AnimusExtendedWithCompounds<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<AbstractParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, SystemProp>> extends AnimusExtendedWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
491
- compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
492
- states<Props extends AbstractProps>(config: ThemedCSSPropMap<Props, PropRegistry> & UnadmittedStates<Props, AdmittedNames<GroupRegistry, ActiveGroups>>): AnimusExtendedWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry> & UnadmittedStates<Props, AdmittedNames<GroupRegistry, ActiveGroups>> & States, ActiveGroups, CustomProps>;
505
+ compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSInputProps<Props, PropRegistry>): AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
506
+ states<Props extends AbstractProps>(config: ThemedCSSInputPropMap<Props, PropRegistry> & UnadmittedStates<Props, AdmittedNames<GroupRegistry, ActiveGroups>>): AnimusExtendedWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry> & UnadmittedStates<Props, AdmittedNames<GroupRegistry, ActiveGroups>> & States, ActiveGroups, CustomProps>;
493
507
  }
494
508
  declare class AnimusExtendedWithVariants<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<AbstractParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, SystemProp>> extends AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
495
- compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
509
+ compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSInputProps<Props, PropRegistry>): AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
496
510
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
497
511
  prop?: UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>;
498
512
  defaultVariant?: Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>;
499
- base?: ThemedCSSProps<Base, PropRegistry>;
500
- variants: ThemedCSSPropMap<Props, PropRegistry>;
501
- }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
513
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
514
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
515
+ }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantModel<{
502
516
  prop?: UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>;
503
517
  defaultVariant?: Extract<keyof Props, string> | InheritedOptions<Variants, PropKey> | undefined;
504
- base?: ThemedCSSProps<Base, PropRegistry>;
505
- variants: ThemedCSSPropMap<Props, PropRegistry>;
506
- }>, States, ActiveGroups, CustomProps>;
518
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
519
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
520
+ }, Base, Props, PropRegistry>>, States, ActiveGroups, CustomProps>;
507
521
  }
508
522
  declare class AnimusExtendedWithBase<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<AbstractParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, SystemProp>> extends AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
509
523
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
510
524
  prop?: UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>;
511
525
  defaultVariant?: Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>;
512
- base?: ThemedCSSProps<Base, PropRegistry>;
513
- variants: ThemedCSSPropMap<Props, PropRegistry>;
514
- }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
526
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
527
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
528
+ }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantModel<{
515
529
  prop?: UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>;
516
530
  defaultVariant?: Extract<keyof Props, string> | InheritedOptions<Variants, PropKey> | undefined;
517
- base?: ThemedCSSProps<Base, PropRegistry>;
518
- variants: ThemedCSSPropMap<Props, PropRegistry>;
519
- }>, States, ActiveGroups, CustomProps>;
531
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
532
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
533
+ }, Base, Props, PropRegistry>>, States, ActiveGroups, CustomProps>;
520
534
  }
521
535
  declare class AnimusExtended<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<AbstractParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, SystemProp>> extends AnimusExtendedWithBase<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
522
- styles<Props extends AbstractProps>(config: ThemedCSSProps<Props, PropRegistry>): AnimusExtendedWithBase<PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry> & BaseStyles, Variants, States, ActiveGroups, CustomProps>;
536
+ styles<Props extends AbstractProps>(config: ThemedCSSInputProps<Props, PropRegistry>): AnimusExtendedWithBase<PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry> & BaseStyles, Variants, States, ActiveGroups, CustomProps>;
523
537
  }
524
538
  //#endregion
525
539
  //#region src/types/component.d.ts
@@ -668,5 +682,5 @@ type BuilderClassProps<B> = B extends {
668
682
  custom: infer CP extends Record<string, SystemProp>;
669
683
  } ? AnimusClassProps<PR, GR, V, S, AG, CP> : never : never;
670
684
  //#endregion
671
- export { SerializedTheme as $, SystemProps as A, ReservedByConditionRegistry as At, ResponsiveProp as B, ParserProps as C, ConditionAliasMap as Ct, ScaleValue as D, NarrowedAliases as Dt, Scale as E, ConditionsOf as Et, VariantConfig as F, CSSColorValue as G, AbstractTheme as H, ArrayScale as I, ContextualVarRegistration as J, ColorModeOptions as K, MapScale as L, ThemedCSSProps as M, SelectorsOf as Mt, ThemedScale as N, UnknownAtRule as Nt, SelectorAliasProps as O, RawAtRuleKey as Ot, ThemedScaleValue as P, UnknownConditionAlias as Pt, ScaleTokenRef as Q, AbstractProps as R, Parser as S, ConditionAlias as St, PropertyValues as T, Conditions as Tt, BaseTheme as U, ThemeProps as V, BrowserColorSchemeConfig as W, EmittedTokenPaths as X, EmittedScales as Y, ModeAliasDefinition as Z, CSSProps as _, KeyframeFrameMap as _t, BuilderClassProps as a, TokenDefinition as at, DeclarationKey as b, AtRuleValue as bt, VariantPropsOf as c, FindPath as ct, StylingNames as d, PathToLiteral as dt, SystemPreferenceConfig as et, SystemPicks as f, PathValue as ft, CSSPropMap as g, Selectors as gt, BuiltInSelectorAlias as h, SelectorAliasMap as ht, AnyBrandedComponent as i, ThemeStructuralKey as it, ThemedCSSPropMap as j, ReservedBySelectorRegistry as jt, SystemProp as k, RegistryBrand as kt, AnimusExtended as l, LiteralPaths as lt, BuiltInConditionAlias as m, SelectorAlias as mt, AnimusComponent as n, ThemeCssFragment as nt, ComposedFamily as o, TokenScales as ot, AbstractParser as p, BUILT_IN_SELECTORS as pt, ColorTokenRef as q, AnimusWrappedComponent as r, ThemeManifest as rt, SharedConfig as s, CSSObject as st, AnimusClassProps as t, Theme as tt, AnimusExtendedWithAll as u, Path as ut, CompoundEntry as v, KeyframeRef as vt, Prop as w, ConditionKind as wt, DeclarationProp as x, BUILT_IN_CONDITIONS as xt, CustomPropConfig as y, Keyframes as yt, MediaQueryMap as z };
672
- //# sourceMappingURL=component-CaNNGvbE.d.ts.map
685
+ export { EmittedTokenPaths as $, SystemProps as A, NarrowedAliases as At, MapScale as B, ParserProps as C, AtRuleValue as Ct, ScaleValue as D, ConditionKind as Dt, Scale as E, ConditionAliasMap as Et, ThemedScale as F, SelectorsOf as Ft, AbstractTheme as G, MediaQueryMap as H, ThemedScaleValue as I, UnknownAtRule as It, CSSColorValue as J, BaseTheme as K, ThemedVariantModel as L, UnknownConditionAlias as Lt, ThemedCSSInputProps as M, RegistryBrand as Mt, ThemedCSSPropMap as N, ReservedByConditionRegistry as Nt, SelectorAliasProps as O, Conditions as Ot, ThemedCSSProps as P, ReservedBySelectorRegistry as Pt, EmittedScales as Q, VariantConfig as R, Parser as S, Keyframes as St, PropertyValues as T, ConditionAlias as Tt, ResponsiveProp as U, AbstractProps as V, ThemeProps as W, ColorTokenRef as X, ColorModeOptions as Y, ContextualVarRegistration as Z, CSSProps as _, SelectorAlias as _t, BuilderClassProps as a, ThemeCssFragment as at, DeclarationKey as b, KeyframeFrameMap as bt, VariantPropsOf as c, TokenDefinition as ct, StylingNames as d, FindPath as dt, ModeAliasDefinition as et, SystemPicks as f, LiteralPaths as ft, CSSPropMap as g, BUILT_IN_SELECTORS as gt, BuiltInSelectorAlias as h, PathValue as ht, AnyBrandedComponent as i, Theme as it, ThemedCSSInputPropMap as j, RawAtRuleKey as jt, SystemProp as k, ConditionsOf as kt, AnimusExtended as l, TokenScales as lt, BuiltInConditionAlias as m, PathToLiteral as mt, AnimusComponent as n, SerializedTheme as nt, ComposedFamily as o, ThemeManifest as ot, AbstractParser as p, Path as pt, BrowserColorSchemeConfig as q, AnimusWrappedComponent as r, SystemPreferenceConfig as rt, SharedConfig as s, ThemeStructuralKey as st, AnimusClassProps as t, ScaleTokenRef as tt, AnimusExtendedWithAll as u, CSSObject as ut, CompoundEntry as v, SelectorAliasMap as vt, Prop as w, BUILT_IN_CONDITIONS as wt, DeclarationProp as x, KeyframeRef as xt, CustomPropConfig as y, Selectors as yt, ArrayScale as z };
686
+ //# sourceMappingURL=component-D9Fie8Ci.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-D9Fie8Ci.d.ts","names":[],"sources":["../src/conditions.ts","../src/keyframes.ts","../src/selectors.ts","../src/types/properties.ts","../src/theme/flattenScale.ts","../src/types/shared.ts","../src/types/theme.ts","../src/types/props.ts","../src/types/scales.ts","../src/types/utils.ts","../src/types/config.ts","../src/types/styling-names.ts","../src/AnimusExtended.ts","../src/types/component.ts"],"mappings":";;;;;;;;KAKY;;;;;UAOK;cAEH;cACA;;;;;UAMG,cACf,0BACA;YAEU,eAAe;YACf,cAAc;;KAGd,aAAa,OACvB,YAAY,oBAAoB,aAAa;KAEnC,YAAY,OACtB,YAAY,4BAA4B,KAAK;;;;;UAM9B,sBAAsB;WAC5B,yBAAyB;WACzB,UAAU;;UAGJ,cAAc;WACpB,iBAAiB;WACjB,UAAU;;;;;;UAOJ,2BAA2B;WACjC,8BAA8B;WAC9B,UAAU;;UAGJ,4BAA4B;WAClC,+BAA+B;W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G,IAAI;YACnB,gBAAgB,2BACxB,GACA,IACA,IACA,GACA,GACA,IACA;YAEQ,qBAAqB;WACtB,iBAAiB,SAAS;;KAGlC,iBAAiB,QACnB,WAAW,oBAAoB,YAAY,IAAI,EAAE;KAGxC,sBAAsB,KAAK;YAC3B,2BAA2B;IAEnC,iBAAiB,KACjB;EAAY;IAAgB,gBAAgB;;IAC1C,iBAAiB;KAGX,eAAe,KAAK,aAAa,sBAAsB;KAE9D,SAAS,cAAc,gDACL,QAAQ;KAE1B,gBAAgB,cAAc,iCAC3B,eAAe,SAAS;KAEpB,aAAa,cAAc,8BACpC,KAAK,gBAAgB;;;;;KAOnB,YAAY,KAAK;YACV,sBAAsB;IAE9B,KAAK;EAAiB,WAAW;IACjC,UAAU,gCAAgC,KACxC,KAAK;EACH;EACA,WAAW;;KAIP,eAAe,cAAc,8BACtC,WAAW,QAAQ,0BAA0B,YAAY,MAAM;;KAItD,iBACV,WAAW,eAAe,aAC1B,WAAW,sBAAsB,QACjC,GACA,GACA,IACA,WAAW,eAAe,eACxB,mBAAmB,IAAI,IAAI,MAC7B,aAAa,KACb,WAAW,KACX,iBAAiB,MACjB,mBAAmB,mBAAmB,IAAI,IAAI;;;;;;KAOpC,kBAAkB,KAAK;EACjC,oBAAoB,WAAW,eAAe;IAE5C;EACE,qBAAqB,WAAW,sBAAsB;EACtD,gBAAgB;EAChB,oBAAoB;EACpB,oBAAoB;EACpB,cAAc,WAAW,eAAe;IAExC,iBAAiB,IAAI,IAAI,GAAG,GAAG,IAAI"}
@@ -1,4 +1,4 @@
1
- import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-CaNNGvbE.js";
1
+ import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-D9Fie8Ci.js";
2
2
  //#region src/compose.d.ts
3
3
  /**
4
4
  * Shared variants propagate through the CSS cascade, so a slot only inherits
@@ -12,4 +12,4 @@ declare function compose<Slots extends {
12
12
  }): ComposedFamily<Slots>;
13
13
  //#endregion
14
14
  export { compose as t };
15
- //# sourceMappingURL=compose-BaU2HpRM.d.ts.map
15
+ //# sourceMappingURL=compose-A-kGRKdR.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compose-BaU2HpRM.d.ts","names":[],"sources":["../src/compose.ts"],"mappings":";;;;;;iBAmBgB,QACd;EAAgB,MAAM;IAAwB,eAE5C,4BAEI,eAAe,aAAa,QAElC,OAAO,OACP;EAAW,QAAQ;EAAQ;IAC1B,eAAe"}
1
+ {"version":3,"file":"compose-A-kGRKdR.d.ts","names":[],"sources":["../src/compose.ts"],"mappings":";;;;;;iBAmBgB,QACd;EAAgB,MAAM;IAAwB,eAE5C,4BAEI,eAAe,aAAa,QAElC,OAAO,OACP;EAAW,QAAQ;EAAQ;IAC1B,eAAe"}
package/dist/compose.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as compose } from "./compose-BaU2HpRM.js";
1
+ import { t as compose } from "./compose-A-kGRKdR.js";
2
2
  export { compose };
@@ -1,4 +1,4 @@
1
- import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-CaNNGvbE.js";
1
+ import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-D9Fie8Ci.js";
2
2
  import { ForwardRefExoticComponent } from "react";
3
3
  //#region src/composeWithContext.d.ts
4
4
  /**
@@ -1,3 +1,13 @@
1
+ //#region src/runtime/uncompiled.d.ts
2
+ /** A builder terminal that ran without Animus compiling it. */
3
+ interface UncompiledDefinition {
4
+ /** What it renders: `<button>`, a wrapped component, or class names. */
5
+ target: string;
6
+ /** The module that declared it, as the call stack names it. */
7
+ origin: string | undefined;
8
+ reported: boolean;
9
+ }
10
+ //#endregion
1
11
  //#region src/runtime/resolveClasses.d.ts
2
12
  interface VariantConfig {
3
13
  options: string[];
@@ -24,6 +34,9 @@ interface ClassResolverConfig {
24
34
  * property, the later-defined takes effect, so a superseded prop applies
25
35
  * no class and no slot value. */
26
36
  supersededBy?: Record<string, readonly string[]>;
37
+ /** Set only by a builder terminal that ran without Animus compiling it:
38
+ * what each render of the component reports. */
39
+ uncompiled?: UncompiledDefinition | undefined;
27
40
  }
28
41
  type SystemPropMap = Record<string, Record<string, string>>;
29
42
  interface ValueDynamicPropConfig {
@@ -44,6 +57,11 @@ interface ValueDynamicPropConfig {
44
57
  keywords?: readonly string[];
45
58
  /** The custom property the prop's slot also writes. */
46
59
  currentVar?: string;
60
+ /**
61
+ * Development only: the conditions (`_` for the base) at which a
62
+ * production build keeps this prop's slot, empty when it keeps none.
63
+ */
64
+ productionConditions?: readonly string[];
47
65
  kind?: never;
48
66
  }
49
67
  interface DeclarationDynamicPropConfig {
@@ -53,8 +71,13 @@ interface DeclarationDynamicPropConfig {
53
71
  memberVars: Record<string, string>;
54
72
  /** Scale key → member property → resolved CSS value. */
55
73
  declarationScaleValues: Record<string, Record<string, string>>;
74
+ /**
75
+ * Development only: the conditions (`_` for the base) at which a
76
+ * production build keeps this prop's slot, empty when it keeps none.
77
+ */
78
+ productionConditions?: readonly string[];
56
79
  }
57
- type DeclarationConfig = DeclarationDynamicPropConfig & { [K in Exclude<keyof ValueDynamicPropConfig, 'kind' | 'slotClass'>]?: never; };
80
+ type DeclarationConfig = DeclarationDynamicPropConfig & { [K in Exclude<keyof ValueDynamicPropConfig, 'kind' | 'slotClass' | 'productionConditions'>]?: never; };
58
81
  type DynamicPropConfig = Record<string, ValueDynamicPropConfig | DeclarationConfig>;
59
82
  //#endregion
60
83
  //#region src/runtime/createClassResolver.d.ts
@@ -62,15 +85,31 @@ interface ClassResolverAttributes {
62
85
  class: string;
63
86
  style?: string;
64
87
  }
88
+ /**
89
+ * `props()`: the attributes under React's names. The style is an object, the
90
+ * dynamic style's custom properties merged with the caller's style. A type
91
+ * literal, not an interface, so it assigns to an open record such as Base
92
+ * UI's `useRender({ props })`.
93
+ */
94
+ type ClassResolverProps = {
95
+ className: string;
96
+ style?: Record<string, string | number | undefined>;
97
+ };
65
98
  /**
66
99
  * Input defaults to an open record; a builder's `asClass()` narrows it to the
67
- * props the builder admitted.
100
+ * props the builder admitted. `props()` also takes the caller's `className`
101
+ * and `style`. That style is a record of `any`: React's `CSSProperties` is an
102
+ * interface, and an interface assigns to no narrower index signature.
68
103
  */
69
104
  interface ClassResolver<Props extends object = Record<string, unknown>> {
70
105
  (props?: Props): string;
71
106
  attrs(props?: Props): ClassResolverAttributes;
107
+ props(props?: Props & {
108
+ className?: string | undefined;
109
+ style?: Record<string, any> | undefined;
110
+ }): ClassResolverProps;
72
111
  }
73
112
  declare function createClassResolver(className: string, resolverConfig: ClassResolverConfig, systemPropMap?: SystemPropMap, dynamicPropConfig?: DynamicPropConfig): ClassResolver;
74
113
  //#endregion
75
- export { DynamicPropConfig as a, ClassResolverConfig as i, ClassResolverAttributes as n, SystemPropMap as o, createClassResolver as r, ClassResolver as t };
76
- //# sourceMappingURL=createClassResolver-C_yq_4BM.d.ts.map
114
+ export { ClassResolverConfig as a, createClassResolver as i, ClassResolverAttributes as n, DynamicPropConfig as o, ClassResolverProps as r, SystemPropMap as s, ClassResolver as t };
115
+ //# sourceMappingURL=createClassResolver-C-UOgE_d.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createClassResolver-C-UOgE_d.d.ts","names":[],"sources":["../src/runtime/uncompiled.ts","../src/runtime/resolveClasses.ts","../src/runtime/createClassResolver.ts"],"mappings":";;UAgBiB;;EAEf;;EAEA;EACA;;;;UCrBQ;EACR;EACA;;UAGQ;EACR,YAAY;EACZ;;UAGe;EACf,WAAW,eAAe;EAC1B,YAAY;EACZ;EACA;EACA,gBAAgB,eAAe;EAC/B,sBAAsB;;EAEtB;;;EAGA;;;;;EAKA,eAAe;;;EAGf,aAAa;;KAGH,gBAAgB,eAAe;UAEjC;EACR;EACA;EACA;EACA;;EAEA;;EAEA;EACA,aAAa;EACb,cAAc;EACd;;EAEA;;EAEA;;EAEA;;;;;EAKA;EACA;;UAGQ;EACR;EACA;;EAEA,YAAY;;EAEZ,wBAAwB,eAAe;;;;;EAKvC;;KAGG,oBAAoB,kCAErB,KAAK,cACG;KAMA,oBAAoB,eAE9B,yBAAyB;;;UCzEV;EACf;EACA;;;;;;;;KASU;EACV;EACA,QAAQ;;;;;;;;UASO,cAAc,uBAAuB;GACnD,QAAQ;EACT,MAAM,QAAQ,QAAQ;EACtB,MACE,QAAQ;IACN;IACA,QAAQ;MAET;;iBASW,oBACd,mBACA,gBAAgB,qBAChB,gBAAgB,eAChB,oBAAoB,oBACnB"}
@@ -1,8 +1,12 @@
1
- import { componentValues, decodedIdentifier, importantPriority, isUnitlessProperty, tokenize, variableReads } from "@animus-ui/properties";
1
+ import { isUnitlessProperty } from "@animus-ui/properties";
2
2
  //#region src/runtime/is-dev.ts
3
3
  /**
4
4
  * The define token is tested as the initializer's own conditional, never from
5
- * inside the fallback: only there can a minifier drop the dev-gated code.
5
+ * inside the fallback: only there can a minifier fold it. Dev-only work tests
6
+ * the token in place as well, `typeof __ANIMUS_DEV__ === 'boolean' ?
7
+ * __ANIMUS_DEV__ : IS_DEV`: esbuild inlines no module-level constant into a
8
+ * chunk that starts with an import, so a gate on `IS_DEV` alone survives a
9
+ * production bundle.
6
10
  */
7
11
  const IS_DEV = typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : (() => {
8
12
  try {
@@ -13,6 +17,117 @@ const IS_DEV = typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : (() => {
13
17
  }
14
18
  })();
15
19
  //#endregion
20
+ //#region src/runtime/value-scan.ts
21
+ const ESCAPE = String.raw`\\(?:[\da-fA-F]{1,6}(?:\r\n|[ \t\n\r\f])?|[^\n\r\f\da-fA-F])`;
22
+ const NAME_CHAR = String.raw`(?:[\w\u0080-￿-]|${ESCAPE})`;
23
+ /** One unit per match: a comment (1), whitespace (2), an opaque string or
24
+ * `<!--` (3), a name (4), a `!` (5), or any other character. In a string, a
25
+ * backslash escapes a CRLF as one newline. */
26
+ const UNIT = new RegExp(String.raw`(\/\*[\s\S]*?(?:\*\/|$))|([ \t\n\r\f]+)|("(?:\\(?:\r\n|[\s\S])|[^"\\\n\r\f])*"?|'(?:\\(?:\r\n|[\s\S])|[^'\\\n\r\f])*'?|<!--)|((?:-?(?:[a-zA-Z_\u0080-￿]|${ESCAPE})|--)${NAME_CHAR}*)|(!)|[\s\S]`, "gy");
27
+ /** An unquoted `url(` body, through its `)`. */
28
+ const URL_BODY = /(?:\\[\s\S]|[^)\\])*\)?/y;
29
+ const decode = (name) => name.replace(/\\([\da-fA-F]{1,6})(?:\r\n|[ \t\n\r\f])?|\\([\s\S])/g, (_, hex, char) => {
30
+ if (hex === void 0) return char ?? "";
31
+ const code = Number.parseInt(hex, 16);
32
+ return code > 0 && code <= 1114111 && (code < 55296 || code > 57343) ? String.fromCodePoint(code) : "�";
33
+ });
34
+ function units(css) {
35
+ const out = [];
36
+ UNIT.lastIndex = 0;
37
+ for (let match; (match = UNIT.exec(css)) !== null;) {
38
+ const start = match.index;
39
+ let end = UNIT.lastIndex;
40
+ if (match[1] !== void 0) continue;
41
+ if (match[2] !== void 0) out.push([
42
+ 0,
43
+ start,
44
+ end
45
+ ]);
46
+ else if (match[5] !== void 0) out.push([
47
+ 1,
48
+ start,
49
+ end
50
+ ]);
51
+ else if (match[4] !== void 0) {
52
+ const name = decode(match[4]);
53
+ const previous = out.at(-1);
54
+ if (!(previous !== void 0 && previous[0] === 3 && previous[2] === start && /[\d#@]/.test(css[start - 1])) && css[end] === "(") {
55
+ let body = end + 1;
56
+ while (/[ \t\n\r\f]/.test(css[body] ?? "")) body += 1;
57
+ if (name.toLowerCase() === "url" && css[body] !== "\"" && css[body] !== "'") {
58
+ URL_BODY.lastIndex = end + 1;
59
+ URL_BODY.exec(css);
60
+ end = UNIT.lastIndex = URL_BODY.lastIndex;
61
+ out.push([
62
+ 3,
63
+ start,
64
+ end
65
+ ]);
66
+ } else {
67
+ UNIT.lastIndex = end + 1;
68
+ out.push([
69
+ 4,
70
+ start,
71
+ end + 1,
72
+ name
73
+ ]);
74
+ }
75
+ continue;
76
+ }
77
+ out.push([
78
+ 2,
79
+ start,
80
+ end,
81
+ name
82
+ ]);
83
+ } else out.push([
84
+ 3,
85
+ start,
86
+ end
87
+ ]);
88
+ }
89
+ return out;
90
+ }
91
+ /** A value's trailing priority, as the tokenizer's `importantPriority` reads
92
+ * it: exactly one `!`; `value!` with nothing between is the shorthand, and
93
+ * `value !important`, the keyword in any case or escaped, the full form. */
94
+ function trailingPriority(css) {
95
+ const trimmed = css.trimEnd();
96
+ const endsImportant = trimmed.length >= 9 && /^important$/i.test(trimmed.slice(-9));
97
+ if (!css.endsWith("!") && !endsImportant) return void 0;
98
+ const all = units(css);
99
+ const bangs = all.filter((unit) => unit[0] === 1);
100
+ if (bangs.length !== 1) return void 0;
101
+ const at = all.indexOf(bangs[0]);
102
+ if (at === all.length - 1) {
103
+ const previous = all[at - 1];
104
+ return previous !== void 0 && previous[0] !== 0 && previous[2] === bangs[0][1] ? {
105
+ spelling: "shorthand",
106
+ end: previous[2]
107
+ } : void 0;
108
+ }
109
+ const after = all.slice(at + 1).filter((unit) => unit[0] !== 0);
110
+ if (after.length !== 1 || after[0][0] !== 2 || !/^important$/i.test(after[0][3] ?? "")) return;
111
+ const value = all.slice(0, at).findLast((unit) => unit[0] !== 0);
112
+ return value && {
113
+ spelling: "important",
114
+ end: value[2]
115
+ };
116
+ }
117
+ /** Whether `css` reads `variable` through a `var()` at any depth, its
118
+ * fallbacks included: a `var` function, in any case or escaped, whose first
119
+ * argument is the variable's decoded name. */
120
+ function readsVariable(css, variable) {
121
+ if (!css.includes("(")) return false;
122
+ const target = decode(variable);
123
+ const all = units(css);
124
+ return all.some((unit, index) => {
125
+ if (unit[0] !== 4 || unit[3]?.toLowerCase() !== "var") return false;
126
+ const first = all.slice(index + 1).find((next) => next[0] !== 0);
127
+ return first !== void 0 && first[0] === 2 && first[3] === target;
128
+ });
129
+ }
130
+ //#endregion
16
131
  //#region src/runtime/witness.ts
17
132
  const WITNESS_CAP = 5e3;
18
133
  function recordWitness(component, prop, value, outcome) {
@@ -151,6 +266,29 @@ function warnDroppedValue(baseClassName, propName, serializedValue, customOwned)
151
266
  }
152
267
  }
153
268
  /**
269
+ * A runtime value that reaches a slot condition a production build removes:
270
+ * the build's usage analysis saw no runtime value for the prop there, so the
271
+ * value arrived in a way it does not follow, and in production it has
272
+ * neither a class nor a slot. An entry a literal class serves, as
273
+ * `applyDynamicProp` serves an `!important` literal, takes no slot.
274
+ */
275
+ function warnPrunedSlot(baseClassName, propName, serializedValue, propValue, dc, propClasses, typed) {
276
+ if (!IS_DEV || !dc.productionConditions) return;
277
+ const production = dc.productionConditions;
278
+ const [responsive, entries] = responsiveEntries(propValue);
279
+ const servedByClass = (bp, value) => {
280
+ if (dc.kind === "declarations" || !responsive || typeof value !== "string") return false;
281
+ const priority = trailingPriority(value);
282
+ return !!priority && (priority.spelling === "important" || !isCustomOnly(slotProperties(dc))) && entryClass(propClasses, typed, bp, value) !== void 0;
283
+ };
284
+ const pruned = entries.filter(([bp, value]) => !production.includes(bp) && !servedByClass(bp, value)).map(([bp]) => bp);
285
+ if (pruned.length === 0) return;
286
+ const dedupeKey = `${baseClassName}|${propName}|pruned`;
287
+ if (warnedDrops.has(dedupeKey)) return;
288
+ warnedDrops.add(dedupeKey);
289
+ console.warn(`[animus:drop] ${baseClassName}: value ${serializedValue} on prop '${propName}' uses its runtime slot at ${pruned.join(", ")}, which a production build removes — in production it will not render there. The build found no runtime value for this prop, so this one arrives through code it does not follow, such as a library that clones the element.`);
290
+ }
291
+ /**
154
292
  * A value taken from a variant default emits `--{prop}-default`, not the
155
293
  * value, so the compose override rule misses and the parent's value wins.
156
294
  * An explicit `undefined` takes the default as an omitted prop does.
@@ -162,7 +300,7 @@ function applyVariantClasses(classes, baseClassName, props, config) {
162
300
  if (value != null) {
163
301
  const isDefault = props[prop] == null && vc.default != null;
164
302
  classes.push(`${baseClassName}--${prop}-${isDefault ? "default" : value}`);
165
- recordWitness(baseClassName, prop, value, "static");
303
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) recordWitness(baseClassName, prop, value, "static");
166
304
  }
167
305
  }
168
306
  }
@@ -185,7 +323,7 @@ function applyStateClasses(classes, baseClassName, props, config, activeStates)
185
323
  for (const state of config.states) if (props[state]) {
186
324
  classes.push(`${baseClassName}--${state}`);
187
325
  activeStates.push(state);
188
- recordWitness(baseClassName, state, "true", "static");
326
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) recordWitness(baseClassName, state, "true", "static");
189
327
  }
190
328
  }
191
329
  const warnedInvalidResults = /* @__PURE__ */ new Set();
@@ -207,6 +345,23 @@ function warnIgnoredImportant(baseClassName, propName, value) {
207
345
  console.warn(`[animus:important] ${baseClassName}: !important is ignored on the runtime-generated value ${JSON.stringify(value)} of prop '${propName}' — a runtime value reaches CSS through a variable, which cannot carry it; declare the value literally to keep !important`);
208
346
  }
209
347
  }
348
+ const warnedUnitless = /* @__PURE__ */ new Set();
349
+ /**
350
+ * A number reaching a slot that only custom properties read, with no
351
+ * transform, stays unitless, as at build time; reported once per prop. Zero
352
+ * is a length without a unit, and a scale key is not written as is.
353
+ */
354
+ function warnUnitlessCustomProperty(baseClassName, propName, propValue, dc) {
355
+ if (!IS_DEV) return;
356
+ const properties = slotProperties(dc);
357
+ if (dc.transform || dc.transformId || dc.transformName || !isCustomOnly(properties)) return;
358
+ const number = responsiveEntries(propValue)[1].map(([, value]) => value).find((value) => typeof value === "number" && Number.isFinite(value) && value !== 0 && dc.scaleValues?.[String(value)] == null);
359
+ if (number === void 0) return;
360
+ const dedupeKey = `${baseClassName}|${propName}`;
361
+ if (warnedUnitless.has(dedupeKey)) return;
362
+ warnedUnitless.add(dedupeKey);
363
+ console.warn(`[animus:unit] ${baseClassName}: prop '${propName}' writes the number ${String(number)} to ${properties.join(", ")} without a unit — a custom property has no unit context, so the number stays unitless; give the value a unit, or bind a transform that adds one`);
364
+ }
210
365
  const warnedThrows = /* @__PURE__ */ new Set();
211
366
  const warnedStrictMisses = /* @__PURE__ */ new Set();
212
367
  /** Keyed by value, like a throw: each rejected input is reported once. */
@@ -254,23 +409,12 @@ function warnTransformThrow(baseClassName, propName, transformName, serializedVa
254
409
  }
255
410
  }
256
411
  /**
257
- * Whether `resolved` reads `currentVar` through a `var()` at any depth, its
258
- * fallbacks included: a function token whose decoded name is `var` in any
259
- * case, with the decoded variable name as its first argument. Comments,
260
- * quoted strings and `url()` read nothing. The extractor's static path skips
261
- * its `currentVar` write by the same predicate.
262
- */
263
- function readsCurrentVar(resolved, currentVar) {
264
- if (!resolved.includes("(")) return false;
265
- const destination = decodedIdentifier(currentVar);
266
- return variableReads(componentValues(tokenize(resolved))).some((read) => read.name === destination);
267
- }
268
- /**
269
412
  * A value that reads the prop's own `currentVar` takes the slot that leaves
270
- * it alone, since writing it would make the variable cyclic.
413
+ * it alone, since writing it would make the variable cyclic. The extractor's
414
+ * static path skips its `currentVar` write by the same predicate.
271
415
  */
272
416
  function slotClassFor(dc, resolved) {
273
- return dc.currentVar !== void 0 && readsCurrentVar(resolved, dc.currentVar) ? `${dc.slotClass}--keep` : dc.slotClass;
417
+ return dc.currentVar !== void 0 && readsVariable(resolved, dc.currentVar) ? `${dc.slotClass}--keep` : dc.slotClass;
274
418
  }
275
419
  /**
276
420
  * Resolution is staged so a drop is atomic: one entry that misses a strict
@@ -285,16 +429,15 @@ function slotClassFor(dc, resolved) {
285
429
  * priority, which `ignoredImportant` hears of. Where only custom properties
286
430
  * read the value, a trailing `!` is no priority, as at build time.
287
431
  */
288
- function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass, ignoredImportant) {
432
+ function applyDynamicProp(classes, dynStyle, propValue, dc, propClasses, typed, ignoredImportant) {
289
433
  const staged = [];
290
434
  const [responsive, entries] = responsiveEntries(propValue);
291
- const lookup = (bp, value) => literalClass(bp === "_" ? value : { [bp]: value });
292
435
  for (const [bp, authored] of entries) {
293
436
  let value = authored;
294
437
  let ignored;
295
- const priority = typeof authored === "string" ? importantPriority(authored) : void 0;
438
+ const priority = typeof authored === "string" ? trailingPriority(authored) : void 0;
296
439
  if (typeof authored === "string" && priority && (priority.spelling === "important" || !isCustomOnly(slotProperties(dc)))) {
297
- const literal = responsive ? lookup(bp, authored) : void 0;
440
+ const literal = responsive ? entryClass(propClasses, typed, bp, authored) : void 0;
298
441
  if (literal) {
299
442
  staged.push([literal]);
300
443
  continue;
@@ -309,7 +452,7 @@ function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass, ignore
309
452
  } : resolved;
310
453
  if (ignored !== void 0) {
311
454
  ignoredImportant(ignored);
312
- const end = importantPriority(resolved)?.end;
455
+ const end = trailingPriority(resolved)?.end;
313
456
  resolved = end === void 0 ? resolved : resolved.slice(0, end);
314
457
  }
315
458
  const slotClass = slotClassFor(dc, resolved);
@@ -366,6 +509,29 @@ function applyDeclarationProp(classes, dynStyle, propValue, dc) {
366
509
  return null;
367
510
  }
368
511
  /**
512
+ * The static class of `value` written alone at breakpoint `bp` (`_` the
513
+ * base), keyed as extraction keys it.
514
+ */
515
+ function entryClass(propClasses, typed, bp, value) {
516
+ return propClasses?.[(typed ? typedValueKey : serializeValueKey)(bp === "_" ? value : { [bp]: value })];
517
+ }
518
+ /**
519
+ * The static classes of a responsive value's entries, when every entry has
520
+ * one: extraction gives a value proven to be one of a few at each
521
+ * breakpoint a class per entry, and no slot.
522
+ */
523
+ function entryClasses(propValue, propClasses, typed) {
524
+ const [responsive, entries] = responsiveEntries(propValue);
525
+ if (!responsive || entries.length === 0) return void 0;
526
+ const found = [];
527
+ for (const [bp, value] of entries) {
528
+ const cls = entryClass(propClasses, typed, bp, value);
529
+ if (!cls) return void 0;
530
+ found.push(cls);
531
+ }
532
+ return found;
533
+ }
534
+ /**
369
535
  * A responsive value without its nullish breakpoints, so it keys the same
370
536
  * static class as the value written without them; `undefined` when none
371
537
  * remain, as if the prop were omitted.
@@ -409,25 +575,33 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
409
575
  const customOwned = customPropMap?.[propName] !== void 0 || customDynamicConfig?.[propName] !== void 0;
410
576
  const [classMap, typedProps] = customOwned ? [customPropMap, config.typedCustomProps] : [systemPropMap, config.typedSystemProps];
411
577
  const typed = typedProps?.includes(propName) === true;
412
- const cls = classMap?.[propName]?.[typed ? typedValueKey(propValue) : key];
413
- if (cls) {
414
- classes.push(cls);
415
- recordWitness(baseClassName, propName, key, "static");
578
+ const propClasses = classMap?.[propName];
579
+ const cls = propClasses?.[typed ? typedValueKey(propValue) : key];
580
+ const found = cls ? [cls] : propClasses && entryClasses(propValue, propClasses, typed);
581
+ if (found) {
582
+ classes.push(...found);
583
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) recordWitness(baseClassName, propName, key, "static");
416
584
  } else {
417
585
  const dc = customOwned ? customDynamicConfig?.[propName] : dynamicPropConfig?.[propName];
418
586
  if (dc) {
419
587
  const staged = dynStyle ?? {};
420
- const failure = dc.kind === "declarations" ? applyDeclarationProp(classes, staged, propValue, dc) : applyDynamicProp(classes, staged, propValue, dc, (value) => classMap?.[propName]?.[(typed ? typedValueKey : serializeValueKey)(value)], (value) => warnIgnoredImportant(baseClassName, propName, value));
588
+ const failure = dc.kind === "declarations" ? applyDeclarationProp(classes, staged, propValue, dc) : applyDynamicProp(classes, staged, propValue, dc, propClasses, typed, (value) => {
589
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) warnIgnoredImportant(baseClassName, propName, value);
590
+ });
421
591
  if (failure === null) {
422
592
  dynStyle = staged;
423
- recordWitness(baseClassName, propName, key, "dynamic");
424
- } else {
593
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) {
594
+ recordWitness(baseClassName, propName, key, "dynamic");
595
+ warnPrunedSlot(baseClassName, propName, key, propValue, dc, propClasses, typed);
596
+ if (dc.kind !== "declarations") warnUnitlessCustomProperty(baseClassName, propName, propValue, dc);
597
+ }
598
+ } else if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) {
425
599
  if ("shape" in failure) warnInvalidTransformResult(baseClassName, propName, failure.shape);
426
600
  else if ("entry" in failure) warnStrictScaleMiss(baseClassName, propName, key, failure);
427
601
  else warnTransformThrow(baseClassName, propName, dc.transformName, key, failure.cause);
428
602
  recordWitness(baseClassName, propName, key, "drop");
429
603
  }
430
- } else {
604
+ } else if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) {
431
605
  warnDroppedValue(baseClassName, propName, key, customOwned);
432
606
  recordWitness(baseClassName, propName, key, "drop");
433
607
  }
@@ -441,6 +615,71 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
441
615
  };
442
616
  }
443
617
  //#endregion
618
+ //#region src/runtime/uncompiled.ts
619
+ /**
620
+ * What rendering a component that Animus did not compile does: nothing, a
621
+ * console warning once per component, or a thrown error on every render.
622
+ * Without compilation its classes are empty and no CSS exists for it.
623
+ * Production stays silent until the project owner chooses its level, and its
624
+ * bundles carry no report: the calls in `createComponent` and
625
+ * `createClassResolver` test the define token in place, which a minifier
626
+ * removes. A production level changes this line and lifts those guards.
627
+ */
628
+ const UNCOMPILED_RENDER = IS_DEV ? "warn" : "off";
629
+ /**
630
+ * The record a builder terminal attaches to the component it builds at
631
+ * runtime. Only an uncompiled definition reaches a terminal: a compiled
632
+ * one is replaced with the component's extracted classes. `undefined` when
633
+ * uncompiled renders are not reported.
634
+ */
635
+ function uncompiledDefinition(target) {
636
+ if (UNCOMPILED_RENDER === "off") return void 0;
637
+ return {
638
+ target,
639
+ origin: declaringModule((/* @__PURE__ */ new Error()).stack),
640
+ reported: false
641
+ };
642
+ }
643
+ /**
644
+ * Reports a render of an uncompiled definition at the configured level.
645
+ * Defining or importing one reports nothing; only a render does.
646
+ */
647
+ function reportUncompiledRender(definition, displayName) {
648
+ if (!definition) return;
649
+ if (UNCOMPILED_RENDER === "error") throw new Error(uncompiledMessage(definition, displayName));
650
+ if (definition.reported) return;
651
+ definition.reported = true;
652
+ console.warn(uncompiledMessage(definition, displayName));
653
+ }
654
+ function uncompiledMessage({ target, origin }, displayName) {
655
+ const component = displayName ? `${displayName} (${target})` : target;
656
+ const pkg = origin && packageOf(origin);
657
+ const declared = origin ? ` declared in ${origin}` : "";
658
+ const subject = pkg ? `the package ${pkg}` : "its module";
659
+ return `[animus:uncompiled] ${component}${declared} rendered without Animus compiling it: its classes are empty and no CSS exists for it. Add the Animus plugin for this app's host (Vite, Next.js, Rollup) so it compiles ${subject}, or build ${subject} with the Animus CLI.`;
660
+ }
661
+ /**
662
+ * The caller of the builder terminal: the frame after the terminal's own.
663
+ * Engines differ in frame syntax, so only `file:line:column` is read.
664
+ */
665
+ function declaringModule(stack) {
666
+ return (stack ?? "").split("\n").map((line) => /((?:[a-z][\w+.-]*:\/\/|\/)[^\s()]+:\d+:\d+)/i.exec(line)?.[1]).filter((frame) => frame !== void 0)[2];
667
+ }
668
+ /**
669
+ * The installed package a path lies in, as `node_modules` names it, or as
670
+ * Vite's dependency optimizer names the file it bundles the package into:
671
+ * `@scope/name/sub` becomes `.vite/deps/@scope_name_sub.js`, a `.` becomes
672
+ * `__`, and a shared chunk names no package.
673
+ */
674
+ function packageOf(path) {
675
+ const installed = /\/node_modules\/((?:@[^/]+\/)?[^/.][^/]*)\//.exec(path);
676
+ if (installed) return installed[1];
677
+ const optimized = /\/node_modules\/\.vite\/deps(?:_[^/]*)?\/([^/?#:]+?)\.m?js\b/.exec(path)?.[1];
678
+ if (!optimized || optimized.startsWith("chunk-")) return void 0;
679
+ const flat = optimized.replace(/__/g, ".");
680
+ return /^(@[^_]+_)?[^_]+/.exec(flat)?.[0].replace("_", "/");
681
+ }
682
+ //#endregion
444
683
  //#region src/runtime/createClassResolver.ts
445
684
  function serializeDynamicStyle(style) {
446
685
  return Object.entries(style).map(([property, value]) => `${property}: ${value}`).join("; ");
@@ -448,13 +687,32 @@ function serializeDynamicStyle(style) {
448
687
  function createClassResolver(className, resolverConfig, systemPropMap, dynamicPropConfig) {
449
688
  const config = withUniqueSystemPropNames(resolverConfig);
450
689
  const resolveAttributes = (props) => {
690
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) reportUncompiledRender(config.uncompiled, void 0);
451
691
  const { classes, dynamicStyle } = resolveClasses(className, props || {}, config, systemPropMap, dynamicPropConfig);
452
692
  const attributes = { class: classes.join(" ") };
453
693
  if (dynamicStyle && Object.keys(dynamicStyle).length > 0) attributes.style = serializeDynamicStyle(dynamicStyle);
454
694
  return attributes;
455
695
  };
456
- const resolver = (props) => resolveClasses(className, props || {}, config, systemPropMap, dynamicPropConfig).classes.join(" ");
457
- return Object.assign(resolver, { attrs: resolveAttributes });
696
+ const resolveProps = (props) => {
697
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) reportUncompiledRender(config.uncompiled, void 0);
698
+ const { classes, dynamicStyle } = resolveClasses(className, props || {}, config, systemPropMap, dynamicPropConfig);
699
+ if (props?.className) classes.push(props.className);
700
+ const attributes = { className: classes.join(" ") };
701
+ const style = props?.style ? {
702
+ ...dynamicStyle,
703
+ ...props.style
704
+ } : dynamicStyle;
705
+ if (style && Object.keys(style).length > 0) attributes.style = style;
706
+ return attributes;
707
+ };
708
+ const resolver = (props) => {
709
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) reportUncompiledRender(config.uncompiled, void 0);
710
+ return resolveClasses(className, props || {}, config, systemPropMap, dynamicPropConfig).classes.join(" ");
711
+ };
712
+ return Object.assign(resolver, {
713
+ attrs: resolveAttributes,
714
+ props: resolveProps
715
+ });
458
716
  }
459
717
  //#endregion
460
- export { resolveClasses as n, withUniqueSystemPropNames as r, createClassResolver as t };
718
+ export { withUniqueSystemPropNames as a, resolveClasses as i, reportUncompiledRender as n, IS_DEV as o, uncompiledDefinition as r, createClassResolver as t };
@@ -1,4 +1,4 @@
1
- import { n as resolveClasses, r as withUniqueSystemPropNames } from "./createClassResolver-uGu2N5MK.js";
1
+ import { a as withUniqueSystemPropNames, i as resolveClasses, n as reportUncompiledRender, o as IS_DEV } from "./createClassResolver-DdrmIC5J.js";
2
2
  import { t as assertRootSlot } from "./assert-root-slot-C3Lp9MNJ.js";
3
3
  import { Children, cloneElement, createElement, forwardRef } from "react";
4
4
  //#region src/runtime/index.ts
@@ -164,6 +164,7 @@ function createComponent(element, className, componentConfig, systemPropMap, dyn
164
164
  ...systemPropNames
165
165
  ]);
166
166
  const Component = forwardRef((props, ref) => {
167
+ if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) reportUncompiledRender(config.uncompiled, Component.displayName || void 0);
167
168
  const { classes, dynamicStyle } = resolveClasses(className, props, config, systemPropMap, dynamicPropConfig);
168
169
  if (props.asChild && ownsPolymorphism) {
169
170
  const slotProps = { className: joinClassNames(classes.join(" "), props.className) };
@@ -1,4 +1,4 @@
1
- import { a as DynamicPropConfig, i as ClassResolverConfig, o as SystemPropMap } from "./createClassResolver-C_yq_4BM.js";
1
+ import { a as ClassResolverConfig, o as DynamicPropConfig, s as SystemPropMap } from "./createClassResolver-C-UOgE_d.js";
2
2
  import { ForwardRefExoticComponent, ReactElement, ReactNode, Ref, forwardRef } from "react";
3
3
  //#region src/runtime/index.d.ts
4
4
  interface ComponentConfig extends ClassResolverConfig {}
@@ -37,4 +37,4 @@ interface ComposedFamilyConfig {
37
37
  declare function createComposedFamily(slots: Record<string, ForwardRefExoticComponent<any>>, config: ComposedFamilyConfig): Record<string, ForwardRefExoticComponent<any>>;
38
38
  //#endregion
39
39
  export { createComponent as n, renderAsChild as r, createComposedFamily as t };
40
- //# sourceMappingURL=createComposedFamily-Bj1xF-M8.d.ts.map
40
+ //# sourceMappingURL=createComposedFamily-BJQ5Cn76.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createComposedFamily-Bj1xF-M8.d.ts","names":[],"sources":["../src/runtime/index.ts","../src/runtime/createComposedFamily.ts"],"mappings":";;;UAiBU,wBAAwB;KAE7B,uBAAuB,MAAM;KAE7B,YAAY,YAAY;KAExB,kBAAkB,kBAAkB;EACvC;EACA,iBAAiB,SAAS;EAC1B,kBAAkB,SAAS,eAAe;;;;;;;;;;;;;;;;;;;;iBAyJ5B,cACd,UAAU,WACV,eACA,MAAM,WACL;iBAkDa,gBACd,SAAS,aACT,mBACA,iBAAiB,iBACjB,gBAAgB,eAChB,oBAAoB,oBACnB;;;UCjOO;EACR;;iBAGc,qBACd,OAAO,eAAe,iCACtB,QAAQ,uBACP,eAAe"}
1
+ {"version":3,"file":"createComposedFamily-BJQ5Cn76.d.ts","names":[],"sources":["../src/runtime/index.ts","../src/runtime/createComposedFamily.ts"],"mappings":";;;UAqBU,wBAAwB;KAE7B,uBAAuB,MAAM;KAE7B,YAAY,YAAY;KAExB,kBAAkB,kBAAkB;EACvC;EACA,iBAAiB,SAAS;EAC1B,kBAAkB,SAAS,eAAe;;;;;;;;;;;;;;;;;;;;iBAyJ5B,cACd,UAAU,WACV,eACA,MAAM,WACL;iBAkDa,gBACd,SAAS,aACT,mBACA,iBAAiB,iBACjB,gBAAgB,eAChB,oBAAoB,oBACnB;;;UCrOO;EACR;;iBAGc,qBACd,OAAO,eAAe,iCACtB,QAAQ,uBACP,eAAe"}
@@ -1,4 +1,4 @@
1
- import { J as NamedTransform } from "../index-CtkuoXP-.js";
1
+ import { J as NamedTransform } from "../index-CQ7BFlKp.js";
2
2
  //#region src/groups/index.d.ts
3
3
  export declare const color: {
4
4
  readonly color: {
@@ -1,7 +1,7 @@
1
- import { i as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
2
- import { $ as SerializedTheme, A as SystemProps, At as ReservedByConditionRegistry, Ct as ConditionAliasMap, Dt as NarrowedAliases, F as VariantConfig, G as CSSColorValue, H as AbstractTheme, J as ContextualVarRegistration, K as ColorModeOptions, M as ThemedCSSProps, R as AbstractProps, Z as ModeAliasDefinition, _ as CSSProps, _t as KeyframeFrameMap, a as BuilderClassProps, at as TokenDefinition, bt as AtRuleValue, d as StylingNames, f as SystemPicks, g as CSSPropMap, h as BuiltInSelectorAlias, ht as SelectorAliasMap, it as ThemeStructuralKey, j as ThemedCSSPropMap, jt as ReservedBySelectorRegistry, k as SystemProp, kt as RegistryBrand, l as AnimusExtended, lt as LiteralPaths, m as BuiltInConditionAlias, n as AnimusComponent, nt as ThemeCssFragment, p as AbstractParser, r as AnimusWrappedComponent, rt as ThemeManifest, st as CSSObject, v as CompoundEntry, x as DeclarationProp, y as CustomPropConfig, yt as Keyframes } from "./component-CaNNGvbE.js";
3
- import "./compose-BaU2HpRM.js";
4
- import "./createComposedFamily-Bj1xF-M8.js";
1
+ import { a as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-C-UOgE_d.js";
2
+ import { A as SystemProps, At as NarrowedAliases, Ct as AtRuleValue, Et as ConditionAliasMap, G as AbstractTheme, J as CSSColorValue, L as ThemedVariantModel, M as ThemedCSSInputProps, Mt as RegistryBrand, N as ThemedCSSPropMap, Nt as ReservedByConditionRegistry, P as ThemedCSSProps, Pt as ReservedBySelectorRegistry, R as VariantConfig, St as Keyframes, V as AbstractProps, Y as ColorModeOptions, Z as ContextualVarRegistration, _ as CSSProps, a as BuilderClassProps, at as ThemeCssFragment, bt as KeyframeFrameMap, ct as TokenDefinition, d as StylingNames, et as ModeAliasDefinition, f as SystemPicks, ft as LiteralPaths, g as CSSPropMap, h as BuiltInSelectorAlias, j as ThemedCSSInputPropMap, k as SystemProp, l as AnimusExtended, m as BuiltInConditionAlias, n as AnimusComponent, nt as SerializedTheme, ot as ThemeManifest, p as AbstractParser, r as AnimusWrappedComponent, st as ThemeStructuralKey, ut as CSSObject, v as CompoundEntry, vt as SelectorAliasMap, x as DeclarationProp, y as CustomPropConfig } from "./component-D9Fie8Ci.js";
3
+ import "./compose-A-kGRKdR.js";
4
+ import "./createComposedFamily-BJQ5Cn76.js";
5
5
  import { ComponentType, JSX } from "react";
6
6
  //#region src/Animus.d.ts
7
7
  declare class AnimusWithAll<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<AbstractParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, SystemProp>> {
@@ -32,41 +32,41 @@ declare class AnimusWithStates<PropRegistry extends Record<string, SystemProp>,
32
32
  }
33
33
  declare class AnimusWithCompounds<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>> extends AnimusWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, {}> {
34
34
  constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, compounds?: CompoundEntry[]);
35
- compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants>;
36
- states<Props extends AbstractProps>(config: ThemedCSSPropMap<Props, PropRegistry>): AnimusWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry>>;
35
+ compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSInputProps<Props, PropRegistry>): AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants>;
36
+ states<Props extends AbstractProps>(config: ThemedCSSInputPropMap<Props, PropRegistry>): AnimusWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry>>;
37
37
  }
38
38
  declare class AnimusWithVariants<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>> extends AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants> {
39
39
  constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, compounds?: CompoundEntry[]);
40
- compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants>;
40
+ compound<Props extends AbstractProps>(condition: { [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>; }, styles: ThemedCSSInputProps<Props, PropRegistry>): AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants>;
41
41
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
42
42
  prop?: PropKey;
43
43
  defaultVariant?: Extract<keyof Props, string>;
44
- base?: ThemedCSSProps<Base, PropRegistry>;
45
- variants: ThemedCSSPropMap<Props, PropRegistry>;
46
- }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
44
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
45
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
46
+ }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantModel<{
47
47
  prop?: PropKey;
48
48
  defaultVariant?: Extract<keyof Props, string>;
49
- base?: ThemedCSSProps<Base, PropRegistry>;
50
- variants: ThemedCSSPropMap<Props, PropRegistry>;
51
- }>>;
49
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
50
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
51
+ }, Base, Props, PropRegistry>>>;
52
52
  }
53
53
  declare class AnimusWithBase<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>> extends AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, {}> {
54
54
  constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles);
55
55
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
56
56
  prop?: PropKey;
57
57
  defaultVariant?: Extract<keyof Props, string>;
58
- base?: ThemedCSSProps<Base, PropRegistry>;
59
- variants: ThemedCSSPropMap<Props, PropRegistry>;
60
- }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Record<PropKey, {
58
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
59
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
60
+ }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Record<PropKey, ThemedVariantModel<{
61
61
  prop?: PropKey;
62
62
  defaultVariant?: Extract<keyof Props, string>;
63
- base?: ThemedCSSProps<Base, PropRegistry>;
64
- variants: ThemedCSSPropMap<Props, PropRegistry>;
65
- }>>;
63
+ base?: ThemedCSSInputProps<Base, PropRegistry>;
64
+ variants: ThemedCSSInputPropMap<Props, PropRegistry>;
65
+ }, Base, Props, PropRegistry>>>;
66
66
  }
67
67
  declare class Animus<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>> extends AnimusWithBase<PropRegistry, GroupRegistry, {}> {
68
68
  constructor(props: PropRegistry, groups: GroupRegistry);
69
- styles<Props extends AbstractProps>(config: ThemedCSSProps<Props, PropRegistry>): AnimusWithBase<PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry>>;
69
+ styles<Props extends AbstractProps>(config: ThemedCSSInputProps<Props, PropRegistry>): AnimusWithBase<PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry>>;
70
70
  }
71
71
  //#endregion
72
72
  //#region src/asset.d.ts
@@ -138,11 +138,11 @@ interface GlobalStyleBlock {
138
138
  */
139
139
  unlayered?: true;
140
140
  }
141
- type GlobalStylesFactory<PropReg extends Record<string, SystemProp> = Record<string, SystemProp>> = <Map extends Record<string, AbstractProps>>(styles: { readonly [K in keyof Map]: ThemedCSSProps<Map[K], PropReg>; }, options?: {
141
+ type GlobalStylesFactory<PropReg extends Record<string, SystemProp> = Record<string, SystemProp>> = <Map extends Record<string, AbstractProps>>(styles: { readonly [K in keyof Map]: ThemedCSSInputProps<Map[K], PropReg>; }, options?: {
142
142
  fontFaces?: readonly FontFace[];
143
143
  unlayered?: boolean;
144
144
  }) => GlobalStyleBlock;
145
- type CreateKeyframesFactory<PropReg extends Record<string, SystemProp> = Record<string, SystemProp>> = <Frames extends Record<string, Record<string, AbstractProps>>>(frames: { readonly [N in keyof Frames]: { readonly [S in keyof Frames[N]]: ThemedCSSProps<Frames[N][S], PropReg>; }; }) => Keyframes<{ readonly [N in keyof Frames]: KeyframeFrameMap; }>;
145
+ type CreateKeyframesFactory<PropReg extends Record<string, SystemProp> = Record<string, SystemProp>> = <Frames extends Record<string, Record<string, AbstractProps>>>(frames: { readonly [N in keyof Frames]: { readonly [S in keyof Frames[N]]: ThemedCSSInputProps<Frames[N][S], PropReg>; }; }) => Keyframes<{ readonly [N in keyof Frames]: KeyframeFrameMap; }>;
146
146
  type IncludableSystem = {
147
147
  toConfig(): SerializedConfig;
148
148
  /**
@@ -660,4 +660,4 @@ declare const percentageOrAbsolute: (coordinate: number) => string | 0;
660
660
  declare const size: NamedTransform;
661
661
  //#endregion
662
662
  export { AssetRef as $, LibraryBundle as A, VocabularyCollisionEntry as B, CreateKeyframesFactory as C, GlobalStyleMap as D, GlobalStyleBlock as E, SerializedConfig as F, VocabularyOf as G, VocabularyKeyframesEntry as H, SystemBuilder as I, NamedTransform as J, VocabularyRecord as K, SystemBuilderStage as L, RegisterableKeyframes as M, RegistrySnapshot as N, GlobalStylesFactory as O, SealedSystemInstance as P, ASSET_PLACEHOLDER_PREFIX as Q, SystemBundle as R, stringScale as S, FontFaceSrc as T, VocabularyLegacyVerbEntry as U, VocabularyGlobalStyleEntry as V, VocabularyNameCollision as W, areTransformsEqual as X, TransformFn as Y, createTransform as Z, ThemeBuilderStage as _, borderShorthand as a, numericOrStringScale as b, ColorModeConfig as c, MergeTheme as d, asset as et, PrivateThemeKeys as f, ThemeBuilder as g, Flatten as h, gridItemRatio as i, RegisterableGlobalStyles as j, KeyframesFrameData as k, Mergable as l, SanitizeKey as m, size as n, AnimusWithAll as nt, Assign as o, KeyAsVariable as p, createSystem as q, gridItem as r, AssignValueIfUnmergable as s, percentageOrAbsolute as t, Animus as tt, Merge as u, createTheme as v, FontFace as w, numericScale as x, createScale as y, SystemInstance as z };
663
- //# sourceMappingURL=index-CtkuoXP-.d.ts.map
663
+ //# sourceMappingURL=index-CQ7BFlKp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CQ7BFlKp.d.ts","names":[],"sources":["../src/Animus.ts","../src/asset.ts","../src/transforms/createTransform.ts","../src/SystemBuilder.ts","../src/scales/createScale.ts","../src/declarations.ts","../src/theme/property-records.ts","../src/theme/createTheme.ts","../src/theme/serializeTokens.ts","../src/theme/types.ts","../src/transforms/border.ts","../src/transforms/grid.ts","../src/transforms/size.ts"],"mappings":";;;;;;cAsCa,cACX,qBAAqB,eAAe,aACpC,sBAAsB,sBAAsB,kBAC5C,mBAAmB,SAAS,eAAe,YAAY,kBACvD,iBAAiB,eAAe,gBAChC,eAAe,WAAW,eAAe,YAAY,kBACrD,qBAAqB,sBACrB,oBAAoB,eAAe;EAEnC,cAAqB;EACrB,eAAsB;EACtB,YAAmB;EACnB,cAAqB;EACrB,UAAiB;EACjB,cAAqB;EACrB,QAAe;EACf,WAAW;EAEX,YACE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AAW,UAAU,IAAI,gBAAgB,IACtC,EAAE,KACF,gBAAgB,IACd,EAAE;KAIE;EACV,YAAY,eAAe;EAC3B,SAAS;;;;;;KAOC,gBAAgB,UAAU,eAElC,SACA,eAAe,UACf,eAAe,SAAS,eAAe;;;;cC5C9B,iBAAA;;;;cCAA,UAAA;;cAaA,eAAA;;;;cCbA,uBAAoB;;cAWpB,MAAA"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
2
- import { $ as SerializedTheme, A as SystemProps, At as ReservedByConditionRegistry, B as ResponsiveProp, C as ParserProps, Ct as ConditionAliasMap, D as ScaleValue, Dt as NarrowedAliases, E as Scale, Et as ConditionsOf, F as VariantConfig, G as CSSColorValue, H as AbstractTheme, I as ArrayScale, J as ContextualVarRegistration, K as ColorModeOptions, L as MapScale, M as ThemedCSSProps, Mt as SelectorsOf, N as ThemedScale, Nt as UnknownAtRule, O as SelectorAliasProps, Ot as RawAtRuleKey, P as ThemedScaleValue, Pt as UnknownConditionAlias, Q as ScaleTokenRef, R as AbstractProps, S as Parser, St as ConditionAlias, T as PropertyValues, Tt as Conditions, U as BaseTheme, V as ThemeProps, W as BrowserColorSchemeConfig, X as EmittedTokenPaths, Y as EmittedScales, _ as CSSProps, _t as KeyframeFrameMap, b as DeclarationKey, bt as AtRuleValue, c as VariantPropsOf, ct as FindPath, dt as PathToLiteral, et as SystemPreferenceConfig, ft as PathValue, g as CSSPropMap, gt as Selectors, h as BuiltInSelectorAlias, ht as SelectorAliasMap, i as AnyBrandedComponent, it as ThemeStructuralKey, j as ThemedCSSPropMap, jt as ReservedBySelectorRegistry, k as SystemProp, kt as RegistryBrand, l as AnimusExtended, lt as LiteralPaths, m as BuiltInConditionAlias, mt as SelectorAlias, n as AnimusComponent, o as ComposedFamily, ot as TokenScales, p as AbstractParser, pt as BUILT_IN_SELECTORS, q as ColorTokenRef, r as AnimusWrappedComponent, rt as ThemeManifest, s as SharedConfig, st as CSSObject, t as AnimusClassProps, tt as Theme, u as AnimusExtendedWithAll, ut as Path, v as CompoundEntry, vt as KeyframeRef, w as Prop, wt as ConditionKind, x as DeclarationProp, xt as BUILT_IN_CONDITIONS, y as CustomPropConfig, yt as Keyframes, z as MediaQueryMap } from "./component-CaNNGvbE.js";
3
- import { t as compose } from "./compose-BaU2HpRM.js";
4
- import { $ as AssetRef, A as LibraryBundle, B as VocabularyCollisionEntry, C as CreateKeyframesFactory, D as GlobalStyleMap, E as GlobalStyleBlock, F as SerializedConfig, G as VocabularyOf, H as VocabularyKeyframesEntry, I as SystemBuilder, J as NamedTransform, K as VocabularyRecord, L as SystemBuilderStage, M as RegisterableKeyframes, N as RegistrySnapshot, O as GlobalStylesFactory, P as SealedSystemInstance, Q as ASSET_PLACEHOLDER_PREFIX, R as SystemBundle, S as stringScale, T as FontFaceSrc, U as VocabularyLegacyVerbEntry, V as VocabularyGlobalStyleEntry, W as VocabularyNameCollision, X as areTransformsEqual, Y as TransformFn, Z as createTransform, _ as ThemeBuilderStage, a as borderShorthand, b as numericOrStringScale, c as ColorModeConfig, d as MergeTheme, et as asset, f as PrivateThemeKeys, g as ThemeBuilder, h as Flatten, i as gridItemRatio, j as RegisterableGlobalStyles, k as KeyframesFrameData, l as Mergable, m as SanitizeKey, n as size, nt as AnimusWithAll, o as Assign, p as KeyAsVariable, q as createSystem, r as gridItem, s as AssignValueIfUnmergable, t as percentageOrAbsolute, tt as Animus, u as Merge, v as createTheme, w as FontFace, x as numericScale, y as createScale, z as SystemInstance } from "./index-CtkuoXP-.js";
5
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-Bj1xF-M8.js";
6
- export { ASSET_PLACEHOLDER_PREFIX, type AbstractParser, type AbstractProps, type AbstractTheme, Animus, type AnimusClassProps, type AnimusComponent, AnimusExtended, AnimusExtendedWithAll, AnimusWithAll, type AnimusWrappedComponent, type AnyBrandedComponent, type ArrayScale, type AssetRef, type Assign, type AssignValueIfUnmergable, type AtRuleValue, BUILT_IN_CONDITIONS, BUILT_IN_SELECTORS, type BaseTheme, type BrowserColorSchemeConfig, type BuiltInConditionAlias, type BuiltInSelectorAlias, type CSSColorValue, type CSSObject, type CSSPropMap, type CSSProps, type ClassResolver, type ClassResolverAttributes, type ColorModeConfig, type ColorModeOptions, type ColorTokenRef, type ComposedFamily, type CompoundEntry, type ConditionAlias, type ConditionAliasMap, type ConditionKind, type Conditions, type ConditionsOf, type ContextualVarRegistration, type CreateKeyframesFactory, type CustomPropConfig, type DeclarationKey, type DeclarationProp, type EmittedScales, type EmittedTokenPaths, type FindPath, type Flatten, type FontFace, type FontFaceSrc, type GlobalStyleBlock, type GlobalStyleMap, type GlobalStylesFactory, type KeyAsVariable, type KeyframeFrameMap, type KeyframeRef, type Keyframes, type KeyframesFrameData, type LibraryBundle, type LiteralPaths, type MapScale, type MediaQueryMap, type Mergable, type Merge, type MergeTheme, type NamedTransform, type NarrowedAliases, type Parser, type ParserProps, type Path, type PathToLiteral, type PathValue, type PrivateThemeKeys, type Prop, type PropertyValues, type RawAtRuleKey, type RegisterableGlobalStyles, type RegisterableKeyframes, type RegistryBrand, type RegistrySnapshot, type ReservedByConditionRegistry, type ReservedBySelectorRegistry, type ResponsiveProp, type SanitizeKey, type Scale, type ScaleTokenRef, type ScaleValue, type SealedSystemInstance, type SelectorAlias, type SelectorAliasMap, type SelectorAliasProps, type Selectors, type SelectorsOf, type SerializedConfig, type SerializedTheme, type SharedConfig, SystemBuilder, type SystemBuilderStage, type SystemBundle, type SystemInstance, type SystemPreferenceConfig, type SystemProp, type SystemProps, type Theme, ThemeBuilder, type ThemeBuilderStage, type ThemeManifest, type ThemeProps, type ThemeStructuralKey, type ThemedCSSPropMap, type ThemedCSSProps, type ThemedScale, type ThemedScaleValue, type TokenScales, type TransformFn, type UnknownAtRule, type UnknownConditionAlias, type VariantConfig, type VariantPropsOf, type VocabularyCollisionEntry, type VocabularyGlobalStyleEntry, type VocabularyKeyframesEntry, type VocabularyLegacyVerbEntry, type VocabularyNameCollision, type VocabularyOf, type VocabularyRecord, areTransformsEqual, asset, borderShorthand, compose, createClassResolver, createComponent, createComposedFamily, createScale, createSystem, createTheme, createTransform, gridItem, gridItemRatio, numericOrStringScale, numericScale, percentageOrAbsolute, renderAsChild, size, stringScale };
1
+ import { i as createClassResolver, n as ClassResolverAttributes, r as ClassResolverProps, t as ClassResolver } from "./createClassResolver-C-UOgE_d.js";
2
+ import { $ as EmittedTokenPaths, A as SystemProps, At as NarrowedAliases, B as MapScale, C as ParserProps, Ct as AtRuleValue, D as ScaleValue, Dt as ConditionKind, E as Scale, Et as ConditionAliasMap, F as ThemedScale, Ft as SelectorsOf, G as AbstractTheme, H as MediaQueryMap, I as ThemedScaleValue, It as UnknownAtRule, J as CSSColorValue, K as BaseTheme, L as ThemedVariantModel, Lt as UnknownConditionAlias, M as ThemedCSSInputProps, Mt as RegistryBrand, N as ThemedCSSPropMap, Nt as ReservedByConditionRegistry, O as SelectorAliasProps, Ot as Conditions, P as ThemedCSSProps, Pt as ReservedBySelectorRegistry, Q as EmittedScales, R as VariantConfig, S as Parser, St as Keyframes, T as PropertyValues, Tt as ConditionAlias, U as ResponsiveProp, V as AbstractProps, W as ThemeProps, X as ColorTokenRef, Y as ColorModeOptions, Z as ContextualVarRegistration, _ as CSSProps, _t as SelectorAlias, b as DeclarationKey, bt as KeyframeFrameMap, c as VariantPropsOf, dt as FindPath, ft as LiteralPaths, g as CSSPropMap, gt as BUILT_IN_SELECTORS, h as BuiltInSelectorAlias, ht as PathValue, i as AnyBrandedComponent, it as Theme, j as ThemedCSSInputPropMap, jt as RawAtRuleKey, k as SystemProp, kt as ConditionsOf, l as AnimusExtended, lt as TokenScales, m as BuiltInConditionAlias, mt as PathToLiteral, n as AnimusComponent, nt as SerializedTheme, o as ComposedFamily, ot as ThemeManifest, p as AbstractParser, pt as Path, q as BrowserColorSchemeConfig, r as AnimusWrappedComponent, rt as SystemPreferenceConfig, s as SharedConfig, st as ThemeStructuralKey, t as AnimusClassProps, tt as ScaleTokenRef, u as AnimusExtendedWithAll, ut as CSSObject, v as CompoundEntry, vt as SelectorAliasMap, w as Prop, wt as BUILT_IN_CONDITIONS, x as DeclarationProp, xt as KeyframeRef, y as CustomPropConfig, yt as Selectors, z as ArrayScale } from "./component-D9Fie8Ci.js";
3
+ import { t as compose } from "./compose-A-kGRKdR.js";
4
+ import { $ as AssetRef, A as LibraryBundle, B as VocabularyCollisionEntry, C as CreateKeyframesFactory, D as GlobalStyleMap, E as GlobalStyleBlock, F as SerializedConfig, G as VocabularyOf, H as VocabularyKeyframesEntry, I as SystemBuilder, J as NamedTransform, K as VocabularyRecord, L as SystemBuilderStage, M as RegisterableKeyframes, N as RegistrySnapshot, O as GlobalStylesFactory, P as SealedSystemInstance, Q as ASSET_PLACEHOLDER_PREFIX, R as SystemBundle, S as stringScale, T as FontFaceSrc, U as VocabularyLegacyVerbEntry, V as VocabularyGlobalStyleEntry, W as VocabularyNameCollision, X as areTransformsEqual, Y as TransformFn, Z as createTransform, _ as ThemeBuilderStage, a as borderShorthand, b as numericOrStringScale, c as ColorModeConfig, d as MergeTheme, et as asset, f as PrivateThemeKeys, g as ThemeBuilder, h as Flatten, i as gridItemRatio, j as RegisterableGlobalStyles, k as KeyframesFrameData, l as Mergable, m as SanitizeKey, n as size, nt as AnimusWithAll, o as Assign, p as KeyAsVariable, q as createSystem, r as gridItem, s as AssignValueIfUnmergable, t as percentageOrAbsolute, tt as Animus, u as Merge, v as createTheme, w as FontFace, x as numericScale, y as createScale, z as SystemInstance } from "./index-CQ7BFlKp.js";
5
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BJQ5Cn76.js";
6
+ export { ASSET_PLACEHOLDER_PREFIX, type AbstractParser, type AbstractProps, type AbstractTheme, Animus, type AnimusClassProps, type AnimusComponent, AnimusExtended, AnimusExtendedWithAll, AnimusWithAll, type AnimusWrappedComponent, type AnyBrandedComponent, type ArrayScale, type AssetRef, type Assign, type AssignValueIfUnmergable, type AtRuleValue, BUILT_IN_CONDITIONS, BUILT_IN_SELECTORS, type BaseTheme, type BrowserColorSchemeConfig, type BuiltInConditionAlias, type BuiltInSelectorAlias, type CSSColorValue, type CSSObject, type CSSPropMap, type CSSProps, type ClassResolver, type ClassResolverAttributes, type ClassResolverProps, type ColorModeConfig, type ColorModeOptions, type ColorTokenRef, type ComposedFamily, type CompoundEntry, type ConditionAlias, type ConditionAliasMap, type ConditionKind, type Conditions, type ConditionsOf, type ContextualVarRegistration, type CreateKeyframesFactory, type CustomPropConfig, type DeclarationKey, type DeclarationProp, type EmittedScales, type EmittedTokenPaths, type FindPath, type Flatten, type FontFace, type FontFaceSrc, type GlobalStyleBlock, type GlobalStyleMap, type GlobalStylesFactory, type KeyAsVariable, type KeyframeFrameMap, type KeyframeRef, type Keyframes, type KeyframesFrameData, type LibraryBundle, type LiteralPaths, type MapScale, type MediaQueryMap, type Mergable, type Merge, type MergeTheme, type NamedTransform, type NarrowedAliases, type Parser, type ParserProps, type Path, type PathToLiteral, type PathValue, type PrivateThemeKeys, type Prop, type PropertyValues, type RawAtRuleKey, type RegisterableGlobalStyles, type RegisterableKeyframes, type RegistryBrand, type RegistrySnapshot, type ReservedByConditionRegistry, type ReservedBySelectorRegistry, type ResponsiveProp, type SanitizeKey, type Scale, type ScaleTokenRef, type ScaleValue, type SealedSystemInstance, type SelectorAlias, type SelectorAliasMap, type SelectorAliasProps, type Selectors, type SelectorsOf, type SerializedConfig, type SerializedTheme, type SharedConfig, SystemBuilder, type SystemBuilderStage, type SystemBundle, type SystemInstance, type SystemPreferenceConfig, type SystemProp, type SystemProps, type Theme, ThemeBuilder, type ThemeBuilderStage, type ThemeManifest, type ThemeProps, type ThemeStructuralKey, type ThemedCSSInputPropMap, type ThemedCSSInputProps, type ThemedCSSPropMap, type ThemedCSSProps, type ThemedScale, type ThemedScaleValue, type ThemedVariantModel, type TokenScales, type TransformFn, type UnknownAtRule, type UnknownConditionAlias, type VariantConfig, type VariantPropsOf, type VocabularyCollisionEntry, type VocabularyGlobalStyleEntry, type VocabularyKeyframesEntry, type VocabularyLegacyVerbEntry, type VocabularyNameCollision, type VocabularyOf, type VocabularyRecord, areTransformsEqual, asset, borderShorthand, compose, createClassResolver, createComponent, createComposedFamily, createScale, createSystem, createTheme, createTransform, gridItem, gridItemRatio, numericOrStringScale, numericScale, percentageOrAbsolute, renderAsChild, size, stringScale };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as createClassResolver } from "./createClassResolver-uGu2N5MK.js";
2
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-UvlKJIdx.js";
1
+ import { r as uncompiledDefinition, t as createClassResolver } from "./createClassResolver-DdrmIC5J.js";
2
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BFoaDqk7.js";
3
3
  import { compose } from "./compose.js";
4
4
  import { a as borderShorthand, c as numericScale, d as createTransform, f as linkAuthoredCallable, i as gridItemRatio, l as stringScale, n as size, o as createScale, r as gridItem, s as numericOrStringScale, t as percentageOrAbsolute, u as areTransformsEqual } from "./size-ZhCTPtA-.js";
5
5
  //#region src/utils/admittedPropNames.ts
@@ -68,19 +68,28 @@ var AnimusExtendedWithAll = class {
68
68
  return new AnimusExtended(this.propRegistry, this.groupRegistry, this.baseStyles, this.variants, this.statesConfig, this.activeGroups, this.custom, this.compounds);
69
69
  }
70
70
  asElement(component) {
71
- const config = this._buildComponentConfig();
71
+ const config = {
72
+ ...this._buildComponentConfig(),
73
+ uncompiled: uncompiledDefinition(`<${component}>`)
74
+ };
72
75
  const Component = createComponent(component, "", config);
73
76
  const extendFn = this.extend.bind(this);
74
77
  return Object.assign(Component, { extend: extendFn });
75
78
  }
76
79
  asComponent(AsComponent) {
77
- const config = this._buildComponentConfig();
80
+ const config = {
81
+ ...this._buildComponentConfig(),
82
+ uncompiled: uncompiledDefinition(`a component wrapping ${AsComponent.displayName || AsComponent.name || "an anonymous component"}`)
83
+ };
78
84
  const Component = createComponent(AsComponent, "", config);
79
85
  const extendFn = this.extend.bind(this);
80
86
  return Object.assign(Component, { extend: extendFn });
81
87
  }
82
88
  asClass() {
83
- const config = this._buildComponentConfig();
89
+ const config = {
90
+ ...this._buildComponentConfig(),
91
+ uncompiled: uncompiledDefinition("a class resolver")
92
+ };
84
93
  return createClassResolver("", config);
85
94
  }
86
95
  _buildComponentConfig() {
@@ -173,19 +182,28 @@ var AnimusWithAll = class {
173
182
  return new AnimusExtended(this.propRegistry, this.groupRegistry, this.baseStyles, this.variants, this.statesConfig, this.activeGroups, this.custom, this.compounds);
174
183
  }
175
184
  asElement(component) {
176
- const config = this._buildComponentConfig();
185
+ const config = {
186
+ ...this._buildComponentConfig(),
187
+ uncompiled: uncompiledDefinition(`<${component}>`)
188
+ };
177
189
  const Component = createComponent(component, "", config);
178
190
  const extendFn = this.extend.bind(this);
179
191
  return Object.assign(Component, { extend: extendFn });
180
192
  }
181
193
  asComponent(AsComponent) {
182
- const config = this._buildComponentConfig();
194
+ const config = {
195
+ ...this._buildComponentConfig(),
196
+ uncompiled: uncompiledDefinition(`a component wrapping ${AsComponent.displayName || AsComponent.name || "an anonymous component"}`)
197
+ };
183
198
  const Component = createComponent(AsComponent, "", config);
184
199
  const extendFn = this.extend.bind(this);
185
200
  return Object.assign(Component, { extend: extendFn });
186
201
  }
187
202
  asClass() {
188
- const config = this._buildComponentConfig();
203
+ const config = {
204
+ ...this._buildComponentConfig(),
205
+ uncompiled: uncompiledDefinition("a class resolver")
206
+ };
189
207
  return createClassResolver("", config);
190
208
  }
191
209
  _buildComponentConfig() {
@@ -1,3 +1,3 @@
1
- import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
2
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-Bj1xF-M8.js";
3
- export { type ClassResolver, type ClassResolverAttributes, createClassResolver, createComponent, createComposedFamily, renderAsChild };
1
+ import { i as createClassResolver, n as ClassResolverAttributes, r as ClassResolverProps, t as ClassResolver } from "./createClassResolver-C-UOgE_d.js";
2
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BJQ5Cn76.js";
3
+ export { type ClassResolver, type ClassResolverAttributes, type ClassResolverProps, createClassResolver, createComponent, createComposedFamily, renderAsChild };
@@ -1,3 +1,3 @@
1
- import { t as createClassResolver } from "./createClassResolver-uGu2N5MK.js";
2
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-UvlKJIdx.js";
1
+ import { t as createClassResolver } from "./createClassResolver-DdrmIC5J.js";
2
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BFoaDqk7.js";
3
3
  export { createClassResolver, createComponent, createComposedFamily, renderAsChild };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animus-ui/system",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "Animus design system builder — tokens, prop groups, global styles",
5
5
  "keywords": [
6
6
  "css",
@@ -88,7 +88,7 @@
88
88
  "compile": "tsc --noEmit"
89
89
  },
90
90
  "dependencies": {
91
- "@animus-ui/properties": "0.1.23",
91
+ "@animus-ui/properties": "0.1.24",
92
92
  "csstype": "^3.2.3"
93
93
  },
94
94
  "devDependencies": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-CaNNGvbE.d.ts","names":[],"sources":["../src/conditions.ts","../src/keyframes.ts","../src/selectors.ts","../src/types/properties.ts","../src/theme/flattenScale.ts","../src/types/shared.ts","../src/types/theme.ts","../src/types/props.ts","../src/types/scales.ts","../src/types/utils.ts","../src/types/config.ts","../src/types/styling-names.ts","../src/AnimusExtended.ts","../src/types/component.ts"],"mappings":";;;;;;;;KAKY;;;;;UAOK;cAEH;cACA;;;;;UAMG,cACf,0BACA;YAEU,eAAe;YACf,cAAc;;KAGd,aAAa,OACvB,YAAY,oBA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,iCAC3B,eAAe,SAAS;KAEpB,aAAa,cAAc,8BACpC,KAAK,gBAAgB;;;;;KAOnB,YAAY,KAAK;YACV,sBAAsB;IAE9B,KAAK;EAAiB,WAAW;IACjC,UAAU,gCAAgC,KACxC,KAAK;EACH;EACA,WAAW;;KAIP,eAAe,cAAc,8BACtC,WAAW,QAAQ,0BAA0B,YAAY,MAAM;;KAItD,iBACV,WAAW,eAAe,aAC1B,WAAW,sBAAsB,QACjC,GACA,GACA,IACA,WAAW,eAAe,eACxB,mBAAmB,IAAI,IAAI,MAC7B,aAAa,KACb,WAAW,KACX,iBAAiB,MACjB,mBAAmB,mBAAmB,IAAI,IAAI;;;;;;KAOpC,kBAAkB,KAAK;EACjC,oBAAoB,WAAW,eAAe;IAE5C;EACE,qBAAqB,WAAW,sBAAsB;EACtD,gBAAgB;EAChB,oBAAoB;EACpB,oBAAoB;EACpB,cAAc,WAAW,eAAe;IAExC,iBAAiB,IAAI,IAAI,GAAG,GAAG,IAAI"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"createClassResolver-C_yq_4BM.d.ts","names":[],"sources":["../src/runtime/resolveClasses.ts","../src/runtime/createClassResolver.ts"],"mappings":";UAAU;EACR;EACA;;UAGQ;EACR,YAAY;EACZ;;UAGe;EACf,WAAW,eAAe;EAC1B,YAAY;EACZ;EACA;EACA,gBAAgB,eAAe;EAC/B,sBAAsB;;EAEtB;;;EAGA;;;;;EAKA,eAAe;;KAGL,gBAAgB,eAAe;UAEjC;EACR;EACA;EACA;EACA;;EAEA;;EAEA;EACA,aAAa;EACb,cAAc;EACd;;EAEA;;EAEA;;EAEA;EACA;;UAGQ;EACR;EACA;;EAEA,YAAY;;EAEZ,wBAAwB,eAAe;;KAGpC,oBAAoB,kCACtB,KAAK,cAAc;KAGV,oBAAoB,eAE9B,yBAAyB;;;UC3DV;EACf;EACA;;;;;;UAOe,cAAc,uBAAuB;GACnD,QAAQ;EACT,MAAM,QAAQ,QAAQ;;iBASR,oBACd,mBACA,gBAAgB,qBAChB,gBAAgB,eAChB,oBAAoB,oBACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-CtkuoXP-.d.ts","names":[],"sources":["../src/Animus.ts","../src/asset.ts","../src/transforms/createTransform.ts","../src/SystemBuilder.ts","../src/scales/createScale.ts","../src/declarations.ts","../src/theme/property-records.ts","../src/theme/createTheme.ts","../src/theme/serializeTokens.ts","../src/theme/types.ts","../src/transforms/border.ts","../src/transforms/grid.ts","../src/transforms/size.ts"],"mappings":";;;;;;cAkCa,cACX,qBAAqB,eAAe,aACpC,sBAAsB,sBAAsB,kBAC5C,mBAAmB,SAAS,eAAe,YAAY,kBACvD,iBAAiB,eAAe,gBAChC,eAAe,WAAW,eAAe,YAAY,kBACrD,qBAAqB,sBACrB,oBAAoB,eAAe;EAEnC,cAAqB;EACrB,eAAsB;EACtB,YAAmB;EACnB,cAAqB;EACrB,UAAiB;EACjB,cAAqB;EACrB,QAAe;EACf,WAAW;EAEX,YACE,OAAO,cACP,QAAQ,eACR,MAAM,YACN,UAAU,UACV,QAAQ,QACR,cAAc,cACd,QAAQ,aACR,YAAW;YAcH,UAAM,eAAA,cAAA,eAAA,YAAA,UAAA,QAAA,cAAA;EAqBhB,UAAU,iBAAiB,IAAI,mBAAmB,WAAW,KAM1C,gBACf,IACA,cACA,eACA,YACA,UACA,QACA,cACA;EAMJ,YAAY,UAAU,oBAAoB,aAAa,IAMpC,uBACf,GACA,cACA,eACA,YACA,UACA,QACA,cACA;EAIJ,QAAQ;IAAe,yBAAyB;KAC9C,MAAM,OACL,cAAc,kBAAkB;EAOnC,yBAAyB;;cAsCrB,iBACJ,qBAAqB,eAAe,aACpC,sBAAsB,sBAAsB,kBAC5C,mBAAmB,SAAS,eAAe,YAAY,kBACvD,iBAAiB,eAAe,gBAChC,eAAe,WAAW,eAAe,YAAY,kBACrD,qBAAqB,8BACb,cACR,cACA,eACA,YACA,UACA,QACA;EAGA,YACE,OAAO,cACP,QAAQ,eACR,MAAM,YACN,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