@animus-ui/system 0.1.0-next.10 → 0.1.0-next.17

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 CHANGED
@@ -1,10 +1,10 @@
1
1
  import { AnimusExtended } from './AnimusExtended';
2
2
  import type { AnimusComponent, AnimusWrappedComponent } from './types/component';
3
- import { AbstractParser, CSSPropMap, CSSProps, Prop, SystemProps, ThemedCSSPropMap, ThemedCSSProps, VariantConfig } from './types/config';
3
+ import { AbstractParser, CompoundEntry, CSSPropMap, CSSProps, Prop, SystemProps, ThemedCSSPropMap, ThemedCSSProps, VariantConfig } from './types/config';
4
4
  import { AbstractProps, ThemeProps } from './types/props';
5
5
  import { CSSObject } from './types/shared';
6
- import { BaseTheme } from './types/theme';
7
- export declare class AnimusWithAll<T extends BaseTheme, 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>> {
6
+ import { Theme } from './types/theme';
7
+ 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
8
  propRegistry: PropRegistry;
9
9
  groupRegistry: GroupRegistry;
10
10
  baseStyles: BaseStyles;
@@ -12,14 +12,15 @@ export declare class AnimusWithAll<T extends BaseTheme, PropRegistry extends Rec
12
12
  variants: Variants;
13
13
  activeGroups: ActiveGroups;
14
14
  custom: CustomProps;
15
- constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
16
- extend(): AnimusExtended<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
17
- asElement<El extends keyof JSX.IntrinsicElements>(component: El): AnimusComponent<El, T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
15
+ compounds: CompoundEntry[];
16
+ constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps, compounds?: CompoundEntry[]);
17
+ extend(): AnimusExtended<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
18
+ asElement<El extends keyof JSX.IntrinsicElements>(component: El): AnimusComponent<El, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
18
19
  asComponent<C extends (props: {
19
20
  className?: string;
20
- }) => any>(AsComponent: C): AnimusWrappedComponent<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
21
- 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; }, T>) => CSSObject) & {
22
- extend: () => AnimusExtended<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
21
+ }) => any>(AsComponent: C): AnimusWrappedComponent<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
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>;
23
24
  };
24
25
  _buildComponentConfig(): {
25
26
  variants: Record<string, {
@@ -30,46 +31,55 @@ export declare class AnimusWithAll<T extends BaseTheme, PropRegistry extends Rec
30
31
  systemPropNames: string[];
31
32
  };
32
33
  }
33
- declare class AnimusWithSystem<T extends BaseTheme, 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>> extends AnimusWithAll<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, {}> {
34
- constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups);
35
- props<NewCustomProps extends Record<string, Prop>>(config: NewCustomProps): AnimusWithAll<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, NewCustomProps>;
34
+ declare class AnimusWithSystem<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>> extends AnimusWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, {}> {
35
+ constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, compounds?: CompoundEntry[]);
36
+ props<NewCustomProps extends Record<string, Prop>>(config: NewCustomProps): AnimusWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, NewCustomProps>;
36
37
  }
37
- declare class AnimusWithStates<T extends BaseTheme, 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<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, {}> {
38
- constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States);
39
- groups<PickedGroups extends keyof GroupRegistry>(config: Record<PickedGroups, true>): AnimusWithSystem<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, Record<PickedGroups, true>>;
38
+ 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, {}> {
39
+ constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, compounds?: CompoundEntry[]);
40
+ groups<PickedGroups extends keyof GroupRegistry>(config: Record<PickedGroups, true>): AnimusWithSystem<PropRegistry, GroupRegistry, BaseStyles, Variants, States, Record<PickedGroups, true>>;
40
41
  }
