@animus-ui/system 0.1.0-next.21 → 0.1.0-next.30
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/Animus.d.ts +2 -7
- package/dist/Animus.d.ts.map +1 -1
- package/dist/AnimusExtended.d.ts +2 -7
- package/dist/AnimusExtended.d.ts.map +1 -1
- package/dist/SystemBuilder.d.ts +16 -13
- package/dist/SystemBuilder.d.ts.map +1 -1
- package/dist/compose.d.ts +2 -4
- package/dist/compose.d.ts.map +1 -1
- package/dist/createClassResolver-Dny76K15.js +227 -0
- package/dist/groups/index.d.ts +1 -0
- package/dist/groups/index.d.ts.map +1 -1
- package/dist/groups/index.js +3 -2
- package/dist/index.d.ts +5 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +339 -527
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime-entry.d.ts +9 -0
- package/dist/runtime-entry.d.ts.map +1 -0
- package/dist/runtime-entry.js +2 -0
- package/dist/theme/createTheme.d.ts +46 -53
- package/dist/theme/createTheme.d.ts.map +1 -1
- package/dist/theme/index.d.ts +0 -2
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/serializeTokens.d.ts +2 -2
- package/dist/theme/serializeTokens.d.ts.map +1 -1
- package/dist/theme/utils.d.ts +20 -0
- package/dist/theme/utils.d.ts.map +1 -1
- package/dist/types/component.d.ts +45 -26
- package/dist/types/component.d.ts.map +1 -1
- package/dist/types/config.d.ts +11 -2
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/props.d.ts +13 -25
- package/dist/types/props.d.ts.map +1 -1
- package/dist/types/theme.d.ts +38 -19
- package/dist/types/theme.d.ts.map +1 -1
- package/dist/utils/deepMerge.d.ts +5 -0
- package/dist/utils/deepMerge.d.ts.map +1 -0
- package/package.json +6 -1
- package/dist/PropertyBuilder.d.ts +0 -11
- package/dist/PropertyBuilder.d.ts.map +0 -1
- /package/dist/{size-Dge_rsuz.js → size-BjymBo7z.js} +0 -0
package/dist/Animus.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { AnimusExtended } from './AnimusExtended';
|
|
2
2
|
import type { AnimusComponent, AnimusWrappedComponent } from './types/component';
|
|
3
3
|
import { AbstractParser, CompoundEntry, CSSPropMap, CSSProps, Prop, SystemProps, ThemedCSSPropMap, ThemedCSSProps, VariantConfig } from './types/config';
|
|
4
|
-
import { AbstractProps
|
|
5
|
-
import { CSSObject } from './types/shared';
|
|
6
|
-
import { Theme } from './types/theme';
|
|
4
|
+
import { AbstractProps } from './types/props';
|
|
7
5
|
export declare class AnimusWithAll<PropRegistry extends Record<string, Prop>, 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, Prop>> {
|
|
8
6
|
propRegistry: PropRegistry;
|
|
9
7
|
groupRegistry: GroupRegistry;
|
|
@@ -20,9 +18,6 @@ export declare class AnimusWithAll<PropRegistry extends Record<string, Prop>, Gr
|
|
|
20
18
|
className?: string;
|
|
21
19
|
}) => any>(AsComponent: C): AnimusWrappedComponent<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
|
|
22
20
|
asClass(): (props?: Record<string, unknown>) => string;
|
|
23
|
-
build(): ((props: ThemeProps<{ [K in Extract<keyof PropRegistry, GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number]>]?: any; } & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; }, Theme>) => CSSObject) & {
|
|
24
|
-
extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
|
|
25
|
-
};
|
|
26
21
|
_buildComponentConfig(): {
|
|
27
22
|
variants: Record<string, {
|
|
28
23
|
options: string[];
|
|
@@ -38,7 +33,7 @@ declare class AnimusWithSystem<PropRegistry extends Record<string, Prop>, GroupR
|
|
|
38
33
|
}
|
|
39
34
|
declare class AnimusWithStates<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<AbstractParser>>> extends AnimusWithSystem<PropRegistry, GroupRegistry, BaseStyles, Variants, States, {}> {
|
|
40
35
|
constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, compounds?: CompoundEntry[]);
|
|
41
|
-
|
|
36
|
+
system<PickedKeys extends keyof GroupRegistry | Extract<keyof PropRegistry, string>>(config: Record<PickedKeys, true>): AnimusWithSystem<PropRegistry, GroupRegistry, BaseStyles, Variants, States, Record<PickedKeys, true>>;
|
|
42
37
|
}
|
|
43
38
|
declare class AnimusWithCompounds<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>> extends AnimusWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, {}> {
|
|
44
39
|
constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, compounds?: CompoundEntry[]);
|
package/dist/Animus.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Animus.d.ts","sourceRoot":"","sources":["../src/Animus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,aAAa,EACb,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,aA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AAI,SAAS,MAAM,KAAK,EACxB,IAAI,SAAS,aAAa,EAC1B,KAAK,SAAS,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,EACzC,OAAO,SAAS,QAAQ,CAAC,MAAM,CAAC,GAAG,SAAS,EAC5C,OAAO,EAAE;QACT,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,cAAc,CAAC,EAAE,OAAO,CAAC,MAAM,KAAK,EAAE,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,EAAE,cAAc,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAC1C,QAAQ,EAAE,gBAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;KACjD;eAJQ,OAAO;yBACG,OAAO,CAAC,MAAM,KAAK,EAAE,MAAM,CAAC;eACtC,cAAc,CAAC,IAAI,EAAE,YAAY,CAAC;kBAC/B,gBAAgB,CAAC,KAAK,EAAE,YAAY,CAAC;;CAkBlD;AAED,qBAAa,MAAM,CACjB,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EACzC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,YAAY,CAAC,EAAE,CAAC,CAC5D,SAAQ,cAAc,CAAC,YAAY,EAAE,aAAa,EAAE,EAAE,CAAC;gBAC3C,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa;IAGtD,MAAM,CAAC,KAAK,SAAS,aAAa,EAChC,MAAM,EAAE,cAAc,CAAC,KAAK,EAAE,YAAY,CAAC;CAQ9C"}
|
package/dist/AnimusExtended.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { AnimusComponent, AnimusWrappedComponent } from './types/component';
|
|
2
2
|
import { AbstractParser, CompoundEntry, CSSPropMap, CSSProps, Prop, SystemProps, ThemedCSSPropMap, ThemedCSSProps, VariantConfig } from './types/config';
|
|
3
|
-
import { AbstractProps
|
|
4
|
-
import { CSSObject } from './types/shared';
|
|
5
|
-
import { Theme } from './types/theme';
|
|
3
|
+
import { AbstractProps } from './types/props';
|
|
6
4
|
export declare class AnimusExtendedWithAll<PropRegistry extends Record<string, Prop>, 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, Prop>> {
|
|
7
5
|
propRegistry: PropRegistry;
|
|
8
6
|
groupRegistry: GroupRegistry;
|
|
@@ -19,9 +17,6 @@ export declare class AnimusExtendedWithAll<PropRegistry extends Record<string, P
|
|
|
19
17
|
className?: string;
|
|
20
18
|
}) => any>(AsComponent: C): AnimusWrappedComponent<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
|
|
21
19
|
asClass(): (props?: Record<string, unknown>) => string;
|
|
22
|
-
build(): ((props: ThemeProps<{ [K in Extract<keyof PropRegistry, GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number]>]?: any; } & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; }, Theme>) => CSSObject) & {
|
|
23
|
-
extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
|
|
24
|
-
};
|
|
25
20
|
_buildComponentConfig(): {
|
|
26
21
|
variants: Record<string, {
|
|
27
22
|
options: string[];
|
|
@@ -35,7 +30,7 @@ declare class AnimusExtendedWithSystem<PropRegistry extends Record<string, Prop>
|
|
|
35
30
|
props<NewCustomProps extends Record<string, Prop>>(config: NewCustomProps): AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, NewCustomProps>;
|
|
36
31
|
}
|
|
37
32
|
declare class AnimusExtendedWithStates<PropRegistry extends Record<string, Prop>, 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, Prop>> extends AnimusExtendedWithSystem<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
38
|
-
|
|
33
|
+
system<PickedKeys extends keyof GroupRegistry | Extract<keyof PropRegistry, string>>(config: Record<PickedKeys, true>): AnimusExtendedWithSystem<PropRegistry, GroupRegistry, BaseStyles, Variants, States, Record<PickedKeys, true> & ActiveGroups, CustomProps>;
|
|
39
34
|
}
|
|
40
35
|
declare class AnimusExtendedWithCompounds<PropRegistry extends Record<string, Prop>, 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, Prop>> extends AnimusExtendedWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
41
36
|
compound<Props extends AbstractProps>(condition: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimusExtended.d.ts","sourceRoot":"","sources":["../src/AnimusExtended.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,aAAa,EACb,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,aAAa,EACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"AnimusExtended.d.ts","sourceRoot":"","sources":["../src/AnimusExtended.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,mBAAmB,CA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Aa,EAChC,MAAM,EAAE,cAAc,CAAC,KAAK,EAAE,YAAY,CAAC;CAqB9C"}
|
package/dist/SystemBuilder.d.ts
CHANGED
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
import { Animus } from './Animus';
|
|
2
|
-
import { PropertyBuilder } from './PropertyBuilder';
|
|
3
2
|
import { NamedTransform } from './transforms/createTransform';
|
|
4
3
|
import { Prop } from './types/config';
|
|
5
4
|
export type GlobalStyleMap = Record<string, Record<string, any>>;
|
|
6
|
-
export interface
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
export interface GlobalStyleBlock {
|
|
6
|
+
__brand: 'GlobalStyleBlock';
|
|
7
|
+
styles: GlobalStyleMap;
|
|
8
|
+
serialize(propConfig: Record<string, any>, transforms: Record<string, NamedTransform>): GlobalStyleMap;
|
|
9
9
|
}
|
|
10
|
+
export type GlobalStylesFactory = (styles: GlobalStyleMap) => GlobalStyleBlock;
|
|
10
11
|
export declare class SystemBuilder<PropReg extends Record<string, Prop> = {}, GroupReg extends Record<string, (keyof PropReg)[]> = {}> {
|
|
11
12
|
#private;
|
|
12
|
-
constructor(propRegistry?: PropReg, groupRegistry?: GroupReg
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
build():
|
|
13
|
+
constructor(propRegistry?: PropReg, groupRegistry?: GroupReg);
|
|
14
|
+
addGroup<Name extends string, Conf extends Record<string, Prop>>(name: Name extends keyof PropReg ? never : Name, config: Conf): SystemBuilder<PropReg & Conf, GroupReg & Record<Name, (keyof Conf)[]>>;
|
|
15
|
+
addProps<Conf extends Record<string, Prop> & Partial<Record<Extract<keyof GroupReg, string>, never>>>(config: Conf): SystemBuilder<PropReg & Conf, GroupReg>;
|
|
16
|
+
includes(_systems: readonly {
|
|
17
|
+
toConfig(): SerializedConfig;
|
|
18
|
+
}[]): SystemBuilder<PropReg, GroupReg>;
|
|
19
|
+
build(): {
|
|
20
|
+
system: SystemInstance<PropReg, GroupReg>;
|
|
21
|
+
createGlobalStyles: GlobalStylesFactory;
|
|
22
|
+
};
|
|
19
23
|
}
|
|
20
24
|
export type SystemInstance<PropReg extends Record<string, Prop>, GroupReg extends Record<string, (keyof PropReg)[]>> = Animus<PropReg, GroupReg> & {
|
|
21
|
-
|
|
25
|
+
toConfig(): SerializedConfig;
|
|
22
26
|
};
|
|
23
27
|
export interface SerializedConfig {
|
|
24
28
|
propConfig: string;
|
|
25
29
|
groupRegistry: string;
|
|
26
30
|
transforms: Record<string, NamedTransform>;
|
|
27
|
-
globalStyles?: GlobalStylesConfig;
|
|
28
31
|
}
|
|
29
32
|
export declare function createSystem(): SystemBuilder<{}, {}>;
|
|
30
33
|
//# sourceMappingURL=SystemBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SystemBuilder.d.ts","sourceRoot":"","sources":["../src/SystemBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SystemBuilder.d.ts","sourceRoot":"","sources":["../src/SystemBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAWtC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;AAEjE,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,CACP,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,GACzC,cAAc,CAAC;CACnB;AAED,MAAM,M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AE,CAAC,MAAM,OAAO,CAAC,EAAE,CAAC,IAChD,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG;IAC9B,QAAQ,IAAI,gBAAgB,CAAC;CAC9B,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CAC5C;AAkDD,wBAAgB,YAAY,0BAE3B"}
|
package/dist/compose.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type AnyAnimusComponent = AnimusComponent<any, any, any, any, any, any, any, any>;
|
|
1
|
+
import type { AnyBrandedComponent, ComposedFamily, SharedConfig } from './types/component';
|
|
3
2
|
/**
|
|
4
3
|
* Compose independently-authored Animus components into a sealed,
|
|
5
4
|
* namespaced component family with shared variant propagation via
|
|
@@ -14,8 +13,7 @@ type AnyAnimusComponent = AnimusComponent<any, any, any, any, any, any, any, any
|
|
|
14
13
|
* no `.extend()`, no builder methods. One-way door from builder-land
|
|
15
14
|
* to component-land.
|
|
16
15
|
*/
|
|
17
|
-
export declare function compose<Slots extends Record<string,
|
|
16
|
+
export declare function compose<Slots extends Record<string, AnyBrandedComponent>, const Shared extends SharedConfig<Slots>>(slots: Slots, options: {
|
|
18
17
|
shared: Shared;
|
|
19
18
|
}): ComposedFamily<Slots>;
|
|
20
|
-
export {};
|
|
21
19
|
//# sourceMappingURL=compose.d.ts.map
|
package/dist/compose.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../src/compose.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../src/compose.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,YAAY,EACb,MAAM,mBAAmB,CAAC;AAI3B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CACrB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,EACjD,KAAK,CAAC,MAAM,SAAS,YAAY,CAAC,KAAK,CAAC,EACxC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAAC,KAAK,CAAC,CAmElE"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
//#region src/runtime/resolveClasses.ts
|
|
3
|
+
/**
|
|
4
|
+
* CSS properties that accept unitless numeric values.
|
|
5
|
+
* Bare numerics on properties NOT in this set receive `px`.
|
|
6
|
+
*/
|
|
7
|
+
const UNITLESS_PROPERTIES = new Set([
|
|
8
|
+
"animation-iteration-count",
|
|
9
|
+
"border-image-outset",
|
|
10
|
+
"border-image-slice",
|
|
11
|
+
"border-image-width",
|
|
12
|
+
"box-flex",
|
|
13
|
+
"box-flex-group",
|
|
14
|
+
"box-ordinal-group",
|
|
15
|
+
"column-count",
|
|
16
|
+
"columns",
|
|
17
|
+
"flex",
|
|
18
|
+
"flex-grow",
|
|
19
|
+
"flex-positive",
|
|
20
|
+
"flex-shrink",
|
|
21
|
+
"flex-negative",
|
|
22
|
+
"flex-order",
|
|
23
|
+
"font-weight",
|
|
24
|
+
"grid-area",
|
|
25
|
+
"grid-column",
|
|
26
|
+
"grid-column-end",
|
|
27
|
+
"grid-column-span",
|
|
28
|
+
"grid-column-start",
|
|
29
|
+
"grid-row",
|
|
30
|
+
"grid-row-end",
|
|
31
|
+
"grid-row-span",
|
|
32
|
+
"grid-row-start",
|
|
33
|
+
"line-clamp",
|
|
34
|
+
"line-height",
|
|
35
|
+
"opacity",
|
|
36
|
+
"order",
|
|
37
|
+
"orphans",
|
|
38
|
+
"tab-size",
|
|
39
|
+
"widows",
|
|
40
|
+
"z-index",
|
|
41
|
+
"zoom",
|
|
42
|
+
"fill-opacity",
|
|
43
|
+
"flood-opacity",
|
|
44
|
+
"stop-opacity",
|
|
45
|
+
"stroke-dasharray",
|
|
46
|
+
"stroke-dashoffset",
|
|
47
|
+
"stroke-miterlimit",
|
|
48
|
+
"stroke-opacity",
|
|
49
|
+
"stroke-width"
|
|
50
|
+
]);
|
|
51
|
+
/**
|
|
52
|
+
* Apply unit fallback to a value for a given CSS property.
|
|
53
|
+
*/
|
|
54
|
+
function applyUnitFallback(value, cssProperty) {
|
|
55
|
+
if (typeof value === "number") {
|
|
56
|
+
if (UNITLESS_PROPERTIES.has(cssProperty)) return String(value);
|
|
57
|
+
return `${value}px`;
|
|
58
|
+
}
|
|
59
|
+
return String(value);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Serialize a system prop value to a lookup key matching the Rust
|
|
63
|
+
* css_generator's serialize_value_key output format.
|
|
64
|
+
*/
|
|
65
|
+
function serializeValueKey(value) {
|
|
66
|
+
if (typeof value === "number" || typeof value === "string") return String(value);
|
|
67
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) return Object.keys(value).sort().map((k) => `${k}:${value[k]}`).join("|");
|
|
68
|
+
return String(value);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Resolve a dynamic prop value through scale lookup → transform → unit fallback.
|
|
72
|
+
*/
|
|
73
|
+
function resolveValue(value, dc) {
|
|
74
|
+
const key = String(value);
|
|
75
|
+
const scaleResolved = dc.scaleValues?.[key];
|
|
76
|
+
if (scaleResolved != null) {
|
|
77
|
+
const transformed = dc.transform ? dc.transform(scaleResolved) : scaleResolved;
|
|
78
|
+
return String(transformed);
|
|
79
|
+
}
|
|
80
|
+
return applyUnitFallback(dc.transform ? dc.transform(value) : value, dc.varName);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Resolve className parts from props, using extracted configuration.
|
|
84
|
+
* This is the shared logic between createComponent and createClassResolver.
|
|
85
|
+
*/
|
|
86
|
+
function resolveClasses(baseClassName, props, config, systemPropMap, dynamicPropConfig) {
|
|
87
|
+
const classes = [baseClassName];
|
|
88
|
+
let dynStyle;
|
|
89
|
+
if (config.variants) for (const [prop, vc] of Object.entries(config.variants)) {
|
|
90
|
+
const value = props[prop] ?? vc.default;
|
|
91
|
+
if (value != null) classes.push(`${baseClassName}--${prop}-${value}`);
|
|
92
|
+
}
|
|
93
|
+
if (config.compounds) for (const compound of config.compounds) {
|
|
94
|
+
let match = true;
|
|
95
|
+
for (const [prop, expected] of Object.entries(compound.conditions)) {
|
|
96
|
+
const current = props[prop] ?? config.variants?.[prop]?.default;
|
|
97
|
+
if (Array.isArray(expected) ? !expected.includes(current) : current !== expected) {
|
|
98
|
+
match = false;
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (match) classes.push(compound.className);
|
|
103
|
+
}
|
|
104
|
+
if (config.states) {
|
|
105
|
+
for (const state of config.states) if (props[state]) classes.push(`${baseClassName}--${state}`);
|
|
106
|
+
}
|
|
107
|
+
const systemPropNames = config.systemPropNames || [];
|
|
108
|
+
if (systemPropNames.length > 0) {
|
|
109
|
+
const { customPropMap, customDynamicConfig } = config;
|
|
110
|
+
for (const propName of systemPropNames) {
|
|
111
|
+
if (!(propName in props)) continue;
|
|
112
|
+
const propValue = props[propName];
|
|
113
|
+
if (propValue == null) continue;
|
|
114
|
+
const key = serializeValueKey(propValue);
|
|
115
|
+
const cls = customPropMap?.[propName]?.[key] ?? systemPropMap?.[propName]?.[key];
|
|
116
|
+
if (cls) classes.push(cls);
|
|
117
|
+
else {
|
|
118
|
+
const dc = customDynamicConfig?.[propName] ?? dynamicPropConfig?.[propName];
|
|
119
|
+
if (dc) {
|
|
120
|
+
if (!dynStyle) dynStyle = {};
|
|
121
|
+
if (typeof propValue === "object" && propValue !== null && !Array.isArray(propValue)) for (const [bp, bpVal] of Object.entries(propValue)) {
|
|
122
|
+
if (bpVal == null) continue;
|
|
123
|
+
if (bp === "_") {
|
|
124
|
+
classes.push(dc.slotClass);
|
|
125
|
+
const finalVal = resolveValue(bpVal, dc);
|
|
126
|
+
dynStyle[dc.varName] = finalVal;
|
|
127
|
+
} else {
|
|
128
|
+
classes.push(`${dc.slotClass}-${bp}`);
|
|
129
|
+
const varName = `${dc.varName}-${bp}`;
|
|
130
|
+
const finalVal = resolveValue(bpVal, dc);
|
|
131
|
+
dynStyle[varName] = finalVal;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
classes.push(dc.slotClass);
|
|
136
|
+
const finalVal = resolveValue(propValue, dc);
|
|
137
|
+
dynStyle[dc.varName] = finalVal;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return {
|
|
144
|
+
classes,
|
|
145
|
+
dynamicStyle: dynStyle
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/runtime/index.ts
|
|
150
|
+
/**
|
|
151
|
+
* Create a lightweight component that applies extracted CSS class names.
|
|
152
|
+
* Replaces Emotion's styled() for extracted components.
|
|
153
|
+
*
|
|
154
|
+
* The element parameter accepts either an HTML tag string (e.g. 'button') or
|
|
155
|
+
* a React component reference (e.g. NextLink). When a component reference is
|
|
156
|
+
* used, prop forwarding skips the HTML-attribute validity check — all
|
|
157
|
+
* non-filtered props are forwarded to the component.
|
|
158
|
+
*
|
|
159
|
+
* The optional systemPropMap parameter provides the shared prop→value→className
|
|
160
|
+
* lookup table, served as a virtual module by the Vite plugin.
|
|
161
|
+
*
|
|
162
|
+
* The optional dynamicPropConfig parameter provides CSS variable fallback
|
|
163
|
+
* metadata for props with detected dynamic usage.
|
|
164
|
+
*/
|
|
165
|
+
function createComponent(element, className, config, systemPropMap, dynamicPropConfig) {
|
|
166
|
+
const variantProps = config.variants ? Object.keys(config.variants) : [];
|
|
167
|
+
const stateProps = config.states || [];
|
|
168
|
+
const systemPropNames = config.systemPropNames || [];
|
|
169
|
+
const filterProps = new Set([
|
|
170
|
+
"as",
|
|
171
|
+
...variantProps,
|
|
172
|
+
...stateProps,
|
|
173
|
+
...systemPropNames
|
|
174
|
+
]);
|
|
175
|
+
let prevDynKey = "";
|
|
176
|
+
let prevDynStyle = null;
|
|
177
|
+
const Component = forwardRef((props, ref) => {
|
|
178
|
+
const renderElement = props.as || element;
|
|
179
|
+
const isComponentElement = typeof renderElement !== "string";
|
|
180
|
+
const { classes, dynamicStyle } = resolveClasses(className, props, config, systemPropMap, dynamicPropConfig);
|
|
181
|
+
if (props.className) classes.push(props.className);
|
|
182
|
+
const domProps = {
|
|
183
|
+
ref,
|
|
184
|
+
className: classes.join(" ")
|
|
185
|
+
};
|
|
186
|
+
for (const [key, value] of Object.entries(props)) {
|
|
187
|
+
if (key === "className") continue;
|
|
188
|
+
if (filterProps.has(key)) continue;
|
|
189
|
+
if (!isComponentElement) {}
|
|
190
|
+
domProps[key] = value;
|
|
191
|
+
}
|
|
192
|
+
if (dynamicStyle) {
|
|
193
|
+
const dynKey = Object.entries(dynamicStyle).map(([k, v]) => `${k}:${v}`).join("|");
|
|
194
|
+
if (dynKey !== prevDynKey) {
|
|
195
|
+
prevDynKey = dynKey;
|
|
196
|
+
prevDynStyle = dynamicStyle;
|
|
197
|
+
}
|
|
198
|
+
domProps.style = props.style ? {
|
|
199
|
+
...props.style,
|
|
200
|
+
...prevDynStyle
|
|
201
|
+
} : prevDynStyle;
|
|
202
|
+
}
|
|
203
|
+
return createElement(renderElement, domProps);
|
|
204
|
+
});
|
|
205
|
+
Component.displayName = className;
|
|
206
|
+
Component.__variantKeys = new Set(variantProps);
|
|
207
|
+
return Object.assign(Component, { extend: () => {
|
|
208
|
+
throw new Error(`Cannot extend extracted component "${className}" at runtime. Extensions must be authored in source code using the builder API (e.g. import the original component and call .extend() there) so the extraction pipeline can resolve them at build time.`);
|
|
209
|
+
} });
|
|
210
|
+
}
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/runtime/createClassResolver.ts
|
|
213
|
+
/**
|
|
214
|
+
* createClassResolver — framework-agnostic className resolution.
|
|
215
|
+
*
|
|
216
|
+
* Produced by .asClass() terminal. Same resolution logic as createComponent
|
|
217
|
+
* (variants, states, compounds, system props) but returns a className string
|
|
218
|
+
* instead of a React element.
|
|
219
|
+
*/
|
|
220
|
+
function createClassResolver(className, config, systemPropMap, dynamicPropConfig) {
|
|
221
|
+
return (props) => {
|
|
222
|
+
const { classes } = resolveClasses(className, props || {}, config, systemPropMap, dynamicPropConfig);
|
|
223
|
+
return classes.join(" ");
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
//#endregion
|
|
227
|
+
export { createComponent as n, createClassResolver as t };
|
package/dist/groups/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/groups/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/groups/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBR,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHT,CAAC;AA8BX,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQP,CAAC;AAWX,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCP,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUb,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAIV,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CT,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBb,CAAC;AAwCX,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGR,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;CAWd,CAAC;AAEX,eAAO,MAAM,IAAI;;;;;CAEP,CAAC;AAEX,eAAO,MAAM,IAAI;;;;CAEP,CAAC"}
|
package/dist/groups/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as borderShorthand, i as gridItemRatio, n as size, r as gridItem, s as createScale } from "../size-
|
|
1
|
+
import { a as borderShorthand, i as gridItemRatio, n as size, r as gridItem, s as createScale } from "../size-BjymBo7z.js";
|
|
2
2
|
//#region src/groups/index.ts
|
|
3
3
|
const color = {
|
|
4
4
|
color: {
|
|
@@ -7,7 +7,8 @@ const color = {
|
|
|
7
7
|
},
|
|
8
8
|
bg: {
|
|
9
9
|
property: "backgroundColor",
|
|
10
|
-
scale: "colors"
|
|
10
|
+
scale: "colors",
|
|
11
|
+
currentVar: "--current-bg"
|
|
11
12
|
},
|
|
12
13
|
gradient: {
|
|
13
14
|
property: "backgroundImage",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
export { Animus, AnimusWithAll } from './Animus';
|
|
2
2
|
export { AnimusExtended, AnimusExtendedWithAll } from './AnimusExtended';
|
|
3
3
|
export { compose } from './compose';
|
|
4
|
-
export { PropertyBuilder } from './PropertyBuilder';
|
|
5
4
|
export { createComponent } from './runtime';
|
|
6
5
|
export { createClassResolver } from './runtime/createClassResolver';
|
|
7
|
-
export type { SerializedConfig, SystemInstance } from './SystemBuilder';
|
|
6
|
+
export type { GlobalStyleBlock, GlobalStyleMap, GlobalStylesFactory, SerializedConfig, SystemInstance, } from './SystemBuilder';
|
|
8
7
|
export { createSystem, SystemBuilder } from './SystemBuilder';
|
|
9
8
|
export { createScale, numericOrStringScale, numericScale, stringScale, } from './scales/createScale';
|
|
10
9
|
export type { Assign, AssignValueIfUnmergable, ColorModeConfig, FindPath, KeyAsVariable, LiteralPaths, Mergable, Merge, MergeTheme, Path, PathToLiteral, PathValue, PrivateThemeKeys, SanitizeKey, } from './theme';
|
|
11
|
-
export { createTheme,
|
|
10
|
+
export { createTheme, ThemeBuilder } from './theme';
|
|
12
11
|
export { borderShorthand } from './transforms/border';
|
|
13
12
|
export { createTransform, type NamedTransform, type TransformFn, } from './transforms/createTransform';
|
|
14
13
|
export { gridItem, gridItemRatio } from './transforms/grid';
|
|
15
14
|
export { percentageOrAbsolute, size } from './transforms/size';
|
|
16
|
-
export type { AnimusComponent, AnimusWrappedComponent,
|
|
15
|
+
export type { AnimusComponent, AnimusWrappedComponent, AnyBrandedComponent, ComposedFamily, SharedConfig, SharedVariantKeys, VariantPropsOf, } from './types/component';
|
|
17
16
|
export type { AbstractParser, CompoundEntry, CSSPropMap, CSSProps, Parser, ParserProps, Prop, PropertyValues, Scale, ScaleValue, SystemProps, ThemedCSSPropMap, ThemedCSSProps, ThemedScale, ThemedScaleValue, VariantConfig, } from './types/config';
|
|
18
|
-
export type { AbstractProps,
|
|
17
|
+
export type { AbstractProps, MediaQueryMap, ResponsiveProp, ThemeProps, } from './types/props';
|
|
19
18
|
export type { ArrayScale, MapScale } from './types/scales';
|
|
20
19
|
export type { CSSObject } from './types/shared';
|
|
21
|
-
export type { AbstractTheme, BaseTheme,
|
|
20
|
+
export type { AbstractTheme, BaseTheme, ColorTokenRef, CSSColorValue, EmittedScales, EmittedTokenPaths, ScaleTokenRef, SerializedTheme, Theme, ThemeManifest, TokenScales, } from './types/theme';
|
|
22
21
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,YAAY,EACV,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,GACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,WAAW,GACZ,MAAM,sBAAsB,CAAC;AA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