@animus-ui/core 0.1.1-beta.22 → 0.1.1-beta.24

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/CHANGELOG.md CHANGED
@@ -3,190 +3,106 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [0.1.1-beta.22](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.21...@animus-ui/core@0.1.1-beta.22) (2023-03-13)
6
+ ## [0.1.1-beta.24](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.23...@animus-ui/core@0.1.1-beta.24) (2023-03-15)
7
7
 
8
8
  **Note:** Version bump only for package @animus-ui/core
9
9
 
10
+ ## [0.1.1-beta.23](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.22...@animus-ui/core@0.1.1-beta.23) (2023-03-15)
10
11
 
12
+ **Note:** Version bump only for package @animus-ui/core
11
13
 
14
+ ## [0.1.1-beta.22](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.21...@animus-ui/core@0.1.1-beta.22) (2023-03-13)
12
15
 
16
+ **Note:** Version bump only for package @animus-ui/core
13
17
 
14
18
  ## [0.1.1-beta.21](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.20...@animus-ui/core@0.1.1-beta.21) (2022-03-25)
15
19
 
16
20
  **Note:** Version bump only for package @animus-ui/core
17
21
 
18
-
19
-
20
-
21
-
22
22
  ## [0.1.1-beta.20](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.19...@animus-ui/core@0.1.1-beta.20) (2022-02-14)
23
23
 
24
24
  **Note:** Version bump only for package @animus-ui/core
25
25
 
26
-
27
-
28
-
29
-
30
26
  ## [0.1.1-beta.19](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.18...@animus-ui/core@0.1.1-beta.19) (2022-02-14)
31
27
 
32
28
  **Note:** Version bump only for package @animus-ui/core
33
29
 
34
-
35
-
36
-
37
-
38
30
  ## [0.1.1-beta.18](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.17...@animus-ui/core@0.1.1-beta.18) (2022-02-11)
39
31
 
40
32
  **Note:** Version bump only for package @animus-ui/core
41
33
 
42
-
43
-
44
-
45
-
46
34
  ## [0.1.1-beta.17](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.16...@animus-ui/core@0.1.1-beta.17) (2022-02-02)
47
35
 
48
36
  **Note:** Version bump only for package @animus-ui/core
49
37
 
50
-
51
-
52
-
53
-
54
38
  ## [0.1.1-beta.16](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.15...@animus-ui/core@0.1.1-beta.16) (2022-02-02)
55
39
 
56
40
  **Note:** Version bump only for package @animus-ui/core
57
41
 
58
-
59
-
60
-
61
-
62
42
  ## [0.1.1-beta.15](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.14...@animus-ui/core@0.1.1-beta.15) (2022-01-26)
63
43
 
64
44
  **Note:** Version bump only for package @animus-ui/core
65
45
 
66
-
67
-
68
-
69
-
70
46
  ## [0.1.1-beta.14](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.13...@animus-ui/core@0.1.1-beta.14) (2022-01-24)
71
47
 
72
48
  **Note:** Version bump only for package @animus-ui/core
73
49
 
74
-
75
-
76
-
77
-
78
50
  ## [0.1.1-beta.13](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.12...@animus-ui/core@0.1.1-beta.13) (2022-01-24)
79
51
 
80
52
  **Note:** Version bump only for package @animus-ui/core
81
53
 
82
-
83
-
84
-
85
-
86
54
  ## [0.1.1-beta.12](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.11...@animus-ui/core@0.1.1-beta.12) (2022-01-24)
87
55
 
88
56
  **Note:** Version bump only for package @animus-ui/core
89
57
 
90
-
91
-
92
-
93
-
94
58
  ## [0.1.1-beta.11](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.10...@animus-ui/core@0.1.1-beta.11) (2022-01-24)
95
59
 
96
60
  **Note:** Version bump only for package @animus-ui/core
97
61
 
98
-
99
-
100
-
101
-
102
62
  ## [0.1.1-beta.10](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.9...@animus-ui/core@0.1.1-beta.10) (2022-01-23)
103
63
 
104
64
  **Note:** Version bump only for package @animus-ui/core
105
65
 
106
-
107
-
108
-
109
-
110
66
  ## [0.1.1-beta.9](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.8...@animus-ui/core@0.1.1-beta.9) (2022-01-18)
111
67
 
112
68
  **Note:** Version bump only for package @animus-ui/core
113
69
 
114
-
115
-
116
-
117
-
118
70
  ## [0.1.1-beta.8](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.7...@animus-ui/core@0.1.1-beta.8) (2022-01-16)
119
71
 