41
- declare class AnimusWithVariants<T extends BaseTheme, PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>> extends AnimusWithStates<T, PropRegistry, GroupRegistry, BaseStyles, Variants, {}> {
42
- constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants);
43
- states<Props extends AbstractProps>(config: ThemedCSSPropMap<Props, PropRegistry>): AnimusWithStates<T, PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry>>;
42
+ 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, {}> {
43
+ constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, compounds?: CompoundEntry[]);
44
+ compound<Props extends AbstractProps>(condition: {
45
+ [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>;
46
+ }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants>;
47
+ states<Props extends AbstractProps>(config: ThemedCSSPropMap<Props, PropRegistry>): AnimusWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry>>;
48
+ }
49
+ declare class AnimusWithVariants<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>, Variants extends Record<string, VariantConfig>> extends AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants> {
50
+ constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, compounds?: CompoundEntry[]);
51
+ compound<Props extends AbstractProps>(condition: {
52
+ [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>;
53
+ }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants>;
44
54
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
45
55
  prop?: PropKey;
46
- defaultVariant?: keyof Props;
56
+ defaultVariant?: Extract<keyof Props, string>;
47
57
  base?: ThemedCSSProps<Base, PropRegistry>;
48
58
  variants: ThemedCSSPropMap<Props, PropRegistry>;
49
- }): AnimusWithVariants<T, PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
59
+ }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
50
60
  prop?: PropKey;
51
- defaultVariant?: keyof Props;
61
+ defaultVariant?: Extract<keyof Props, string>;
52
62
  base?: ThemedCSSProps<Base, PropRegistry>;
53
63
  variants: ThemedCSSPropMap<Props, PropRegistry>;
54
64
  }>>;
55
65
  }
56
- declare class AnimusWithBase<T extends BaseTheme, PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>> extends AnimusWithVariants<T, PropRegistry, GroupRegistry, BaseStyles, {}> {
66
+ declare class AnimusWithBase<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseStyles extends CSSProps<AbstractProps, SystemProps<AbstractParser>>> extends AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, {}> {
57
67
  constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles);
58
68
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
59
69
  prop?: PropKey;
60
- defaultVariant?: keyof Props;
70
+ defaultVariant?: Extract<keyof Props, string>;
61
71
  base?: ThemedCSSProps<Base, PropRegistry>;
62
72
  variants: ThemedCSSPropMap<Props, PropRegistry>;
63
- }): AnimusWithVariants<T, PropRegistry, GroupRegistry, BaseStyles, Record<PropKey, {
73
+ }): AnimusWithVariants<PropRegistry, GroupRegistry, BaseStyles, Record<PropKey, {
64
74
  prop?: PropKey;
65
- defaultVariant?: keyof Props;
75
+ defaultVariant?: Extract<keyof Props, string>;
66
76
  base?: ThemedCSSProps<Base, PropRegistry>;
67
77
  variants: ThemedCSSPropMap<Props, PropRegistry>;
68
78
  }>>;
69
79
  }
