@animus-ui/system 0.1.21 → 0.1.22
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.
- package/dist/class-resolver.js +1 -1
- package/dist/{component-BLE0PgG8.d.ts → component-stJhG_A-.d.ts} +40 -25
- package/dist/component-stJhG_A-.d.ts.map +1 -0
- package/dist/{compose-CC_dzfx5.d.ts → compose-BQi7TDtL.d.ts} +2 -2
- package/dist/{compose-CC_dzfx5.d.ts.map → compose-BQi7TDtL.d.ts.map} +1 -1
- package/dist/compose.d.ts +1 -1
- package/dist/composeWithContext.d.ts +1 -1
- package/dist/{createClassResolver-Dq6HCuqV.js → createClassResolver-DtHjTYa7.js} +85 -27
- package/dist/{createComposedFamily-BAVEgGC5.js → createComposedFamily-BbA_d0QH.js} +42 -21
- package/dist/createComposedFamily-BkrvSsfl.d.ts +40 -0
- package/dist/createComposedFamily-BkrvSsfl.d.ts.map +1 -0
- package/dist/groups/index.d.ts +1 -1
- package/dist/{index-NCIIKb9k.d.ts → index-C1AAiaiJ.d.ts} +5 -12
- package/dist/index-C1AAiaiJ.d.ts.map +1 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/runtime-entry.d.ts +2 -2
- package/dist/runtime-entry.js +3 -3
- package/package.json +2 -2
- package/dist/component-BLE0PgG8.d.ts.map +0 -1
- package/dist/createComposedFamily-yKBydh5x.d.ts +0 -21
- package/dist/createComposedFamily-yKBydh5x.d.ts.map +0 -1
- package/dist/index-NCIIKb9k.d.ts.map +0 -1
package/dist/class-resolver.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createClassResolver } from "./createClassResolver-
|
|
1
|
+
import { t as createClassResolver } from "./createClassResolver-DtHjTYa7.js";
|
|
2
2
|
export { createClassResolver };
|
|
@@ -279,6 +279,17 @@ type MediaQueryMap<T> = {
|
|
|
279
279
|
[key: string]: T | undefined;
|
|
280
280
|
} : { [K in BreakpointKeys]?: T; });
|
|
281
281
|
type ResponsiveProp<T> = T | MediaQueryMap<T>;
|
|
282
|
+
/**
|
|
283
|
+
* A component prop's responsive value, where any breakpoint may hold
|
|
284
|
+
* `undefined`, which the runtime drops. Kept apart from `ResponsiveProp`:
|
|
285
|
+
* giving that one an `undefined` parameter, even unused, makes TS 5.9
|
|
286
|
+
* overflow (TS2590) relating a multi-group component's props.
|
|
287
|
+
*/
|
|
288
|
+
type ResponsivePropValue<T> = T | ({
|
|
289
|
+
_?: T | undefined;
|
|
290
|
+
} & (string extends BreakpointKeys ? {
|
|
291
|
+
[key: string]: T | undefined;
|
|
292
|
+
} : { [K in BreakpointKeys]?: T | undefined; }));
|
|
282
293
|
//#endregion
|
|
283
294
|
//#region src/types/scales.d.ts
|
|
284
295
|
type MapScale = Record<string | number, string | number>;
|
|
@@ -346,9 +357,7 @@ interface AbstractParser {
|
|
|
346
357
|
type IsEmpty<T> = [] extends T ? true : false | {} extends T ? true : false;
|
|
347
358
|
type StrictOrEmpty<Config extends SystemProp, ScaleT> = Config['strict'] extends false ? true : IsEmpty<ScaleT>;
|
|
348
359
|
type NegateKeys<T> = T extends number ? T extends 0 ? never : `-${T}` extends `${infer N extends number}` ? N : never : never;
|
|
349
|
-
|
|
350
|
-
type Important<Value> = Value extends string ? `${Value} !important` : never;
|
|
351
|
-
type PropertyValues<Property extends SystemProp, IncludeGlobals = false> = Exclude<PropertyTypes<IncludeGlobals extends true ? (string & {}) | 0 : never>[Property['property'] & string], IncludeGlobals extends true ? never : object | any[]> | (IncludeGlobals extends true ? Important<PropertyTypes<never>[Property['property'] & string]> : never);
|
|
360
|
+
type PropertyValues<Property extends SystemProp, IncludeGlobals = false> = Exclude<PropertyTypes<IncludeGlobals extends true ? (string & {}) | 0 : never>[Property['property'] & string], IncludeGlobals extends true ? never : object | any[]>;
|
|
352
361
|
type NegativeOf<Config extends SystemProp, Keys> = Config['negative'] extends true ? NegateKeys<Extract<Keys, number>> : never;
|
|
353
362
|
/**
|
|
354
363
|
* What a strict scale admits beside its keys and keywords, as strict
|
|
@@ -376,9 +385,14 @@ type ColorOpacityRef<Config extends SystemProp> = Config['scale'] extends 'color
|
|
|
376
385
|
type ContainerUnitValue = `${number}cqw` | `${number}cqi` | `${number}cqh` | `${number}cqb` | `${number}cqmin` | `${number}cqmax`;
|
|
377
386
|
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>;
|
|
378
387
|
type ThemedScale<Config extends SystemProp> = [Config] extends [DeclarationProp] ? ResponsiveProp<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsiveProp<ThemedScaleValue<Config>>;
|
|
388
|
+
/** `ThemedScale` as a component prop takes it: see `ResponsivePropValue`. */
|
|
389
|
+
type ThemedPropValue<Config extends SystemProp> = [Config] extends [DeclarationProp] ? ResponsivePropValue<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsivePropValue<ThemedScaleValue<Config>>;
|
|
379
390
|
type RawSelectorKey = `${string}&${string}`;
|
|
380
391
|
type PublishedAliasKeys = Extract<keyof Conditions | keyof Selectors, `_${string}`>;
|
|
381
392
|
type KnownUnderscoreKey = [PublishedAliasKeys] extends [never] ? `_${string}` : BuiltInSelectorAlias | BuiltInConditionAlias | PublishedAliasKeys;
|
|
393
|
+
/** A keyword with `!important`, which CSS accepts after any declared value,
|
|
394
|
+
* or the shorthand `!` that means the same. */
|
|
395
|
+
type Important<Value> = Value extends string ? `${Value} !important` | `${Value}!` : never;
|
|
382
396
|
type PassThroughProp<K extends keyof PropertyTypes> = K extends 'animationName' ? ResponsiveProp<KeyframeRef<string> | PropertyTypes[K]> : ResponsiveProp<PropertyTypes[K] | Important<PropertyTypes<never>[K]>>;
|
|
383
397
|
type UnderscoreBlockMembers<Config extends Record<string, SystemProp>> = { [K in KnownUnderscoreKey]?: ThemedBlockBody<Config>; };
|
|
384
398
|
/**
|
|
@@ -408,7 +422,7 @@ type BuiltInSelectorAlias = '_link' | '_visited' | '_hover' | '_focus' | '_focus
|
|
|
408
422
|
* `BUILT_IN_CONDITIONS` in conditions.ts, and only type tests catch that drift.
|
|
409
423
|
*/
|
|
410
424
|
type BuiltInConditionAlias = '_motionReduce' | '_motionSafe' | '_print' | '_portrait' | '_landscape' | '_moreContrast' | '_lessContrast' | '_osDark' | '_osLight';
|
|
411
|
-
type SelectorAliasProps<GroupPropValues> = { [K in BuiltInSelectorAlias | Extract<keyof Selectors, `_${string}`>]?: Partial<GroupPropValues
|
|
425
|
+
type SelectorAliasProps<GroupPropValues> = { [K in BuiltInSelectorAlias | Extract<keyof Selectors, `_${string}`>]?: Partial<GroupPropValues> | undefined; };
|
|
412
426
|
//#endregion
|
|
413
427
|
//#region src/types/styling-names.d.ts
|
|
414
428
|
/** `T`'s declared keys, without a string index signature. */
|
|
@@ -463,14 +477,7 @@ declare class AnimusExtendedWithAll<PropRegistry extends Record<string, SystemPr
|
|
|
463
477
|
asClass<This extends {
|
|
464
478
|
_buildComponentConfig(): ClassResolverConfig;
|
|
465
479
|
}>(this: This): ClassResolver<BuilderClassProps<This>>;
|
|
466
|
-
_buildComponentConfig():
|
|
467
|
-
variants: Record<string, {
|
|
468
|
-
options: string[];
|
|
469
|
-
default?: string;
|
|
470
|
-
}> | undefined;
|
|
471
|
-
states: string[] | undefined;
|
|
472
|
-
systemPropNames: string[];
|
|
473
|
-
};
|
|
480
|
+
_buildComponentConfig(): ClassResolverConfig;
|
|
474
481
|
}
|
|
475
482
|
declare class AnimusExtendedWithSystem<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 AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
476
483
|
props<NewCustomProps extends Record<string, CustomPropConfig | DeclarationProp>>(config: NewCustomProps): AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, Redeclared<CustomProps, NewCustomProps>>;
|
|
@@ -529,11 +536,19 @@ type ExtendFn<PR extends Record<string, SystemProp>, GR extends Record<string, (
|
|
|
529
536
|
extend: () => AnimusExtended<PR, GR, BS & CSSProps<AbstractProps, SystemProps<AbstractParser>>, V & Record<string, VariantConfig>, S & CSSPropMap<AbstractProps, SystemProps<AbstractParser>>, AG & Record<string, true>, CP & Record<string, SystemProp>>;
|
|
530
537
|
};
|
|
531
538
|
type ActiveGroupPropNames<PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, AG> = GR[Extract<keyof StripIndex<AG>, keyof GR>][number] | Extract<keyof StripIndex<AG>, keyof PR>;
|
|
532
|
-
type GroupProps<PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, AG> = { [K in ActiveGroupPropNames<PR, GR, AG> as K extends string ? K : never]?:
|
|
533
|
-
type CustomPropValues<CP extends Record<string, SystemProp>> = { [K in keyof StripIndex<CP>]?:
|
|
539
|
+
type GroupProps<PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, AG> = { [K in ActiveGroupPropNames<PR, GR, AG> as K extends string ? K : never]?: ThemedPropValue<PR[K & keyof PR]> | undefined; };
|
|
540
|
+
type CustomPropValues<CP extends Record<string, SystemProp>> = { [K in keyof StripIndex<CP>]?: ThemedPropValue<StripIndex<CP>[K & keyof StripIndex<CP>]> | undefined; };
|
|
534
541
|
type StripIndex<T> = { [K in keyof T as string extends K ? never : number extends K ? never : K]: T[K]; };
|
|
535
|
-
|
|
536
|
-
|
|
542
|
+
/**
|
|
543
|
+
* Each axis's options, read from its `variants` table alone. A declaration
|
|
544
|
+
* build without `exactOptionalPropertyTypes` prints a config's optional fields
|
|
545
|
+
* as `?: X | undefined`, so testing the whole config against `VariantConfig`
|
|
546
|
+
* fails in a consumer that sets it, and the axis would widen to `string`.
|
|
547
|
+
*/
|
|
548
|
+
type VariantProps<V> = { [K in keyof StripIndex<V>]?: StripIndex<V>[K] extends {
|
|
549
|
+
variants: infer Options;
|
|
550
|
+
} ? keyof Options | undefined : string | undefined; };
|
|
551
|
+
type StateProps<S> = { [K in keyof StripIndex<S>]?: boolean | undefined; };
|
|
537
552
|
/**
|
|
538
553
|
* Keys Animus consumes; the runtime strips them before DOM forwarding.
|
|
539
554
|
* Unioned per source — `keyof` of the intersection hits TS2590 on emit.
|
|
@@ -548,8 +563,8 @@ type ResolvedGroupProps<PR extends Record<string, SystemProp>, GR extends Record
|
|
|
548
563
|
type AsTarget = keyof JSX.IntrinsicElements | ComponentType<any>;
|
|
549
564
|
/** Everything the builder admitted, whichever element renders. */
|
|
550
565
|
type AnimusOwnProps<PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, V, S, AG, CP extends Record<string, SystemProp>> = ResolvedGroupProps<PR, GR, AG> & VariantProps<V> & StateProps<S> & CustomPropValues<CP> & SelectorAliasProps<ResolvedGroupProps<PR, GR, AG>> & {
|
|
551
|
-
asChild?: boolean;
|
|
552
|
-
className?: string;
|
|
566
|
+
asChild?: boolean | undefined;
|
|
567
|
+
className?: string | undefined;
|
|
553
568
|
children?: ReactNode;
|
|
554
569
|
};
|
|
555
570
|
/** A string terminal rendered as `E`: E's native props and ref, then Animus's. */
|
|
@@ -559,7 +574,7 @@ type AnimusNativeProps<E extends AsTarget, PR extends Record<string, SystemProp>
|
|
|
559
574
|
* reads a slot.
|
|
560
575
|
*/
|
|
561
576
|
type AnimusConsumerProps<El extends keyof JSX.IntrinsicElements, PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, V, S, AG, CP extends Record<string, SystemProp>> = AnimusNativeProps<El, PR, GR, V, S, AG, CP> & {
|
|
562
|
-
as?: AsTarget;
|
|
577
|
+
as?: AsTarget | undefined;
|
|
563
578
|
};
|
|
564
579
|
/**
|
|
565
580
|
* The element `As` selects, or the default element when `As` stays at its
|
|
@@ -574,9 +589,9 @@ type ElementFor<As extends AsTarget, El extends keyof JSX.IntrinsicElements> = [
|
|
|
574
589
|
* selected element or component lacks.
|
|
575
590
|
*/
|
|
576
591
|
type AnimusComponent<El extends keyof JSX.IntrinsicElements, PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, BS, V, S, AG, CP extends Record<string, SystemProp>> = ForwardRefExoticComponent<AnimusNativeProps<El, PR, GR, V, S, AG, CP> & {
|
|
577
|
-
as?: El;
|
|
592
|
+
as?: El | undefined;
|
|
578
593
|
}> & (<As extends AsTarget>(props: AnimusNativeProps<ElementFor<As, El>, PR, GR, V, S, AG, CP> & {
|
|
579
|
-
as?: As;
|
|
594
|
+
as?: As | undefined;
|
|
580
595
|
}) => ReactNode) & ExtendFn<PR, GR, BS, V, S, AG, CP> & {
|
|
581
596
|
readonly [ConsumerProps]: AnimusConsumerProps<El, PR, GR, V, S, AG, CP>;
|
|
582
597
|
readonly [VariantConfigBrand]: V;
|
|
@@ -593,7 +608,7 @@ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K>
|
|
|
593
608
|
* a target without them does not offer them.
|
|
594
609
|
*/
|
|
595
610
|
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>> & {
|
|
596
|
-
className?: string;
|
|
611
|
+
className?: string | undefined;
|
|
597
612
|
children?: ReactNode;
|
|
598
613
|
};
|
|
599
614
|
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> & {
|
|
@@ -616,10 +631,10 @@ type SharedConfig<Slots extends Record<string, unknown>> = { [K in RootVariantKe
|
|
|
616
631
|
type SealedProps<C> = C extends {
|
|
617
632
|
readonly [ConsumerProps]: infer P;
|
|
618
633
|
} ? Omit<P, 'extend'> & {
|
|
619
|
-
className?: string;
|
|
634
|
+
className?: string | undefined;
|
|
620
635
|
children?: ReactNode;
|
|
621
636
|
} : C extends ForwardRefExoticComponent<infer P> ? Omit<P, 'extend'> & {
|
|
622
|
-
className?: string;
|
|
637
|
+
className?: string | undefined;
|
|
623
638
|
children?: ReactNode;
|
|
624
639
|
} : never;
|
|
625
640
|
type ComposedFamily<Slots extends Record<string, unknown>> = { [K in keyof Slots]: ForwardRefExoticComponent<SealedProps<Slots[K]>>; };
|
|
@@ -641,4 +656,4 @@ type BuilderClassProps<B> = B extends {
|
|
|
641
656
|
} ? AnimusClassProps<PR, GR, V, S, AG, CP> : never : never;
|
|
642
657
|
//#endregion
|
|
643
658
|
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 };
|
|
644
|
-
//# sourceMappingURL=component-
|
|
659
|
+
//# sourceMappingURL=component-stJhG_A-.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-stJhG_A-.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;WAC/B,UAAU;;;;;;KAOT,gBAAgB,yCAAyC,YAEjE;;;;;KAMQ;;;;;KASA;UAKK;;EAEf;;EAEA;;EAEA,MAAM;;KAGI,oBAAoB,eAAe;;;;;cAMlC,qBAAqB;;;;;;;KCnGtB,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;KAEA,kBACF,KAAK,cAAc,qBAAqB,oBACrC;KAMD;KAcA;KAIA,iBACF,KAAK,cAAc,qBAAqB,mBACrC,oBAAoB,KACpB;;;;;KAQD,gBAAg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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;KAGnB,YAAY,KAAK;YACV,sBAAsB;IAE9B,KAAK;EACH;EACA,WAAW;IAEb,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-
|
|
1
|
+
import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-stJhG_A-.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-
|
|
15
|
+
//# sourceMappingURL=compose-BQi7TDtL.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-
|
|
1
|
+
{"version":3,"file":"compose-BQi7TDtL.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-
|
|
1
|
+
import { t as compose } from "./compose-BQi7TDtL.js";
|
|
2
2
|
export { compose };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-
|
|
1
|
+
import { i as AnyBrandedComponent, o as ComposedFamily, s as SharedConfig } from "./component-stJhG_A-.js";
|
|
2
2
|
import { ForwardRefExoticComponent } from "react";
|
|
3
3
|
//#region src/composeWithContext.d.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentValues, decodedIdentifier, isUnitlessProperty, tokenize, variableReads } from "@animus-ui/properties";
|
|
1
|
+
import { componentValues, decodedIdentifier, importantPriority, isUnitlessProperty, tokenize, variableReads } 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
|
|
@@ -29,6 +29,23 @@ function recordWitness(component, prop, value, outcome) {
|
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/runtime/resolveClasses.ts
|
|
32
|
+
/** Whether a property set is custom properties only, which read a value as
|
|
33
|
+
* written: no unit, and a trailing `!` that is no priority. */
|
|
34
|
+
function isCustomOnly(cssProperties) {
|
|
35
|
+
return cssProperties.length > 0 && cssProperties.every((property) => property.startsWith("--"));
|
|
36
|
+
}
|
|
37
|
+
/** The properties a slot's value is written to. */
|
|
38
|
+
function slotProperties(dc) {
|
|
39
|
+
return dc.properties && dc.properties.length > 0 ? dc.properties : dc.property ? [dc.property] : [];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A responsive value's entries by breakpoint, or a bare value at `_`. The
|
|
43
|
+
* value arrives without nullish breakpoints (`withoutAbsentBreakpoints`).
|
|
44
|
+
*/
|
|
45
|
+
function responsiveEntries(propValue) {
|
|
46
|
+
const responsive = typeof propValue === "object" && propValue !== null && !Array.isArray(propValue);
|
|
47
|
+
return [responsive, responsive ? Object.entries(propValue) : [["_", propValue]]];
|
|
48
|
+
}
|
|
32
49
|
/**
|
|
33
50
|
* A mixed property set resolves to unitless: a bare number on a length
|
|
34
51
|
* property is dropped by the parser, `px` on a unitless one shifts layout.
|
|
@@ -37,7 +54,7 @@ function recordWitness(component, prop, value, outcome) {
|
|
|
37
54
|
*/
|
|
38
55
|
function applyUnitFallback(value, cssProperties) {
|
|
39
56
|
if (typeof value === "number") {
|
|
40
|
-
if (cssProperties
|
|
57
|
+
if (isCustomOnly(cssProperties) || cssProperties.some(isUnitlessProperty)) return String(value);
|
|
41
58
|
return `${value}px`;
|
|
42
59
|
}
|
|
43
60
|
return String(value);
|
|
@@ -130,10 +147,8 @@ function resolveEntry(value, dc) {
|
|
|
130
147
|
if (!isValidTransformResult(transformed)) return { shape: describeResultShape(transformed) };
|
|
131
148
|
}
|
|
132
149
|
let css;
|
|
133
|
-
if (typeof transformed === "number")
|
|
134
|
-
|
|
135
|
-
css = applyUnitFallback(transformed, cssProperties);
|
|
136
|
-
} else css = String(transformed);
|
|
150
|
+
if (typeof transformed === "number") css = applyUnitFallback(transformed, slotProperties(dc));
|
|
151
|
+
else css = String(transformed);
|
|
137
152
|
return negate ? negateCssValue(css) : css;
|
|
138
153
|
}
|
|
139
154
|
const warnedDrops = /* @__PURE__ */ new Set();
|
|
@@ -148,13 +163,14 @@ function warnDroppedValue(baseClassName, propName, serializedValue, customOwned)
|
|
|
148
163
|
/**
|
|
149
164
|
* A value taken from a variant default emits `--{prop}-default`, not the
|
|
150
165
|
* value, so the compose override rule misses and the parent's value wins.
|
|
166
|
+
* An explicit `undefined` takes the default as an omitted prop does.
|
|
151
167
|
*/
|
|
152
168
|
function applyVariantClasses(classes, baseClassName, props, config) {
|
|
153
169
|
if (!config.variants) return;
|
|
154
170
|
for (const [prop, vc] of Object.entries(config.variants)) {
|
|
155
171
|
const value = props[prop] ?? vc.default;
|
|
156
172
|
if (value != null) {
|
|
157
|
-
const isDefault =
|
|
173
|
+
const isDefault = props[prop] == null && vc.default != null;
|
|
158
174
|
classes.push(`${baseClassName}--${prop}-${isDefault ? "default" : value}`);
|
|
159
175
|
recordWitness(baseClassName, prop, value, "static");
|
|
160
176
|
}
|
|
@@ -191,6 +207,16 @@ function warnInvalidTransformResult(baseClassName, propName, shape) {
|
|
|
191
207
|
console.warn(`[animus:drop] ${baseClassName}: transform for prop '${propName}' returned ${shape} — expected string or finite number; value dropped`);
|
|
192
208
|
}
|
|
193
209
|
}
|
|
210
|
+
const warnedImportant = /* @__PURE__ */ new Set();
|
|
211
|
+
/** Keyed by value: each runtime value that loses `!important` is reported once. */
|
|
212
|
+
function warnIgnoredImportant(baseClassName, propName, value) {
|
|
213
|
+
if (IS_DEV) {
|
|
214
|
+
const dedupeKey = `${baseClassName}|${propName}|${value}`;
|
|
215
|
+
if (warnedImportant.has(dedupeKey)) return;
|
|
216
|
+
warnedImportant.add(dedupeKey);
|
|
217
|
+
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`);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
194
220
|
const warnedThrows = /* @__PURE__ */ new Set();
|
|
195
221
|
const warnedStrictMisses = /* @__PURE__ */ new Set();
|
|
196
222
|
/** Keyed by value, like a throw: each rejected input is reported once. */
|
|
@@ -261,21 +287,52 @@ function slotClassFor(dc, resolved) {
|
|
|
261
287
|
* scale, or one transform that throws or returns an invalid result, leaves
|
|
262
288
|
* `classes` and `dynStyle` untouched. A responsive entry that is a CSS-wide
|
|
263
289
|
* keyword takes the class extraction emits for it at that breakpoint.
|
|
290
|
+
*
|
|
291
|
+
* A slot is a CSS variable, which cannot carry `!important`. A literal that
|
|
292
|
+
* carries it, at a breakpoint, takes the class extraction emits for every
|
|
293
|
+
* literal branch it reads; a bare literal's class the caller already found.
|
|
294
|
+
* Any other value is runtime-generated: it resolves as at build time, where
|
|
295
|
+
* a trailing `!` is ` !important`, and the slot takes the result without the
|
|
296
|
+
* priority, which `ignoredImportant` hears of. Where only custom properties
|
|
297
|
+
* read the value, a trailing `!` is no priority, as at build time.
|
|
264
298
|
*/
|
|
265
|
-
function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass) {
|
|
299
|
+
function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass, ignoredImportant) {
|
|
266
300
|
const staged = [];
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
301
|
+
const [responsive, entries] = responsiveEntries(propValue);
|
|
302
|
+
const lookup = (bp, value) => literalClass(bp === "_" ? value : { [bp]: value });
|
|
303
|
+
for (const [bp, authored] of entries) {
|
|
304
|
+
let value = authored;
|
|
305
|
+
let ignored;
|
|
306
|
+
const priority = typeof authored === "string" ? importantPriority(authored) : void 0;
|
|
307
|
+
if (typeof authored === "string" && priority && (priority.spelling === "important" || !isCustomOnly(slotProperties(dc)))) {
|
|
308
|
+
const literal = responsive ? lookup(bp, authored) : void 0;
|
|
309
|
+
if (literal) {
|
|
310
|
+
staged.push([literal]);
|
|
311
|
+
continue;
|
|
312
|
+
}
|
|
313
|
+
ignored = authored;
|
|
314
|
+
if (priority.spelling === "shorthand") value = `${authored.slice(0, priority.end)} !important`;
|
|
315
|
+
}
|
|
316
|
+
const keywordClass = responsive && CSS_WIDE_KEYWORDS.has(value) ? lookup(bp, value) : void 0;
|
|
270
317
|
if (keywordClass) {
|
|
271
318
|
staged.push([keywordClass]);
|
|
272
319
|
continue;
|
|
273
320
|
}
|
|
274
|
-
|
|
275
|
-
if (typeof resolved !== "string") return "entry" in resolved ? {
|
|
321
|
+
let resolved = resolveEntry(value, dc);
|
|
322
|
+
if (typeof resolved !== "string") return "entry" in resolved && responsive ? {
|
|
276
323
|
...resolved,
|
|
277
324
|
breakpoint: bp
|
|
278
325
|
} : resolved;
|
|
326
|
+
if (ignored !== void 0) {
|
|
327
|
+
ignoredImportant(ignored);
|
|
328
|
+
const end = importantPriority(resolved)?.end;
|
|
329
|
+
resolved = end === void 0 ? resolved : resolved.slice(0, end);
|
|
330
|
+
const bareKeyword = CSS_WIDE_KEYWORDS.has(resolved) ? lookup(bp, resolved) : void 0;
|
|
331
|
+
if (bareKeyword) {
|
|
332
|
+
staged.push([bareKeyword]);
|
|
333
|
+
continue;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
279
336
|
const slotClass = slotClassFor(dc, resolved);
|
|
280
337
|
staged.push(bp === "_" ? [
|
|
281
338
|
slotClass,
|
|
@@ -287,15 +344,6 @@ function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass) {
|
|
|
287
344
|
resolved
|
|
288
345
|
]);
|
|
289
346
|
}
|
|
290
|
-
else {
|
|
291
|
-
const resolved = resolveEntry(propValue, dc);
|
|
292
|
-
if (typeof resolved !== "string") return resolved;
|
|
293
|
-
staged.push([
|
|
294
|
-
slotClassFor(dc, resolved),
|
|
295
|
-
dc.varName,
|
|
296
|
-
resolved
|
|
297
|
-
]);
|
|
298
|
-
}
|
|
299
347
|
for (const [cls, varName, resolved] of staged) {
|
|
300
348
|
classes.push(cls);
|
|
301
349
|
if (varName !== void 0 && resolved !== void 0) dynStyle[varName] = resolved;
|
|
@@ -311,8 +359,7 @@ function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass) {
|
|
|
311
359
|
function applyDeclarationProp(classes, dynStyle, propValue, dc) {
|
|
312
360
|
const records = dc.declarationScaleValues;
|
|
313
361
|
const memberVars = Object.entries(dc.memberVars);
|
|
314
|
-
const responsive =
|
|
315
|
-
const entries = responsive ? Object.entries(propValue).filter(([, value]) => value != null) : [["_", propValue]];
|
|
362
|
+
const [responsive, entries] = responsiveEntries(propValue);
|
|
316
363
|
const staged = [];
|
|
317
364
|
for (const [breakpoint, value] of entries) {
|
|
318
365
|
const key = String(value);
|
|
@@ -331,6 +378,18 @@ function applyDeclarationProp(classes, dynStyle, propValue, dc) {
|
|
|
331
378
|
}
|
|
332
379
|
return null;
|
|
333
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* A responsive value without its nullish breakpoints, so it keys the same
|
|
383
|
+
* static class as the value written without them; `undefined` when none
|
|
384
|
+
* remain, as if the prop were omitted.
|
|
385
|
+
*/
|
|
386
|
+
function withoutAbsentBreakpoints(value) {
|
|
387
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return value;
|
|
388
|
+
const entries = Object.entries(value);
|
|
389
|
+
if (entries.every(([, entry]) => entry != null)) return value;
|
|
390
|
+
const present = entries.filter(([, entry]) => entry != null);
|
|
391
|
+
return present.length > 0 ? Object.fromEntries(present) : void 0;
|
|
392
|
+
}
|
|
334
393
|
function resolveClasses(baseClassName, props, config, systemPropMap, dynamicPropConfig) {
|
|
335
394
|
const classes = [baseClassName];
|
|
336
395
|
let dynStyle;
|
|
@@ -342,8 +401,7 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
|
|
|
342
401
|
if (systemPropNames.length > 0) {
|
|
343
402
|
const { customPropMap, customDynamicConfig } = config;
|
|
344
403
|
for (const propName of systemPropNames) {
|
|
345
|
-
|
|
346
|
-
const propValue = props[propName];
|
|
404
|
+
const propValue = withoutAbsentBreakpoints(props[propName]);
|
|
347
405
|
if (propValue == null) continue;
|
|
348
406
|
const key = serializeValueKey(propValue);
|
|
349
407
|
const customOwned = customPropMap?.[propName] !== void 0 || customDynamicConfig?.[propName] !== void 0;
|
|
@@ -357,7 +415,7 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
|
|
|
357
415
|
const dc = customOwned ? customDynamicConfig?.[propName] : dynamicPropConfig?.[propName];
|
|
358
416
|
if (dc) {
|
|
359
417
|
const staged = dynStyle ?? {};
|
|
360
|
-
const failure = dc.kind === "declarations" ? applyDeclarationProp(classes, staged, propValue, dc) : applyDynamicProp(classes, staged, propValue, dc, (value) => classMap?.[propName]?.[(typed ? typedValueKey : serializeValueKey)(value)]);
|
|
418
|
+
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));
|
|
361
419
|
if (failure === null) {
|
|
362
420
|
dynStyle = staged;
|
|
363
421
|
recordWitness(baseClassName, propName, key, "dynamic");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as resolveClasses } from "./createClassResolver-
|
|
1
|
+
import { n as resolveClasses } from "./createClassResolver-DtHjTYa7.js";
|
|
2
2
|
import { t as assertRootSlot } from "./assert-root-slot-C3Lp9MNJ.js";
|
|
3
|
-
import { Children, cloneElement, createElement, forwardRef
|
|
3
|
+
import { Children, cloneElement, createElement, forwardRef } from "react";
|
|
4
4
|
//#region src/runtime/index.ts
|
|
5
5
|
/** Sets one ref, returning the cleanup a callback ref hands back, if any. */
|
|
6
6
|
function setRef(ref, value) {
|
|
@@ -75,33 +75,49 @@ function childRefOf(child) {
|
|
|
75
75
|
return child.ref;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
* The child wins every conflict:
|
|
79
|
-
* a handler declared on the child replaces the
|
|
78
|
+
* The child wins every conflict: the slot's props spread under the child's
|
|
79
|
+
* own, so a handler declared on the child replaces the slot's instead of
|
|
80
|
+
* chaining. `variables`, Animus's own dynamic styles, win over the child's.
|
|
80
81
|
*/
|
|
81
|
-
function
|
|
82
|
-
const child = Children.only(
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
...props.style,
|
|
82
|
+
function renderSlot(children, props, ref, variables) {
|
|
83
|
+
const child = Children.only(children);
|
|
84
|
+
const { asChild: _asChild, children: _children, className, ref: propRef, style, ...slotProps } = props;
|
|
85
|
+
const mergedClassName = [className, child.props.className].filter(Boolean).join(" ");
|
|
86
|
+
const mergedStyle = variables || style || child.props.style ? {
|
|
87
|
+
...style,
|
|
88
88
|
...child.props.style,
|
|
89
|
-
...
|
|
89
|
+
...variables
|
|
90
90
|
} : void 0;
|
|
91
|
-
const parentProps = {};
|
|
92
|
-
forwardProps(props, filterProps, parentProps);
|
|
93
|
-
delete parentProps.children;
|
|
94
|
-
delete parentProps.style;
|
|
95
|
-
delete parentProps.ref;
|
|
96
91
|
return cloneElement(child, {
|
|
97
|
-
...
|
|
92
|
+
...slotProps,
|
|
98
93
|
...child.props,
|
|
99
|
-
ref: composeRefs(ref,
|
|
94
|
+
ref: composeRefs(ref ?? propRef, childRefOf(child)),
|
|
100
95
|
className: mergedClassName,
|
|
101
96
|
...mergedStyle ? { style: mergedStyle } : {}
|
|
102
97
|
});
|
|
103
98
|
}
|
|
104
99
|
/**
|
|
100
|
+
* Renders an `asChild` slot exactly as Animus renders its own: the one child
|
|
101
|
+
* element, with `props` spread under the child's props so the child wins
|
|
102
|
+
* every conflict, class names joined (the slot's first), styles merged and
|
|
103
|
+
* both refs attached. An `asComponent` target that receives `asChild` calls
|
|
104
|
+
* it in place of its element:
|
|
105
|
+
*
|
|
106
|
+
* ```tsx
|
|
107
|
+
* if (asChild) return renderAsChild(children, props, ref);
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* `asChild` and `children` in `props` are dropped, and `ref` defaults to
|
|
111
|
+
* `props.ref`. It throws unless `children` is exactly one React element.
|
|
112
|
+
*
|
|
113
|
+
* An `asComponent` component types `children` as any `ReactNode`, whatever
|
|
114
|
+
* the target declares, so a target rendering a void element such as `input`
|
|
115
|
+
* leaves its children out without `asChild`, where React would throw.
|
|
116
|
+
*/
|
|
117
|
+
function renderAsChild(children, props, ref) {
|
|
118
|
+
return renderSlot(children, props, ref);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
105
121
|
* A string terminal renders `as` in place of its tag. A component terminal
|
|
106
122
|
* always renders its component, which receives `as` and `asChild` like any
|
|
107
123
|
* other prop, so its own wiring runs whatever element it ends up rendering.
|
|
@@ -133,7 +149,12 @@ function createComponent(element, className, config, systemPropMap, dynamicPropC
|
|
|
133
149
|
const Component = forwardRef((props, ref) => {
|
|
134
150
|
const { classes, dynamicStyle } = resolveClasses(className, props, config, systemPropMap, dynamicPropConfig);
|
|
135
151
|
if (props.className) classes.push(props.className);
|
|
136
|
-
|
|
152
|
+
if (props.asChild && ownsPolymorphism) {
|
|
153
|
+
const slotProps = { className: classes.join(" ") };
|
|
154
|
+
forwardProps(props, filterProps, slotProps);
|
|
155
|
+
return renderSlot(props.children, slotProps, ref, dynamicStyle);
|
|
156
|
+
}
|
|
157
|
+
return renderElement(element, filterProps, props, ref, classes, dynamicStyle);
|
|
137
158
|
});
|
|
138
159
|
Component.displayName = className;
|
|
139
160
|
const variantDefaults = {};
|
|
@@ -171,4 +192,4 @@ function createComposedFamily(slots, config) {
|
|
|
171
192
|
return result;
|
|
172
193
|
}
|
|
173
194
|
//#endregion
|
|
174
|
-
export { createComponent as n, createComposedFamily as t };
|
|
195
|
+
export { createComponent as n, renderAsChild as r, createComposedFamily as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { a as DynamicPropConfig, i as ClassResolverConfig, o as SystemPropMap } from "./createClassResolver-Do1nmvkf.js";
|
|
2
|
+
import { ForwardRefExoticComponent, ReactElement, ReactNode, Ref, forwardRef } from "react";
|
|
3
|
+
//#region src/runtime/index.d.ts
|
|
4
|
+
interface ComponentConfig extends ClassResolverConfig {}
|
|
5
|
+
type ElementType = string | React.ComponentType<any>;
|
|
6
|
+
type Transform = NonNullable<DynamicPropConfig[string]['transform']>;
|
|
7
|
+
type AnimusComponent = ReturnType<typeof forwardRef> & {
|
|
8
|
+
extend: () => never;
|
|
9
|
+
variantDefaults: Readonly<Record<string, string>>;
|
|
10
|
+
customTransforms: Readonly<Record<string, Transform>>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Renders an `asChild` slot exactly as Animus renders its own: the one child
|
|
14
|
+
* element, with `props` spread under the child's props so the child wins
|
|
15
|
+
* every conflict, class names joined (the slot's first), styles merged and
|
|
16
|
+
* both refs attached. An `asComponent` target that receives `asChild` calls
|
|
17
|
+
* it in place of its element:
|
|
18
|
+
*
|
|
19
|
+
* ```tsx
|
|
20
|
+
* if (asChild) return renderAsChild(children, props, ref);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* `asChild` and `children` in `props` are dropped, and `ref` defaults to
|
|
24
|
+
* `props.ref`. It throws unless `children` is exactly one React element.
|
|
25
|
+
*
|
|
26
|
+
* An `asComponent` component types `children` as any `ReactNode`, whatever
|
|
27
|
+
* the target declares, so a target rendering a void element such as `input`
|
|
28
|
+
* leaves its children out without `asChild`, where React would throw.
|
|
29
|
+
*/
|
|
30
|
+
declare function renderAsChild(children: ReactNode, props: object, ref?: Ref<any>): ReactElement;
|
|
31
|
+
declare function createComponent(element: ElementType, className: string, config: ComponentConfig, systemPropMap?: SystemPropMap, dynamicPropConfig?: DynamicPropConfig): AnimusComponent;
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/runtime/createComposedFamily.d.ts
|
|
34
|
+
interface ComposedFamilyConfig {
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
declare function createComposedFamily(slots: Record<string, ForwardRefExoticComponent<any>>, config: ComposedFamilyConfig): Record<string, ForwardRefExoticComponent<any>>;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { createComponent as n, renderAsChild as r, createComposedFamily as t };
|
|
40
|
+
//# sourceMappingURL=createComposedFamily-BkrvSsfl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createComposedFamily-BkrvSsfl.d.ts","names":[],"sources":["../src/runtime/index.ts","../src/runtime/createComposedFamily.ts"],"mappings":";;;UAgBU,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;iBAkCa,gBACd,SAAS,aACT,mBACA,QAAQ,iBACR,gBAAgB,eAChB,oBAAoB,oBACnB;;;UChNO;EACR;;iBAGc,qBACd,OAAO,eAAe,iCACtB,QAAQ,uBACP,eAAe"}
|
package/dist/groups/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-Do1nmvkf.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-
|
|
3
|
-
import "./compose-
|
|
4
|
-
import "./createComposedFamily-
|
|
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-stJhG_A-.js";
|
|
3
|
+
import "./compose-BQi7TDtL.js";
|
|
4
|
+
import "./createComposedFamily-BkrvSsfl.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>> {
|
|
@@ -20,14 +20,7 @@ declare class AnimusWithAll<PropRegistry extends Record<string, SystemProp>, Gro
|
|
|
20
20
|
asClass<This extends {
|
|
21
21
|
_buildComponentConfig(): ClassResolverConfig;
|
|
22
22
|
}>(this: This): ClassResolver<BuilderClassProps<This>>;
|
|
23
|
-
_buildComponentConfig():
|
|
24
|
-
variants: Record<string, {
|
|
25
|
-
options: string[];
|
|
26
|
-
default?: string;
|
|
27
|
-
}> | undefined;
|
|
28
|
-
states: string[] | undefined;
|
|
29
|
-
systemPropNames: string[];
|
|
30
|
-
};
|
|
23
|
+
_buildComponentConfig(): ClassResolverConfig;
|
|
31
24
|
}
|
|
32
25
|
declare class AnimusWithSystem<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>> extends AnimusWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, {}> {
|
|
33
26
|
constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, compounds?: CompoundEntry[]);
|
|
@@ -667,4 +660,4 @@ declare const percentageOrAbsolute: (coordinate: number) => string | 0;
|
|
|
667
660
|
declare const size: NamedTransform;
|
|
668
661
|
//#endregion
|
|
669
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 };
|
|
670
|
-
//# sourceMappingURL=index-
|
|
663
|
+
//# sourceMappingURL=index-C1AAiaiJ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-C1AAiaiJ.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,q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AAA,KAAA,+BAAA,EAAA,KAAA,OAAA,KAAA,kCAAA,EAAA,KAAA,EAAA,OAAA;EAkCN,YACE,YAAY,cAAc,GAAG,qBAC7B,YAAY,QAAQ,EAAE,SAAS,kCAC/B,KAAK,KAAK,UAAU,KAAE,aAAA,QAAA,KAAA,GAAA,OAAA,OAAA,KAAA,QAAA,YAAA,EAAA,MAAA,WAAA,SAAA;EAWxB,SAAS,WAAW,GAAG;;KAoRpB;EAAe,aAAa;;iBAEjB,eAAW,aAAA;;;KCv+Cf,cACV,UAAU,qBACV,4BAEC,WAAW,aAAa,UAAU,YAAY,QAAQ;KAG7C,YAAY,oBAAoB,yBAAyB,MACjE,IACA;;;KCTQ,WACV,aAAa,eACb,MACA,aAAa,sBAAsB,wBACjC,aAAa,MAAM,MAAM;KAEjB,MAAM,GAAG,QAClB,YAAY,IAAI,KAAK,gBAAgB,IAClC,gBAAgB,IACd,wBAAwB,EAAE,IAAI,EAAE,MAChC,EAAE,KACJ,gBAAgB,IACd,EAAE;KAIE,SAAS,KAAK,QACxB,QACK;KAGK,wBAAwB,GAAG,KACrC,SAAS,mBAAmB,IAAI,SAAS,mBAAmB,IAAI,OAAO,GAAG;KAEhE,OAAO,GAAG,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,iBAAA;;;;cCAA,UAAA;;cAaA,eAAA;;;;cCbA,uBAAoB;;cAWpB,MAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-Do1nmvkf.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-
|
|
3
|
-
import { t as compose } from "./compose-
|
|
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-
|
|
5
|
-
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-
|
|
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, size, stringScale };
|
|
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-stJhG_A-.js";
|
|
3
|
+
import { t as compose } from "./compose-BQi7TDtL.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-C1AAiaiJ.js";
|
|
5
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BkrvSsfl.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 };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createClassResolver } from "./createClassResolver-
|
|
2
|
-
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-
|
|
1
|
+
import { t as createClassResolver } from "./createClassResolver-DtHjTYa7.js";
|
|
2
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BbA_d0QH.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
|
|
@@ -2682,4 +2682,4 @@ function buildVariableCss(rootVariables, breakpointVariables, modeVariables, mod
|
|
|
2682
2682
|
return parts.join("\n\n");
|
|
2683
2683
|
}
|
|
2684
2684
|
//#endregion
|
|
2685
|
-
export { ASSET_PLACEHOLDER_PREFIX, Animus, AnimusExtended, AnimusExtendedWithAll, AnimusWithAll, BUILT_IN_CONDITIONS, BUILT_IN_SELECTORS, SystemBuilder, ThemeBuilder, areTransformsEqual, asset, borderShorthand, compose, createClassResolver, createComponent, createComposedFamily, createScale, createSystem, createTheme, createTransform, gridItem, gridItemRatio, numericOrStringScale, numericScale, percentageOrAbsolute, size, stringScale };
|
|
2685
|
+
export { ASSET_PLACEHOLDER_PREFIX, Animus, AnimusExtended, AnimusExtendedWithAll, AnimusWithAll, BUILT_IN_CONDITIONS, BUILT_IN_SELECTORS, SystemBuilder, ThemeBuilder, areTransformsEqual, asset, borderShorthand, compose, createClassResolver, createComponent, createComposedFamily, createScale, createSystem, createTheme, createTransform, gridItem, gridItemRatio, numericOrStringScale, numericScale, percentageOrAbsolute, renderAsChild, size, stringScale };
|
package/dist/runtime-entry.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-Do1nmvkf.js";
|
|
2
|
-
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-
|
|
3
|
-
export { type ClassResolver, type ClassResolverAttributes, createClassResolver, createComponent, createComposedFamily };
|
|
2
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BkrvSsfl.js";
|
|
3
|
+
export { type ClassResolver, type ClassResolverAttributes, createClassResolver, createComponent, createComposedFamily, renderAsChild };
|
package/dist/runtime-entry.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createClassResolver } from "./createClassResolver-
|
|
2
|
-
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-
|
|
3
|
-
export { createClassResolver, createComponent, createComposedFamily };
|
|
1
|
+
import { t as createClassResolver } from "./createClassResolver-DtHjTYa7.js";
|
|
2
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-BbA_d0QH.js";
|
|
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.
|
|
3
|
+
"version": "0.1.22",
|
|
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.
|
|
91
|
+
"@animus-ui/properties": "0.1.22",
|
|
92
92
|
"csstype": "^3.2.3"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-BLE0PgG8.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,yBAA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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,21 +0,0 @@
|
|
|
1
|
-
import { a as DynamicPropConfig, i as ClassResolverConfig, o as SystemPropMap } from "./createClassResolver-Do1nmvkf.js";
|
|
2
|
-
import { ForwardRefExoticComponent, forwardRef } from "react";
|
|
3
|
-
//#region src/runtime/index.d.ts
|
|
4
|
-
interface ComponentConfig extends ClassResolverConfig {}
|
|
5
|
-
type ElementType = string | React.ComponentType<any>;
|
|
6
|
-
type Transform = NonNullable<DynamicPropConfig[string]['transform']>;
|
|
7
|
-
type AnimusComponent = ReturnType<typeof forwardRef> & {
|
|
8
|
-
extend: () => never;
|
|
9
|
-
variantDefaults: Readonly<Record<string, string>>;
|
|
10
|
-
customTransforms: Readonly<Record<string, Transform>>;
|
|
11
|
-
};
|
|
12
|
-
declare function createComponent(element: ElementType, className: string, config: ComponentConfig, systemPropMap?: SystemPropMap, dynamicPropConfig?: DynamicPropConfig): AnimusComponent;
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/runtime/createComposedFamily.d.ts
|
|
15
|
-
interface ComposedFamilyConfig {
|
|
16
|
-
name: string;
|
|
17
|
-
}
|
|
18
|
-
declare function createComposedFamily(slots: Record<string, ForwardRefExoticComponent<any>>, config: ComposedFamilyConfig): Record<string, ForwardRefExoticComponent<any>>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { createComponent as n, createComposedFamily as t };
|
|
21
|
-
//# sourceMappingURL=createComposedFamily-yKBydh5x.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createComposedFamily-yKBydh5x.d.ts","names":[],"sources":["../src/runtime/index.ts","../src/runtime/createComposedFamily.ts"],"mappings":";;;UAgBU,wBAAwB;KAE7B,uBAAuB,MAAM;KAE7B,YAAY,YAAY;KAExB,kBAAkB,kBAAkB;EACvC;EACA,iBAAiB,SAAS;EAC1B,kBAAkB,SAAS,eAAe;;iBA+K5B,gBACd,SAAS,aACT,mBACA,QAAQ,iBACR,gBAAgB,eAChB,oBAAoB,oBACnB;;;UChMO;EACR;;iBAGc,qBACd,OAAO,eAAe,iCACtB,QAAQ,uBACP,eAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-NCIIKb9k.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,oBAA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