120
72
  **Note:** Version bump only for package @animus-ui/core
121
73
 
122
-
123
-
124
-
125
-
126
74
  ## [0.1.1-beta.7](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.6...@animus-ui/core@0.1.1-beta.7) (2022-01-16)
127
75
 
128
76
  **Note:** Version bump only for package @animus-ui/core
129
77
 
130
-
131
-
132
-
133
-
134
78
  ## [0.1.1-beta.6](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.5...@animus-ui/core@0.1.1-beta.6) (2022-01-11)
135
79
 
136
80
  **Note:** Version bump only for package @animus-ui/core
137
81
 
138
-
139
-
140
-
141
-
142
82
  ## [0.1.1-beta.5](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.4...@animus-ui/core@0.1.1-beta.5) (2022-01-09)
143
83
 
144
84
  **Note:** Version bump only for package @animus-ui/core
145
85
 
146
-
147
-
148
-
149
-
150
86
  ## [0.1.1-beta.4](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.3...@animus-ui/core@0.1.1-beta.4) (2022-01-09)
151
87
 
152
88
  **Note:** Version bump only for package @animus-ui/core
153
89
 
154
-
155
-
156
-
157
-
158
90
  ## [0.1.1-beta.3](https://github.com/codecaaron/animus/compare/@animus-ui/core@0.1.1-beta.2...@animus-ui/core@0.1.1-beta.3) (2022-01-09)
159
91
 
160
92
  **Note:** Version bump only for package @animus-ui/core
161
93
 
162
-
163
-
164
-
165
-
166
94
  ## 0.1.1-beta.2 (2022-01-09)
167
95
 
168
-
169
-
170
96
  ## 0.1.1-beta.1 (2022-01-09)
171
97
 
172
-
173
-
174
98
  ## 0.1.1-beta.0 (2022-01-09)
175
99
 
176
100
  **Note:** Version bump only for package @animus-ui/core
177
101
 
178
-
179
-
180
-
181
-
182
102
  ## [0.1.1-beta.1](https://github.com/codecaaron/animus/compare/v0.1.1-beta.0...v0.1.1-beta.1) (2022-01-09)
183
103
 
184
104
  **Note:** Version bump only for package @animus-ui/core
185
105
 
186
-
187
-
188
-
189
-
190
106
  ## 0.1.1-beta.0 (2022-01-09)
191
107
 
192
108
  **Note:** Version bump only for package @animus-ui/core