70
- export declare class Animus<T extends BaseTheme, PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>> extends AnimusWithBase<T, PropRegistry, GroupRegistry, {}> {
80
+ export declare class Animus<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>> extends AnimusWithBase<PropRegistry, GroupRegistry, {}> {
71
81
  constructor(props: PropRegistry, groups: GroupRegistry);
72
- styles<Props extends AbstractProps>(config: ThemedCSSProps<Props, PropRegistry>): AnimusWithBase<T, PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry>>;
82
+ styles<Props extends AbstractProps>(config: ThemedCSSProps<Props, PropRegistry>): AnimusWithBase<PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry>>;
73
83
  }
74
84
  export {};
75
85
  //# sourceMappingURL=Animus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Animus.d.ts","sourceRoot":"","sources":["../src/Animus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,aAAa,EACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AA2B1C,qBAAa,aAAa,CACxB,CAAC,SAAS,SAAS,EACnB,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EACzC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,YAAY,CAAC,EAAE,CAAC,EAC5D,UAAU,SAAS,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC,EACvE,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAC9C,MAAM,SAAS,UAAU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AE,aAAa,EAAE,UAAU,EAAE,EAAE,CAAC;gBAC3D,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,UAAU;IAIxE,OAAO,CACL,IAAI,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"}
@@ -1,9 +1,9 @@
1
1
  import type { AnimusComponent, AnimusWrappedComponent } from './types/component';
2
- import { AbstractParser, CSSPropMap, CSSProps, Prop, SystemProps, ThemedCSSPropMap, ThemedCSSProps, VariantConfig } from './types/config';
2
+ import { AbstractParser, CompoundEntry, CSSPropMap, CSSProps, Prop, SystemProps, ThemedCSSPropMap, ThemedCSSProps, VariantConfig } from './types/config';
3
3
  import { AbstractProps, ThemeProps } from './types/props';
4
4
  import { CSSObject } from './types/shared';
5
- import { BaseTheme } from './types/theme';
6
- export declare class AnimusExtendedWithAll<T extends BaseTheme, 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>> {
5
+ import { Theme } from './types/theme';
6
+ 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
7
  propRegistry: PropRegistry;
8
8
  groupRegistry: GroupRegistry;
9
9
  baseStyles: BaseStyles;
@@ -11,14 +11,15 @@ export declare class AnimusExtendedWithAll<T extends BaseTheme, PropRegistry ext
11
11
  variants: Variants;
12
12
  activeGroups: ActiveGroups;
13
13
  custom: CustomProps;
14
- constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
15
- extend(): AnimusExtended<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
16
- asElement<El extends keyof JSX.IntrinsicElements>(component: El): AnimusComponent<El, T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
14
+ compounds: CompoundEntry[];
15
+ constructor(props: PropRegistry, groups: GroupRegistry, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps, compounds?: CompoundEntry[]);
16
+ extend(): AnimusExtended<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
17
+ asElement<El extends keyof JSX.IntrinsicElements>(component: El): AnimusComponent<El, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
17
18
  asComponent<C extends (props: {
18
19
  className?: string;
19
- }) => any>(AsComponent: C): AnimusWrappedComponent<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
20
- 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; }, T>) => CSSObject) & {
21
- extend: () => AnimusExtended<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
20
+ }) => any>(AsComponent: C): AnimusWrappedComponent<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
21
+ 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) & {
22
+ extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
22
23
  };
23
24
  _buildComponentConfig(): {
24
25
  variants: Record<string, {
@@ -29,41 +30,49 @@ export declare class AnimusExtendedWithAll<T extends BaseTheme, PropRegistry ext
29
30
  systemPropNames: string[];
30
31
  };
31
32
  }
32
- declare class AnimusExtendedWithSystem<T extends BaseTheme, 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 AnimusExtendedWithAll<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
33
- props<NewCustomProps extends Record<string, Prop>>(config: NewCustomProps): AnimusExtendedWithAll<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, NewCustomProps>;
33
+ declare class AnimusExtendedWithSystem<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 AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
34
+ props<NewCustomProps extends Record<string, Prop>>(config: NewCustomProps): AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, NewCustomProps>;
34
35
  }
35
- declare class AnimusExtendedWithStates<T extends BaseTheme, 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<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
36
- groups<PickedGroups extends keyof GroupRegistry>(config: Record<PickedGroups, true>): AnimusExtendedWithSystem<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, Record<PickedGroups, true> & ActiveGroups, CustomProps>;
36
+ 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> {
37
+ groups<PickedGroups extends keyof GroupRegistry>(config: Record<PickedGroups, true>): AnimusExtendedWithSystem<PropRegistry, GroupRegistry, BaseStyles, Variants, States, Record<PickedGroups, true> & ActiveGroups, CustomProps>;
37
38
  }
38
- declare class AnimusExtendedWithVariants<T extends BaseTheme, 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<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
39
+ 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> {
40
+ compound<Props extends AbstractProps>(condition: {
41
+ [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>;
42
+ }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
43
+ states<Props extends AbstractProps>(config: ThemedCSSPropMap<Props, PropRegistry>): AnimusExtendedWithStates<PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry> & States, ActiveGroups, CustomProps>;
44
+ }
45
+ declare class AnimusExtendedWithVariants<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 AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
46
+ compound<Props extends AbstractProps>(condition: {
47
+ [K in keyof Variants]?: keyof Variants[K]['variants'] | ReadonlyArray<keyof Variants[K]['variants']>;
48
+ }, styles: ThemedCSSProps<Props, PropRegistry>): AnimusExtendedWithCompounds<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
39
49
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
40
50
  prop?: PropKey;
41
- defaultVariant?: keyof Props;
51
+ defaultVariant?: Extract<keyof Props, string>;
42
52
  base?: ThemedCSSProps<Base, PropRegistry>;
43
53
  variants: ThemedCSSPropMap<Props, PropRegistry>;
44
- }): AnimusExtendedWithVariants<T, PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
54
+ }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
45
55
  prop?: PropKey;
