@animus-ui/theming 0.1.1-beta.18 → 0.1.1-beta.21

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,6 +3,30 @@
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.21](https://github.com/codecaaron/animus/compare/@animus-ui/theming@0.1.1-beta.20...@animus-ui/theming@0.1.1-beta.21) (2022-02-14)
7
+
8
+ **Note:** Version bump only for package @animus-ui/theming
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.1.1-beta.20](https://github.com/codecaaron/animus/compare/@animus-ui/theming@0.1.1-beta.19...@animus-ui/theming@0.1.1-beta.20) (2022-02-14)
15
+
16
+ **Note:** Version bump only for package @animus-ui/theming
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.1.1-beta.19](https://github.com/codecaaron/animus/compare/@animus-ui/theming@0.1.1-beta.18...@animus-ui/theming@0.1.1-beta.19) (2022-02-12)
23
+
24
+ **Note:** Version bump only for package @animus-ui/theming
25
+
26
+
27
+
28
+
29
+
6
30
  ## [0.1.1-beta.18](https://github.com/codecaaron/animus/compare/@animus-ui/theming@0.1.1-beta.17...@animus-ui/theming@0.1.1-beta.18) (2022-02-11)
7
31
 
8
32
  **Note:** Version bump only for package @animus-ui/theming
package/dist/index.js CHANGED
@@ -169,20 +169,21 @@ function flattenScale(object, path) {
169
169
  }, {});
170
170
  }
171
171
 
172
- var _excluded = ["_", "base"];
172
+ var _excluded = ["_"];
173
173
 
174
174
  var templateBreakpoints = function templateBreakpoints(value, alias, theme) {
175
175
  if (isObject(value)) {
176
176
  var _ = value._,
177
- base = value.base,
178
177
  rest = _objectWithoutProperties(value, _excluded);
179
178
 
180
- var css = _defineProperty({}, alias, _ !== null && _ !== void 0 ? _ : base);
179
+ var css = _defineProperty({}, alias, _);
181
180
 
182
181
  if (theme) {
183
182
  var breakpoints = theme.breakpoints;
184
183
  Object.keys(breakpoints).forEach(function (key) {
185
- css[breakpoints[key]] = _defineProperty({}, alias, rest[key]);
184
+ if (rest[key]) {
185
+ css[breakpoints[key]] = _defineProperty({}, alias, rest[key]);
186
+ }
186
187
  });
187
188
  }
188
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animus-ui/theming",
3
- "version": "0.1.1-beta.18",
3
+ "version": "0.1.1-beta.21",
4
4
  "description": "Theming Utilities",
5
5
  "author": "Aaron Robb <airrobb@gmail.com>",
6
6
  "homepage": "https://github.com/codecaaron/animus#readme",
@@ -25,7 +25,7 @@
25
25
  "url": "https://github.com/codecaaron/animus/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@animus-ui/core": "^0.1.1-beta.18"
28
+ "@animus-ui/core": "^0.1.1-beta.20"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@emotion/react": ">=11.0.0",
@@ -33,5 +33,5 @@
33
33
  "lodash": "*",
34
34
  "typescript": ">=4.3.5"
35
35
  },
36
- "gitHead": "17e860d315d6a4e1a94552cb3e0cc8f535dfdff8"
36
+ "gitHead": "455851bb4c07c9f3d7799ee339dd590792a919c5"
37
37
  }