@animus-ui/system 0.1.35 → 0.1.37

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 +1 @@
1
- export { t as createClassResolver } from "./createClassResolver-Oqr1_kml.js";
1
+ export { t as createClassResolver } from "./createClassResolver-Zb3Z3Cpe.js";
@@ -392,8 +392,23 @@ type ColorOpacityRef<Config extends SystemProp> = Config['scale'] extends 'color
392
392
  * rejected). The union stays flat — cross-products hit TS2589.
393
393
  */
394
394
  type ContainerUnitValue = `${number}cqw` | `${number}cqi` | `${number}cqh` | `${number}cqb` | `${number}cqmin` | `${number}cqmax`;
395
+ /**
396
+ * A `calc()` that references at least one token of the theme's scales,
397
+ * which a strict theme scale admits in a style block as it admits the
398
+ * tokens themselves: the extractor resolves each reference there, and
399
+ * reports one that names no token. A component prop does not take it, since
400
+ * a value that arrives at runtime keeps its references unresolved. The key
401
+ * is left open, so the cost grows with the number of scales, not tokens.
402
+ */
403
+ type CalcTokenValue<Config extends SystemProp> = Config['scale'] extends keyof TokenScales<Theme> ? `calc(${ScaleTokenRef<keyof TokenScales<Theme> & string>})` : never;
395
404
  type ThemedScaleValue<Config extends SystemProp> = Config['scale'] extends keyof TokenScales<Theme> ? keyof TokenScales<Theme>[Config['scale']] | NegativeOf<Config, keyof TokenScales<Theme>[Config['scale']]> | PropertyValues<Config, StrictOrEmpty<Config, TokenScales<Theme>[Config['scale']]>> | StrictAdmissions<Config, StrictOrEmpty<Config, TokenScales<Theme>[Config['scale']]>, Config['scale'], keyof TokenScales<Theme>[Config['scale']]> | ColorOpacityRef<Config> | ContainerUnitValue : 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> | ContainerUnitValue : Config['scale'] extends ArrayScale ? Config['scale'][number] | PropertyValues<Config, StrictOrEmpty<Config, Config['scale']>> | StrictAdmissions<Config, StrictOrEmpty<Config, Config['scale']>, never, never> : PropertyValues<Config, true>;
396
405
  type ThemedScale<Config extends SystemProp> = [Config] extends [DeclarationProp] ? ResponsiveProp<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsiveProp<ThemedScaleValue<Config>>;
406
+ /**
407
+ * `ThemedScale` as a style block takes it, which also admits a token
408
+ * `calc()`. Kept apart from the public `ThemedScale`, which a library may
409
+ * use to type its components' props.
410
+ */
411
+ type ThemedStyleScale<Config extends SystemProp> = [Config] extends [DeclarationProp] ? ResponsiveProp<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsiveProp<ThemedScaleValue<Config> | CalcTokenValue<Config>>;
397
412
  /** `ThemedScale` as a component prop takes it: see `ResponsivePropValue`. */
398
413
  type ThemedPropValue<Config extends SystemProp> = [Config] extends [DeclarationProp] ? ResponsivePropValue<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsivePropValue<ThemedScaleValue<Config>>;
399
414
  type RawSelectorKey = `${string}&${string}`;
@@ -408,8 +423,8 @@ type UnderscoreBlockMembers<Config extends Record<string, SystemProp>> = { [K in
408
423
  * Must stay a FIXED type: an arm referencing the outer inferred `Props` is
409
424
  * reverse-mapped away at `.styles()` and stops checking nested values.
410
425
  */
411
- 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>;
412
- 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]>; }; };
426
+ type ThemedBlockBody<Config extends Record<string, SystemProp>> = { [K in Exclude<keyof PropertyTypes, keyof Config>]?: PassThroughProp<K>; } & { [P in keyof Config]?: ThemedStyleScale<Config[P]>; } & { [K in RawSelectorKey | RawAtRuleKey]?: ThemedBlockBody<Config>; } & UnderscoreBlockMembers<Config>;
427
+ type ThemedCSSProps<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: K extends keyof Config ? ThemedStyleScale<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]?: ThemedStyleScale<Config[P]>; }; };
413
428
  type ThemedCSSPropMap<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: ThemedCSSProps<Props[K], Config>; };
414
429
  /**
415
430
  * What an authored style input accepts: `ThemedCSSProps` key for key, with
@@ -418,9 +433,14 @@ type ThemedCSSPropMap<Props, Config extends Record<string, SystemProp>> = { [K i
418
433
  * style parameter with this, and what it stores or returns with
419
434
  * `ThemedCSSProps`.
420
435
  */
421
- 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]>; }; };
436
+ type ThemedCSSInputProps<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: K extends keyof Config ? NoInfer<ThemedStyleScale<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]?: ThemedStyleScale<Config[P]>; }; };
422
437
  /** `ThemedCSSPropMap`'s input counterpart: a style input per key. */
423
438
  type ThemedCSSInputPropMap<Props, Config extends Record<string, SystemProp>> = { [K in keyof Props]?: ThemedCSSInputProps<Props[K], Config>; };
439
+ /**
440
+ * A variant's option keys, with `true` and `false` for the keys `'true'` and
441
+ * `'false'`: a boolean variant takes its boolean.
442
+ */
443
+ type VariantKeyOf<K> = K | (K extends `${infer B extends boolean}` ? B : never);
424
444
  /**
425
445
  * A variant's options as a builder stores them: its `prop` and
426
446
  * `defaultVariant` as declared, and its `base` and `variants` as checked
@@ -509,6 +529,7 @@ declare class AnimusExtendedWithAll<PropRegistry extends Record<string, SystemPr
509
529
  protected extend(): AnimusExtended<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
510
530
  asElement<El extends keyof JSX.IntrinsicElements>(component: El): AnimusComponent<El, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
511
531
  asComponent<C extends ComponentType<any>>(AsComponent: C): AnimusWrappedComponent<C, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
532
+ asComponent<C extends ComponentType<any>, const F extends ForwardOption<This['variants'], This['statesConfig']>, This extends ForwardSource = ForwardSource>(this: This, AsComponent: C, options: AsComponentOptions<C, This['variants'], This['statesConfig'], F>): AnimusWrappedComponent<C, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps, RequiredForward<C, This['variants'], This['statesConfig'], F>>;
512
533
  asClass<This extends {
513
534
  _buildComponentConfig(): ClassResolverConfig;
514
535
  }>(this: This): ClassResolver<BuilderClassProps<This>>;
@@ -526,20 +547,20 @@ declare class AnimusExtendedWithCompounds<PropRegistry extends Record<string, Sy
526
547
  }
527
548
  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> {
528
549
  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>;
529
- variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
550
+ variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant', Default extends VariantKeyOf<Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>> = never>(options: {
530
551
  prop?: UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>;
531
- defaultVariant?: Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>;
552
+ defaultVariant?: Default | undefined;
532
553
  base?: ThemedCSSInputProps<Base, PropRegistry>;
533
554
  variants: ThemedCSSInputPropMap<Props, PropRegistry>;
534
- }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantOptions<UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>, Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>, Base, Props, PropRegistry>>, States, ActiveGroups, CustomProps>;
555
+ }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantOptions<UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>, `${Default}`, Base, Props, PropRegistry>>, States, ActiveGroups, CustomProps>;
535
556
  }
536
557
  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> {
537
- variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
558
+ variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant', Default extends VariantKeyOf<Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>> = never>(options: {
538
559
  prop?: UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>;
539
- defaultVariant?: Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>;
560
+ defaultVariant?: Default | undefined;
540
561
  base?: ThemedCSSInputProps<Base, PropRegistry>;
541
562
  variants: ThemedCSSInputPropMap<Props, PropRegistry>;
542
- }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantOptions<UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>, Extract<keyof Props, string> | InheritedOptions<Variants, PropKey>, Base, Props, PropRegistry>>, States, ActiveGroups, CustomProps>;
563
+ }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantOptions<UnadmittedName<PropKey, AdmittedNames<GroupRegistry, ActiveGroups>>, `${Default}`, Base, Props, PropRegistry>>, States, ActiveGroups, CustomProps>;
543
564
  }
544
565
  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> {
545
566
  styles<Props extends AbstractProps>(config: ThemedCSSInputProps<Props, PropRegistry>): AnimusExtendedWithBase<PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry> & BaseStyles, Variants, States, ActiveGroups, CustomProps>;
@@ -572,7 +593,7 @@ type StripIndex<T> = { [K in keyof T as string extends K ? never : number extend
572
593
  */