46
- defaultVariant?: keyof Props;
56
+ defaultVariant?: Extract<keyof Props, string>;
47
57
  base?: ThemedCSSProps<Base, PropRegistry>;
48
58
  variants: ThemedCSSPropMap<Props, PropRegistry>;
49
59
  }>, States, ActiveGroups, CustomProps>;
50
- states<Props extends AbstractProps>(config: ThemedCSSPropMap<Props, PropRegistry>): AnimusExtendedWithStates<T, PropRegistry, GroupRegistry, BaseStyles, Variants, ThemedCSSPropMap<Props, PropRegistry> & States, ActiveGroups, CustomProps>;
51
60
  }
52
- declare class AnimusExtendedWithBase<T extends BaseTheme, 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 AnimusExtendedWithVariants<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
61
+ declare class AnimusExtendedWithBase<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 AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
53
62
  variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
54
63
  prop?: PropKey;
55
- defaultVariant?: keyof Props;
64
+ defaultVariant?: Extract<keyof Props, string>;
56
65
  base?: ThemedCSSProps<Base, PropRegistry>;
57
66
  variants: ThemedCSSPropMap<Props, PropRegistry>;
58
- }): AnimusExtendedWithVariants<T, PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
67
+ }): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseStyles, Variants & Record<PropKey, {
59
68
  prop?: PropKey;
60
- defaultVariant?: keyof Props;
69
+ defaultVariant?: Extract<keyof Props, string>;
61
70
  base?: ThemedCSSProps<Base, PropRegistry>;
62
71
  variants: ThemedCSSPropMap<Props, PropRegistry>;
63
72
  }>, States, ActiveGroups, CustomProps>;
64
73
  }
65
- export declare class AnimusExtended<T extends BaseTheme, 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 AnimusExtendedWithBase<T, PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
66
- styles<Props extends AbstractProps>(config: ThemedCSSProps<Props, PropRegistry>): AnimusExtendedWithBase<T, PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry> & BaseStyles, Variants, States, ActiveGroups, CustomProps>;
74
+ export declare class AnimusExtended<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 AnimusExtendedWithBase<PropRegistry, GroupRegistry, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
75
+ styles<Props extends AbstractProps>(config: ThemedCSSProps<Props, PropRegistry>): AnimusExtendedWithBase<PropRegistry, GroupRegistry, ThemedCSSProps<Props, PropRegistry> & BaseStyles, Variants, States, ActiveGroups, CustomProps>;
67
76
  }
68
77
  export {};
69
78
  //# sourceMappingURL=AnimusExtended.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnimusExtended.d.ts","sourceRoot":"","sources":["../src/AnimusExtended.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,aAAa,EACd,MAAM,gB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EAC5D,UAAU,SAAS,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC,EACvE,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAC9C,MAAM,SAAS,UAAU,CAAC,aAAa,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC,EACrE,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EACzC,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CACxC,SAAQ,sBAAsB,CAC9B,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,WAAW,CACZ;IACC,MAAM,CAAC,KAAK,SAAS,aAAa,EAChC,MAAM,EAAE,cAAc,CAAC,KAAK,EAAE,YAAY,CAAC;CAqB9C"}
@@ -2,7 +2,6 @@ import { Animus } from './Animus';
2
2
  import { PropertyBuilder } from './PropertyBuilder';
3
3
  import { NamedTransform } from './transforms/createTransform';
4
4
  import { Prop } from './types/config';
5
- import { Theme } from './types/theme';
6
5
  export type GlobalStyleMap = Record<string, Record<string, any>>;
7
6
  export interface GlobalStylesConfig {
8
7
  reset?: GlobalStyleMap;
@@ -18,7 +17,7 @@ export declare class SystemBuilder<PropReg extends Record<string, Prop> = {}, Gr
18
17
  withGlobalStyles(styles: GlobalStylesConfig): SystemBuilder<PropReg, GroupReg>;
19
18
  build(): SystemInstance<PropReg, GroupReg>;
20
19
  }
