@animus-ui/system 0.1.21 → 0.1.23
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.d.ts +1 -1
- package/dist/class-resolver.js +1 -1
- package/dist/{component-BLE0PgG8.d.ts → component-CaNNGvbE.d.ts} +56 -28
- package/dist/component-CaNNGvbE.d.ts.map +1 -0
- package/dist/{compose-CC_dzfx5.d.ts → compose-BaU2HpRM.d.ts} +2 -2
- package/dist/{compose-CC_dzfx5.d.ts.map → compose-BaU2HpRM.d.ts.map} +1 -1
- package/dist/compose.d.ts +1 -1
- package/dist/composeWithContext.d.ts +1 -1
- package/dist/composeWithContext.d.ts.map +1 -1
- package/dist/composeWithContext.js +4 -4
- package/dist/{createClassResolver-Do1nmvkf.d.ts → createClassResolver-C_yq_4BM.d.ts} +7 -2
- package/dist/createClassResolver-C_yq_4BM.d.ts.map +1 -0
- package/dist/{createClassResolver-Dq6HCuqV.js → createClassResolver-uGu2N5MK.js} +108 -47
- package/dist/createComposedFamily-Bj1xF-M8.d.ts +40 -0
- package/dist/createComposedFamily-Bj1xF-M8.d.ts.map +1 -0
- package/dist/{createComposedFamily-BAVEgGC5.js → createComposedFamily-UvlKJIdx.js} +64 -27
- package/dist/groups/index.d.ts +1 -1
- package/dist/{index-NCIIKb9k.d.ts → index-CtkuoXP-.d.ts} +6 -13
- package/dist/index-CtkuoXP-.d.ts.map +1 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- package/dist/runtime-entry.d.ts +3 -3
- package/dist/runtime-entry.js +3 -3
- package/package.json +2 -2
- package/dist/component-BLE0PgG8.d.ts.map +0 -1
- package/dist/createClassResolver-Do1nmvkf.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.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-
|
|
1
|
+
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
|
|
2
2
|
export { type ClassResolver, type ClassResolverAttributes, createClassResolver };
|
package/dist/class-resolver.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createClassResolver } from "./createClassResolver-
|
|
1
|
+
import { t as createClassResolver } from "./createClassResolver-uGu2N5MK.js";
|
|
2
2
|
export { createClassResolver };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-
|
|
1
|
+
import { i as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
|
|
2
2
|
import { ComponentPropsWithRef, ComponentType, ForwardRefExoticComponent, JSX, ReactNode } from "react";
|
|
3
3
|
import { Globals, ObsoleteProperties, StandardProperties, SvgProperties, VendorProperties } from "csstype";
|
|
4
4
|
//#region src/conditions.d.ts
|
|
@@ -122,7 +122,9 @@ type BordersLevel4Properties = {
|
|
|
122
122
|
};
|
|
123
123
|
type AnimusCSSProperties<Overrides = (string & {}) | 0> = StandardProperties<Overrides> & VendorProperties<Overrides> & Pick<ObsoleteProperties<Overrides>, 'WebkitBoxOrient'> & Omit<SvgProperties<Overrides>, keyof StandardProperties> & BordersLevel4Properties;
|
|
124
124
|
type ColorProperties = 'color' | `${string}Color` | 'fill' | 'stroke';
|
|
125
|
-
|
|
125
|
+
/** The keywords SVG `<paint>` takes beside a colour, for `fill` and `stroke`. */
|
|
126
|
+
type PaintKeywords = 'none' | 'context-fill' | 'context-stroke';
|
|
127
|
+
type ColorGlobals = { [K in Extract<keyof AnimusCSSProperties, ColorProperties>]?: Globals | 'currentColor' | 'transparent' | (K extends 'fill' | 'stroke' ? PaintKeywords : never) | (string & {}); };
|
|
126
128
|
type SizeProperties = 'left' | 'right' | 'top' | 'bottom' | 'inset' | 'width' | 'height' | `${string}${'Width' | 'Height'}` | 'inlineSize' | 'blockSize' | `${string}${'InlineSize' | 'BlockSize'}` | `inset${'Inline' | 'Block'}${'' | 'Start' | 'End'}`;
|
|
127
129
|
type SizeValues = `${number}${'px' | 'rem' | 'vh' | 'vw' | 'vmax' | 'vmin' | '%'}` | `calc(${any})`;
|
|
128
130
|
type SizeGlobals = { [K in Extract<keyof AnimusCSSProperties, SizeProperties>]?: AnimusCSSProperties[K] | SizeValues | (number & {}); };
|
|
@@ -279,6 +281,17 @@ type MediaQueryMap<T> = {
|
|
|
279
281
|
[key: string]: T | undefined;
|
|
280
282
|
} : { [K in BreakpointKeys]?: T; });
|
|
281
283
|
type ResponsiveProp<T> = T | MediaQueryMap<T>;
|
|
284
|
+
/**
|
|
285
|
+
* A component prop's responsive value, where any breakpoint may hold
|
|
286
|
+
* `undefined`, which the runtime drops. Kept apart from `ResponsiveProp`:
|
|
287
|
+
* giving that one an `undefined` parameter, even unused, makes TS 5.9
|
|
288
|
+
* overflow (TS2590) relating a multi-group component's props.
|
|
289
|
+
*/
|
|
290
|
+
type ResponsivePropValue<T> = T | ({
|
|
291
|
+
_?: T | undefined;
|
|
292
|
+
} & (string extends BreakpointKeys ? {
|
|
293
|
+
[key: string]: T | undefined;
|
|
294
|
+
} : { [K in BreakpointKeys]?: T | undefined; }));
|
|
282
295
|
//#endregion
|
|
283
296
|
//#region src/types/scales.d.ts
|
|
284
297
|
type MapScale = Record<string | number, string | number>;
|
|
@@ -346,9 +359,7 @@ interface AbstractParser {
|
|
|
346
359
|
type IsEmpty<T> = [] extends T ? true : false | {} extends T ? true : false;
|
|
347
360
|
type StrictOrEmpty<Config extends SystemProp, ScaleT> = Config['strict'] extends false ? true : IsEmpty<ScaleT>;
|
|
348
361
|
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);
|
|
362
|
+
type PropertyValues<Property extends SystemProp, IncludeGlobals = false> = Exclude<PropertyTypes<IncludeGlobals extends true ? (string & {}) | 0 : never>[Property['property'] & string], IncludeGlobals extends true ? never : object | any[]>;
|
|
352
363
|
type NegativeOf<Config extends SystemProp, Keys> = Config['negative'] extends true ? NegateKeys<Extract<Keys, number>> : never;
|
|
353
364
|
/**
|
|
354
365
|
* What a strict scale admits beside its keys and keywords, as strict
|
|
@@ -376,9 +387,14 @@ type ColorOpacityRef<Config extends SystemProp> = Config['scale'] extends 'color
|
|
|
376
387
|
type ContainerUnitValue = `${number}cqw` | `${number}cqi` | `${number}cqh` | `${number}cqb` | `${number}cqmin` | `${number}cqmax`;
|
|
377
388
|
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
389
|
type ThemedScale<Config extends SystemProp> = [Config] extends [DeclarationProp] ? ResponsiveProp<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsiveProp<ThemedScaleValue<Config>>;
|
|
390
|
+
/** `ThemedScale` as a component prop takes it: see `ResponsivePropValue`. */
|
|
391
|
+
type ThemedPropValue<Config extends SystemProp> = [Config] extends [DeclarationProp] ? ResponsivePropValue<DeclarationKey<Extract<Config, DeclarationProp>>> : ResponsivePropValue<ThemedScaleValue<Config>>;
|
|
379
392
|
type RawSelectorKey = `${string}&${string}`;
|
|
380
393
|
type PublishedAliasKeys = Extract<keyof Conditions | keyof Selectors, `_${string}`>;
|
|
381
394
|
type KnownUnderscoreKey = [PublishedAliasKeys] extends [never] ? `_${string}` : BuiltInSelectorAlias | BuiltInConditionAlias | PublishedAliasKeys;
|
|
395
|
+
/** A keyword with `!important`, which CSS accepts after any declared value,
|
|
396
|
+
* or the shorthand `!` that means the same. */
|
|
397
|
+
type Important<Value> = Value extends string ? `${Value} !important` | `${Value}!` : never;
|
|
382
398
|
type PassThroughProp<K extends keyof PropertyTypes> = K extends 'animationName' ? ResponsiveProp<KeyframeRef<string> | PropertyTypes[K]> : ResponsiveProp<PropertyTypes[K] | Important<PropertyTypes<never>[K]>>;
|
|
383
399
|
type UnderscoreBlockMembers<Config extends Record<string, SystemProp>> = { [K in KnownUnderscoreKey]?: ThemedBlockBody<Config>; };
|
|
384
400
|
/**
|
|
@@ -408,7 +424,7 @@ type BuiltInSelectorAlias = '_link' | '_visited' | '_hover' | '_focus' | '_focus
|
|
|
408
424
|
* `BUILT_IN_CONDITIONS` in conditions.ts, and only type tests catch that drift.
|
|
409
425
|
*/
|
|
410
426
|
type BuiltInConditionAlias = '_motionReduce' | '_motionSafe' | '_print' | '_portrait' | '_landscape' | '_moreContrast' | '_lessContrast' | '_osDark' | '_osLight';
|
|
411
|
-
type SelectorAliasProps<GroupPropValues> = { [K in BuiltInSelectorAlias | Extract<keyof Selectors, `_${string}`>]?: Partial<GroupPropValues
|
|
427
|
+
type SelectorAliasProps<GroupPropValues> = { [K in BuiltInSelectorAlias | Extract<keyof Selectors, `_${string}`>]?: Partial<GroupPropValues> | undefined; };
|
|
412
428
|
//#endregion
|
|
413
429
|
//#region src/types/styling-names.d.ts
|
|
414
430
|
/** `T`'s declared keys, without a string index signature. */
|
|
@@ -463,14 +479,7 @@ declare class AnimusExtendedWithAll<PropRegistry extends Record<string, SystemPr
|
|
|
463
479
|
asClass<This extends {
|
|
464
480
|
_buildComponentConfig(): ClassResolverConfig;
|
|
465
481
|
}>(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
|
-
};
|
|
482
|
+
_buildComponentConfig(): ClassResolverConfig;
|
|
474
483
|
}
|
|
475
484
|
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
485
|
props<NewCustomProps extends Record<string, CustomPropConfig | DeclarationProp>>(config: NewCustomProps): AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, Redeclared<CustomProps, NewCustomProps>>;
|
|
@@ -526,14 +535,22 @@ type AnyBrandedComponent = ForwardRefExoticComponent<any> & {
|
|
|
526
535
|
extend: () => unknown;
|
|
527
536
|
};
|
|
528
537
|
type ExtendFn<PR extends Record<string, SystemProp>, GR extends Record<string, (keyof PR)[]>, BS, V, S, AG, CP> = {
|
|
529
|
-
extend: () => AnimusExtended<PR, GR, BS & CSSProps<AbstractProps, SystemProps<AbstractParser>>, V & Record<string, VariantConfig>, S &
|
|
538
|
+
extend: () => AnimusExtended<PR, GR, BS & CSSProps<AbstractProps, SystemProps<AbstractParser>>, V & Record<string, VariantConfig>, S & Record<string, {}>, AG & Record<string, true>, CP & Record<string, SystemProp>>;
|
|
530
539
|
};
|
|
531
540
|
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>]?:
|
|
541
|
+
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; };
|
|
542
|
+
type CustomPropValues<CP extends Record<string, SystemProp>> = { [K in keyof StripIndex<CP>]?: ThemedPropValue<StripIndex<CP>[K & keyof StripIndex<CP>]> | undefined; };
|
|
534
543
|
type StripIndex<T> = { [K in keyof T as string extends K ? never : number extends K ? never : K]: T[K]; };
|
|
535
|
-
|
|
536
|
-
|
|
544
|
+
/**
|
|
545
|
+
* Each axis's options, read from its `variants` table alone. A declaration
|
|
546
|
+
* build without `exactOptionalPropertyTypes` prints a config's optional fields
|
|
547
|
+
* as `?: X | undefined`, so testing the whole config against `VariantConfig`
|
|
548
|
+
* fails in a consumer that sets it, and the axis would widen to `string`.
|
|
549
|
+
*/
|
|
550
|
+
type VariantProps<V> = { [K in keyof StripIndex<V>]?: StripIndex<V>[K] extends {
|
|
551
|
+
variants: infer Options;
|
|
552
|
+
} ? keyof Options | undefined : string | undefined; };
|
|
553
|
+
type StateProps<S> = { [K in keyof StripIndex<S>]?: boolean | undefined; };
|
|
537
554
|
/**
|
|
538
555
|
* Keys Animus consumes; the runtime strips them before DOM forwarding.
|
|
539
556
|
* Unioned per source — `keyof` of the intersection hits TS2590 on emit.
|
|
@@ -548,8 +565,8 @@ type ResolvedGroupProps<PR extends Record<string, SystemProp>, GR extends Record
|
|
|
548
565
|
type AsTarget = keyof JSX.IntrinsicElements | ComponentType<any>;
|
|
549
566
|
/** Everything the builder admitted, whichever element renders. */
|
|
550
567
|
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;
|
|
568
|
+
asChild?: boolean | undefined;
|
|
569
|
+
className?: string | undefined;
|
|
553
570
|
children?: ReactNode;
|
|
554
571
|
};
|
|
555
572
|
/** A string terminal rendered as `E`: E's native props and ref, then Animus's. */
|
|
@@ -559,7 +576,7 @@ type AnimusNativeProps<E extends AsTarget, PR extends Record<string, SystemProp>
|
|
|
559
576
|
* reads a slot.
|
|
560
577
|
*/
|
|
561
578
|
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;
|
|
579
|
+
as?: AsTarget | undefined;
|
|
563
580
|
};
|
|
564
581
|
/**
|
|
565
582
|
* The element `As` selects, or the default element when `As` stays at its
|
|
@@ -574,9 +591,9 @@ type ElementFor<As extends AsTarget, El extends keyof JSX.IntrinsicElements> = [
|
|
|
574
591
|
* selected element or component lacks.
|
|
575
592
|
*/
|
|
576
593
|
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;
|
|
594
|
+
as?: El | undefined;
|
|
578
595
|
}> & (<As extends AsTarget>(props: AnimusNativeProps<ElementFor<As, El>, PR, GR, V, S, AG, CP> & {
|
|
579
|
-
as?: As;
|
|
596
|
+
as?: As | undefined;
|
|
580
597
|
}) => ReactNode) & ExtendFn<PR, GR, BS, V, S, AG, CP> & {
|
|
581
598
|
readonly [ConsumerProps]: AnimusConsumerProps<El, PR, GR, V, S, AG, CP>;
|
|
582
599
|
readonly [VariantConfigBrand]: V;
|
|
@@ -584,6 +601,14 @@ type AnimusComponent<El extends keyof JSX.IntrinsicElements, PR extends Record<s
|
|
|
584
601
|
};
|
|
585
602
|
/** `Omit` per union member, so a discriminated-union target keeps each arm. */
|
|
586
603
|
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
604
|
+
/**
|
|
605
|
+
* The target's own `className` type, which can be a callback of its state:
|
|
606
|
+
* the runtime hands a callback through. A target without one takes a string.
|
|
607
|
+
* `undefined` reads as absent, since the target always gets Animus's classes.
|
|
608
|
+
*/
|
|
609
|
+
type TargetClassName<P> = P extends {
|
|
610
|
+
className?: infer T;
|
|
611
|
+
} ? unknown extends T ? string | undefined : T | undefined : string | undefined;
|
|
587
612
|
/**
|
|
588
613
|
* The wrapped component's own props, with its ref, then exactly what the
|
|
589
614
|
* builder admitted: the active groups' props, variants, states and custom
|
|
@@ -593,7 +618,7 @@ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K>
|
|
|
593
618
|
* a target without them does not offer them.
|
|
594
619
|
*/
|
|
595
620
|
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?:
|
|
621
|
+
className?: TargetClassName<ComponentPropsWithRef<C>>;
|
|
597
622
|
children?: ReactNode;
|
|
598
623
|
};
|
|
599
624
|
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> & {
|
|
@@ -613,13 +638,16 @@ type VariantPropsOf<C> = VariantProps<ExtractVariantsConfig<C>>;
|
|
|
613
638
|
type RootSlot<Slots extends Record<string, unknown>> = 'Root' extends keyof Slots ? Slots['Root'] : never;
|
|
614
639
|
type RootVariantKeys<Slots extends Record<string, unknown>> = keyof VariantPropsOf<RootSlot<Slots>> & string;
|
|
615
640
|
type SharedConfig<Slots extends Record<string, unknown>> = { [K in RootVariantKeys<Slots>]?: true; };
|
|
641
|
+
/**
|
|
642
|
+
* An Animus slot's props already carry its `className`, which can be its
|
|
643
|
+
* target's callback; any other component's take a string.
|
|
644
|
+
*/
|
|
616
645
|
type SealedProps<C> = C extends {
|
|
617
646
|
readonly [ConsumerProps]: infer P;
|
|
618
647
|
} ? Omit<P, 'extend'> & {
|
|
619
|
-
className?: string;
|
|
620
648
|
children?: ReactNode;
|
|
621
649
|
} : C extends ForwardRefExoticComponent<infer P> ? Omit<P, 'extend'> & {
|
|
622
|
-
className?: string;
|
|
650
|
+
className?: string | undefined;
|
|
623
651
|
children?: ReactNode;
|
|
624
652
|
} : never;
|
|
625
653
|
type ComposedFamily<Slots extends Record<string, unknown>> = { [K in keyof Slots]: ForwardRefExoticComponent<SealedProps<Slots[K]>>; };
|
|
@@ -641,4 +669,4 @@ type BuilderClassProps<B> = B extends {
|
|
|
641
669
|
} ? AnimusClassProps<PR, GR, V, S, AG, CP> : never : never;
|
|
642
670
|
//#endregion
|
|
643
671
|
export { SerializedTheme as $, SystemProps as A, ReservedByConditionRegistry as At, ResponsiveProp as B, ParserProps as C, ConditionAliasMap as Ct, ScaleValue as D, NarrowedAliases as Dt, Scale as E, ConditionsOf as Et, VariantConfig as F, CSSColorValue as G, AbstractTheme as H, ArrayScale as I, ContextualVarRegistration as J, ColorModeOptions as K, MapScale as L, ThemedCSSProps as M, SelectorsOf as Mt, ThemedScale as N, UnknownAtRule as Nt, SelectorAliasProps as O, RawAtRuleKey as Ot, ThemedScaleValue as P, UnknownConditionAlias as Pt, ScaleTokenRef as Q, AbstractProps as R, Parser as S, ConditionAlias as St, PropertyValues as T, Conditions as Tt, BaseTheme as U, ThemeProps as V, BrowserColorSchemeConfig as W, EmittedTokenPaths as X, EmittedScales as Y, ModeAliasDefinition as Z, CSSProps as _, KeyframeFrameMap as _t, BuilderClassProps as a, TokenDefinition as at, DeclarationKey as b, AtRuleValue as bt, VariantPropsOf as c, FindPath as ct, StylingNames as d, PathToLiteral as dt, SystemPreferenceConfig as et, SystemPicks as f, PathValue as ft, CSSPropMap as g, Selectors as gt, BuiltInSelectorAlias as h, SelectorAliasMap as ht, AnyBrandedComponent as i, ThemeStructuralKey as it, ThemedCSSPropMap as j, ReservedBySelectorRegistry as jt, SystemProp as k, RegistryBrand as kt, AnimusExtended as l, LiteralPaths as lt, BuiltInConditionAlias as m, SelectorAlias as mt, AnimusComponent as n, ThemeCssFragment as nt, ComposedFamily as o, TokenScales as ot, AbstractParser as p, BUILT_IN_SELECTORS as pt, ColorTokenRef as q, AnimusWrappedComponent as r, ThemeManifest as rt, SharedConfig as s, CSSObject as st, AnimusClassProps as t, Theme as tt, AnimusExtendedWithAll as u, Path as ut, CompoundEntry as v, KeyframeRef as vt, Prop as w, ConditionKind as wt, DeclarationProp as x, BUILT_IN_CONDITIONS as xt, CustomPropConfig as y, Keyframes as yt, MediaQueryMap as z };
|
|
644
|
-
//# sourceMappingURL=component-
|
|
672
|
+
//# sourceMappingURL=component-CaNNGvbE.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-CaNNGvbE.d.ts","names":[],"sources":["../src/conditions.ts","../src/keyframes.ts","../src/selectors.ts","../src/types/properties.ts","../src/theme/flattenScale.ts","../src/types/shared.ts","../src/types/theme.ts","../src/types/props.ts","../src/types/scales.ts","../src/types/utils.ts","../src/types/config.ts","../src/types/styling-names.ts","../src/AnimusExtended.ts","../src/types/component.ts"],"mappings":";;;;;;;;KAKY;;;;;UAOK;cAEH;cACA;;;;;UAMG,cACf,0BACA;YAEU,eAAe;YACf,cAAc;;KAGd,aAAa,OACvB,YAAY,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;;;;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}
|
|
@@ -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-CaNNGvbE.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-BaU2HpRM.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-
|
|
1
|
+
{"version":3,"file":"compose-BaU2HpRM.d.ts","names":[],"sources":["../src/compose.ts"],"mappings":";;;;;;iBAmBgB,QACd;EAAgB,MAAM;IAAwB,eAE5C,4BAEI,eAAe,aAAa,QAElC,OAAO,OACP;EAAW,QAAQ;EAAQ;IAC1B,eAAe"}
|
package/dist/compose.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as compose } from "./compose-
|
|
1
|
+
import { t as compose } from "./compose-BaU2HpRM.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-CaNNGvbE.js";
|
|
2
2
|
import { ForwardRefExoticComponent } from "react";
|
|
3
3
|
//#region src/composeWithContext.d.ts
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composeWithContext.d.ts","names":[],"sources":["../src/composeWithContext.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"composeWithContext.d.ts","names":[],"sources":["../src/composeWithContext.ts"],"mappings":";;;;;;;wBAsBgB,mBACd;EAAgB,MAAM;IAAwB,eAE5C,4BAEI,eAAe,aAAa,QAElC,OAAO,OACP;EAAW,QAAQ;EAAQ;IAC1B,eAAe;;;;;wBA2DF,gCACd,OAAO,eAAe,iCACtB;EAAU;EAAc;IACvB,eAAe"}
|
|
@@ -22,10 +22,10 @@ function composeWithContext(slots, options) {
|
|
|
22
22
|
const value = props[key] ?? rootDefaults?.[key];
|
|
23
23
|
if (value != null) shared[key] = value;
|
|
24
24
|
}
|
|
25
|
-
return createElement(SourceComponent, {
|
|
25
|
+
return createElement(FamilyCtx.Provider, { value: shared }, createElement(SourceComponent, {
|
|
26
26
|
...props,
|
|
27
27
|
ref
|
|
28
|
-
}
|
|
28
|
+
}));
|
|
29
29
|
});
|
|
30
30
|
} else Wrapper = forwardRef((props, ref) => {
|
|
31
31
|
const inherited = useContext(FamilyCtx);
|
|
@@ -64,10 +64,10 @@ function createComposedFamilyWithContext(slots, config) {
|
|
|
64
64
|
const value = props[key] ?? rootDefaults?.[key];
|
|
65
65
|
if (value != null) shared[key] = value;
|
|
66
66
|
}
|
|
67
|
-
return createElement(SourceComponent, {
|
|
67
|
+
return createElement(Ctx.Provider, { value: shared }, createElement(SourceComponent, {
|
|
68
68
|
...props,
|
|
69
69
|
ref
|
|
70
|
-
}
|
|
70
|
+
}));
|
|
71
71
|
});
|
|
72
72
|
} else Wrapper = forwardRef((props, ref) => {
|
|
73
73
|
const inherited = useContext(Ctx);
|
|
@@ -19,6 +19,11 @@ interface ClassResolverConfig {
|
|
|
19
19
|
/** System props bound to a configured transform, whose `systemPropMap`
|
|
20
20
|
* keys are `typedValueKey`s. */
|
|
21
21
|
typedSystemProps?: readonly string[];
|
|
22
|
+
/** System prop → the props the system defines after it that write every
|
|
23
|
+
* property it writes. Of props that one element sets on one CSS
|
|
24
|
+
* property, the later-defined takes effect, so a superseded prop applies
|
|
25
|
+
* no class and no slot value. */
|
|
26
|
+
supersededBy?: Record<string, readonly string[]>;
|
|
22
27
|
}
|
|
23
28
|
type SystemPropMap = Record<string, Record<string, string>>;
|
|
24
29
|
interface ValueDynamicPropConfig {
|
|
@@ -65,7 +70,7 @@ interface ClassResolver<Props extends object = Record<string, unknown>> {
|
|
|
65
70
|
(props?: Props): string;
|
|
66
71
|
attrs(props?: Props): ClassResolverAttributes;
|
|
67
72
|
}
|
|
68
|
-
declare function createClassResolver(className: string,
|
|
73
|
+
declare function createClassResolver(className: string, resolverConfig: ClassResolverConfig, systemPropMap?: SystemPropMap, dynamicPropConfig?: DynamicPropConfig): ClassResolver;
|
|
69
74
|
//#endregion
|
|
70
75
|
export { DynamicPropConfig as a, ClassResolverConfig as i, ClassResolverAttributes as n, SystemPropMap as o, createClassResolver as r, ClassResolver as t };
|
|
71
|
-
//# sourceMappingURL=createClassResolver-
|
|
76
|
+
//# sourceMappingURL=createClassResolver-C_yq_4BM.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createClassResolver-C_yq_4BM.d.ts","names":[],"sources":["../src/runtime/resolveClasses.ts","../src/runtime/createClassResolver.ts"],"mappings":";UAAU;EACR;EACA;;UAGQ;EACR,YAAY;EACZ;;UAGe;EACf,WAAW,eAAe;EAC1B,YAAY;EACZ;EACA;EACA,gBAAgB,eAAe;EAC/B,sBAAsB;;EAEtB;;;EAGA;;;;;EAKA,eAAe;;KAGL,gBAAgB,eAAe;UAEjC;EACR;EACA;EACA;EACA;;EAEA;;EAEA;EACA,aAAa;EACb,cAAc;EACd;;EAEA;;EAEA;;EAEA;EACA;;UAGQ;EACR;EACA;;EAEA,YAAY;;EAEZ,wBAAwB,eAAe;;KAGpC,oBAAoB,kCACtB,KAAK,cAAc;KAGV,oBAAoB,eAE9B,yBAAyB;;;UC3DV;EACf;EACA;;;;;;UAOe,cAAc,uBAAuB;GACnD,QAAQ;EACT,MAAM,QAAQ,QAAQ;;iBASR,oBACd,mBACA,gBAAgB,qBAChB,gBAAgB,eAChB,oBAAoB,oBACnB"}
|
|
@@ -1,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);
|
|
@@ -100,15 +117,6 @@ function isAdmittedWithoutToken(value, dc) {
|
|
|
100
117
|
if (typeof value !== "string") return true;
|
|
101
118
|
return value === "0" || dc.keywords?.includes(value) === true || value.includes("{") || CONTAINER_UNIT.test(value) || dc.property !== void 0 && SIZE_PROPERTY.test(dc.property) && (SIZE_LENGTH.test(value) || value.startsWith("calc("));
|
|
102
119
|
}
|
|
103
|
-
/** A CSS-wide keyword is a cascade instruction, not a value: no transform
|
|
104
|
-
* sees it, and through an inline variable it would act on the variable. */
|
|
105
|
-
const CSS_WIDE_KEYWORDS = /* @__PURE__ */ new Set([
|
|
106
|
-
"initial",
|
|
107
|
-
"inherit",
|
|
108
|
-
"unset",
|
|
109
|
-
"revert",
|
|
110
|
-
"revert-layer"
|
|
111
|
-
]);
|
|
112
120
|
function resolveEntry(value, dc) {
|
|
113
121
|
const key = String(value);
|
|
114
122
|
let scaleResolved = dc.scaleValues?.[key];
|
|
@@ -120,8 +128,7 @@ function resolveEntry(value, dc) {
|
|
|
120
128
|
if (scaleResolved == null && dc.strict && dc.scaleValues && !isAdmittedWithoutToken(value, dc)) return { entry: value };
|
|
121
129
|
const input = scaleResolved ?? value;
|
|
122
130
|
let transformed = input;
|
|
123
|
-
|
|
124
|
-
if (dc.transform && !keyword) {
|
|
131
|
+
if (dc.transform) {
|
|
125
132
|
try {
|
|
126
133
|
transformed = dc.transform(input);
|
|
127
134
|
} catch (cause) {
|
|
@@ -130,10 +137,8 @@ function resolveEntry(value, dc) {
|
|
|
130
137
|
if (!isValidTransformResult(transformed)) return { shape: describeResultShape(transformed) };
|
|
131
138
|
}
|
|
132
139
|
let css;
|
|
133
|
-
if (typeof transformed === "number")
|
|
134
|
-
|
|
135
|
-
css = applyUnitFallback(transformed, cssProperties);
|
|
136
|
-
} else css = String(transformed);
|
|
140
|
+
if (typeof transformed === "number") css = applyUnitFallback(transformed, slotProperties(dc));
|
|
141
|
+
else css = String(transformed);
|
|
137
142
|
return negate ? negateCssValue(css) : css;
|
|
138
143
|
}
|
|
139
144
|
const warnedDrops = /* @__PURE__ */ new Set();
|
|
@@ -148,13 +153,14 @@ function warnDroppedValue(baseClassName, propName, serializedValue, customOwned)
|
|
|
148
153
|
/**
|
|
149
154
|
* A value taken from a variant default emits `--{prop}-default`, not the
|
|
150
155
|
* value, so the compose override rule misses and the parent's value wins.
|
|
156
|
+
* An explicit `undefined` takes the default as an omitted prop does.
|
|
151
157
|
*/
|
|
152
158
|
function applyVariantClasses(classes, baseClassName, props, config) {
|
|
153
159
|
if (!config.variants) return;
|
|
154
160
|
for (const [prop, vc] of Object.entries(config.variants)) {
|
|
155
161
|
const value = props[prop] ?? vc.default;
|
|
156
162
|
if (value != null) {
|
|
157
|
-
const isDefault =
|
|
163
|
+
const isDefault = props[prop] == null && vc.default != null;
|
|
158
164
|
classes.push(`${baseClassName}--${prop}-${isDefault ? "default" : value}`);
|
|
159
165
|
recordWitness(baseClassName, prop, value, "static");
|
|
160
166
|
}
|
|
@@ -191,6 +197,16 @@ function warnInvalidTransformResult(baseClassName, propName, shape) {
|
|
|
191
197
|
console.warn(`[animus:drop] ${baseClassName}: transform for prop '${propName}' returned ${shape} — expected string or finite number; value dropped`);
|
|
192
198
|
}
|
|
193
199
|
}
|
|
200
|
+
const warnedImportant = /* @__PURE__ */ new Set();
|
|
201
|
+
/** Keyed by value: each runtime value that loses `!important` is reported once. */
|
|
202
|
+
function warnIgnoredImportant(baseClassName, propName, value) {
|
|
203
|
+
if (IS_DEV) {
|
|
204
|
+
const dedupeKey = `${baseClassName}|${propName}|${value}`;
|
|
205
|
+
if (warnedImportant.has(dedupeKey)) return;
|
|
206
|
+
warnedImportant.add(dedupeKey);
|
|
207
|
+
console.warn(`[animus:important] ${baseClassName}: !important is ignored on the runtime-generated value ${JSON.stringify(value)} of prop '${propName}' — a runtime value reaches CSS through a variable, which cannot carry it; declare the value literally to keep !important`);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
194
210
|
const warnedThrows = /* @__PURE__ */ new Set();
|
|
195
211
|
const warnedStrictMisses = /* @__PURE__ */ new Set();
|
|
196
212
|
/** Keyed by value, like a throw: each rejected input is reported once. */
|
|
@@ -259,23 +275,43 @@ function slotClassFor(dc, resolved) {
|
|
|
259
275
|
/**
|
|
260
276
|
* Resolution is staged so a drop is atomic: one entry that misses a strict
|
|
261
277
|
* scale, or one transform that throws or returns an invalid result, leaves
|
|
262
|
-
* `classes` and `dynStyle` untouched.
|
|
263
|
-
*
|
|
278
|
+
* `classes` and `dynStyle` untouched.
|
|
279
|
+
*
|
|
280
|
+
* A slot is a CSS variable, which cannot carry `!important`. A literal that
|
|
281
|
+
* carries it, at a breakpoint, takes the class extraction emits for every
|
|
282
|
+
* literal branch it reads; a bare literal's class the caller already found.
|
|
283
|
+
* Any other value is runtime-generated: it resolves as at build time, where
|
|
284
|
+
* a trailing `!` is ` !important`, and the slot takes the result without the
|
|
285
|
+
* priority, which `ignoredImportant` hears of. Where only custom properties
|
|
286
|
+
* read the value, a trailing `!` is no priority, as at build time.
|
|
264
287
|
*/
|
|
265
|
-
function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass) {
|
|
288
|
+
function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass, ignoredImportant) {
|
|
266
289
|
const staged = [];
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
290
|
+
const [responsive, entries] = responsiveEntries(propValue);
|
|
291
|
+
const lookup = (bp, value) => literalClass(bp === "_" ? value : { [bp]: value });
|
|
292
|
+
for (const [bp, authored] of entries) {
|
|
293
|
+
let value = authored;
|
|
294
|
+
let ignored;
|
|
295
|
+
const priority = typeof authored === "string" ? importantPriority(authored) : void 0;
|
|
296
|
+
if (typeof authored === "string" && priority && (priority.spelling === "important" || !isCustomOnly(slotProperties(dc)))) {
|
|
297
|
+
const literal = responsive ? lookup(bp, authored) : void 0;
|
|
298
|
+
if (literal) {
|
|
299
|
+
staged.push([literal]);
|
|
300
|
+
continue;
|
|
301
|
+
}
|
|
302
|
+
ignored = authored;
|
|
303
|
+
if (priority.spelling === "shorthand") value = `${authored.slice(0, priority.end)} !important`;
|
|
273
304
|
}
|
|
274
|
-
|
|
275
|
-
if (typeof resolved !== "string") return "entry" in resolved ? {
|
|
305
|
+
let resolved = resolveEntry(value, dc);
|
|
306
|
+
if (typeof resolved !== "string") return "entry" in resolved && responsive ? {
|
|
276
307
|
...resolved,
|
|
277
308
|
breakpoint: bp
|
|
278
309
|
} : resolved;
|
|
310
|
+
if (ignored !== void 0) {
|
|
311
|
+
ignoredImportant(ignored);
|
|
312
|
+
const end = importantPriority(resolved)?.end;
|
|
313
|
+
resolved = end === void 0 ? resolved : resolved.slice(0, end);
|
|
314
|
+
}
|
|
279
315
|
const slotClass = slotClassFor(dc, resolved);
|
|
280
316
|
staged.push(bp === "_" ? [
|
|
281
317
|
slotClass,
|
|
@@ -287,18 +323,17 @@ function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass) {
|
|
|
287
323
|
resolved
|
|
288
324
|
]);
|
|
289
325
|
}
|
|
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
326
|
for (const [cls, varName, resolved] of staged) {
|
|
327
|
+
if (varName !== void 0 && resolved !== void 0) {
|
|
328
|
+
if (varName in dynStyle) {
|
|
329
|
+
const keep = `${dc.slotClass}--keep`;
|
|
330
|
+
const twin = cls.startsWith(keep) ? dc.slotClass + cls.slice(keep.length) : keep + cls.slice(dc.slotClass.length);
|
|
331
|
+
const at = classes.indexOf(cls);
|
|
332
|
+
classes.splice(at >= 0 ? at : classes.indexOf(twin), 1);
|
|
333
|
+
}
|
|
334
|
+
dynStyle[varName] = resolved;
|
|
335
|
+
}
|
|
300
336
|
classes.push(cls);
|
|
301
|
-
if (varName !== void 0 && resolved !== void 0) dynStyle[varName] = resolved;
|
|
302
337
|
}
|
|
303
338
|
return null;
|
|
304
339
|
}
|
|
@@ -311,8 +346,7 @@ function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass) {
|
|
|
311
346
|
function applyDeclarationProp(classes, dynStyle, propValue, dc) {
|
|
312
347
|
const records = dc.declarationScaleValues;
|
|
313
348
|
const memberVars = Object.entries(dc.memberVars);
|
|
314
|
-
const responsive =
|
|
315
|
-
const entries = responsive ? Object.entries(propValue).filter(([, value]) => value != null) : [["_", propValue]];
|
|
349
|
+
const [responsive, entries] = responsiveEntries(propValue);
|
|
316
350
|
const staged = [];
|
|
317
351
|
for (const [breakpoint, value] of entries) {
|
|
318
352
|
const key = String(value);
|
|
@@ -331,6 +365,32 @@ function applyDeclarationProp(classes, dynStyle, propValue, dc) {
|
|
|
331
365
|
}
|
|
332
366
|
return null;
|
|
333
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* A responsive value without its nullish breakpoints, so it keys the same
|
|
370
|
+
* static class as the value written without them; `undefined` when none
|
|
371
|
+
* remain, as if the prop were omitted.
|
|
372
|
+
*/
|
|
373
|
+
function withoutAbsentBreakpoints(value) {
|
|
374
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return value;
|
|
375
|
+
const entries = Object.entries(value);
|
|
376
|
+
if (entries.every(([, entry]) => entry != null)) return value;
|
|
377
|
+
const present = entries.filter(([, entry]) => entry != null);
|
|
378
|
+
return present.length > 0 ? Object.fromEntries(present) : void 0;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* The config with each admitted prop named once, at its first position. An
|
|
382
|
+
* extracted config lists every admitted group's props, and groups can share
|
|
383
|
+
* one, as flexbox and grid share `alignItems`.
|
|
384
|
+
*/
|
|
385
|
+
function withUniqueSystemPropNames(config) {
|
|
386
|
+
const names = config.systemPropNames;
|
|
387
|
+
if (!names) return config;
|
|
388
|
+
const unique = [...new Set(names)];
|
|
389
|
+
return unique.length === names.length ? config : {
|
|
390
|
+
...config,
|
|
391
|
+
systemPropNames: unique
|
|
392
|
+
};
|
|
393
|
+
}
|
|
334
394
|
function resolveClasses(baseClassName, props, config, systemPropMap, dynamicPropConfig) {
|
|
335
395
|
const classes = [baseClassName];
|
|
336
396
|
let dynStyle;
|
|
@@ -340,11 +400,11 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
|
|
|
340
400
|
applyStateClasses(classes, baseClassName, props, config, activeStates);
|
|
341
401
|
const systemPropNames = config.systemPropNames || [];
|
|
342
402
|
if (systemPropNames.length > 0) {
|
|
343
|
-
const { customPropMap, customDynamicConfig } = config;
|
|
403
|
+
const { customPropMap, customDynamicConfig, supersededBy } = config;
|
|
344
404
|
for (const propName of systemPropNames) {
|
|
345
|
-
|
|
346
|
-
const propValue = props[propName];
|
|
405
|
+
const propValue = withoutAbsentBreakpoints(props[propName]);
|
|
347
406
|
if (propValue == null) continue;
|
|
407
|
+
if (supersededBy?.[propName]?.some((later) => withoutAbsentBreakpoints(props[later]) != null)) continue;
|
|
348
408
|
const key = serializeValueKey(propValue);
|
|
349
409
|
const customOwned = customPropMap?.[propName] !== void 0 || customDynamicConfig?.[propName] !== void 0;
|
|
350
410
|
const [classMap, typedProps] = customOwned ? [customPropMap, config.typedCustomProps] : [systemPropMap, config.typedSystemProps];
|
|
@@ -357,7 +417,7 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
|
|
|
357
417
|
const dc = customOwned ? customDynamicConfig?.[propName] : dynamicPropConfig?.[propName];
|
|
358
418
|
if (dc) {
|
|
359
419
|
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)]);
|
|
420
|
+
const failure = dc.kind === "declarations" ? applyDeclarationProp(classes, staged, propValue, dc) : applyDynamicProp(classes, staged, propValue, dc, (value) => classMap?.[propName]?.[(typed ? typedValueKey : serializeValueKey)(value)], (value) => warnIgnoredImportant(baseClassName, propName, value));
|
|
361
421
|
if (failure === null) {
|
|
362
422
|
dynStyle = staged;
|
|
363
423
|
recordWitness(baseClassName, propName, key, "dynamic");
|
|
@@ -385,7 +445,8 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
|
|
|
385
445
|
function serializeDynamicStyle(style) {
|
|
386
446
|
return Object.entries(style).map(([property, value]) => `${property}: ${value}`).join("; ");
|
|
387
447
|
}
|
|
388
|
-
function createClassResolver(className,
|
|
448
|
+
function createClassResolver(className, resolverConfig, systemPropMap, dynamicPropConfig) {
|
|
449
|
+
const config = withUniqueSystemPropNames(resolverConfig);
|
|
389
450
|
const resolveAttributes = (props) => {
|
|
390
451
|
const { classes, dynamicStyle } = resolveClasses(className, props || {}, config, systemPropMap, dynamicPropConfig);
|
|
391
452
|
const attributes = { class: classes.join(" ") };
|
|
@@ -396,4 +457,4 @@ function createClassResolver(className, config, systemPropMap, dynamicPropConfig
|
|
|
396
457
|
return Object.assign(resolver, { attrs: resolveAttributes });
|
|
397
458
|
}
|
|
398
459
|
//#endregion
|
|
399
|
-
export { resolveClasses as n, createClassResolver as t };
|
|
460
|
+
export { resolveClasses as n, withUniqueSystemPropNames as r, createClassResolver as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { a as DynamicPropConfig, i as ClassResolverConfig, o as SystemPropMap } from "./createClassResolver-C_yq_4BM.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, componentConfig: 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-Bj1xF-M8.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createComposedFamily-Bj1xF-M8.d.ts","names":[],"sources":["../src/runtime/index.ts","../src/runtime/createComposedFamily.ts"],"mappings":";;;UAiBU,wBAAwB;KAE7B,uBAAuB,MAAM;KAE7B,YAAY,YAAY;KAExB,kBAAkB,kBAAkB;EACvC;EACA,iBAAiB,SAAS;EAC1B,kBAAkB,SAAS,eAAe;;;;;;;;;;;;;;;;;;;;iBAyJ5B,cACd,UAAU,WACV,eACA,MAAM,WACL;iBAkDa,gBACd,SAAS,aACT,mBACA,iBAAiB,iBACjB,gBAAgB,eAChB,oBAAoB,oBACnB;;;UCjOO;EACR;;iBAGc,qBACd,OAAO,eAAe,iCACtB,QAAQ,uBACP,eAAe"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as resolveClasses } from "./createClassResolver-
|
|
1
|
+
import { n as resolveClasses, r as withUniqueSystemPropNames } from "./createClassResolver-uGu2N5MK.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,51 +75,84 @@ 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
|
+
/** Animus's classes, then the caller's. */
|
|
121
|
+
function joinClassNames(classes, className) {
|
|
122
|
+
return className ? `${classes} ${className}` : classes;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
105
125
|
* A string terminal renders `as` in place of its tag. A component terminal
|
|
106
126
|
* always renders its component, which receives `as` and `asChild` like any
|
|
107
127
|
* other prop, so its own wiring runs whatever element it ends up rendering.
|
|
128
|
+
*
|
|
129
|
+
* A component target may take `className` and `style` as callbacks that it
|
|
130
|
+
* calls with its own state, as Base UI's do. It gets a callback in their
|
|
131
|
+
* place, which merges the caller's result as a plain value merges: Animus's
|
|
132
|
+
* classes first, and Animus's dynamic style over the caller's style.
|
|
108
133
|
*/
|
|
109
134
|
function renderElement(element, filterProps, props, ref, classes, dynamicStyle) {
|
|
110
|
-
const
|
|
135
|
+
const ownsElement = typeof element === "string";
|
|
136
|
+
const target = ownsElement ? props.as || element : element;
|
|
137
|
+
const { className, style } = props;
|
|
138
|
+
const ownClassName = classes.join(" ");
|
|
111
139
|
const domProps = {
|
|
112
140
|
ref,
|
|
113
|
-
className:
|
|
141
|
+
className: !ownsElement && typeof className === "function" ? (state) => joinClassNames(ownClassName, className(state)) : joinClassNames(ownClassName, className)
|
|
114
142
|
};
|
|
115
143
|
forwardProps(props, filterProps, domProps);
|
|
116
|
-
if (dynamicStyle) domProps.style =
|
|
117
|
-
...
|
|
144
|
+
if (dynamicStyle && !ownsElement && typeof style === "function") domProps.style = (state) => ({
|
|
145
|
+
...style(state),
|
|
146
|
+
...dynamicStyle
|
|
147
|
+
});
|
|
148
|
+
else if (dynamicStyle) domProps.style = style ? {
|
|
149
|
+
...style,
|
|
118
150
|
...dynamicStyle
|
|
119
151
|
} : dynamicStyle;
|
|
120
152
|
return createElement(target, domProps);
|
|
121
153
|
}
|
|
122
|
-
function createComponent(element, className,
|
|
154
|
+
function createComponent(element, className, componentConfig, systemPropMap, dynamicPropConfig) {
|
|
155
|
+
const config = withUniqueSystemPropNames(componentConfig);
|
|
123
156
|
const variantProps = config.variants ? Object.keys(config.variants) : [];
|
|
124
157
|
const stateProps = config.states || [];
|
|
125
158
|
const systemPropNames = config.systemPropNames || [];
|
|
@@ -132,8 +165,12 @@ function createComponent(element, className, config, systemPropMap, dynamicPropC
|
|
|
132
165
|
]);
|
|
133
166
|
const Component = forwardRef((props, ref) => {
|
|
134
167
|
const { classes, dynamicStyle } = resolveClasses(className, props, config, systemPropMap, dynamicPropConfig);
|
|
135
|
-
if (props.
|
|
136
|
-
|
|
168
|
+
if (props.asChild && ownsPolymorphism) {
|
|
169
|
+
const slotProps = { className: joinClassNames(classes.join(" "), props.className) };
|
|
170
|
+
forwardProps(props, filterProps, slotProps);
|
|
171
|
+
return renderSlot(props.children, slotProps, ref, dynamicStyle);
|
|
172
|
+
}
|
|
173
|
+
return renderElement(element, filterProps, props, ref, classes, dynamicStyle);
|
|
137
174
|
});
|
|
138
175
|
Component.displayName = className;
|
|
139
176
|
const variantDefaults = {};
|
|
@@ -171,4 +208,4 @@ function createComposedFamily(slots, config) {
|
|
|
171
208
|
return result;
|
|
172
209
|
}
|
|
173
210
|
//#endregion
|
|
174
|
-
export { createComponent as n, createComposedFamily as t };
|
|
211
|
+
export { createComponent as n, renderAsChild as r, createComposedFamily as t };
|
package/dist/groups/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-
|
|
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-
|
|
1
|
+
import { i as ClassResolverConfig, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
|
|
2
|
+
import { $ as SerializedTheme, A as SystemProps, At as ReservedByConditionRegistry, Ct as ConditionAliasMap, Dt as NarrowedAliases, F as VariantConfig, G as CSSColorValue, H as AbstractTheme, J as ContextualVarRegistration, K as ColorModeOptions, M as ThemedCSSProps, R as AbstractProps, Z as ModeAliasDefinition, _ as CSSProps, _t as KeyframeFrameMap, a as BuilderClassProps, at as TokenDefinition, bt as AtRuleValue, d as StylingNames, f as SystemPicks, g as CSSPropMap, h as BuiltInSelectorAlias, ht as SelectorAliasMap, it as ThemeStructuralKey, j as ThemedCSSPropMap, jt as ReservedBySelectorRegistry, k as SystemProp, kt as RegistryBrand, l as AnimusExtended, lt as LiteralPaths, m as BuiltInConditionAlias, n as AnimusComponent, nt as ThemeCssFragment, p as AbstractParser, r as AnimusWrappedComponent, rt as ThemeManifest, st as CSSObject, v as CompoundEntry, x as DeclarationProp, y as CustomPropConfig, yt as Keyframes } from "./component-CaNNGvbE.js";
|
|
3
|
+
import "./compose-BaU2HpRM.js";
|
|
4
|
+
import "./createComposedFamily-Bj1xF-M8.js";
|
|
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-CtkuoXP-.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CtkuoXP-.d.ts","names":[],"sources":["../src/Animus.ts","../src/asset.ts","../src/transforms/createTransform.ts","../src/SystemBuilder.ts","../src/scales/createScale.ts","../src/declarations.ts","../src/theme/property-records.ts","../src/theme/createTheme.ts","../src/theme/serializeTokens.ts","../src/theme/types.ts","../src/transforms/border.ts","../src/transforms/grid.ts","../src/transforms/size.ts"],"mappings":";;;;;;cAkCa,cACX,qBAAqB,eAAe,aACpC,sBAAsB,sBAAsB,kBAC5C,mBAAmB,SAAS,eAAe,YAAY,kBACvD,iBAAiB,eAAe,gBAChC,eAAe,WAAW,eAAe,YAAY,kBACrD,qBAAqB,sBACrB,oBAAoB,eAAe;EAEnC,cAAqB;EACrB,eAAsB;EACtB,YAAmB;EACnB,cAAqB;EACrB,UAAiB;EACjB,cAAqB;EACrB,QAAe;EACf,WAA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,IACd,EAAE;KAIE;EACV,YAAY,eAAe;EAC3B,SAAS;;;;;;KAOC,gBAAgB,UAAU,eAElC,SACA,eAAe,UACf,eAAe,SAAS,eAAe;;;;cC5C9B,iBAAA;;;;cCAA,UAAA;;cAaA,eAAA;;;;cCbA,uBAAoB;;cAWpB,MAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-
|
|
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 };
|
|
1
|
+
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
|
|
2
|
+
import { $ as SerializedTheme, A as SystemProps, At as ReservedByConditionRegistry, B as ResponsiveProp, C as ParserProps, Ct as ConditionAliasMap, D as ScaleValue, Dt as NarrowedAliases, E as Scale, Et as ConditionsOf, F as VariantConfig, G as CSSColorValue, H as AbstractTheme, I as ArrayScale, J as ContextualVarRegistration, K as ColorModeOptions, L as MapScale, M as ThemedCSSProps, Mt as SelectorsOf, N as ThemedScale, Nt as UnknownAtRule, O as SelectorAliasProps, Ot as RawAtRuleKey, P as ThemedScaleValue, Pt as UnknownConditionAlias, Q as ScaleTokenRef, R as AbstractProps, S as Parser, St as ConditionAlias, T as PropertyValues, Tt as Conditions, U as BaseTheme, V as ThemeProps, W as BrowserColorSchemeConfig, X as EmittedTokenPaths, Y as EmittedScales, _ as CSSProps, _t as KeyframeFrameMap, b as DeclarationKey, bt as AtRuleValue, c as VariantPropsOf, ct as FindPath, dt as PathToLiteral, et as SystemPreferenceConfig, ft as PathValue, g as CSSPropMap, gt as Selectors, h as BuiltInSelectorAlias, ht as SelectorAliasMap, i as AnyBrandedComponent, it as ThemeStructuralKey, j as ThemedCSSPropMap, jt as ReservedBySelectorRegistry, k as SystemProp, kt as RegistryBrand, l as AnimusExtended, lt as LiteralPaths, m as BuiltInConditionAlias, mt as SelectorAlias, n as AnimusComponent, o as ComposedFamily, ot as TokenScales, p as AbstractParser, pt as BUILT_IN_SELECTORS, q as ColorTokenRef, r as AnimusWrappedComponent, rt as ThemeManifest, s as SharedConfig, st as CSSObject, t as AnimusClassProps, tt as Theme, u as AnimusExtendedWithAll, ut as Path, v as CompoundEntry, vt as KeyframeRef, w as Prop, wt as ConditionKind, x as DeclarationProp, xt as BUILT_IN_CONDITIONS, y as CustomPropConfig, yt as Keyframes, z as MediaQueryMap } from "./component-CaNNGvbE.js";
|
|
3
|
+
import { t as compose } from "./compose-BaU2HpRM.js";
|
|
4
|
+
import { $ as AssetRef, A as LibraryBundle, B as VocabularyCollisionEntry, C as CreateKeyframesFactory, D as GlobalStyleMap, E as GlobalStyleBlock, F as SerializedConfig, G as VocabularyOf, H as VocabularyKeyframesEntry, I as SystemBuilder, J as NamedTransform, K as VocabularyRecord, L as SystemBuilderStage, M as RegisterableKeyframes, N as RegistrySnapshot, O as GlobalStylesFactory, P as SealedSystemInstance, Q as ASSET_PLACEHOLDER_PREFIX, R as SystemBundle, S as stringScale, T as FontFaceSrc, U as VocabularyLegacyVerbEntry, V as VocabularyGlobalStyleEntry, W as VocabularyNameCollision, X as areTransformsEqual, Y as TransformFn, Z as createTransform, _ as ThemeBuilderStage, a as borderShorthand, b as numericOrStringScale, c as ColorModeConfig, d as MergeTheme, et as asset, f as PrivateThemeKeys, g as ThemeBuilder, h as Flatten, i as gridItemRatio, j as RegisterableGlobalStyles, k as KeyframesFrameData, l as Mergable, m as SanitizeKey, n as size, nt as AnimusWithAll, o as Assign, p as KeyAsVariable, q as createSystem, r as gridItem, s as AssignValueIfUnmergable, t as percentageOrAbsolute, tt as Animus, u as Merge, v as createTheme, w as FontFace, x as numericScale, y as createScale, z as SystemInstance } from "./index-CtkuoXP-.js";
|
|
5
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-Bj1xF-M8.js";
|
|
6
|
+
export { ASSET_PLACEHOLDER_PREFIX, type AbstractParser, type AbstractProps, type AbstractTheme, Animus, type AnimusClassProps, type AnimusComponent, AnimusExtended, AnimusExtendedWithAll, AnimusWithAll, type AnimusWrappedComponent, type AnyBrandedComponent, type ArrayScale, type AssetRef, type Assign, type AssignValueIfUnmergable, type AtRuleValue, BUILT_IN_CONDITIONS, BUILT_IN_SELECTORS, type BaseTheme, type BrowserColorSchemeConfig, type BuiltInConditionAlias, type BuiltInSelectorAlias, type CSSColorValue, type CSSObject, type CSSPropMap, type CSSProps, type ClassResolver, type ClassResolverAttributes, type ColorModeConfig, type ColorModeOptions, type ColorTokenRef, type ComposedFamily, type CompoundEntry, type ConditionAlias, type ConditionAliasMap, type ConditionKind, type Conditions, type ConditionsOf, type ContextualVarRegistration, type CreateKeyframesFactory, type CustomPropConfig, type DeclarationKey, type DeclarationProp, type EmittedScales, type EmittedTokenPaths, type FindPath, type Flatten, type FontFace, type FontFaceSrc, type GlobalStyleBlock, type GlobalStyleMap, type GlobalStylesFactory, type KeyAsVariable, type KeyframeFrameMap, type KeyframeRef, type Keyframes, type KeyframesFrameData, type LibraryBundle, type LiteralPaths, type MapScale, type MediaQueryMap, type Mergable, type Merge, type MergeTheme, type NamedTransform, type NarrowedAliases, type Parser, type ParserProps, type Path, type PathToLiteral, type PathValue, type PrivateThemeKeys, type Prop, type PropertyValues, type RawAtRuleKey, type RegisterableGlobalStyles, type RegisterableKeyframes, type RegistryBrand, type RegistrySnapshot, type ReservedByConditionRegistry, type ReservedBySelectorRegistry, type ResponsiveProp, type SanitizeKey, type Scale, type ScaleTokenRef, type ScaleValue, type SealedSystemInstance, type SelectorAlias, type SelectorAliasMap, type SelectorAliasProps, type Selectors, type SelectorsOf, type SerializedConfig, type SerializedTheme, type SharedConfig, SystemBuilder, type SystemBuilderStage, type SystemBundle, type SystemInstance, type SystemPreferenceConfig, type SystemProp, type SystemProps, type Theme, ThemeBuilder, type ThemeBuilderStage, type ThemeManifest, type ThemeProps, type ThemeStructuralKey, type ThemedCSSPropMap, type ThemedCSSProps, type ThemedScale, type ThemedScaleValue, type TokenScales, type TransformFn, type UnknownAtRule, type UnknownConditionAlias, type VariantConfig, type VariantPropsOf, type VocabularyCollisionEntry, type VocabularyGlobalStyleEntry, type VocabularyKeyframesEntry, type VocabularyLegacyVerbEntry, type VocabularyNameCollision, type VocabularyOf, type VocabularyRecord, areTransformsEqual, asset, borderShorthand, compose, createClassResolver, createComponent, createComposedFamily, createScale, createSystem, createTheme, createTransform, gridItem, gridItemRatio, numericOrStringScale, numericScale, percentageOrAbsolute, renderAsChild, size, stringScale };
|
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-uGu2N5MK.js";
|
|
2
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-UvlKJIdx.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
|
-
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-
|
|
2
|
-
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-
|
|
3
|
-
export { type ClassResolver, type ClassResolverAttributes, createClassResolver, createComponent, createComposedFamily };
|
|
1
|
+
import { n as ClassResolverAttributes, r as createClassResolver, t as ClassResolver } from "./createClassResolver-C_yq_4BM.js";
|
|
2
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-Bj1xF-M8.js";
|
|
3
|
+
export { type ClassResolver, type ClassResolverAttributes, createClassResolver, createComponent, createComposedFamily, renderAsChild };
|
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-uGu2N5MK.js";
|
|
2
|
+
import { n as createComponent, r as renderAsChild, t as createComposedFamily } from "./createComposedFamily-UvlKJIdx.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.23",
|
|
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.23",
|
|
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,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,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B,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;EAAiB;EAAoB,WAAW;IACrD,UAAU,gCAAgC,KACxC,KAAK;EAAiB;EAAoB,WAAW;;KAG/C,eAAe,cAAc,8BACtC,WAAW,QAAQ,0BAA0B,YAAY,MAAM;;KAItD,iBACV,WAAW,eAAe,aAC1B,WAAW,sBAAsB,QACjC,GACA,GACA,IACA,WAAW,eAAe,eACxB,mBAAmB,IAAI,IAAI,MAC7B,aAAa,KACb,WAAW,KACX,iBAAiB,MACjB,mBAAmB,mBAAmB,IAAI,IAAI;;;;;;KAOpC,kBAAkB,KAAK;EACjC,oBAAoB,WAAW,eAAe;IAE5C;EACE,qBAAqB,WAAW,sBAAsB;EACtD,gBAAgB;EAChB,oBAAoB;EACpB,oBAAoB;EACpB,cAAc,WAAW,eAAe;IAExC,iBAAiB,IAAI,IAAI,GAAG,GAAG,IAAI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createClassResolver-Do1nmvkf.d.ts","names":[],"sources":["../src/runtime/resolveClasses.ts","../src/runtime/createClassResolver.ts"],"mappings":";UAAU;EACR;EACA;;UAGQ;EACR,YAAY;EACZ;;UAGe;EACf,WAAW,eAAe;EAC1B,YAAY;EACZ;EACA;EACA,gBAAgB,eAAe;EAC/B,sBAAsB;;EAEtB;;;EAGA;;KAGU,gBAAgB,eAAe;UAEjC;EACR;EACA;EACA;EACA;;EAEA;;EAEA;EACA,aAAa;EACb,cAAc;EACd;;EAEA;;EAEA;;EAEA;EACA;;UAGQ;EACR;EACA;;EAEA,YAAY;;EAEZ,wBAAwB,eAAe;;KAGpC,oBAAoB,kCACtB,KAAK,cAAc;KAGV,oBAAoB,eAE9B,yBAAyB;;;UCvDV;EACf;EACA;;;;;;UAOe,cAAc,uBAAuB;GACnD,QAAQ;EACT,MAAM,QAAQ,QAAQ;;iBASR,oBACd,mBACA,QAAQ,qBACR,gBAAgB,eAChB,oBAAoB,oBACnB"}
|
|
@@ -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,oBAAoB,aAAa,IAMpC,uBACf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