573
594
  type VariantProps<V> = { [K in keyof StripIndex<V>]?: StripIndex<V>[K] extends {
574
595
  variants: infer Options;
575
- } ? keyof Options | undefined : string | undefined; };
596
+ } ? VariantKeyOf<keyof Options> | undefined : string | undefined; };
576
597
  type StateProps<S> = { [K in keyof StripIndex<S>]?: boolean | undefined; };
577
598
  /**
578
599
  * Keys Animus consumes; the runtime strips them before DOM forwarding.
@@ -632,23 +653,68 @@ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K>
632
653
  type TargetClassName<P> = P extends {
633
654
  className?: infer T;
634
655
  } ? unknown extends T ? string | undefined : T | undefined : string | undefined;
656
+ /** The builder fields `asComponent()` reads its forwardable names from. */
657
+ interface ForwardSource {
658
+ variants: unknown;
659
+ statesConfig: unknown;
660
+ }
661
+ /** The variants and states of a builder, by name. */
662
+ type ForwardableName<V, S> = Extract<keyof StripIndex<V> | keyof StripIndex<S>, string>;
663
+ /**
664
+ * `asComponent()`'s `forward`: the variants and states its target receives
665
+ * as props, or `true` for all of them.
666
+ */
667
+ type ForwardOption<V, S> = true | readonly ForwardableName<V, S>[];
668
+ /** The value a forwarded name delivers: a variant's resolved option, or a
669
+ * state's boolean. */
670
+ type ForwardedValue<V, S, K> = K extends keyof StripIndex<V> ? Exclude<VariantProps<V>[K], undefined> : K extends keyof StripIndex<S> ? boolean : never;
671
+ /** The names `F` forwards. */
672
+ type ForwardedNames<V, S, F> = F extends true ? ForwardableName<V, S> : F extends readonly unknown[] ? F[number] & string : never;
673
+ /** The names `F` forwards that the target `C` takes no prop for, or takes
674
+ * one that does not accept the value delivered. */
675
+ type UnacceptedForward<C extends ComponentType<any>, V, S, F> = ForwardedNames<V, S, F> extends (infer K extends string) ? K extends keyof ComponentPropsWithRef<C> ? [ForwardedValue<V, S, K>] extends [ComponentPropsWithRef<C>[K]] ? never : K : K : never;
676
+ /**
677
+ * The forwarded variants without a default whose target prop is required:
678
+ * the wrapper requires them too, so a value always arrives. A forwarded
679
+ * state always arrives, as `false` where none is written.
680
+ */
681
+ type RequiredForward<C extends ComponentType<any>, V, S, F> = ForwardedNames<V, S, F> extends (infer K extends string) ? K extends keyof StripIndex<V> ? [Exclude<StripIndex<V>[K] extends {
682
+ defaultVariant?: infer D;
683
+ } ? D : never, undefined>] extends [never] ? Partial<Pick<ComponentPropsWithRef<C>, K>> extends Pick<ComponentPropsWithRef<C>, K> ? never : K : never : never : never;
684
+ /**
685
+ * `asComponent()`'s options, refused where the target does not accept a
686
+ * forwarded name: `forward` must then be a message naming it.
687
+ */
688
+ type AsComponentOptions<C extends ComponentType<any>, V, S, F> = [UnacceptedForward<C, V, S, F>] extends [never] ? {
689
+ forward?: F;
690
+ } : {
691
+ forward: `the target takes no prop for forwarded '${UnacceptedForward<C, V, S, F>}', or one that does not accept its value`;
692
+ };
635
693
  /**
636
694
  * The wrapped component's own props, with its ref, then exactly what the
637
695
  * builder admitted: the active groups' props, variants, states and custom
638
696
  * props. Managed keys are removed from the wrapped component's props first —
639
697
  * intersecting a variant union with its own type for a key collapses to never.
640
698
  * `as` and `asChild` are the target's own, since the runtime hands them to it:
641
- * a target without them does not offer them.
699
+ * a target without them does not offer them. The variants `RK` names are
700
+ * required.
642
701
  */
