@animus-ui/core 0.2.0-beta.0 → 0.2.0-beta.2
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/ANIMUS_ARCHITECTURE.md +173 -0
- package/CHANGELOG.md +14 -0
- package/CLAUDE.md +895 -7
- package/dist/AnimusExtended.d.ts +43 -16
- package/dist/index.d.ts +8 -8
- package/dist/index.js +129 -73
- package/dist/properties/styledOptions.d.ts +1 -1
- package/dist/transforms/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/static-poc/atomic-css.d.ts +0 -14
- package/dist/static-poc/run-poc.d.ts +0 -5
- package/dist/static-poc/static-mode.d.ts +0 -15
- package/dist/static-poc/validate-poc.d.ts +0 -5
- package/docs/AGENT-QUESTIONS.md +0 -79
- package/docs/agentic-alliance.md +0 -415
- package/docs/ai-collaboration-guide.md +0 -141
- package/docs/critical-findings.md +0 -87
- package/docs/gemini-tamagui-compiler-learnings.md +0 -393
- package/docs/tamagui-compiler-learnings.md +0 -575
package/dist/AnimusExtended.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CSSPropMap, CSSProps, Parser, Prop, SystemProps, VariantConfig } from '
|
|
|
2
2
|
import { AbstractProps, ThemeProps } from './types/props';
|
|
3
3
|
import { CSSObject } from './types/shared';
|
|
4
4
|
import { Arg } from './types/utils';
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class AnimusExtendedWithAll<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseParser extends Parser<PropRegistry>, BaseStyles extends CSSProps<AbstractProps, SystemProps<BaseParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<BaseParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, Prop>> {
|
|
6
6
|
propRegistry: PropRegistry;
|
|
7
7
|
groupRegistry: GroupRegistry;
|
|
8
8
|
parser: BaseParser;
|
|
@@ -13,21 +13,6 @@ export declare class AnimusExtended<PropRegistry extends Record<string, Prop>, G
|
|
|
13
13
|
custom: CustomProps;
|
|
14
14
|
constructor(props: PropRegistry, groups: GroupRegistry, parser: BaseParser, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
|
|
15
15
|
extend(): AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
|
|
16
|
-
styles<Props extends AbstractProps>(config: CSSProps<Props, SystemProps<BaseParser>>): AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles & CSSProps<Props, SystemProps<BaseParser, Omit<Arg<BaseParser>, "theme">>>, Variants, States, ActiveGroups, CustomProps>;
|
|
17
|
-
variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
|
|
18
|
-
prop?: PropKey;
|
|
19
|
-
defaultVariant?: keyof Props;
|
|
20
|
-
base?: CSSProps<Base, SystemProps<BaseParser>>;
|
|
21
|
-
variants: CSSPropMap<Props, SystemProps<BaseParser>>;
|
|
22
|
-
}): AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants & Record<PropKey, {
|
|
23
|
-
prop?: PropKey;
|
|
24
|
-
defaultVariant?: keyof Props;
|
|
25
|
-
base?: CSSProps<Base, SystemProps<BaseParser>>;
|
|
26
|
-
variants: CSSPropMap<Props, SystemProps<BaseParser>>;
|
|
27
|
-
}>, States, ActiveGroups, CustomProps>;
|
|
28
|
-
states<Props extends AbstractProps>(config: CSSPropMap<Props, SystemProps<BaseParser>>): AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States & CSSPropMap<Props, SystemProps<BaseParser, Omit<Arg<BaseParser>, "theme">>>, ActiveGroups, CustomProps>;
|
|
29
|
-
groups<PickedGroups extends keyof GroupRegistry>(config: Record<PickedGroups, true>): AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups & Record<PickedGroups, true>, CustomProps>;
|
|
30
|
-
props<CustomProps extends Record<string, Prop>>(config: CustomProps): AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, {} & CustomProps_1 & CustomProps>;
|
|
31
16
|
asElement<T extends keyof JSX.IntrinsicElements>(component: T): import("@emotion/styled").StyledComponent<{
|
|
32
17
|
theme?: import("@emotion/react").Theme;
|
|
33
18
|
as?: React.ElementType;
|
|
@@ -47,3 +32,45 @@ export declare class AnimusExtended<PropRegistry extends Record<string, Prop>, G
|
|
|
47
32
|
extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
|
|
48
33
|
};
|
|
49
34
|
}
|
|
35
|
+
declare class AnimusExtendedWithSystem<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseParser extends Parser<PropRegistry>, BaseStyles extends CSSProps<AbstractProps, SystemProps<BaseParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<BaseParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, Prop>> extends AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
36
|
+
constructor(props: PropRegistry, groups: GroupRegistry, parser: BaseParser, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
|
|
37
|
+
props<NewCustomProps extends Record<string, Prop>>(config: NewCustomProps): AnimusExtendedWithAll<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, {} & CustomProps & NewCustomProps>;
|
|
38
|
+
}
|
|
39
|
+
declare class AnimusExtendedWithStates<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseParser extends Parser<PropRegistry>, BaseStyles extends CSSProps<AbstractProps, SystemProps<BaseParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<BaseParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, Prop>> extends AnimusExtendedWithSystem<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
40
|
+
constructor(props: PropRegistry, groups: GroupRegistry, parser: BaseParser, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
|
|
41
|
+
groups<PickedGroups extends keyof GroupRegistry>(config: Record<PickedGroups, true>): AnimusExtendedWithSystem<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups & Record<PickedGroups, true>, CustomProps>;
|
|
42
|
+
}
|
|
43
|
+
declare class AnimusExtendedWithVariants<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseParser extends Parser<PropRegistry>, BaseStyles extends CSSProps<AbstractProps, SystemProps<BaseParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<BaseParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, Prop>> extends AnimusExtendedWithStates<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
44
|
+
constructor(props: PropRegistry, groups: GroupRegistry, parser: BaseParser, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
|
|
45
|
+
variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
|
|
46
|
+
prop?: PropKey;
|
|
47
|
+
defaultVariant?: keyof Props;
|
|
48
|
+
base?: CSSProps<Base, SystemProps<BaseParser>>;
|
|
49
|
+
variants: CSSPropMap<Props, SystemProps<BaseParser>>;
|
|
50
|
+
}): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants & Record<PropKey, {
|
|
51
|
+
prop?: PropKey;
|
|
52
|
+
defaultVariant?: keyof Props;
|
|
53
|
+
base?: CSSProps<Base, SystemProps<BaseParser>>;
|
|
54
|
+
variants: CSSPropMap<Props, SystemProps<BaseParser>>;
|
|
55
|
+
}>, States, ActiveGroups, CustomProps>;
|
|
56
|
+
states<Props extends AbstractProps>(config: CSSPropMap<Props, SystemProps<BaseParser>>): AnimusExtendedWithStates<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States & CSSPropMap<Props, SystemProps<BaseParser, Omit<Arg<BaseParser>, "theme">>>, ActiveGroups, CustomProps>;
|
|
57
|
+
}
|
|
58
|
+
declare class AnimusExtendedWithBase<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseParser extends Parser<PropRegistry>, BaseStyles extends CSSProps<AbstractProps, SystemProps<BaseParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<BaseParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, Prop>> extends AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
59
|
+
constructor(props: PropRegistry, groups: GroupRegistry, parser: BaseParser, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
|
|
60
|
+
variant<Keys extends keyof Props, Base extends AbstractProps, Props extends Record<Keys, AbstractProps>, PropKey extends Readonly<string> = 'variant'>(options: {
|
|
61
|
+
prop?: PropKey;
|
|
62
|
+
defaultVariant?: keyof Props;
|
|
63
|
+
base?: CSSProps<Base, SystemProps<BaseParser>>;
|
|
64
|
+
variants: CSSPropMap<Props, SystemProps<BaseParser>>;
|
|
65
|
+
}): AnimusExtendedWithVariants<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants & Record<PropKey, {
|
|
66
|
+
prop?: PropKey;
|
|
67
|
+
defaultVariant?: keyof Props;
|
|
68
|
+
base?: CSSProps<Base, SystemProps<BaseParser>>;
|
|
69
|
+
variants: CSSPropMap<Props, SystemProps<BaseParser>>;
|
|
70
|
+
}>, States, ActiveGroups, CustomProps>;
|
|
71
|
+
}
|
|
72
|
+
export declare class AnimusExtended<PropRegistry extends Record<string, Prop>, GroupRegistry extends Record<string, (keyof PropRegistry)[]>, BaseParser extends Parser<PropRegistry>, BaseStyles extends CSSProps<AbstractProps, SystemProps<BaseParser>>, Variants extends Record<string, VariantConfig>, States extends CSSPropMap<AbstractProps, SystemProps<BaseParser>>, ActiveGroups extends Record<string, true>, CustomProps extends Record<string, Prop>> extends AnimusExtendedWithBase<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps> {
|
|
73
|
+
constructor(props: PropRegistry, groups: GroupRegistry, parser: BaseParser, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups, custom: CustomProps);
|
|
74
|
+
styles<Props extends AbstractProps>(config: CSSProps<Props, SystemProps<BaseParser>>): AnimusExtendedWithBase<PropRegistry, GroupRegistry, BaseParser, BaseStyles & CSSProps<Props, SystemProps<BaseParser, Omit<Arg<BaseParser>, "theme">>>, Variants, States, ActiveGroups, CustomProps>;
|
|
75
|
+
}
|
|
76
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from './types/props';
|
|
2
|
-
export * from './types/theme';
|
|
3
|
-
export * from './types/utils';
|
|
4
|
-
export * from './types/shared';
|
|
5
|
-
export * from './scales/createScale';
|
|
6
1
|
export * from './AnimusConfig';
|
|
7
|
-
export * from './createAnimus';
|
|
8
|
-
export * from './transforms';
|
|
9
|
-
export * from './legacy/core';
|
|
10
2
|
export * from './compatTheme';
|
|
11
3
|
/** Export extendable config */
|
|
12
4
|
export { config } from './config';
|
|
5
|
+
export * from './createAnimus';
|
|
6
|
+
export * from './legacy/core';
|
|
7
|
+
export * from './scales/createScale';
|
|
8
|
+
export * from './transforms';
|
|
9
|
+
export * from './types/props';
|
|
10
|
+
export * from './types/shared';
|
|
11
|
+
export * from './types/theme';
|
|
12
|
+
export * from './types/utils';
|
|
13
13
|
/** Export full builder */
|
|
14
14
|
export declare const animus: import("./Animus").Animus<{
|
|
15
15
|
readonly gap: {
|
package/dist/index.js
CHANGED
|
@@ -702,9 +702,9 @@ var createStylist = function createStylist(parser) {
|
|
|
702
702
|
};
|
|
703
703
|
};
|
|
704
704
|
|
|
705
|
-
var
|
|
706
|
-
function
|
|
707
|
-
_classCallCheck(this,
|
|
705
|
+
var AnimusExtendedWithAll = /*#__PURE__*/function () {
|
|
706
|
+
function AnimusExtendedWithAll(props, groups, parser, base, variants, states, activeGroups, custom) {
|
|
707
|
+
_classCallCheck(this, AnimusExtendedWithAll);
|
|
708
708
|
_defineProperty(this, "propRegistry", {});
|
|
709
709
|
_defineProperty(this, "groupRegistry", {});
|
|
710
710
|
_defineProperty(this, "parser", {});
|
|
@@ -722,37 +722,11 @@ var AnimusExtended = /*#__PURE__*/function () {
|
|
|
722
722
|
this.activeGroups = activeGroups;
|
|
723
723
|
this.custom = custom;
|
|
724
724
|
}
|
|
725
|
-
_createClass(
|
|
725
|
+
_createClass(AnimusExtendedWithAll, [{
|
|
726
726
|
key: "extend",
|
|
727
727
|
value: function extend() {
|
|
728
728
|
return new AnimusExtended(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, this.variants, this.statesConfig, this.activeGroups, this.custom);
|
|
729
729
|
}
|
|
730
|
-
}, {
|
|
731
|
-
key: "styles",
|
|
732
|
-
value: function styles(config) {
|
|
733
|
-
return new AnimusExtended(this.propRegistry, this.groupRegistry, this.parser, merge({}, this.baseStyles, config), this.variants, this.statesConfig, this.activeGroups, this.custom);
|
|
734
|
-
}
|
|
735
|
-
}, {
|
|
736
|
-
key: "variant",
|
|
737
|
-
value: function variant(options) {
|
|
738
|
-
var prop = options.prop || 'variant';
|
|
739
|
-
return new AnimusExtended(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, merge({}, this.variants, _defineProperty({}, prop, options)), this.statesConfig, this.activeGroups, this.custom);
|
|
740
|
-
}
|
|
741
|
-
}, {
|
|
742
|
-
key: "states",
|
|
743
|
-
value: function states(config) {
|
|
744
|
-
return new AnimusExtended(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, this.variants, merge({}, this.statesConfig, config), this.activeGroups, this.custom);
|
|
745
|
-
}
|
|
746
|
-
}, {
|
|
747
|
-
key: "groups",
|
|
748
|
-
value: function groups(config) {
|
|
749
|
-
return new AnimusExtended(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, this.variants, this.statesConfig, merge({}, this.activeGroups, config), this.custom);
|
|
750
|
-
}
|
|
751
|
-
}, {
|
|
752
|
-
key: "props",
|
|
753
|
-
value: function props(config) {
|
|
754
|
-
return new AnimusExtended(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, this.variants, this.statesConfig, this.activeGroups, merge({}, this.custom, config));
|
|
755
|
-
}
|
|
756
730
|
}, {
|
|
757
731
|
key: "asElement",
|
|
758
732
|
value: function asElement(component) {
|
|
@@ -762,8 +736,8 @@ var AnimusExtended = /*#__PURE__*/function () {
|
|
|
762
736
|
return isPropValid(prop) && !propNames.includes(prop);
|
|
763
737
|
},
|
|
764
738
|
target: "e1np124q1",
|
|
765
|
-
label: "
|
|
766
|
-
})(this.build(), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
739
|
+
label: "AnimusExtendedWithAll"
|
|
740
|
+
})(this.build(), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFuaW11c0V4dGVuZGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZCZ0MiLCJmaWxlIjoiQW5pbXVzRXh0ZW5kZWQudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgaXNQcm9wVmFsaWQgZnJvbSAnQGVtb3Rpb24vaXMtcHJvcC12YWxpZCc7XG5pbXBvcnQgc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@ var AnimusExtended = /*#__PURE__*/function () {
|
|
|
777
751
|
return !propNames.includes(prop);
|
|
778
752
|
},
|
|
779
753
|
target: "e1np124q0",
|
|
780
|
-
label: "
|
|
781
|
-
})(this.build(), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
754
|
+
label: "AnimusExtendedWithAll"
|
|
755
|
+
})(this.build(), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFuaW11c0V4dGVuZGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DZ0MiLCJmaWxlIjoiQW5pbXVzRXh0ZW5kZWQudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgaXNQcm9wVmFsaWQgZnJvbSAnQGVtb3Rpb24vaXMtcHJvcC12YWxpZCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBtZXJnZSB9IGZyb20gJ2xvZGFzaCc7XG5pbXBvcnQgeyBjcmVhdGVQYXJzZXIgfSBmcm9tICcuL3N0eWxlcy9jcmVhdGVQYXJzZXInO1xuaW1wb3J0IHsgY3JlYXRlU3R5bGlzdCB9IGZyb20gJy4vc3R5bGVzL2NyZWF0ZVN0eWxpc3QnO1xuZXhwb3J0IGNsYXNzIEFuaW11c0V4dGVuZGVkV2l0aEFsbCB7XG4gICAgcHJvcFJlZ2lzdHJ5ID0ge307XG4gICAgZ3JvdXBSZWdpc3RyeSA9IHt9O1xuICAgIHBhcnNlciA9IHt9O1xuICAgIGJhc2VTdHlsZXMgPSB7fTtcbiAgICBzdGF0ZXNDb25maWcgPSB7fTtcbiAgICB2YXJpYW50cyA9IHt9O1xuICAgIGFjdGl2ZUdyb3VwcyA9IHt9O1xuICAgIGN1c3RvbSA9IHt9O1xuICAgIGNvbnN0cnVjdG9yKH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dmFyaWFudHMsIHN0YXRlcywgYWN0aXZlR3JvdXBzLCBjdXN0b20pO1xuICAgIH1cbiAgICBzdHlsZXMoY29uZmlnKSB7XG4gICAgICAgIHJldHVybiBuZXcgQW5pbXVzRXh0ZW5kZWRXaXRoQmFzZSh0aGlzLnByb3BSZWdpc3RyeSwgdGhpcy5ncm91cFJlZ2lzdHJ5LCB0aGlzLnBhcnNlciwgbWVyZ2Uoe30sIHRoaXMuYmFzZVN0eWxlcywgY29uZmlnKSwgdGhpcy52YXJpYW50cywgdGhpcy5zdGF0ZXNDb25maWcsIHRoaXMuYWN0aXZlR3JvdXBzLCB0aGlzLmN1c3RvbSk7XG4gICAgfVxufVxuLy8jIHNvdXJjZU1hcHBpbmdVUkw9QW5pbXVzRXh0ZW5kZWQuanMubWFwIl19 */");
|
|
782
756
|
return Object.assign(StyledComponent, {
|
|
783
757
|
extend: this.extend.bind(this)
|
|
784
758
|
});
|
|
@@ -792,8 +766,90 @@ var AnimusExtended = /*#__PURE__*/function () {
|
|
|
792
766
|
});
|
|
793
767
|
}
|
|
794
768
|
}]);
|
|
795
|
-
return
|
|
769
|
+
return AnimusExtendedWithAll;
|
|
796
770
|
}();
|
|
771
|
+
var AnimusExtendedWithSystem = /*#__PURE__*/function (_AnimusExtendedWithAl) {
|
|
772
|
+
_inherits(AnimusExtendedWithSystem, _AnimusExtendedWithAl);
|
|
773
|
+
var _super = _createSuper(AnimusExtendedWithSystem);
|
|
774
|
+
function AnimusExtendedWithSystem(props, groups, parser, base, variants, states, activeGroups, custom) {
|
|
775
|
+
_classCallCheck(this, AnimusExtendedWithSystem);
|
|
776
|
+
return _super.call(this, props, groups, parser, base, variants, states, activeGroups, custom);
|
|
777
|
+
}
|
|
778
|
+
_createClass(AnimusExtendedWithSystem, [{
|
|
779
|
+
key: "props",
|
|
780
|
+
value: function props(config) {
|
|
781
|
+
return new AnimusExtendedWithAll(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, this.variants, this.statesConfig, this.activeGroups, merge({}, this.custom, config));
|
|
782
|
+
}
|
|
783
|
+
}]);
|
|
784
|
+
return AnimusExtendedWithSystem;
|
|
785
|
+
}(AnimusExtendedWithAll);
|
|
786
|
+
var AnimusExtendedWithStates = /*#__PURE__*/function (_AnimusExtendedWithSy) {
|
|
787
|
+
_inherits(AnimusExtendedWithStates, _AnimusExtendedWithSy);
|
|
788
|
+
var _super2 = _createSuper(AnimusExtendedWithStates);
|
|
789
|
+
function AnimusExtendedWithStates(props, groups, parser, base, variants, states, activeGroups, custom) {
|
|
790
|
+
_classCallCheck(this, AnimusExtendedWithStates);
|
|
791
|
+
return _super2.call(this, props, groups, parser, base, variants, states, activeGroups, custom);
|
|
792
|
+
}
|
|
793
|
+
_createClass(AnimusExtendedWithStates, [{
|
|
794
|
+
key: "groups",
|
|
795
|
+
value: function groups(config) {
|
|
796
|
+
return new AnimusExtendedWithSystem(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, this.variants, this.statesConfig, merge({}, this.activeGroups, config), this.custom);
|
|
797
|
+
}
|
|
798
|
+
}]);
|
|
799
|
+
return AnimusExtendedWithStates;
|
|
800
|
+
}(AnimusExtendedWithSystem);
|
|
801
|
+
var AnimusExtendedWithVariants = /*#__PURE__*/function (_AnimusExtendedWithSt) {
|
|
802
|
+
_inherits(AnimusExtendedWithVariants, _AnimusExtendedWithSt);
|
|
803
|
+
var _super3 = _createSuper(AnimusExtendedWithVariants);
|
|
804
|
+
function AnimusExtendedWithVariants(props, groups, parser, base, variants, states, activeGroups, custom) {
|
|
805
|
+
_classCallCheck(this, AnimusExtendedWithVariants);
|
|
806
|
+
return _super3.call(this, props, groups, parser, base, variants, states, activeGroups, custom);
|
|
807
|
+
}
|
|
808
|
+
_createClass(AnimusExtendedWithVariants, [{
|
|
809
|
+
key: "variant",
|
|
810
|
+
value: function variant(options) {
|
|
811
|
+
var prop = options.prop || 'variant';
|
|
812
|
+
return new AnimusExtendedWithVariants(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, merge({}, this.variants, _defineProperty({}, prop, options)), this.statesConfig, this.activeGroups, this.custom);
|
|
813
|
+
}
|
|
814
|
+
}, {
|
|
815
|
+
key: "states",
|
|
816
|
+
value: function states(config) {
|
|
817
|
+
return new AnimusExtendedWithStates(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, this.variants, merge({}, this.statesConfig, config), this.activeGroups, this.custom);
|
|
818
|
+
}
|
|
819
|
+
}]);
|
|
820
|
+
return AnimusExtendedWithVariants;
|
|
821
|
+
}(AnimusExtendedWithStates);
|
|
822
|
+
var AnimusExtendedWithBase = /*#__PURE__*/function (_AnimusExtendedWithVa) {
|
|
823
|
+
_inherits(AnimusExtendedWithBase, _AnimusExtendedWithVa);
|
|
824
|
+
var _super4 = _createSuper(AnimusExtendedWithBase);
|
|
825
|
+
function AnimusExtendedWithBase(props, groups, parser, base, variants, states, activeGroups, custom) {
|
|
826
|
+
_classCallCheck(this, AnimusExtendedWithBase);
|
|
827
|
+
return _super4.call(this, props, groups, parser, base, variants, states, activeGroups, custom);
|
|
828
|
+
}
|
|
829
|
+
_createClass(AnimusExtendedWithBase, [{
|
|
830
|
+
key: "variant",
|
|
831
|
+
value: function variant(options) {
|
|
832
|
+
var prop = options.prop || 'variant';
|
|
833
|
+
return new AnimusExtendedWithVariants(this.propRegistry, this.groupRegistry, this.parser, this.baseStyles, merge({}, this.variants, _defineProperty({}, prop, options)), this.statesConfig, this.activeGroups, this.custom);
|
|
834
|
+
}
|
|
835
|
+
}]);
|
|
836
|
+
return AnimusExtendedWithBase;
|
|
837
|
+
}(AnimusExtendedWithVariants);
|
|
838
|
+
var AnimusExtended = /*#__PURE__*/function (_AnimusExtendedWithBa) {
|
|
839
|
+
_inherits(AnimusExtended, _AnimusExtendedWithBa);
|
|
840
|
+
var _super5 = _createSuper(AnimusExtended);
|
|
841
|
+
function AnimusExtended(props, groups, parser, base, variants, states, activeGroups, custom) {
|
|
842
|
+
_classCallCheck(this, AnimusExtended);
|
|
843
|
+
return _super5.call(this, props, groups, parser, base, variants, states, activeGroups, custom);
|
|
844
|
+
}
|
|
845
|
+
_createClass(AnimusExtended, [{
|
|
846
|
+
key: "styles",
|
|
847
|
+
value: function styles(config) {
|
|
848
|
+
return new AnimusExtendedWithBase(this.propRegistry, this.groupRegistry, this.parser, merge({}, this.baseStyles, config), this.variants, this.statesConfig, this.activeGroups, this.custom);
|
|
849
|
+
}
|
|
850
|
+
}]);
|
|
851
|
+
return AnimusExtended;
|
|
852
|
+
}(AnimusExtendedWithBase);
|
|
797
853
|
|
|
798
854
|
var AnimusWithAll = /*#__PURE__*/function () {
|
|
799
855
|
function AnimusWithAll(props, groups, parser, base, variants, states, activeGroups, custom) {
|
|
@@ -981,33 +1037,19 @@ var createAnimus = function createAnimus() {
|
|
|
981
1037
|
return new AnimusConfig();
|
|
982
1038
|
};
|
|
983
1039
|
|
|
984
|
-
var
|
|
985
|
-
|
|
986
|
-
return coordinate;
|
|
987
|
-
}
|
|
988
|
-
if (coordinate <= 1 && coordinate >= -1) {
|
|
989
|
-
return "".concat(coordinate * 100, "%");
|
|
990
|
-
}
|
|
991
|
-
return "".concat(coordinate, "px");
|
|
1040
|
+
var numberToTemplate = function numberToTemplate(val, template) {
|
|
1041
|
+
return typeof val === 'number' ? template(val) : val;
|
|
992
1042
|
};
|
|
993
|
-
var
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
match = _ref2[0],
|
|
1004
|
-
number = _ref2[1],
|
|
1005
|
-
unit = _ref2[2];
|
|
1006
|
-
if (match === undefined) {
|
|
1007
|
-
return value;
|
|
1008
|
-
}
|
|
1009
|
-
var numericValue = parseFloat(number);
|
|
1010
|
-
return !unit ? percentageOrAbsolute(numericValue) : "".concat(numericValue).concat(unit);
|
|
1043
|
+
var numberToPx = function numberToPx(val) {
|
|
1044
|
+
return numberToTemplate(val, function (pixels) {
|
|
1045
|
+
return "".concat(pixels, "px");
|
|
1046
|
+
});
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
var borderShorthand = function borderShorthand(val) {
|
|
1050
|
+
return numberToTemplate(val, function (width) {
|
|
1051
|
+
return "".concat(width, "px solid currentColor");
|
|
1052
|
+
});
|
|
1011
1053
|
};
|
|
1012
1054
|
|
|
1013
1055
|
var gridItemMap = {
|
|
@@ -1047,19 +1089,33 @@ var gridItemRatio = function gridItemRatio(val) {
|
|
|
1047
1089
|
return isNumber(val) ? repeatGridItem('1', val) : parseGridRatio(val);
|
|
1048
1090
|
};
|
|
1049
1091
|
|
|
1050
|
-
var
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
return "".concat(
|
|
1056
|
-
}
|
|
1092
|
+
var percentageOrAbsolute = function percentageOrAbsolute(coordinate) {
|
|
1093
|
+
if (coordinate === 0) {
|
|
1094
|
+
return coordinate;
|
|
1095
|
+
}
|
|
1096
|
+
if (coordinate <= 1 && coordinate >= -1) {
|
|
1097
|
+
return "".concat(coordinate * 100, "%");
|
|
1098
|
+
}
|
|
1099
|
+
return "".concat(coordinate, "px");
|
|
1057
1100
|
};
|
|
1058
|
-
|
|
1059
|
-
var
|
|
1060
|
-
|
|
1061
|
-
return
|
|
1062
|
-
}
|
|
1101
|
+
var valueWithUnit = /(-?\d*\.?\d+)(%|\w*)/;
|
|
1102
|
+
var size = function size(value) {
|
|
1103
|
+
if (isNumber(value)) {
|
|
1104
|
+
return percentageOrAbsolute(value);
|
|
1105
|
+
}
|
|
1106
|
+
if (value.includes('calc')) {
|
|
1107
|
+
return value;
|
|
1108
|
+
}
|
|
1109
|
+
var _ref = valueWithUnit.exec(value) || [],
|
|
1110
|
+
_ref2 = _slicedToArray(_ref, 3),
|
|
1111
|
+
match = _ref2[0],
|
|
1112
|
+
number = _ref2[1],
|
|
1113
|
+
unit = _ref2[2];
|
|
1114
|
+
if (match === undefined) {
|
|
1115
|
+
return value;
|
|
1116
|
+
}
|
|
1117
|
+
var numericValue = parseFloat(number);
|
|
1118
|
+
return !unit ? percentageOrAbsolute(numericValue) : "".concat(numericValue).concat(unit);
|
|
1063
1119
|
};
|
|
1064
1120
|
|
|
1065
1121
|
var color = {
|
|
@@ -16,5 +16,5 @@ export declare const createStyledOptions: <T extends Record<string, any>>(props:
|
|
|
16
16
|
}) => {
|
|
17
17
|
shouldForwardProp: (prop: PropertyKey) => prop is ForwardableProps<El, keyof T | "variant" | "mode" | Filter> | Forward;
|
|
18
18
|
}) & {
|
|
19
|
-
shouldForwardProp: (prop: PropertyKey) => prop is (Exclude<"ref", keyof T | "variant" | "mode"> | Exclude<"key", keyof T | "variant" | "mode"> | Exclude<"slot", keyof T | "variant" | "mode"> | Exclude<"style", keyof T | "variant" | "mode"> | Exclude<"title", keyof T | "variant" | "mode"> | Exclude<"className", keyof T | "variant" | "mode"> | Exclude<"id", keyof T | "variant" | "mode"> | Exclude<"prefix", keyof T | "variant" | "mode"> | Exclude<"role", keyof T | "variant" | "mode"> | Exclude<"children", keyof T | "variant" | "mode"> | Exclude<"color", keyof T | "variant" | "mode"> | Exclude<"lang", keyof T | "variant" | "mode"> | Exclude<"tabIndex", keyof T | "variant" | "mode"> | Exclude<"aria-activedescendant", keyof T | "variant" | "mode"> | Exclude<"aria-atomic", keyof T | "variant" | "mode"> | Exclude<"aria-autocomplete", keyof T | "variant" | "mode"> | Exclude<"aria-busy", keyof T | "variant" | "mode"> | Exclude<"aria-checked", keyof T | "variant" | "mode"> | Exclude<"aria-colcount", keyof T | "variant" | "mode"> | Exclude<"aria-colindex", keyof T | "variant" | "mode"> | Exclude<"aria-colspan", keyof T | "variant" | "mode"> | Exclude<"aria-controls", keyof T | "variant" | "mode"> | Exclude<"aria-current", keyof T | "variant" | "mode"> | Exclude<"aria-describedby", keyof T | "variant" | "mode"> | Exclude<"aria-details", keyof T | "variant" | "mode"> | Exclude<"aria-disabled", keyof T | "variant" | "mode"> | Exclude<"aria-dropeffect", keyof T | "variant" | "mode"> | Exclude<"aria-errormessage", keyof T | "variant" | "mode"> | Exclude<"aria-expanded", keyof T | "variant" | "mode"> | Exclude<"aria-flowto", keyof T | "variant" | "mode"> | Exclude<"aria-grabbed", keyof T | "variant" | "mode"> | Exclude<"aria-haspopup", keyof T | "variant" | "mode"> | Exclude<"aria-hidden", keyof T | "variant" | "mode"> | Exclude<"aria-invalid", keyof T | "variant" | "mode"> | Exclude<"aria-keyshortcuts", keyof T | "variant" | "mode"> | Exclude<"aria-label", keyof T | "variant" | "mode"> | Exclude<"aria-labelledby", keyof T | "variant" | "mode"> | Exclude<"aria-level", keyof T | "variant" | "mode"> | Exclude<"aria-live", keyof T | "variant" | "mode"> | Exclude<"aria-modal", keyof T | "variant" | "mode"> | Exclude<"aria-multiline", keyof T | "variant" | "mode"> | Exclude<"aria-multiselectable", keyof T | "variant" | "mode"> | Exclude<"aria-orientation", keyof T | "variant" | "mode"> | Exclude<"aria-owns", keyof T | "variant" | "mode"> | Exclude<"aria-placeholder", keyof T | "variant" | "mode"> | Exclude<"aria-posinset", keyof T | "variant" | "mode"> | Exclude<"aria-pressed", keyof T | "variant" | "mode"> | Exclude<"aria-readonly", keyof T | "variant" | "mode"> | Exclude<"aria-relevant", keyof T | "variant" | "mode"> | Exclude<"aria-required", keyof T | "variant" | "mode"> | Exclude<"aria-roledescription", keyof T | "variant" | "mode"> | Exclude<"aria-rowcount", keyof T | "variant" | "mode"> | Exclude<"aria-rowindex", keyof T | "variant" | "mode"> | Exclude<"aria-rowspan", keyof T | "variant" | "mode"> | Exclude<"aria-selected", keyof T | "variant" | "mode"> | Exclude<"aria-setsize", keyof T | "variant" | "mode"> | Exclude<"aria-sort", keyof T | "variant" | "mode"> | Exclude<"aria-valuemax", keyof T | "variant" | "mode"> | Exclude<"aria-valuemin", keyof T | "variant" | "mode"> | Exclude<"aria-valuenow", keyof T | "variant" | "mode"> | Exclude<"aria-valuetext", keyof T | "variant" | "mode"> | Exclude<"dangerouslySetInnerHTML", keyof T | "variant" | "mode"> | Exclude<"onCopy", keyof T | "variant" | "mode"> | Exclude<"onCopyCapture", keyof T | "variant" | "mode"> | Exclude<"onCut", keyof T | "variant" | "mode"> | Exclude<"onCutCapture", keyof T | "variant" | "mode"> | Exclude<"onPaste", keyof T | "variant" | "mode"> | Exclude<"onPasteCapture", keyof T | "variant" | "mode"> | Exclude<"onCompositionEnd", keyof T | "variant" | "mode"> | Exclude<"onCompositionEndCapture", keyof T | "variant" | "mode"> | Exclude<"onCompositionStart", keyof T | "variant" | "mode"> | Exclude<"onCompositionStartCapture", keyof T | "variant" | "mode"> | Exclude<"onCompositionUpdate", keyof T | "variant" | "mode"> | Exclude<"onCompositionUpdateCapture", keyof T | "variant" | "mode"> | Exclude<"onFocus", keyof T | "variant" | "mode"> | Exclude<"onFocusCapture", keyof T | "variant" | "mode"> | Exclude<"onBlur", keyof T | "variant" | "mode"> | Exclude<"onBlurCapture", keyof T | "variant" | "mode"> | Exclude<"onChange", keyof T | "variant" | "mode"> | Exclude<"onChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onBeforeInput", keyof T | "variant" | "mode"> | Exclude<"onBeforeInputCapture", keyof T | "variant" | "mode"> | Exclude<"onInput", keyof T | "variant" | "mode"> | Exclude<"onInputCapture", keyof T | "variant" | "mode"> | Exclude<"onReset", keyof T | "variant" | "mode"> | Exclude<"onResetCapture", keyof T | "variant" | "mode"> | Exclude<"onSubmit", keyof T | "variant" | "mode"> | Exclude<"onSubmitCapture", keyof T | "variant" | "mode"> | Exclude<"onInvalid", keyof T | "variant" | "mode"> | Exclude<"onInvalidCapture", keyof T | "variant" | "mode"> | Exclude<"onLoad", keyof T | "variant" | "mode"> | Exclude<"onLoadCapture", keyof T | "variant" | "mode"> | Exclude<"onError", keyof T | "variant" | "mode"> | Exclude<"onErrorCapture", keyof T | "variant" | "mode"> | Exclude<"onKeyDown", keyof T | "variant" | "mode"> | Exclude<"onKeyDownCapture", keyof T | "variant" | "mode"> | Exclude<"onKeyPress", keyof T | "variant" | "mode"> | Exclude<"onKeyPressCapture", keyof T | "variant" | "mode"> | Exclude<"onKeyUp", keyof T | "variant" | "mode"> | Exclude<"onKeyUpCapture", keyof T | "variant" | "mode"> | Exclude<"onAbort", keyof T | "variant" | "mode"> | Exclude<"onAbortCapture", keyof T | "variant" | "mode"> | Exclude<"onCanPlay", keyof T | "variant" | "mode"> | Exclude<"onCanPlayCapture", keyof T | "variant" | "mode"> | Exclude<"onCanPlayThrough", keyof T | "variant" | "mode"> | Exclude<"onCanPlayThroughCapture", keyof T | "variant" | "mode"> | Exclude<"onDurationChange", keyof T | "variant" | "mode"> | Exclude<"onDurationChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onEmptied", keyof T | "variant" | "mode"> | Exclude<"onEmptiedCapture", keyof T | "variant" | "mode"> | Exclude<"onEncrypted", keyof T | "variant" | "mode"> | Exclude<"onEncryptedCapture", keyof T | "variant" | "mode"> | Exclude<"onEnded", keyof T | "variant" | "mode"> | Exclude<"onEndedCapture", keyof T | "variant" | "mode"> | Exclude<"onLoadedData", keyof T | "variant" | "mode"> | Exclude<"onLoadedDataCapture", keyof T | "variant" | "mode"> | Exclude<"onLoadedMetadata", keyof T | "variant" | "mode"> | Exclude<"onLoadedMetadataCapture", keyof T | "variant" | "mode"> | Exclude<"onLoadStart", keyof T | "variant" | "mode"> | Exclude<"onLoadStartCapture", keyof T | "variant" | "mode"> | Exclude<"onPause", keyof T | "variant" | "mode"> | Exclude<"onPauseCapture", keyof T | "variant" | "mode"> | Exclude<"onPlay", keyof T | "variant" | "mode"> | Exclude<"onPlayCapture", keyof T | "variant" | "mode"> | Exclude<"onPlaying", keyof T | "variant" | "mode"> | Exclude<"onPlayingCapture", keyof T | "variant" | "mode"> | Exclude<"onProgress", keyof T | "variant" | "mode"> | Exclude<"onProgressCapture", keyof T | "variant" | "mode"> | Exclude<"onRateChange", keyof T | "variant" | "mode"> | Exclude<"onRateChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onResize", keyof T | "variant" | "mode"> | Exclude<"onResizeCapture", keyof T | "variant" | "mode"> | Exclude<"onSeeked", keyof T | "variant" | "mode"> | Exclude<"onSeekedCapture", keyof T | "variant" | "mode"> | Exclude<"onSeeking", keyof T | "variant" | "mode"> | Exclude<"onSeekingCapture", keyof T | "variant" | "mode"> | Exclude<"onStalled", keyof T | "variant" | "mode"> | Exclude<"onStalledCapture", keyof T | "variant" | "mode"> | Exclude<"onSuspend", keyof T | "variant" | "mode"> | Exclude<"onSuspendCapture", keyof T | "variant" | "mode"> | Exclude<"onTimeUpdate", keyof T | "variant" | "mode"> | Exclude<"onTimeUpdateCapture", keyof T | "variant" | "mode"> | Exclude<"onVolumeChange", keyof T | "variant" | "mode"> | Exclude<"onVolumeChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onWaiting", keyof T | "variant" | "mode"> | Exclude<"onWaitingCapture", keyof T | "variant" | "mode"> | Exclude<"onAuxClick", keyof T | "variant" | "mode"> | Exclude<"onAuxClickCapture", keyof T | "variant" | "mode"> | Exclude<"onClick", keyof T | "variant" | "mode"> | Exclude<"onClickCapture", keyof T | "variant" | "mode"> | Exclude<"onContextMenu", keyof T | "variant" | "mode"> | Exclude<"onContextMenuCapture", keyof T | "variant" | "mode"> | Exclude<"onDoubleClick", keyof T | "variant" | "mode"> | Exclude<"onDoubleClickCapture", keyof T | "variant" | "mode"> | Exclude<"onDrag", keyof T | "variant" | "mode"> | Exclude<"onDragCapture", keyof T | "variant" | "mode"> | Exclude<"onDragEnd", keyof T | "variant" | "mode"> | Exclude<"onDragEndCapture", keyof T | "variant" | "mode"> | Exclude<"onDragEnter", keyof T | "variant" | "mode"> | Exclude<"onDragEnterCapture", keyof T | "variant" | "mode"> | Exclude<"onDragExit", keyof T | "variant" | "mode"> | Exclude<"onDragExitCapture", keyof T | "variant" | "mode"> | Exclude<"onDragLeave", keyof T | "variant" | "mode"> | Exclude<"onDragLeaveCapture", keyof T | "variant" | "mode"> | Exclude<"onDragOver", keyof T | "variant" | "mode"> | Exclude<"onDragOverCapture", keyof T | "variant" | "mode"> | Exclude<"onDragStart", keyof T | "variant" | "mode"> | Exclude<"onDragStartCapture", keyof T | "variant" | "mode"> | Exclude<"onDrop", keyof T | "variant" | "mode"> | Exclude<"onDropCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseDown", keyof T | "variant" | "mode"> | Exclude<"onMouseDownCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseEnter", keyof T | "variant" | "mode"> | Exclude<"onMouseLeave", keyof T | "variant" | "mode"> | Exclude<"onMouseMove", keyof T | "variant" | "mode"> | Exclude<"onMouseMoveCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseOut", keyof T | "variant" | "mode"> | Exclude<"onMouseOutCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseOver", keyof T | "variant" | "mode"> | Exclude<"onMouseOverCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseUp", keyof T | "variant" | "mode"> | Exclude<"onMouseUpCapture", keyof T | "variant" | "mode"> | Exclude<"onSelect", keyof T | "variant" | "mode"> | Exclude<"onSelectCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchCancel", keyof T | "variant" | "mode"> | Exclude<"onTouchCancelCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchEnd", keyof T | "variant" | "mode"> | Exclude<"onTouchEndCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchMove", keyof T | "variant" | "mode"> | Exclude<"onTouchMoveCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchStart", keyof T | "variant" | "mode"> | Exclude<"onTouchStartCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerDown", keyof T | "variant" | "mode"> | Exclude<"onPointerDownCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerMove", keyof T | "variant" | "mode"> | Exclude<"onPointerMoveCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerUp", keyof T | "variant" | "mode"> | Exclude<"onPointerUpCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerCancel", keyof T | "variant" | "mode"> | Exclude<"onPointerCancelCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerEnter", keyof T | "variant" | "mode"> | Exclude<"onPointerEnterCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerLeave", keyof T | "variant" | "mode"> | Exclude<"onPointerLeaveCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerOver", keyof T | "variant" | "mode"> | Exclude<"onPointerOverCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerOut", keyof T | "variant" | "mode"> | Exclude<"onPointerOutCapture", keyof T | "variant" | "mode"> | Exclude<"onGotPointerCapture", keyof T | "variant" | "mode"> | Exclude<"onGotPointerCaptureCapture", keyof T | "variant" | "mode"> | Exclude<"onLostPointerCapture", keyof T | "variant" | "mode"> | Exclude<"onLostPointerCaptureCapture", keyof T | "variant" | "mode"> | Exclude<"onScroll", keyof T | "variant" | "mode"> | Exclude<"onScrollCapture", keyof T | "variant" | "mode"> | Exclude<"onWheel", keyof T | "variant" | "mode"> | Exclude<"onWheelCapture", keyof T | "variant" | "mode"> | Exclude<"onAnimationStart", keyof T | "variant" | "mode"> | Exclude<"onAnimationStartCapture", keyof T | "variant" | "mode"> | Exclude<"onAnimationEnd", keyof T | "variant" | "mode"> | Exclude<"onAnimationEndCapture", keyof T | "variant" | "mode"> | Exclude<"onAnimationIteration", keyof T | "variant" | "mode"> | Exclude<"onAnimationIterationCapture", keyof T | "variant" | "mode"> | Exclude<"onTransitionEnd", keyof T | "variant" | "mode"> | Exclude<"onTransitionEndCapture", keyof T | "variant" | "mode"> | Exclude<"defaultChecked", keyof T | "variant" | "mode"> | Exclude<"defaultValue", keyof T | "variant" | "mode"> | Exclude<"suppressContentEditableWarning", keyof T | "variant" | "mode"> | Exclude<"suppressHydrationWarning", keyof T | "variant" | "mode"> | Exclude<"accessKey", keyof T | "variant" | "mode"> | Exclude<"contentEditable", keyof T | "variant" | "mode"> | Exclude<"contextMenu", keyof T | "variant" | "mode"> | Exclude<"dir", keyof T | "variant" | "mode"> | Exclude<"draggable", keyof T | "variant" | "mode"> | Exclude<"hidden", keyof T | "variant" | "mode"> | Exclude<"nonce", keyof T | "variant" | "mode"> | Exclude<"placeholder", keyof T | "variant" | "mode"> | Exclude<"spellCheck", keyof T | "variant" | "mode"> | Exclude<"translate", keyof T | "variant" | "mode"> | Exclude<"radioGroup", keyof T | "variant" | "mode"> | Exclude<"about", keyof T | "variant" | "mode"> | Exclude<"datatype", keyof T | "variant" | "mode"> | Exclude<"inlist", keyof T | "variant" | "mode"> | Exclude<"property", keyof T | "variant" | "mode"> | Exclude<"resource", keyof T | "variant" | "mode"> | Exclude<"typeof", keyof T | "variant" | "mode"> | Exclude<"vocab", keyof T | "variant" | "mode"> | Exclude<"autoCapitalize", keyof T | "variant" | "mode"> | Exclude<"autoCorrect", keyof T | "variant" | "mode"> | Exclude<"autoSave", keyof T | "variant" | "mode"> | Exclude<"itemProp", keyof T | "variant" | "mode"> | Exclude<"itemScope", keyof T | "variant" | "mode"> | Exclude<"itemType", keyof T | "variant" | "mode"> | Exclude<"itemID", keyof T | "variant" | "mode"> | Exclude<"itemRef", keyof T | "variant" | "mode"> | Exclude<"results", keyof T | "variant" | "mode"> | Exclude<"security", keyof T | "variant" | "mode"> | Exclude<"unselectable", keyof T | "variant" | "mode"> | Exclude<"inputMode", keyof T | "variant" | "mode"> | Exclude<"is", keyof T | "variant" | "mode">) | never;
|
|
19
|
+
shouldForwardProp: (prop: PropertyKey) => prop is (Exclude<"ref", keyof T | "variant" | "mode"> | Exclude<"key", keyof T | "variant" | "mode"> | Exclude<"slot", keyof T | "variant" | "mode"> | Exclude<"style", keyof T | "variant" | "mode"> | Exclude<"title", keyof T | "variant" | "mode"> | Exclude<"className", keyof T | "variant" | "mode"> | Exclude<"id", keyof T | "variant" | "mode"> | Exclude<"part", keyof T | "variant" | "mode"> | Exclude<"prefix", keyof T | "variant" | "mode"> | Exclude<"role", keyof T | "variant" | "mode"> | Exclude<"children", keyof T | "variant" | "mode"> | Exclude<"suppressHydrationWarning", keyof T | "variant" | "mode"> | Exclude<"color", keyof T | "variant" | "mode"> | Exclude<"lang", keyof T | "variant" | "mode"> | Exclude<"tabIndex", keyof T | "variant" | "mode"> | Exclude<"aria-activedescendant", keyof T | "variant" | "mode"> | Exclude<"aria-atomic", keyof T | "variant" | "mode"> | Exclude<"aria-autocomplete", keyof T | "variant" | "mode"> | Exclude<"aria-braillelabel", keyof T | "variant" | "mode"> | Exclude<"aria-brailleroledescription", keyof T | "variant" | "mode"> | Exclude<"aria-busy", keyof T | "variant" | "mode"> | Exclude<"aria-checked", keyof T | "variant" | "mode"> | Exclude<"aria-colcount", keyof T | "variant" | "mode"> | Exclude<"aria-colindex", keyof T | "variant" | "mode"> | Exclude<"aria-colindextext", keyof T | "variant" | "mode"> | Exclude<"aria-colspan", keyof T | "variant" | "mode"> | Exclude<"aria-controls", keyof T | "variant" | "mode"> | Exclude<"aria-current", keyof T | "variant" | "mode"> | Exclude<"aria-describedby", keyof T | "variant" | "mode"> | Exclude<"aria-description", keyof T | "variant" | "mode"> | Exclude<"aria-details", keyof T | "variant" | "mode"> | Exclude<"aria-disabled", keyof T | "variant" | "mode"> | Exclude<"aria-dropeffect", keyof T | "variant" | "mode"> | Exclude<"aria-errormessage", keyof T | "variant" | "mode"> | Exclude<"aria-expanded", keyof T | "variant" | "mode"> | Exclude<"aria-flowto", keyof T | "variant" | "mode"> | Exclude<"aria-grabbed", keyof T | "variant" | "mode"> | Exclude<"aria-haspopup", keyof T | "variant" | "mode"> | Exclude<"aria-hidden", keyof T | "variant" | "mode"> | Exclude<"aria-invalid", keyof T | "variant" | "mode"> | Exclude<"aria-keyshortcuts", keyof T | "variant" | "mode"> | Exclude<"aria-label", keyof T | "variant" | "mode"> | Exclude<"aria-labelledby", keyof T | "variant" | "mode"> | Exclude<"aria-level", keyof T | "variant" | "mode"> | Exclude<"aria-live", keyof T | "variant" | "mode"> | Exclude<"aria-modal", keyof T | "variant" | "mode"> | Exclude<"aria-multiline", keyof T | "variant" | "mode"> | Exclude<"aria-multiselectable", keyof T | "variant" | "mode"> | Exclude<"aria-orientation", keyof T | "variant" | "mode"> | Exclude<"aria-owns", keyof T | "variant" | "mode"> | Exclude<"aria-placeholder", keyof T | "variant" | "mode"> | Exclude<"aria-posinset", keyof T | "variant" | "mode"> | Exclude<"aria-pressed", keyof T | "variant" | "mode"> | Exclude<"aria-readonly", keyof T | "variant" | "mode"> | Exclude<"aria-relevant", keyof T | "variant" | "mode"> | Exclude<"aria-required", keyof T | "variant" | "mode"> | Exclude<"aria-roledescription", keyof T | "variant" | "mode"> | Exclude<"aria-rowcount", keyof T | "variant" | "mode"> | Exclude<"aria-rowindex", keyof T | "variant" | "mode"> | Exclude<"aria-rowindextext", keyof T | "variant" | "mode"> | Exclude<"aria-rowspan", keyof T | "variant" | "mode"> | Exclude<"aria-selected", keyof T | "variant" | "mode"> | Exclude<"aria-setsize", keyof T | "variant" | "mode"> | Exclude<"aria-sort", keyof T | "variant" | "mode"> | Exclude<"aria-valuemax", keyof T | "variant" | "mode"> | Exclude<"aria-valuemin", keyof T | "variant" | "mode"> | Exclude<"aria-valuenow", keyof T | "variant" | "mode"> | Exclude<"aria-valuetext", keyof T | "variant" | "mode"> | Exclude<"dangerouslySetInnerHTML", keyof T | "variant" | "mode"> | Exclude<"onCopy", keyof T | "variant" | "mode"> | Exclude<"onCopyCapture", keyof T | "variant" | "mode"> | Exclude<"onCut", keyof T | "variant" | "mode"> | Exclude<"onCutCapture", keyof T | "variant" | "mode"> | Exclude<"onPaste", keyof T | "variant" | "mode"> | Exclude<"onPasteCapture", keyof T | "variant" | "mode"> | Exclude<"onCompositionEnd", keyof T | "variant" | "mode"> | Exclude<"onCompositionEndCapture", keyof T | "variant" | "mode"> | Exclude<"onCompositionStart", keyof T | "variant" | "mode"> | Exclude<"onCompositionStartCapture", keyof T | "variant" | "mode"> | Exclude<"onCompositionUpdate", keyof T | "variant" | "mode"> | Exclude<"onCompositionUpdateCapture", keyof T | "variant" | "mode"> | Exclude<"onFocus", keyof T | "variant" | "mode"> | Exclude<"onFocusCapture", keyof T | "variant" | "mode"> | Exclude<"onBlur", keyof T | "variant" | "mode"> | Exclude<"onBlurCapture", keyof T | "variant" | "mode"> | Exclude<"onChange", keyof T | "variant" | "mode"> | Exclude<"onChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onBeforeInput", keyof T | "variant" | "mode"> | Exclude<"onBeforeInputCapture", keyof T | "variant" | "mode"> | Exclude<"onInput", keyof T | "variant" | "mode"> | Exclude<"onInputCapture", keyof T | "variant" | "mode"> | Exclude<"onReset", keyof T | "variant" | "mode"> | Exclude<"onResetCapture", keyof T | "variant" | "mode"> | Exclude<"onSubmit", keyof T | "variant" | "mode"> | Exclude<"onSubmitCapture", keyof T | "variant" | "mode"> | Exclude<"onInvalid", keyof T | "variant" | "mode"> | Exclude<"onInvalidCapture", keyof T | "variant" | "mode"> | Exclude<"onLoad", keyof T | "variant" | "mode"> | Exclude<"onLoadCapture", keyof T | "variant" | "mode"> | Exclude<"onError", keyof T | "variant" | "mode"> | Exclude<"onErrorCapture", keyof T | "variant" | "mode"> | Exclude<"onKeyDown", keyof T | "variant" | "mode"> | Exclude<"onKeyDownCapture", keyof T | "variant" | "mode"> | Exclude<"onKeyPress", keyof T | "variant" | "mode"> | Exclude<"onKeyPressCapture", keyof T | "variant" | "mode"> | Exclude<"onKeyUp", keyof T | "variant" | "mode"> | Exclude<"onKeyUpCapture", keyof T | "variant" | "mode"> | Exclude<"onAbort", keyof T | "variant" | "mode"> | Exclude<"onAbortCapture", keyof T | "variant" | "mode"> | Exclude<"onCanPlay", keyof T | "variant" | "mode"> | Exclude<"onCanPlayCapture", keyof T | "variant" | "mode"> | Exclude<"onCanPlayThrough", keyof T | "variant" | "mode"> | Exclude<"onCanPlayThroughCapture", keyof T | "variant" | "mode"> | Exclude<"onDurationChange", keyof T | "variant" | "mode"> | Exclude<"onDurationChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onEmptied", keyof T | "variant" | "mode"> | Exclude<"onEmptiedCapture", keyof T | "variant" | "mode"> | Exclude<"onEncrypted", keyof T | "variant" | "mode"> | Exclude<"onEncryptedCapture", keyof T | "variant" | "mode"> | Exclude<"onEnded", keyof T | "variant" | "mode"> | Exclude<"onEndedCapture", keyof T | "variant" | "mode"> | Exclude<"onLoadedData", keyof T | "variant" | "mode"> | Exclude<"onLoadedDataCapture", keyof T | "variant" | "mode"> | Exclude<"onLoadedMetadata", keyof T | "variant" | "mode"> | Exclude<"onLoadedMetadataCapture", keyof T | "variant" | "mode"> | Exclude<"onLoadStart", keyof T | "variant" | "mode"> | Exclude<"onLoadStartCapture", keyof T | "variant" | "mode"> | Exclude<"onPause", keyof T | "variant" | "mode"> | Exclude<"onPauseCapture", keyof T | "variant" | "mode"> | Exclude<"onPlay", keyof T | "variant" | "mode"> | Exclude<"onPlayCapture", keyof T | "variant" | "mode"> | Exclude<"onPlaying", keyof T | "variant" | "mode"> | Exclude<"onPlayingCapture", keyof T | "variant" | "mode"> | Exclude<"onProgress", keyof T | "variant" | "mode"> | Exclude<"onProgressCapture", keyof T | "variant" | "mode"> | Exclude<"onRateChange", keyof T | "variant" | "mode"> | Exclude<"onRateChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onSeeked", keyof T | "variant" | "mode"> | Exclude<"onSeekedCapture", keyof T | "variant" | "mode"> | Exclude<"onSeeking", keyof T | "variant" | "mode"> | Exclude<"onSeekingCapture", keyof T | "variant" | "mode"> | Exclude<"onStalled", keyof T | "variant" | "mode"> | Exclude<"onStalledCapture", keyof T | "variant" | "mode"> | Exclude<"onSuspend", keyof T | "variant" | "mode"> | Exclude<"onSuspendCapture", keyof T | "variant" | "mode"> | Exclude<"onTimeUpdate", keyof T | "variant" | "mode"> | Exclude<"onTimeUpdateCapture", keyof T | "variant" | "mode"> | Exclude<"onVolumeChange", keyof T | "variant" | "mode"> | Exclude<"onVolumeChangeCapture", keyof T | "variant" | "mode"> | Exclude<"onWaiting", keyof T | "variant" | "mode"> | Exclude<"onWaitingCapture", keyof T | "variant" | "mode"> | Exclude<"onAuxClick", keyof T | "variant" | "mode"> | Exclude<"onAuxClickCapture", keyof T | "variant" | "mode"> | Exclude<"onClick", keyof T | "variant" | "mode"> | Exclude<"onClickCapture", keyof T | "variant" | "mode"> | Exclude<"onContextMenu", keyof T | "variant" | "mode"> | Exclude<"onContextMenuCapture", keyof T | "variant" | "mode"> | Exclude<"onDoubleClick", keyof T | "variant" | "mode"> | Exclude<"onDoubleClickCapture", keyof T | "variant" | "mode"> | Exclude<"onDrag", keyof T | "variant" | "mode"> | Exclude<"onDragCapture", keyof T | "variant" | "mode"> | Exclude<"onDragEnd", keyof T | "variant" | "mode"> | Exclude<"onDragEndCapture", keyof T | "variant" | "mode"> | Exclude<"onDragEnter", keyof T | "variant" | "mode"> | Exclude<"onDragEnterCapture", keyof T | "variant" | "mode"> | Exclude<"onDragExit", keyof T | "variant" | "mode"> | Exclude<"onDragExitCapture", keyof T | "variant" | "mode"> | Exclude<"onDragLeave", keyof T | "variant" | "mode"> | Exclude<"onDragLeaveCapture", keyof T | "variant" | "mode"> | Exclude<"onDragOver", keyof T | "variant" | "mode"> | Exclude<"onDragOverCapture", keyof T | "variant" | "mode"> | Exclude<"onDragStart", keyof T | "variant" | "mode"> | Exclude<"onDragStartCapture", keyof T | "variant" | "mode"> | Exclude<"onDrop", keyof T | "variant" | "mode"> | Exclude<"onDropCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseDown", keyof T | "variant" | "mode"> | Exclude<"onMouseDownCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseEnter", keyof T | "variant" | "mode"> | Exclude<"onMouseLeave", keyof T | "variant" | "mode"> | Exclude<"onMouseMove", keyof T | "variant" | "mode"> | Exclude<"onMouseMoveCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseOut", keyof T | "variant" | "mode"> | Exclude<"onMouseOutCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseOver", keyof T | "variant" | "mode"> | Exclude<"onMouseOverCapture", keyof T | "variant" | "mode"> | Exclude<"onMouseUp", keyof T | "variant" | "mode"> | Exclude<"onMouseUpCapture", keyof T | "variant" | "mode"> | Exclude<"onSelect", keyof T | "variant" | "mode"> | Exclude<"onSelectCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchCancel", keyof T | "variant" | "mode"> | Exclude<"onTouchCancelCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchEnd", keyof T | "variant" | "mode"> | Exclude<"onTouchEndCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchMove", keyof T | "variant" | "mode"> | Exclude<"onTouchMoveCapture", keyof T | "variant" | "mode"> | Exclude<"onTouchStart", keyof T | "variant" | "mode"> | Exclude<"onTouchStartCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerDown", keyof T | "variant" | "mode"> | Exclude<"onPointerDownCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerMove", keyof T | "variant" | "mode"> | Exclude<"onPointerMoveCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerUp", keyof T | "variant" | "mode"> | Exclude<"onPointerUpCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerCancel", keyof T | "variant" | "mode"> | Exclude<"onPointerCancelCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerEnter", keyof T | "variant" | "mode"> | Exclude<"onPointerLeave", keyof T | "variant" | "mode"> | Exclude<"onPointerOver", keyof T | "variant" | "mode"> | Exclude<"onPointerOverCapture", keyof T | "variant" | "mode"> | Exclude<"onPointerOut", keyof T | "variant" | "mode"> | Exclude<"onPointerOutCapture", keyof T | "variant" | "mode"> | Exclude<"onGotPointerCapture", keyof T | "variant" | "mode"> | Exclude<"onGotPointerCaptureCapture", keyof T | "variant" | "mode"> | Exclude<"onLostPointerCapture", keyof T | "variant" | "mode"> | Exclude<"onLostPointerCaptureCapture", keyof T | "variant" | "mode"> | Exclude<"onScroll", keyof T | "variant" | "mode"> | Exclude<"onScrollCapture", keyof T | "variant" | "mode"> | Exclude<"onWheel", keyof T | "variant" | "mode"> | Exclude<"onWheelCapture", keyof T | "variant" | "mode"> | Exclude<"onAnimationStart", keyof T | "variant" | "mode"> | Exclude<"onAnimationStartCapture", keyof T | "variant" | "mode"> | Exclude<"onAnimationEnd", keyof T | "variant" | "mode"> | Exclude<"onAnimationEndCapture", keyof T | "variant" | "mode"> | Exclude<"onAnimationIteration", keyof T | "variant" | "mode"> | Exclude<"onAnimationIterationCapture", keyof T | "variant" | "mode"> | Exclude<"onTransitionEnd", keyof T | "variant" | "mode"> | Exclude<"onTransitionEndCapture", keyof T | "variant" | "mode"> | Exclude<"defaultChecked", keyof T | "variant" | "mode"> | Exclude<"defaultValue", keyof T | "variant" | "mode"> | Exclude<"suppressContentEditableWarning", keyof T | "variant" | "mode"> | Exclude<"accessKey", keyof T | "variant" | "mode"> | Exclude<"autoCapitalize", keyof T | "variant" | "mode"> | Exclude<"autoFocus", keyof T | "variant" | "mode"> | Exclude<"contentEditable", keyof T | "variant" | "mode"> | Exclude<"contextMenu", keyof T | "variant" | "mode"> | Exclude<"dir", keyof T | "variant" | "mode"> | Exclude<"draggable", keyof T | "variant" | "mode"> | Exclude<"enterKeyHint", keyof T | "variant" | "mode"> | Exclude<"hidden", keyof T | "variant" | "mode"> | Exclude<"nonce", keyof T | "variant" | "mode"> | Exclude<"spellCheck", keyof T | "variant" | "mode"> | Exclude<"translate", keyof T | "variant" | "mode"> | Exclude<"radioGroup", keyof T | "variant" | "mode"> | Exclude<"about", keyof T | "variant" | "mode"> | Exclude<"content", keyof T | "variant" | "mode"> | Exclude<"datatype", keyof T | "variant" | "mode"> | Exclude<"inlist", keyof T | "variant" | "mode"> | Exclude<"property", keyof T | "variant" | "mode"> | Exclude<"rel", keyof T | "variant" | "mode"> | Exclude<"resource", keyof T | "variant" | "mode"> | Exclude<"rev", keyof T | "variant" | "mode"> | Exclude<"typeof", keyof T | "variant" | "mode"> | Exclude<"vocab", keyof T | "variant" | "mode"> | Exclude<"autoCorrect", keyof T | "variant" | "mode"> | Exclude<"autoSave", keyof T | "variant" | "mode"> | Exclude<"itemProp", keyof T | "variant" | "mode"> | Exclude<"itemScope", keyof T | "variant" | "mode"> | Exclude<"itemType", keyof T | "variant" | "mode"> | Exclude<"itemID", keyof T | "variant" | "mode"> | Exclude<"itemRef", keyof T | "variant" | "mode"> | Exclude<"results", keyof T | "variant" | "mode"> | Exclude<"security", keyof T | "variant" | "mode"> | Exclude<"unselectable", keyof T | "variant" | "mode"> | Exclude<"inputMode", keyof T | "variant" | "mode"> | Exclude<"is", keyof T | "variant" | "mode"> | Exclude<"exportparts", keyof T | "variant" | "mode">) | never;
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/core",
|
|
3
3
|
"description": "Constraint based CSS in JS Foundations",
|
|
4
|
-
"version": "0.2.0-beta.
|
|
4
|
+
"version": "0.2.0-beta.2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"emotion",
|
|
7
7
|
"css",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@emotion/styled": "^11.14.0",
|
|
37
37
|
"csstype": "^3.1.3"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "fbc53708e472bbc9b68a06d81a97614c504c8025"
|
|
40
40
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Minimal Atomic CSS Generator for POC
|
|
3
|
-
*
|
|
4
|
-
* Converts style objects to atomic CSS classes
|
|
5
|
-
*/
|
|
6
|
-
import type { CSSObject } from '../types/shared';
|
|
7
|
-
export interface AtomicClass {
|
|
8
|
-
className: string;
|
|
9
|
-
css: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function generateAtomicClass(prop: string, value: string | number): AtomicClass;
|
|
12
|
-
export declare function stylesToAtomicClasses(styles: CSSObject): AtomicClass[];
|
|
13
|
-
export declare function getGeneratedCSS(): string;
|
|
14
|
-
export declare function clearAtomicClasses(): void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Static Mode Implementation for POC
|
|
3
|
-
*
|
|
4
|
-
* This module intercepts Animus's build() method to generate
|
|
5
|
-
* static atomic CSS classes instead of runtime Emotion styles
|
|
6
|
-
*/
|
|
7
|
-
export declare const AnimusStatic: {
|
|
8
|
-
enable(): void;
|
|
9
|
-
disable(): void;
|
|
10
|
-
isEnabled(): boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare const collectStyles: {
|
|
13
|
-
clear(): void;
|
|
14
|
-
};
|
|
15
|
-
export declare function getStyleSheet(): string;
|