21
- export type SystemInstance<PropReg extends Record<string, Prop>, GroupReg extends Record<string, (keyof PropReg)[]>> = Animus<Theme, PropReg, GroupReg> & {
20
+ export type SystemInstance<PropReg extends Record<string, Prop>, GroupReg extends Record<string, (keyof PropReg)[]>> = Animus<PropReg, GroupReg> & {
22
21
  serialize(): SerializedConfig;
23
22
  };
24
23
  export interface SerializedConfig {
@@ -1 +1 @@
1
- {"version":3,"file":"SystemBuilder.d.ts","sourceRoot":"","sources":["../src/SystemBuilder.ts"],"names":[],"mapp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SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EACxC,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,WAAW,CAAC,EAAE,CAAC,EAE1D,EAAE,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK;QAC1B,YAAY,EAAE,WAAW,CAAC;QAC1B,aAAa,EAAE,YAAY,CAAC;KAC7B,GACA,aAAa,CAAC,WAAW,EAAE,YAAY,CAAC;IAS3C,gBAAgB,CACd,MAAM,EAAE,kBAAkB,GACzB,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC;IAInC,KAAK,IAAI,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC;CAiB3C;AAED,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EACpC,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,OAAO,CAAC,EAAE,CAAC,IAChD,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG;IAC9B,SAAS,IAAI,gBAAgB,CAAC;CAC/B,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;IAC3C,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC;AAiDD,wBAAgB,YAAY,0BAE3B"}
@@ -15,29 +15,29 @@ export declare const color: {
15
15
  readonly property: "borderColor";
16
16
  readonly scale: "colors";
17
17
  };
18
- readonly borderColorX: {
18
+ readonly borderXColor: {
19
19
  readonly property: "borderColor";
20
20
  readonly properties: readonly ["borderLeftColor", "borderRightColor"];
21
21
  readonly scale: "colors";
22
22
  };
23
- readonly borderColorY: {
23
+ readonly borderYColor: {
24
24
  readonly property: "borderColor";
25
25
  readonly properties: readonly ["borderTopColor", "borderBottomColor"];
26
26
  readonly scale: "colors";
27
27
  };
28
- readonly borderColorLeft: {
28
+ readonly borderLeftColor: {
29
29
  readonly property: "borderLeftColor";
30
30
  readonly scale: "colors";
31
31
  };
32
- readonly borderColorRight: {
32
+ readonly borderRightColor: {
33
33
  readonly property: "borderRightColor";
34
34
  readonly scale: "colors";
35
35
  };
36
- readonly borderColorTop: {
36
+ readonly borderTopColor: {
37
37
  readonly property: "borderTopColor";
38
38
  readonly scale: "colors";
39
39
  };
40
- readonly borderColorBottom: {
40
+ readonly borderBottomColor: {
41
41
  readonly property: "borderBottomColor";
42
42
  readonly scale: "colors";
43
43
  };
@@ -92,29 +92,29 @@ export declare const border: {
92
92
  readonly property: "borderWidth";
93
93
  readonly scale: "borderWidths";
94
94
  };
95
- readonly borderWidthX: {
95
+ readonly borderXWidth: {
96
96
  readonly property: "borderWidth";
97
97
  readonly properties: readonly ["borderLeftWidth", "borderRightWidth"];
98
98
  readonly scale: "borderWidths";
99
99
  };
100
- readonly borderWidthY: {
100
+ readonly borderYWidth: {
101
101
  readonly property: "borderWidth";
102
102
  readonly properties: readonly ["borderTopWidth", "borderBottomWidth"];
103
103
  readonly scale: "borderWidths";
104
104
  };
105
- readonly borderWidthLeft: {
105
+ readonly borderLeftWidth: {
106
106
  readonly property: "borderLeftWidth";
107
107
  readonly scale: "borderWidths";
108
108
  };
109
- readonly borderWidthRight: {
109
+ readonly borderRightWidth: {
110
110
  readonly property: "borderRightWidth";
111
111
  readonly scale: "borderWidths";
112
112
  };
113
- readonly borderWidthTop: {
113
+ readonly borderTopWidth: {
114
114
  readonly property: "borderTopWidth";
115
115
  readonly scale: "borderWidths";
116
116
  };
117
- readonly borderWidthBottom: {
117
+ readonly borderBottomWidth: {
118
118
  readonly property: "borderBottomWidth";
119
119
  readonly scale: "borderWidths";
120
120
  };
@@ -123,46 +123,51 @@ export declare const border: {
123
123
  readonly scale: "radii";
124
124
  readonly transform: import("../transforms").NamedTransform;
125
125
  };
126
- readonly borderRadiusLeft: {
126
+ readonly rounded: {
127
+ readonly property: "borderRadius";
128
+ readonly scale: "radii";
129
+ readonly transform: import("../transforms").NamedTransform;
130
+ };
131
+ readonly borderLeftRadius: {
127
132
  readonly property: "borderRadius";
128
133
  readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
129
134
  readonly scale: "radii";
130
135
  readonly transform: import("../transforms").NamedTransform;
131
136
  };
132
- readonly borderRadiusTop: {
137
+ readonly borderTopRadius: {
133
138
  readonly property: "borderRadius";
134
139
  readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
135
140
  readonly scale: "radii";
136
141
  readonly transform: import("../transforms").NamedTransform;
137
142
  };
138
- readonly borderRadiusBottom: {
143
+ readonly borderBottomRadius: {
139
144
  readonly property: "borderRadius";
140
145
  readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
141
146
  readonly scale: "radii";
142
147
  readonly transform: import("../transforms").NamedTransform;
143
148
  };
144
- readonly borderRadiusRight: {
149
+ readonly borderRightRadius: {
145
150
  readonly property: "borderRadius";
146
151
  readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
147
152
  readonly scale: "radii";
148
153
  readonly transform: import("../transforms").NamedTransform;
149
154
  };
150
- readonly borderRadiusTopLeft: {
155
+ readonly borderTopLeftRadius: {
151
156
  readonly property: "borderTopLeftRadius";
152
157
  readonly scale: "radii";
153
158
  readonly transform: import("../transforms").NamedTransform;
154
159
  };
155
- readonly borderRadiusTopRight: {
160
+ readonly borderTopRightRadius: {
156
161
  readonly property: "borderTopRightRadius";
157
162
  readonly scale: "radii";
158
163
  readonly transform: import("../transforms").NamedTransform;
159
164
  };
160
- readonly borderRadiusBottomRight: {
165
+ readonly borderBottomRightRadius: {
161
166
  readonly property: "borderBottomRightRadius";
162
167
  readonly scale: "radii";
163
168
  readonly transform: import("../transforms").NamedTransform;
164
169
  };
165
- readonly borderRadiusBottomLeft: {
170
+ readonly borderBottomLeftRadius: {
166
171
  readonly property: "borderBottomLeftRadius";
167
172
  readonly scale: "radii";
168
173
  readonly transform: import("../transforms").NamedTransform;
@@ -170,24 +175,24 @@ export declare const border: {
170
175
  readonly borderStyle: {
171
176
  readonly property: "borderStyle";
172
177
  };
173
- readonly borderStyleX: {
178
+ readonly borderXStyle: {
174
179
  readonly property: "borderStyle";
175
180
  readonly properties: readonly ["borderLeftStyle", "borderRightStyle"];
176
181
  };
177
- readonly borderStyleY: {
182
+ readonly borderYStyle: {
178
183
  readonly property: "borderStyle";
179
184
  readonly properties: readonly ["borderTopStyle", "borderBottomStyle"];
180
185
  };
181
- readonly borderStyleLeft: {
186
+ readonly borderLeftStyle: {
182
187
  readonly property: "borderLeftStyle";
183
188
  };
184
- readonly borderStyleRight: {
189
+ readonly borderRightStyle: {
185
190
  readonly property: "borderRightStyle";
186
191
  };
187
- readonly borderStyleTop: {
192
+ readonly borderTopStyle: {
188
193
  readonly property: "borderTopStyle";
189
194
  };
190
- readonly borderStyleBottom: {
195
+ readonly borderBottomStyle: {
191
196
  readonly property: "borderBottomStyle";
192
197
  };
193
198
  };
@@ -243,6 +248,9 @@ export declare const flex: {
243
248
  readonly flexDirection: {
244
249
  readonly property: "flexDirection";
245
250
  };
251
+ readonly flexDir: {
252
+ readonly property: "flexDirection";
253
+ };
246
254
  readonly flexWrap: {
247
255
  readonly property: "flexWrap";
248
256
  };
@@ -363,20 +371,35 @@ export declare const background: {
363
371
  readonly backgroundImage: {
364
372
  readonly property: "backgroundImage";
365
373
  };
374
+ readonly bgImage: {
375
+ readonly property: "backgroundImage";
376
+ };
366
377
  readonly backgroundSize: {
367
378
  readonly property: "backgroundSize";
368
379
  };
380
+ readonly bgSize: {
381
+ readonly property: "backgroundSize";
382
+ };
369
383
  readonly backgroundRepeat: {
370
384
  readonly property: "backgroundRepeat";
371
385
  };
386
+ readonly bgRepeat: {
387
+ readonly property: "backgroundRepeat";
388
+ };
372
389
  readonly backgroundPosition: {
373
390
  readonly property: "backgroundPosition";
374
391
  };
392
+ readonly bgPos: {
393
+ readonly property: "backgroundPosition";
394
+ };
375
395
  };
376
396
  export declare const positioning: {
377
397
  readonly position: {
378
398
  readonly property: "position";
379
399
  };
400
+ readonly pos: {
401
+ readonly property: "position";
402
+ };
380
403
  readonly inset: {
381
404
  readonly property: "inset";
382
405
  readonly properties: readonly ["top", "right", "bottom", "left"];
@@ -412,6 +435,10 @@ export declare const shadows: {
412
435
  readonly property: "boxShadow";
413
436
  readonly scale: "shadows";
414
437
  };
438
+ readonly shadow: {
439
+ readonly property: "boxShadow";
440
+ readonly scale: "shadows";
441
+ };
415
442
  readonly textShadow: {
416
443
  readonly property: "textShadow";
417
444
  readonly scale: "shadows";
@@ -481,26 +508,50 @@ export declare const layout: {
481
508
  readonly property: "width";
482
509
  readonly transform: import("../transforms").NamedTransform;
483
510
  };
511
+ readonly w: {
512
+ readonly property: "width";
513
+ readonly transform: import("../transforms").NamedTransform;
514
+ };
484
515
  readonly minWidth: {
485
516
  readonly property: "minWidth";
486
517
  readonly transform: import("../transforms").NamedTransform;
487
518
  };
519
+ readonly minW: {
520
+ readonly property: "minWidth";
521
+ readonly transform: import("../transforms").NamedTransform;
522
+ };
488
523
  readonly maxWidth: {
489
524
  readonly property: "maxWidth";
490
525
  readonly transform: import("../transforms").NamedTransform;
491
526
  };
527
+ readonly maxW: {
528
+ readonly property: "maxWidth";
529
+ readonly transform: import("../transforms").NamedTransform;
530
+ };
492
531
  readonly height: {
493
532
  readonly property: "height";
494
533
  readonly transform: import("../transforms").NamedTransform;
495
534
  };
535
+ readonly h: {
536
+ readonly property: "height";
537
+ readonly transform: import("../transforms").NamedTransform;
538
+ };
496
539
  readonly minHeight: {
497
540
  readonly property: "minHeight";
498
541
  readonly transform: import("../transforms").NamedTransform;
499
542
  };
543
+ readonly minH: {
544
+ readonly property: "minHeight";
545
+ readonly transform: import("../transforms").NamedTransform;
546
+ };
500
547
  readonly maxHeight: {
501
548
  readonly property: "maxHeight";
502
549
  readonly transform: import("../transforms").NamedTransform;
503
550
  };
551
+ readonly maxH: {
552
+ readonly property: "maxHeight";
553
+ readonly transform: import("../transforms").NamedTransform;
554
+ };
504
555
  readonly verticalAlign: {
505
556
  readonly property: "verticalAlign";
506
557
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/groups/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBR,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHT,CAAC;AA8BX,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAWX,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCP,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAMb,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAad,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;;;;;CAGV,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BT,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBb,CAAC;AAsCX,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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