643
- type AnimusWrappedConsumerProps<C extends ComponentType<any>, PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, V, S, AG, CP extends Record<string, SystemProp>> = DistributiveOmit<ComponentPropsWithRef<C>, Exclude<AnimusManagedKeys<PR, GR, V, S, AG, CP>, 'as' | 'asChild'>> & ResolvedGroupProps<PR, GR, AG> & VariantProps<V> & StateProps<S> & CustomPropValues<CP> & SelectorAliasProps<ResolvedGroupProps<PR, GR, AG>> & {
702
+ type AnimusWrappedConsumerProps<C extends ComponentType<any>, PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, V, S, AG, CP extends Record<string, SystemProp>, RK extends string> = DistributiveOmit<ComponentPropsWithRef<C>, Exclude<AnimusManagedKeys<PR, GR, V, S, AG, CP>, 'as' | 'asChild'>> & ResolvedGroupProps<PR, GR, AG> & VariantProps<V> & StateProps<S> & CustomPropValues<CP> & SelectorAliasProps<ResolvedGroupProps<PR, GR, AG>> & {
644
703
  className?: TargetClassName<ComponentPropsWithRef<C>>;
645
704
  children?: ReactNode;
646
- };
647
- type AnimusWrappedComponent<C extends ComponentType<any>, PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, BS, V, S, AG, CP extends Record<string, SystemProp>> = ForwardRefExoticComponent<AnimusWrappedConsumerProps<C, PR, GR, V, S, AG, CP>> & ExtendFn<PR, GR, BS, V, S, AG, CP> & {
648
- readonly [ConsumerProps]: AnimusWrappedConsumerProps<C, PR, GR, V, S, AG, CP>;
705
+ } & ([RK] extends [never] ? unknown : { [K in RK]-?: Exclude<VariantProps<V>[K & keyof VariantProps<V>], undefined>; });
706
+ type AnimusWrappedComponent<C extends ComponentType<any>, PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, BS, V, S, AG, CP extends Record<string, SystemProp>, RK extends string = never> = ForwardRefExoticComponent<AnimusWrappedConsumerProps<C, PR, GR, V, S, AG, CP, RK>> & ExtendFn<PR, GR, BS, V, S, AG, CP> & {
707
+ readonly [ConsumerProps]: AnimusWrappedConsumerProps<C, PR, GR, V, S, AG, CP, RK>;
649
708
  readonly [VariantConfigBrand]: V;
650
709
  readonly variantDefaults: Readonly<Record<string, string>>;
651
710
  };
711
+ /**
712
+ * The props a consumer passes to the Animus component `C` (an `asElement()`
713
+ * or `asComponent()` result), without the selector-alias props (`_hover`
714
+ * and the like): a library's public props type, so the component itself can
715
+ * keep its inferred type, `.extend()` included, as its export.
716
+ */
717
+ type AnimusProps<C extends AnyBrandedComponent> = DistributiveOmit<C[typeof ConsumerProps], keyof SelectorAliasProps<unknown>>;
652
718
  type StripStringIndex<T> = { [K in keyof T as string extends K ? never : K]: T[K]; };
653
719
  type ExtractVariantsConfig<C> = C extends {
654
720
  readonly [VariantConfigBrand]: infer V;
@@ -691,5 +757,5 @@ type BuilderClassProps<B> = B extends {
691
757
  custom: infer CP extends Record<string, SystemProp>;
692
758
  } ? AnimusClassProps<PR, GR, V, S, AG, CP> : never : never;
693
759
  //#endregion
694
- export { EmittedScales as $, SystemProps as A, ConditionsOf as At, ArrayScale as B, ParserProps as C, Keyframes as Ct, ScaleValue as D, ConditionAliasMap as Dt, Scale as E, ConditionAlias as Et, ThemedScale as F, ReservedBySelectorRegistry as Ft, ThemeProps as G, AbstractProps as H, ThemedScaleValue as I, SelectorsOf as It, BrowserColorSchemeConfig as J, AbstractTheme as K, ThemedVariantModel as L, UnknownAtRule as Lt, ThemedCSSInputProps as M, RawAtRuleKey as Mt, ThemedCSSPropMap as N, RegistryBrand as Nt, SelectorAliasProps as O, ConditionKind as Ot, ThemedCSSProps as P, ReservedByConditionRegistry as Pt, ContextualVarRegistration as Q, ThemedVariantOptions as R, UnknownConditionAlias as Rt, Parser as S, KeyframeRef as St, PropertyValues as T, BUILT_IN_CONDITIONS as Tt, MediaQueryMap as U, MapScale as V, ResponsiveProp as W, ColorModeOptions as X, CSSColorValue as Y, ColorTokenRef as Z, CSSProps as _, BUILT_IN_SELECTORS as _t, BuilderClassProps as a, Theme as at, DeclarationKey as b, Selectors as bt, VariantPropsOf as c, ThemeStructuralKey as ct, StylingNames as d, CSSObject as dt, EmittedTokenPaths as et, SystemPicks as f, FindPath as ft, CSSPropMap as g, PathValue as gt, BuiltInSelectorAlias as h, PathToLiteral as ht, AnyBrandedComponent as i, SystemPreferenceConfig as it, ThemedCSSInputPropMap as j, NarrowedAliases as jt, SystemProp as k, Conditions as kt, AnimusExtended as l, TokenDefinition as lt, BuiltInConditionAlias as m, Path as mt, AnimusComponent as n, ScaleTokenRef as nt, ComposedFamily as o, ThemeCssFragment as ot, AbstractParser as p, LiteralPaths as pt, BaseTheme as q, AnimusWrappedComponent as r, SerializedTheme as rt, SharedConfig as s, ThemeManifest as st, AnimusClassProps as t, ModeAliasDefinition as tt, AnimusExtendedWithAll as u, TokenScales as ut, CompoundEntry as v, SelectorAlias as vt, Prop as w, AtRuleValue as wt, DeclarationProp as x, KeyframeFrameMap as xt, CustomPropConfig as y, SelectorAliasMap as yt, VariantConfig as z };
695
- //# sourceMappingURL=component-CF8uqQVW.d.ts.map
760
+ export { BaseTheme as $, PropertyValues as A, AtRuleValue as At, ThemedScale as B, ReservedByConditionRegistry as Bt, CompoundEntry as C, BUILT_IN_SELECTORS as Ct, Parser as D, KeyframeFrameMap as Dt, DeclarationProp as E, Selectors as Et, SystemProps as F, Conditions as Ft, VariantKeyOf as G, ThemedVariantModel as H, SelectorsOf as Ht, ThemedCSSInputPropMap as I, ConditionsOf as It, AbstractProps as J, ArrayScale as K, ThemedCSSInputProps as L, NarrowedAliases as Lt, ScaleValue as M, ConditionAlias as Mt, SelectorAliasProps as N, ConditionAliasMap as Nt, ParserProps as O, KeyframeRef as Ot, SystemProp as P, ConditionKind as Pt, AbstractTheme as Q, ThemedCSSPropMap as R, RawAtRuleKey as Rt, CSSProps as S, PathValue as St, DeclarationKey as T, SelectorAliasMap as Tt, ThemedVariantOptions as U, UnknownAtRule as Ut, ThemedScaleValue as V, ReservedBySelectorRegistry as Vt, VariantConfig as W, UnknownConditionAlias as Wt, ResponsiveProp as X, MediaQueryMap as Y, ThemeProps as Z, SystemPicks as _, CSSObject as _t, AnyBrandedComponent as a, EmittedScales as at, BuiltInSelectorAlias as b, Path as bt, ComposedFamily as c, ScaleTokenRef as ct, RequiredForward as d, Theme as dt, BrowserColorSchemeConfig as et, SharedConfig as f, ThemeCssFragment as ft, StylingNames as g, TokenScales as gt, AnimusExtendedWithAll as h, TokenDefinition as ht, AnimusWrappedComponent as i, ContextualVarRegistration as it, Scale as j, BUILT_IN_CONDITIONS as jt, Prop as k, Keyframes as kt, ForwardOption as l, SerializedTheme as lt, AnimusExtended as m, ThemeStructuralKey as mt, AnimusComponent as n, ColorModeOptions as nt, AsComponentOptions as o, EmittedTokenPaths as ot, VariantPropsOf as p, ThemeManifest as pt, MapScale as q, AnimusProps as r, ColorTokenRef as rt, BuilderClassProps as s, ModeAliasDefinition as st, AnimusClassProps as t, CSSColorValue as tt, ForwardSource as u, SystemPreferenceConfig as ut, AbstractParser as v, FindPath as vt, CustomPropConfig as w, SelectorAlias as wt, CSSPropMap as x, PathToLiteral as xt, BuiltInConditionAlias as y, LiteralPaths as yt, ThemedCSSProps as z, RegistryBrand as zt };
761
+ //# sourceMappingURL=component-HUzhWB2S.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-HUzhWB2S.d.ts","names":["KnownKeys"],"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;;;;;UAYK;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;WAC/B,UAAU;;;;;;KAOT,gBAAgB,yCAAyC,YAEjE;;;;;KAMQ;;;;;KAYA;UASK;;EAEf;;EAEA;;EAEA,MAAM;;KAGI,oBAAoB,eAAe;;;;;cAMlC,qBAAqB;;;;;;;KC/GtB,mBAAmB,eAAe;UAE7B,YAAY;WAClB;WACA,QAAQ;EACjB;EACA;;KAGU,UAAU,YAAY,eAAe;WACtC;WACA,sBACG,WAAW;aACV;aACA,QAAQ,IAAI;;gBAIf,WAAW,eAAe,YAAY;;;;;;;UClBjC;EACf;EACA;;KAGU,mBAAmB,eAAe;;;;;UAO7B;cAEJ,oBAAoB;;;;KCV5B;EAEH,cACI;;KAWD,oBAAoB,iCACvB,mBAAmB,aACjB,iBAAiB,aAEjB,KAAK,mBAAmB,iCACxB,KAAK,cAAc,kBAAkB,sBACrC;KAEC;;KAGA;KAEA,kBACF,KAAK,cAAc,qBAAqB,oBACrC,4CAGC,8BAA8B;KAIhC;KAcA;KAMA,YAAY,gBACd,KAAK,cAAc,qBAAqB,mBACrC,oBAAoB,WAAW,KAC/B;;;;;KAQD,gBAAgB;EACnB,WACI,oBAAoB,2BAClB;;UAGS,cAAc,uCAE3B,KACE,oBAAoB,kBACd,qBAAqB,YAAY,0BAEzC,cACA,YAAY,YACZ,gBAAgB;EAClB;GACC;;;;;KCzF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;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-CF8uqQVW.js";
1
+ import { a as AnyBrandedComponent, c as ComposedFamily, f as SharedConfig } from "./component-HUzhWB2S.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-DaKuXW67.d.ts.map
15
+ //# sourceMappingURL=compose-i0sYxXoM.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compose-DaKuXW67.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-i0sYxXoM.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-DaKuXW67.js";
1
+ import { t as compose } from "./compose-i0sYxXoM.js";
2
2
  export { compose };
@@ -1,4 +1,4 @@
1
- import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-CF8uqQVW.js";
1
+ import { a as AnyBrandedComponent, c as ComposedFamily, f as SharedConfig } from "./component-HUzhWB2S.js";
2
2
  import { ForwardRefExoticComponent } from "react";
3
3
  //#region src/composeWithContext.d.ts
4
4
  /**
@@ -310,7 +310,8 @@ function applyCompoundClasses(classes, props, config) {
310
310
  for (const compound of config.compounds) {
311
311
  let match = true;
312
312
  for (const [prop, expected] of Object.entries(compound.conditions)) {
313
- const current = props[prop] ?? config.variants?.[prop]?.default;
313
+ const value = props[prop] ?? config.variants?.[prop]?.default;
314
+ const current = value == null ? value : String(value);
314
315
  if (Array.isArray(expected) ? !expected.includes(current) : current !== expected) {
315
316
  match = false;
316
317
  break;
@@ -1,7 +1,12 @@
1
1
  import { a as ClassResolverConfig, o as DynamicPropConfig, s as SystemPropMap } from "./createClassResolver-Bsjk8lII.js";
2
2
  import { ForwardRefExoticComponent, ReactElement, ReactNode, Ref, forwardRef } from "react";
3
3
  //#region src/runtime/index.d.ts
4
- interface ComponentConfig extends ClassResolverConfig {}
4
+ interface ComponentConfig extends ClassResolverConfig {
5
+ /** An `asComponent()` target's forwarded variants and states: `true` for
6
+ * all of them. Each reaches the target as a prop, a variant as its
7
+ * resolved value, a state as its boolean. */
8
+ forward?: true | readonly string[];
9
+ }
5
10
  type ElementType = string | React.ComponentType<any>;
6
11
  type Transform = NonNullable<DynamicPropConfig[string]['transform']>;
7
12
  type AnimusComponent = ReturnType<typeof forwardRef> & {
@@ -37,4 +42,4 @@ interface ComposedFamilyConfig {
37
42
  declare function createComposedFamily(slots: Record<string, ForwardRefExoticComponent<any>>, config: ComposedFamilyConfig): Record<string, ForwardRefExoticComponent<any>>;
38
43
  //#endregion
39
44
  export { createComponent as n, renderAsChild as r, createComposedFamily as t };
40
- //# sourceMappingURL=createComposedFamily-DoNVYx77.d.ts.map
45
+ //# sourceMappingURL=createComposedFamily-Cc6p4YYP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createComposedFamily-Cc6p4YYP.d.ts","names":[],"sources":["../src/runtime/index.ts","../src/runtime/createComposedFamily.ts"],"mappings":";;;UAqBU,wBAAwB;;;;EAIhC;;KAGG,uBAAuB,MAAM;KAE7B,YAAY,YAAY;KAExB,kBAAkB,kBAAkB;EACvC;EACA,iBAAiB,SAAS;EAC1B,kBAAkB,SAAS,eAAe;;;;;;;;;;;;;;;;;;;;iBAyJ5B,cACd,UAAU,WACV,eACA,MAAM,WACL;iBAqDa,gBACd,SAAS,aACT,mBACA,iBAAiB,iBACjB,gBAAgB,eAChB,oBAAoB,oBACnB;;;UC7OO;EACR;;iBAGc,qBACd,OAAO,eAAe,iCACtB,QAAQ,uBACP,eAAe"}
@@ -1,4 +1,4 @@
1
- import { a as withUniqueSystemPropNames, i as resolveClasses, n as reportUncompiledRender, o as IS_DEV } from "./createClassResolver-Oqr1_kml.js";
1
+ import { a as withUniqueSystemPropNames, i as resolveClasses, n as reportUncompiledRender, o as IS_DEV } from "./createClassResolver-Zb3Z3Cpe.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
@@ -131,7 +131,7 @@ function joinClassNames(classes, className) {
131
131
  * place, which merges the caller's result as a plain value merges: Animus's
132
132
  * classes first, and Animus's dynamic style over the caller's style.
133
133
  */
134
- function renderElement(element, filterProps, props, ref, classes, dynamicStyle) {
134
+ function renderElement(element, filterProps, props, ref, classes, dynamicStyle, forwardedDefaults) {
135
135
  const ownsElement = typeof element === "string";
136
136
  const target = ownsElement ? props.as || element : element;
137
137
  const { className, style } = props;
@@ -141,6 +141,7 @@ function renderElement(element, filterProps, props, ref, classes, dynamicStyle)
141
141
  className: !ownsElement && typeof className === "function" ? (state) => joinClassNames(ownClassName, className(state)) : joinClassNames(ownClassName, className)
142
142
  };
143
143
  forwardProps(props, filterProps, domProps);
144
+ for (const [name, value] of forwardedDefaults) domProps[name] ??= value;
144
145
  if (dynamicStyle && !ownsElement && typeof style === "function") domProps.style = (state) => ({
145
146
  ...style(state),
146
147
  ...dynamicStyle
@@ -157,12 +158,17 @@ function createComponent(element, className, componentConfig, systemPropMap, dyn
157
158
  const stateProps = config.states || [];
158
159
  const systemPropNames = config.systemPropNames || [];
159
160
  const ownsPolymorphism = typeof element === "string";
161
+ const forward = ownsPolymorphism ? void 0 : componentConfig.forward;
162
+ const forwarded = (name) => forward === true || (forward?.includes(name) ?? false);
160
163
  const filterProps = /* @__PURE__ */ new Set([
161
164
  ...ownsPolymorphism ? ["as", "asChild"] : [],
162
- ...variantProps,
163
- ...stateProps,
165
+ ...variantProps.filter((name) => !forwarded(name)),
166
+ ...stateProps.filter((name) => !forwarded(name)),
164
167
  ...systemPropNames
165
168
  ]);
169
+ const variantDefaults = {};
170
+ for (const [prop, vc] of Object.entries(config.variants ?? {})) if (vc.default != null) variantDefaults[prop] = vc.default;
171
+ const forwardedDefaults = [...Object.entries(variantDefaults), ...stateProps.map((name) => [name, false])].filter(([name]) => forwarded(name));
166
172
  const Component = forwardRef((props, ref) => {
167
173
  if (typeof __ANIMUS_DEV__ === "boolean" ? __ANIMUS_DEV__ : IS_DEV) reportUncompiledRender(config.uncompiled, Component.displayName || void 0);
168
174
  const { classes, dynamicStyle } = resolveClasses(className, props, config, systemPropMap, dynamicPropConfig);
@@ -171,13 +177,9 @@ function createComponent(element, className, componentConfig, systemPropMap, dyn
171
177
  forwardProps(props, filterProps, slotProps);
172
178
  return renderSlot(props.children, slotProps, ref, dynamicStyle);
173
179
  }
174
- return renderElement(element, filterProps, props, ref, classes, dynamicStyle);
180
+ return renderElement(element, filterProps, props, ref, classes, dynamicStyle, forwardedDefaults);
175
181
  });
176
182
  Component.displayName = className;
177
- const variantDefaults = {};
178
- if (config.variants) {
179
- for (const [prop, vc] of Object.entries(config.variants)) if (vc.default != null) variantDefaults[prop] = vc.default;
180
- }
181
183
  const customTransforms = {};
182
184
  for (const [prop, dc] of Object.entries(config.customDynamicConfig ?? {})) if (dc.transform) customTransforms[prop] = dc.transform;
183
185
  return Object.assign(Component, {
@@ -1,4 +1,4 @@
1
- import { Z as NamedTransform } from "../index-DQgqNx8O.js";
1
+ import { Z as NamedTransform } from "../index-CcUAs8lA.js";
2
2
  //#region src/groups/index.d.ts
3
3
  export declare const color: {
4
4
  readonly color: {
@@ -1,7 +1,7 @@
1
1
  import { a as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-Bsjk8lII.js";
2
- import { A as SystemProps, Ct as Keyframes, Dt as ConditionAliasMap, Ft as ReservedBySelectorRegistry, H as AbstractProps, K as AbstractTheme, M as ThemedCSSInputProps, N as ThemedCSSPropMap, Nt as RegistryBrand, P as ThemedCSSProps, Pt as ReservedByConditionRegistry, Q as ContextualVarRegistration, R as ThemedVariantOptions, X as ColorModeOptions, Y as CSSColorValue, _ as CSSProps, a as BuilderClassProps, ct as ThemeStructuralKey, d as StylingNames, dt as CSSObject, f as SystemPicks, g as CSSPropMap, h as BuiltInSelectorAlias, j as ThemedCSSInputPropMap, jt as NarrowedAliases, k as SystemProp, l as AnimusExtended, lt as TokenDefinition, m as BuiltInConditionAlias, n as AnimusComponent, ot as ThemeCssFragment, p as AbstractParser, pt as LiteralPaths, r as AnimusWrappedComponent, rt as SerializedTheme, st as ThemeManifest, tt as ModeAliasDefinition, v as CompoundEntry, wt as AtRuleValue, x as DeclarationProp, xt as KeyframeFrameMap, y as CustomPropConfig, yt as SelectorAliasMap, z as VariantConfig } from "./component-CF8uqQVW.js";
3
- import "./compose-DaKuXW67.js";
4
- import "./createComposedFamily-DoNVYx77.js";
2
+ import { At as AtRuleValue, Bt as ReservedByConditionRegistry, C as CompoundEntry, Dt as KeyframeFrameMap, E as DeclarationProp, F as SystemProps, G as VariantKeyOf, I as ThemedCSSInputPropMap, J as AbstractProps, L as ThemedCSSInputProps, Lt as NarrowedAliases, Nt as ConditionAliasMap, P as SystemProp, Q as AbstractTheme, R as ThemedCSSPropMap, S as CSSProps, Tt as SelectorAliasMap, U as ThemedVariantOptions, Vt as ReservedBySelectorRegistry, W as VariantConfig, _ as SystemPicks, _t as CSSObject, b as BuiltInSelectorAlias, d as RequiredForward, ft as ThemeCssFragment, g as StylingNames, ht as TokenDefinition, i as AnimusWrappedComponent, it as ContextualVarRegistration, kt as Keyframes, l as ForwardOption, lt as SerializedTheme, m as AnimusExtended, mt as ThemeStructuralKey, n as AnimusComponent, nt as ColorModeOptions, o as AsComponentOptions, pt as ThemeManifest, s as BuilderClassProps, st as ModeAliasDefinition, tt as CSSColorValue, u as ForwardSource, v as AbstractParser, w as CustomPropConfig, x as CSSPropMap, y as BuiltInConditionAlias, yt as LiteralPaths, z as ThemedCSSProps, zt as RegistryBrand } from "./component-HUzhWB2S.js";
3
+ import "./compose-i0sYxXoM.js";
4
+ import "./createComposedFamily-Cc6p4YYP.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>> {
@@ -17,6 +17,7 @@ declare class AnimusWithAll<PropRegistry extends Record<string, SystemProp>, Gro
17
17
  protected extend(): AnimusExtended<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
18
18
  asElement<El extends keyof JSX.IntrinsicElements>(component: El): AnimusComponent<El, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
19
19
  asComponent<C extends ComponentType<any>>(AsComponent: C): AnimusWrappedComponent<C, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
20
+ asComponent<C extends ComponentType<any>, const F extends ForwardOption<This['variants'], This['statesConfig']>, This extends ForwardSource = ForwardSource>(this: This, AsComponent: C, options: AsComponentOptions<C, This['variants'], This['statesConfig'], F>): AnimusWrappedComponent<C, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps, RequiredForward<C, This['variants'], This['statesConfig'], F>>;
20
21
  asClass<This extends {
21
22
  _buildComponentConfig(): ClassResolverConfig;
22
23
  }>(this: This): ClassResolver<BuilderClassProps<This>>;
@@ -38,21 +39,21 @@ declare class AnimusWithCompounds<PropRegistry extends Record<string, SystemProp
38
39
  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
40
  constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, compounds?: CompoundEntry[]);
40
41
  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
- variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
42
+ variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant', Default extends VariantKeyOf<Extract<keyof Props, string>> = never>(options: {
42
43
  prop?: PropKey;
43
- defaultVariant?: Extract<keyof Props, string>;
44
+ defaultVariant?: Default | undefined;
44
45
  base?: ThemedCSSInputProps<Base, PropRegistry>;
45
46
  variants: ThemedCSSInputPropMap<Props, PropRegistry>;
46
- }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantOptions<PropKey, Extract<keyof Props, string>, Base, Props, PropRegistry>>>;
47
+ }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, ThemedVariantOptions<PropKey, `${Default}`, Base, Props, PropRegistry>>>;
47
48
  }
48
49
  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, {}> {
49
50
  constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles);
50
- variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
51
+ variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant', Default extends VariantKeyOf<Extract<keyof Props, string>> = never>(options: {
51
52
  prop?: PropKey;
52
- defaultVariant?: Extract<keyof Props, string>;
53
+ defaultVariant?: Default | undefined;
53
54
  base?: ThemedCSSInputProps<Base, PropRegistry>;
54
55
  variants: ThemedCSSInputPropMap<Props, PropRegistry>;
55
- }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Record<PropKey, ThemedVariantOptions<PropKey, Extract<keyof Props, string>, Base, Props, PropRegistry>>>;
56
+ }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Record<PropKey, ThemedVariantOptions<PropKey, `${Default}`, Base, Props, PropRegistry>>>;
56
57
  }
57
58
  declare class Animus<PropRegistry extends Record<string, SystemProp>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>> extends AnimusWithBase<PropRegistry, GroupRegistry, {}> {
58
59
  constructor(props: PropRegistry, groups: GroupRegistry);
@@ -144,10 +145,26 @@ interface FontFace {
144
145
  * first `url` source in a format browsers load (an EOT or SVG font is
145
146
  * skipped). Order `src` as the browser should prefer it, WOFF2 first.
146
147
  * That source must be an `asset()` file or a root-relative or absolute
147
- * URL. The host delivers the `<link rel="preload">` (and a
148
- * `preconnect` for another origin): Vite injects it into `index.html`;
149
- * Next renders it through `AnimusFontPreloads`; Rollup, webpack and the
150
- * CLI emit a manifest for `renderFontPreloads`.
148
+ * URL. The host delivers the `<link rel="preload">`: Vite injects it
149
+ * into `index.html`; Next renders it through `AnimusFontPreloads`;
150
+ * Rollup, webpack and the CLI emit a manifest for `renderFontPreloads`.
151
+ * A host's `fontPreloads` option (family names, or `{ family, weight?,
152
+ * style? }`) decides instead of this flag, for an app that renders only
153
+ * some of a system's faces.
154
+ *
155
+ * A preload competes with the critical CSS and JavaScript for the
156
+ * connection: it trades first paint for no font swap. In consumer apps a
157
+ * WOFF2 face delayed first paint by about 40–140 ms (one 219 KB variable
158
+ * WOFF2: about 140 ms on a fast link, 1.1 s on a slow one), while an
159
+ * 877 KB TrueType face removed the swap but delayed first paint by about
160
+ * 5 s on slow 4G. Preload WOFF2, subset a large font, and preload only the
161
+ * faces the first screen needs. A preloaded file that is not WOFF2 or
162
+ * WOFF, or an `asset()` file over 150 KB, reports
163
+ * `animus.style.font-face-preload-costly`.
164
+ *
165
+ * `preload` is a source-level flag: the system module ships to the
166
+ * browser, so changing it changes that module's chunk hash, and the hashes
167
+ * of the chunks that import it.
151
168
  */
152
169
  preload?: boolean;
153
170
  }
@@ -654,7 +671,7 @@ declare class ThemeBuilder<T extends Record<string, unknown> = Record<string, un
654
671
  } ? C : unknown) & AliasKeys>)]: (OrderedOmit<T, "colors"> & Record<"colors", (T extends {
655
672
  colors: infer C;
656
673
  } ? C : unknown) & AliasKeys>)[K]; }, Emitted, "extend">;
657
- addScale<Key extends string, Values extends Record<string | number, string | number | Record<string, string | number>>, Emit extends boolean = false, Replace extends boolean = false, NewScale extends LiteralPaths<Values, '.'> = LiteralPaths<Values, '.'>>(config: {
674
+ addScale<Key extends string, Values extends Record<keyof Values, string | number | Record<string, string | number>>, Emit extends boolean = false, Replace extends boolean = false, NewScale extends LiteralPaths<Values, '.'> = LiteralPaths<Values, '.'>>(config: {
658
675
  name: Key & (Key extends ThemeStructuralKey ? never : unknown);
659
676
  values: Values;
660
677
  emit?: Emit;
@@ -717,4 +734,4 @@ declare const percentageOrAbsolute: (coordinate: number) => string | 0;
717
734
  declare const size: NamedTransform;
718
735
  //#endregion
719
736
  export { areTransformsEqual as $, GlobalStylesFactory as A, SystemBuilderStage as B, CreateKeyframesFactory as C, FontFaceUrlSrc as D, FontFaceSrc as E, RegisterableKeyframes as F, VocabularyKeyframesEntry as G, SystemInstance as H, RegistrySnapshot as I, VocabularyOf as J, VocabularyLegacyVerbEntry as K, SealedSystemInstance as L, LibraryBundle as M, PropGroup as N, GlobalStyleBlock as O, RegisterableGlobalStyles as P, TransformFn as Q, SerializedConfig as R, stringScale as S, FontFaceLocalSrc as T, VocabularyCollisionEntry as U, SystemBundle as V, VocabularyGlobalStyleEntry as W, createSystem as X, VocabularyRecord as Y, NamedTransform as Z, ThemeBuilderStage as _, borderShorthand as a, AnimusWithAll as at, numericOrStringScale as b, ColorModeConfig as c, MergeTheme as d, createTransform as et, PrivateThemeKeys as f, ThemeBuilder as g, Flatten as h, gridItemRatio as i, Animus as it, KeyframesFrameData as j, GlobalStyleMap as k, Mergable as l, SanitizeKey as m, size as n, AssetRef as nt, Assign as o, KeyAsVariable as p, VocabularyNameCollision as q, gridItem as r, asset as rt, AssignValueIfUnmergable as s, percentageOrAbsolute as t, ASSET_PLACEHOLDER_PREFIX as tt, Merge as u, createTheme as v, FontFace as w, numericScale as x, createScale as y, SystemBuilder as z };
720
- //# sourceMappingURL=index-DQgqNx8O.d.ts.map
737
+ //# sourceMappingURL=index-CcUAs8lA.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CcUAs8lA.d.ts","names":["_$__createTransform0.NamedTransform","_$__createTransform0.NamedTransform","_$__createTransform0.NamedTransform"],"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":";;;;;;cA2Ca,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,KAS1C,gBACf,IACA,cACA,eACA,YACA,UACA,QACA,cACA;EAMJ,YAAY,UAAU,oBACpB,aAAa,IACZ,uBACD,GACA,cACA,eACA,YACA,UACA,QACA,cACA;EAIF,YACE,UAAU,0BACJ,UAAU,cAAc,kBAAkB,uBAChD,aAAa,gBAAgB,eAE7B,MAAM,MACN,aAAa,GACb,SAAS,mBAAmB,GAAG,kBAAkB,sBAAsB,KACtE,uBACD,GACA,cACA,eACA,YACA,UACA,QACA,cACA,aACA,gBAAgB,GAAG,kBAAkB,sBAAsB;EAuB7D,QAAQ;IAAe,yBAAyB;KAC9C,MAAM,OACL,cAAc,kBAAkB;EAUnC,yBAAyB;;cAsCrB,iBACJ,qBAAqB,eAAe,aACpC,sBAAsB,sBAAsB,kBAC5C,mBAAmB,SAAS,eAAe,YAAY,kBACvD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QACnB,WAAW,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,iBAAAA;;;;cCAA,UAAAC;;cAaA,eAAAA;;;;cCbA,uBAAoB;;cAWpB,MAAAC"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as createClassResolver, n as ClassResolverAttributes, r as ClassResolverProps, t as ClassResolver } from "./createClassResolver-Bsjk8lII.js";
2
- import { $ as EmittedScales, A as SystemProps, At as ConditionsOf, B as ArrayScale, C as ParserProps, Ct as Keyframes, D as ScaleValue, Dt as ConditionAliasMap, E as Scale, Et as ConditionAlias, F as ThemedScale, Ft as ReservedBySelectorRegistry, G as ThemeProps, H as AbstractProps, I as ThemedScaleValue, It as SelectorsOf, J as BrowserColorSchemeConfig, K as AbstractTheme, L as ThemedVariantModel, Lt as UnknownAtRule, M as ThemedCSSInputProps, Mt as RawAtRuleKey, N as ThemedCSSPropMap, Nt as RegistryBrand, O as SelectorAliasProps, Ot as ConditionKind, P as ThemedCSSProps, Pt as ReservedByConditionRegistry, Q as ContextualVarRegistration, R as ThemedVariantOptions, Rt as UnknownConditionAlias, S as Parser, St as KeyframeRef, T as PropertyValues, Tt as BUILT_IN_CONDITIONS, U as MediaQueryMap, V as MapScale, W as ResponsiveProp, X as ColorModeOptions, Y as CSSColorValue, Z as ColorTokenRef, _ as CSSProps, _t as BUILT_IN_SELECTORS, at as Theme, b as DeclarationKey, bt as Selectors, c as VariantPropsOf, ct as ThemeStructuralKey, dt as CSSObject, et as EmittedTokenPaths, ft as FindPath, g as CSSPropMap, gt as PathValue, h as BuiltInSelectorAlias, ht as PathToLiteral, i as AnyBrandedComponent, it as SystemPreferenceConfig, j as ThemedCSSInputPropMap, jt as NarrowedAliases, k as SystemProp, kt as Conditions, l as AnimusExtended, m as BuiltInConditionAlias, mt as Path, n as AnimusComponent, nt as ScaleTokenRef, o as ComposedFamily, p as AbstractParser, pt as LiteralPaths, q as BaseTheme, r as AnimusWrappedComponent, rt as SerializedTheme, s as SharedConfig, st as ThemeManifest, t as AnimusClassProps, u as AnimusExtendedWithAll, ut as TokenScales, v as CompoundEntry, vt as SelectorAlias, w as Prop, wt as AtRuleValue, x as DeclarationProp, xt as KeyframeFrameMap, y as CustomPropConfig, yt as SelectorAliasMap, z as VariantConfig } from "./component-CF8uqQVW.js";
3
- import { t as compose } from "./compose-DaKuXW67.js";
4
- import { $ as areTransformsEqual, A as GlobalStylesFactory, B as SystemBuilderStage, C as CreateKeyframesFactory, D as FontFaceUrlSrc, E as FontFaceSrc, F as RegisterableKeyframes, G as VocabularyKeyframesEntry, H as SystemInstance, I as RegistrySnapshot, J as VocabularyOf, K as VocabularyLegacyVerbEntry, L as SealedSystemInstance, M as LibraryBundle, N as PropGroup, O as GlobalStyleBlock, P as RegisterableGlobalStyles, Q as TransformFn, R as SerializedConfig, S as stringScale, T as FontFaceLocalSrc, U as VocabularyCollisionEntry, V as SystemBundle, W as VocabularyGlobalStyleEntry, X as createSystem, Y as VocabularyRecord, Z as NamedTransform, _ as ThemeBuilderStage, a as borderShorthand, at as AnimusWithAll, b as numericOrStringScale, c as ColorModeConfig, d as MergeTheme, et as createTransform, f as PrivateThemeKeys, g as ThemeBuilder, h as Flatten, i as gridItemRatio, it as Animus, j as KeyframesFrameData, k as GlobalStyleMap, l as Mergable, m as SanitizeKey, n as size, nt as AssetRef, o as Assign, p as KeyAsVariable, q as VocabularyNameCollision, r as gridItem, rt as asset, s as AssignValueIfUnmergable, t as percentageOrAbsolute, tt as ASSET_PLACEHOLDER_PREFIX, u as Merge, v as createTheme, w as FontFace, x as numericScale, y as createScale, z as SystemBuilder } from "./index-DQgqNx8O.js";
5
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-DoNVYx77.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 FontFaceLocalSrc, type FontFaceSrc, type FontFaceUrlSrc, 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 PropGroup, 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 ThemedVariantOptions, 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 };
2
+ import { $ as BaseTheme, A as PropertyValues, At as AtRuleValue, B as ThemedScale, Bt as ReservedByConditionRegistry, C as CompoundEntry, Ct as BUILT_IN_SELECTORS, D as Parser, Dt as KeyframeFrameMap, E as DeclarationProp, Et as Selectors, F as SystemProps, Ft as Conditions, G as VariantKeyOf, H as ThemedVariantModel, Ht as SelectorsOf, I as ThemedCSSInputPropMap, It as ConditionsOf, J as AbstractProps, K as ArrayScale, L as ThemedCSSInputProps, Lt as NarrowedAliases, M as ScaleValue, Mt as ConditionAlias, N as SelectorAliasProps, Nt as ConditionAliasMap, O as ParserProps, Ot as KeyframeRef, P as SystemProp, Pt as ConditionKind, Q as AbstractTheme, R as ThemedCSSPropMap, Rt as RawAtRuleKey, S as CSSProps, St as PathValue, T as DeclarationKey, Tt as SelectorAliasMap, U as ThemedVariantOptions, Ut as UnknownAtRule, V as ThemedScaleValue, Vt as ReservedBySelectorRegistry, W as VariantConfig, Wt as UnknownConditionAlias, X as ResponsiveProp, Y as MediaQueryMap, Z as ThemeProps, _t as CSSObject, a as AnyBrandedComponent, at as EmittedScales, b as BuiltInSelectorAlias, bt as Path, c as ComposedFamily, ct as ScaleTokenRef, dt as Theme, et as BrowserColorSchemeConfig, f as SharedConfig, gt as TokenScales, h as AnimusExtendedWithAll, i as AnimusWrappedComponent, it as ContextualVarRegistration, j as Scale, jt as BUILT_IN_CONDITIONS, k as Prop, kt as Keyframes, lt as SerializedTheme, m as AnimusExtended, mt as ThemeStructuralKey, n as AnimusComponent, nt as ColorModeOptions, ot as EmittedTokenPaths, p as VariantPropsOf, pt as ThemeManifest, q as MapScale, r as AnimusProps, rt as ColorTokenRef, t as AnimusClassProps, tt as CSSColorValue, ut as SystemPreferenceConfig, v as AbstractParser, vt as FindPath, w as CustomPropConfig, wt as SelectorAlias, x as CSSPropMap, xt as PathToLiteral, y as BuiltInConditionAlias, yt as LiteralPaths, z as ThemedCSSProps, zt as RegistryBrand } from "./component-HUzhWB2S.js";
3
+ import { t as compose } from "./compose-i0sYxXoM.js";
4
+ import { $ as areTransformsEqual, A as GlobalStylesFactory, B as SystemBuilderStage, C as CreateKeyframesFactory, D as FontFaceUrlSrc, E as FontFaceSrc, F as RegisterableKeyframes, G as VocabularyKeyframesEntry, H as SystemInstance, I as RegistrySnapshot, J as VocabularyOf, K as VocabularyLegacyVerbEntry, L as SealedSystemInstance, M as LibraryBundle, N as PropGroup, O as GlobalStyleBlock, P as RegisterableGlobalStyles, Q as TransformFn, R as SerializedConfig, S as stringScale, T as FontFaceLocalSrc, U as VocabularyCollisionEntry, V as SystemBundle, W as VocabularyGlobalStyleEntry, X as createSystem, Y as VocabularyRecord, Z as NamedTransform, _ as ThemeBuilderStage, a as borderShorthand, at as AnimusWithAll, b as numericOrStringScale, c as ColorModeConfig, d as MergeTheme, et as createTransform, f as PrivateThemeKeys, g as ThemeBuilder, h as Flatten, i as gridItemRatio, it as Animus, j as KeyframesFrameData, k as GlobalStyleMap, l as Mergable, m as SanitizeKey, n as size, nt as AssetRef, o as Assign, p as KeyAsVariable, q as VocabularyNameCollision, r as gridItem, rt as asset, s as AssignValueIfUnmergable, t as percentageOrAbsolute, tt as ASSET_PLACEHOLDER_PREFIX, u as Merge, v as createTheme, w as FontFace, x as numericScale, y as createScale, z as SystemBuilder } from "./index-CcUAs8lA.js";
5
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-Cc6p4YYP.js";
6
+ export { ASSET_PLACEHOLDER_PREFIX, type AbstractParser, type AbstractProps, type AbstractTheme, Animus, type AnimusClassProps, type AnimusComponent, AnimusExtended, AnimusExtendedWithAll, type AnimusProps, 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 FontFaceLocalSrc, type FontFaceSrc, type FontFaceUrlSrc, 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 PropGroup, 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 ThemedVariantOptions, type TokenScales, type TransformFn, type UnknownAtRule, type UnknownConditionAlias, type VariantConfig, type VariantKeyOf, 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 { r as uncompiledDefinition, t as createClassResolver } from "./createClassResolver-Oqr1_kml.js";
2
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-C8rwilXT.js";
1
+ import { r as uncompiledDefinition, t as createClassResolver } from "./createClassResolver-Zb3Z3Cpe.js";
2
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-P8DAQON7.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
@@ -25,6 +25,17 @@ function deepMerge(target, source) {
25
25
  else result[key] = source[key];
26
26
  return result;
27
27
  }
28
+ /**
29
+ * A variant's options with a boolean `defaultVariant` stored as the key it
30
+ * names (`true` as `'true'`), as the extractor reads it.
31
+ */
32
+ function withDefaultKey(options) {
33
+ const { defaultVariant } = options;
34
+ return defaultVariant === true || defaultVariant === false ? {
35
+ ...options,
36
+ defaultVariant: String(defaultVariant)
37
+ } : options;
38
+ }
28
39
  //#endregion
29
40
  //#region src/utils/stylingNameCollisions.ts
30
41
  /**
@@ -76,9 +87,10 @@ var AnimusExtendedWithAll = class {
76
87
  const extendFn = this.extend.bind(this);
77
88
  return Object.assign(Component, { extend: extendFn });
78
89
  }
79
- asComponent(AsComponent) {
90
+ asComponent(AsComponent, options) {
80
91
  const config = {
81
92
  ...this._buildComponentConfig(),
93
+ ...options?.forward === void 0 ? {} : { forward: options.forward },
82
94
  uncompiled: uncompiledDefinition(`a component wrapping ${AsComponent.displayName || AsComponent.name || "an anonymous component"}`)
83
95
  };
84
96
  const Component = createComponent(AsComponent, "", config);
@@ -143,13 +155,13 @@ var AnimusExtendedWithVariants = class AnimusExtendedWithVariants extends Animus
143
155
  }
144
156
  variant(options) {
145
157
  const prop = options.prop || "variant";
146
- return new AnimusExtendedWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: options }), this.statesConfig, this.activeGroups, this.custom, this.compounds);
158
+ return new AnimusExtendedWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: withDefaultKey(options) }), this.statesConfig, this.activeGroups, this.custom, this.compounds);
147
159
  }
148
160
  };
149
161
  var AnimusExtendedWithBase = class extends AnimusExtendedWithVariants {
150
162
  variant(options) {
151
163
  const prop = options.prop || "variant";
152
- return new AnimusExtendedWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: options }), this.statesConfig, this.activeGroups, this.custom, this.compounds);
164
+ return new AnimusExtendedWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: withDefaultKey(options) }), this.statesConfig, this.activeGroups, this.custom, this.compounds);
153
165
  }
154
166
  };
155
167
  var AnimusExtended = class extends AnimusExtendedWithBase {
@@ -190,9 +202,10 @@ var AnimusWithAll = class {
190
202
  const extendFn = this.extend.bind(this);
191
203
  return Object.assign(Component, { extend: extendFn });
192
204
  }
193
- asComponent(AsComponent) {
205
+ asComponent(AsComponent, options) {
194
206
  const config = {
195
207
  ...this._buildComponentConfig(),
208
+ ...options?.forward === void 0 ? {} : { forward: options.forward },
196
209
  uncompiled: uncompiledDefinition(`a component wrapping ${AsComponent.displayName || AsComponent.name || "an anonymous component"}`)
197
210
  };
198
211
  const Component = createComponent(AsComponent, "", config);
@@ -266,7 +279,7 @@ var AnimusWithVariants = class AnimusWithVariants extends AnimusWithCompounds {
266
279
  }
267
280
  variant(options) {
268
281
  const prop = options.prop || "variant";
269
- return new AnimusWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: options }), this.compounds);
282
+ return new AnimusWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: withDefaultKey(options) }), this.compounds);
270
283
  }
271
284
  };
272
285
  var AnimusWithBase = class extends AnimusWithVariants {
@@ -275,7 +288,7 @@ var AnimusWithBase = class extends AnimusWithVariants {
275
288
  }
276
289
  variant(options) {
277
290
  const prop = options.prop || "variant";
278
- return new AnimusWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: options }), this.compounds);
291
+ return new AnimusWithVariants(this.propRegistry, this.groupRegistry, this.baseStyles, deepMerge(this.variants, { [prop]: withDefaultKey(options) }), this.compounds);
279
292
  }
280
293
  };
281
294
  var Animus = class extends AnimusWithBase {
@@ -2504,12 +2517,21 @@ function canonicalize(value) {
2504
2517
  return value;
2505
2518
  }
2506
2519
  /**
2520
+ * Where a host without `node:crypto` puts a native SHA-256 (UTF-8 bytes in,
2521
+ * lowercase hex out): Animus's system loader does, so its interpreter does
2522
+ * not run {@link sha256HexFallback}.
2523
+ */
2524
+ const HOST_SHA256 = Symbol.for("animus.sha256Hex");
2525
+ /**
2507
2526
  * Reached through `process.getBuiltinModule` so this module gains no static
2508
2527
  * `node:crypto` import edge — built themes run inside client bundles.
2509
2528
  */
2510
2529
  function sha256Hex(input) {
2511
- const nodeCrypto = globalThis.process?.getBuiltinModule?.("node:crypto");
2530
+ const host = globalThis;
2531
+ const nodeCrypto = host.process?.getBuiltinModule?.("node:crypto");
2512
2532
  if (nodeCrypto?.createHash) return nodeCrypto.createHash("sha256").update(input).digest("hex");
2533
+ const native = host[HOST_SHA256];
2534
+ if (native) return native(input);
2513
2535
  return sha256HexFallback(input);
2514
2536
  }
2515
2537
  /** SHA-256 round constants (FIPS 180-4 §4.2.2). */
@@ -1,3 +1,3 @@
1
1
  import { i as createClassResolver, n as ClassResolverAttributes, r as ClassResolverProps, t as ClassResolver } from "./createClassResolver-Bsjk8lII.js";
2
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-DoNVYx77.js";
2
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-Cc6p4YYP.js";
3
3
  export { type ClassResolver, type ClassResolverAttributes, type ClassResolverProps, createClassResolver, createComponent, createComposedFamily, renderAsChild };
@@ -1,3 +1,3 @@
1
- import { t as createClassResolver } from "./createClassResolver-Oqr1_kml.js";
2
- import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-C8rwilXT.js";
1
+ import { t as createClassResolver } from "./createClassResolver-Zb3Z3Cpe.js";
2
+ import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-P8DAQON7.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.35",
3
+ "version": "0.1.37",
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": "bun check"
89
89
  },
90
90
  "dependencies": {
91
- "@animus-ui/properties": "0.1.35",
91
+ "@animus-ui/properties": "0.1.37",
92
92
  "csstype": "^3.2.3"
93
93
  },
94
94
  "devDependencies": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-CF8uqQVW.d.ts","names":["KnownKeys"],"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;;;;;UAYK;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;WAC/B,UAAU;;;;;;KAOT,gBAAgB,yCAAyC,YAEjE;;;;;KAMQ;;;;;KAYA;UASK;;EAEf;;EAEA;;EAEA,MAAM;;KAGI,oBAAoB,eAAe;;;;;cAMlC,qBAAqB;;;;;;;KC/GtB,mBAAmB,eAAe;UAE7B,YAAY;WAClB;WACA,QAAQ;EACjB;EACA;;KAGU,UAAU,YAAY,eAAe;WACtC;WACA,sBACG,WAAW;aACV;aACA,QAAQ,IAAI;;gBAIf,WAAW,eAAe,YAAY;;;;;;;UClBjC;EACf;EACA;;KAGU,mBAAmB,eAAe;;;;;UAO7B;cAEJ,oBAAoB;;;;KCV5B;EAEH,cACI;;KAWD,oBAAoB,iCACvB,mBAAmB,aACjB,iBAAiB,aAEjB,KAAK,mBAAmB,iCACxB,KAAK,cAAc,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AC3B,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":"createComposedFamily-DoNVYx77.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 +0,0 @@
1
- {"version":3,"file":"index-DQgqNx8O.d.ts","names":["_$__createTransform0.NamedTransform","_$__createTransform0.NamedTransform","_$__createTransform0.NamedTransform"],"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,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,KAS1C,gBACf,IACA,cACA,eACA,YACA,UACA,QACA,cACA;EAMJ,YAAY,UAAU,oBAAoB,aAAa,IAWpC,uBACf,GACA,cACA,eACA,YACA,UACA,QACA,cACA;EAIJ,QAAQ;IAAe,yBAAyB;KAC9C,MAAM,OACL,cAAc,kBAAkB;EAUnC,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,UAAU,UACV,QAAQ,QACR,cAAc,cACd,YAAW;EAKb,MACE,uBAAuB,eAAe,mBAAmB,kBACzD,QAAQ,iBAAc,cAAA,cAAA,eAAA,YAAA,UAAA,QAAA,cAAA;;cAsBpB,iB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