@animus-ui/core 0.1.1-beta.23 → 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 +3 -95
- package/dist/index.js +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,198 +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.
|
|
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
|
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
**Note:** Version bump only for package @animus-ui/core
|
|
13
13
|
|
|
14
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)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @animus-ui/core
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
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)
|
|
23
19
|
|
|
24
20
|
**Note:** Version bump only for package @animus-ui/core
|
|
25
21
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
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)
|
|
31
23
|
|
|
32
24
|
**Note:** Version bump only for package @animus-ui/core
|
|
33
25
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
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)
|
|
39
27
|
|
|
40
28
|
**Note:** Version bump only for package @animus-ui/core
|
|
41
29
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
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)
|
|
47
31
|
|
|
48
32
|
**Note:** Version bump only for package @animus-ui/core
|
|
49
33
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
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)
|
|
55
35
|
|
|
56
36
|
**Note:** Version bump only for package @animus-ui/core
|
|
57
37
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
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)
|
|
63
39
|
|
|
64
40
|
**Note:** Version bump only for package @animus-ui/core
|
|
65
41
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
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)
|
|
71
43
|
|
|
72
44
|
**Note:** Version bump only for package @animus-ui/core
|
|
73
45
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
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)
|
|
79
47
|
|
|
80
48
|
**Note:** Version bump only for package @animus-ui/core
|
|
81
49
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
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)
|
|
87
51
|
|
|
88
52
|
**Note:** Version bump only for package @animus-ui/core
|
|
89
53
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
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)
|
|
95
55
|
|
|
96
56
|
**Note:** Version bump only for package @animus-ui/core
|
|
97
57
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
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)
|
|
103
59
|
|
|
104
60
|
**Note:** Version bump only for package @animus-ui/core
|
|
105
61
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
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)
|
|
111
63
|
|
|
112
64
|
**Note:** Version bump only for package @animus-ui/core
|
|
113
65
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
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)
|
|
119
67
|
|
|
120
68
|
**Note:** Version bump only for package @animus-ui/core
|
|
121
69
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
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)
|
|
127
71
|
|
|
128
72
|
**Note:** Version bump only for package @animus-ui/core
|
|
129
73
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
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)
|
|
135
75
|
|
|
136
76
|
**Note:** Version bump only for package @animus-ui/core
|
|
137
77
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
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)
|
|
143
79
|
|
|
144
80
|
**Note:** Version bump only for package @animus-ui/core
|
|
145
81
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
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)
|
|
151
83
|
|
|
152
84
|
**Note:** Version bump only for package @animus-ui/core
|
|
153
85
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
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)
|
|
159
87
|
|
|
160
88
|
**Note:** Version bump only for package @animus-ui/core
|
|
161
89
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
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)
|
|
167
91
|
|
|
168
92
|
**Note:** Version bump only for package @animus-ui/core
|
|
169
93
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
94
|
## 0.1.1-beta.2 (2022-01-09)
|
|
175
95
|
|
|
176
|
-
|
|
177
|
-
|
|
178
96
|
## 0.1.1-beta.1 (2022-01-09)
|
|
179
97
|
|
|
180
|
-
|
|
181
|
-
|
|
182
98
|
## 0.1.1-beta.0 (2022-01-09)
|
|
183
99
|
|
|
184
100
|
**Note:** Version bump only for package @animus-ui/core
|
|
185
101
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
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)
|
|
191
103
|
|
|
192
104
|
**Note:** Version bump only for package @animus-ui/core
|
|
193
105
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
106
|
## 0.1.1-beta.0 (2022-01-09)
|
|
199
107
|
|
|
200
108
|
**Note:** Version bump only for package @animus-ui/core
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _styled from '@emotion/styled/base';
|
|
2
2
|
import isPropValid from '@emotion/is-prop-valid';
|
|
3
|
-
import {
|
|
3
|
+
import { isObject, get, isString, isUndefined, identity, mapValues, omit, intersection, merge, set, pick, isEmpty, isNumber, keys } from 'lodash';
|
|
4
4
|
|
|
5
5
|
function _iterableToArrayLimit(arr, i) {
|
|
6
6
|
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -363,7 +363,7 @@ var orderPropNames = function orderPropNames(config) {
|
|
|
363
363
|
};
|
|
364
364
|
|
|
365
365
|
var lookupScaleValue = function lookupScaleValue(val, scale, theme) {
|
|
366
|
-
if (isArray(scale)) {
|
|
366
|
+
if (Array.isArray(scale)) {
|
|
367
367
|
return val;
|
|
368
368
|
}
|
|
369
369
|
if (isObject(scale)) {
|
|
@@ -372,7 +372,7 @@ var lookupScaleValue = function lookupScaleValue(val, scale, theme) {
|
|
|
372
372
|
if (isString(scale)) {
|
|
373
373
|
var usedScale = get(theme, scale, get(compatTheme, scale));
|
|
374
374
|
if (!usedScale) return undefined;
|
|
375
|
-
return isArray(usedScale) ? val : get(usedScale, val);
|
|
375
|
+
return Array.isArray(usedScale) ? val : get(usedScale, val);
|
|
376
376
|
}
|
|
377
377
|
return undefined;
|
|
378
378
|
};
|
|
@@ -387,7 +387,7 @@ var createPropertyStyle = function createPropertyStyle(value, props, config) {
|
|
|
387
387
|
properties = _config$properties === void 0 ? [property] : _config$properties,
|
|
388
388
|
scale = config.scale,
|
|
389
389
|
variable = config.variable;
|
|
390
|
-
var alwaysTransform = scale === undefined || isArray(scale);
|
|
390
|
+
var alwaysTransform = scale === undefined || Array.isArray(scale);
|
|
391
391
|
if (isUndefined(value)) {
|
|
392
392
|
return styles;
|
|
393
393
|
}
|
|
@@ -1827,7 +1827,7 @@ function createTransform(prop, config) {
|
|
|
1827
1827
|
properties = _config$properties === void 0 ? [property] : _config$properties,
|
|
1828
1828
|
scale = config.scale,
|
|
1829
1829
|
variable = config.variable;
|
|
1830
|
-
var alwaysTransform = scale === undefined || isArray(scale);
|
|
1830
|
+
var alwaysTransform = scale === undefined || Array.isArray(scale);
|
|
1831
1831
|
return _objectSpread2(_objectSpread2({}, config), {}, {
|
|
1832
1832
|
prop: prop,
|
|
1833
1833
|
styleFn: function styleFn(value, prop, props) {
|
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.1.1-beta.
|
|
4
|
+
"version": "0.1.1-beta.24",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"emotion",
|
|
7
7
|
"css",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@emotion/styled": "^11.0.0",
|
|
37
37
|
"csstype": "^3.0.7"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "42aeb80b573618b883e9740ba803ed54ed29d5e5"
|
|
40
40
|
}
|