package/dist/Animus.d.ts CHANGED
@@ -18,7 +18,7 @@ export declare class AnimusWithAll<PropRegistry extends Record<string, Prop>, Gr
18
18
  asElement<T extends keyof JSX.IntrinsicElements>(component: T): import("@emotion/styled").StyledComponent<{
19
19
  theme?: import("@emotion/react").Theme | undefined;
20
20
  as?: import("react").ElementType<any> | undefined;
21
- } & Omit<{ [K in keyof Arg<BaseParser> as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; }, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & { [K_3 in keyof import("./types/config").ParserProps<CustomProps>]: import("./types/config").ParserProps<CustomProps>[K_3]; } & {
21
+ } & Omit<Arg<BaseParser> extends infer T_1 ? { [K in keyof T_1 as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; } : never, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & (import("./types/config").ParserProps<CustomProps> extends infer T_2 ? { [K_3 in keyof T_2]: import("./types/config").ParserProps<CustomProps>[K_3]; } : never) & {
22
22
  theme?: import("@emotion/react").Theme | undefined;
23
23
  }, JSX.IntrinsicElements[T], {}> & {
24
24
  extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
@@ -27,10 +27,10 @@ export declare class AnimusWithAll<PropRegistry extends Record<string, Prop>, Gr
27
27
  className?: string;
28
28
  }) => any>(AsComponent: T): import("@emotion/styled").StyledComponent<JSX.LibraryManagedAttributes<T, import("react").ComponentProps<T>> & {
29
29
  theme?: import("@emotion/react").Theme | undefined;
30
- } & Omit<{ [K in keyof Arg<BaseParser> as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; }, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & { [K_3 in keyof import("./types/config").ParserProps<CustomProps>]: import("./types/config").ParserProps<CustomProps>[K_3]; }, {}, {}> & {
30
+ } & Omit<Arg<BaseParser> extends infer T_1 ? { [K in keyof T_1 as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; } : never, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & (import("./types/config").ParserProps<CustomProps> extends infer T_2 ? { [K_3 in keyof T_2]: import("./types/config").ParserProps<CustomProps>[K_3]; } : never), {}, {}> & {
31
31
  extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
32
32
  };
33
- build(): (props: ThemeProps<Omit<{ [K in keyof Arg<BaseParser> as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; }, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & { [K_3 in keyof import("./types/config").ParserProps<CustomProps>]: import("./types/config").ParserProps<CustomProps>[K_3]; }>) => CSSObject;
33
+ build(): (props: ThemeProps<Omit<Arg<BaseParser> extends infer T ? { [K in keyof T as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; } : never, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & (import("./types/config").ParserProps<CustomProps> extends infer T_1 ? { [K_3 in keyof T_1]: import("./types/config").ParserProps<CustomProps>[K_3]; } : never)>) => CSSObject;
34
34
  }
35
35
  declare class AnimusWithSystem<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>> extends AnimusWithAll<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, {}> {
36
36
  constructor(props: PropRegistry, groups: GroupRegistry, parser: BaseParser, base: BaseStyles, variants: Variants, states: States, activeGroups: ActiveGroups);
@@ -32,7 +32,7 @@ export declare class AnimusExtended<PropRegistry extends Record<string, Prop>, G
32
32
  asElement<T extends keyof JSX.IntrinsicElements>(component: T): import("@emotion/styled").StyledComponent<{
33
33
  theme?: import("@emotion/react").Theme | undefined;
34
34
  as?: import("react").ElementType<any> | undefined;
35
- } & Omit<{ [K in keyof Arg<BaseParser> as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; }, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & { [K_3 in keyof import("./types/config").ParserProps<CustomProps>]: import("./types/config").ParserProps<CustomProps>[K_3]; } & {
35
+ } & Omit<Arg<BaseParser> extends infer T_1 ? { [K in keyof T_1 as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; } : never, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & (import("./types/config").ParserProps<CustomProps> extends infer T_2 ? { [K_3 in keyof T_2]: import("./types/config").ParserProps<CustomProps>[K_3]; } : never) & {
36
36
  theme?: import("@emotion/react").Theme | undefined;
37
37
  }, JSX.IntrinsicElements[T], {}> & {
38
38
  extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
@@ -41,8 +41,8 @@ export declare class AnimusExtended<PropRegistry extends Record<string, Prop>, G
41
41
  className?: string;
42
42
  }) => any>(AsComponent: T): import("@emotion/styled").StyledComponent<JSX.LibraryManagedAttributes<T, import("react").ComponentProps<T>> & {
43
43
  theme?: import("@emotion/react").Theme | undefined;
44
- } & Omit<{ [K in keyof Arg<BaseParser> as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; }, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & { [K_3 in keyof import("./types/config").ParserProps<CustomProps>]: import("./types/config").ParserProps<CustomProps>[K_3]; }, {}, {}> & {
44
+ } & Omit<Arg<BaseParser> extends infer T_1 ? { [K in keyof T_1 as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; } : never, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & (import("./types/config").ParserProps<CustomProps> extends infer T_2 ? { [K_3 in keyof T_2]: import("./types/config").ParserProps<CustomProps>[K_3]; } : never), {}, {}> & {
45
45
  extend: () => AnimusExtended<PropRegistry, GroupRegistry, BaseParser, BaseStyles, Variants, States, ActiveGroups, CustomProps>;
46
46
  };
47
- build(): (props: ThemeProps<Omit<{ [K in keyof Arg<BaseParser> as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; }, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & { [K_3 in keyof import("./types/config").ParserProps<CustomProps>]: import("./types/config").ParserProps<CustomProps>[K_3]; }>) => CSSObject;
47
+ build(): (props: ThemeProps<Omit<Arg<BaseParser> extends infer T ? { [K in keyof T as K extends GroupRegistry[Extract<keyof ActiveGroups, keyof GroupRegistry>][number] ? K : never]?: Arg<BaseParser>[K] | undefined; } : never, "theme" | keyof Variants | keyof States | keyof CustomProps> & { [K_1 in keyof Variants]?: keyof Variants[K_1]["variants"] | undefined; } & { [K_2 in keyof States]?: boolean | undefined; } & (import("./types/config").ParserProps<CustomProps> extends infer T_1 ? { [K_3 in keyof T_1]: import("./types/config").ParserProps<CustomProps>[K_3]; } : never)>) => CSSObject;
48
48
  }
@@ -25,4 +25,4 @@ export declare const compatTheme: {
25
25
  readonly opacities: {};
26
26
  readonly mode: undefined;
27
27
  };
28
- export declare type CompatTheme = typeof compatTheme;
28
+ export type CompatTheme = typeof compatTheme;