@carbon/type 10.29.0 → 10.31.0
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/es/index.js +2 -1
- package/lib/index.js +2 -1
- package/package.json +4 -4
- package/scss/vendor/@carbon/layout/_breakpoint.scss +2 -2
- package/umd/index.js +2 -1
package/es/index.js
CHANGED
|
@@ -668,6 +668,7 @@ var styles = /*#__PURE__*/Object.freeze({
|
|
|
668
668
|
display04: display04$1
|
|
669
669
|
});
|
|
670
670
|
|
|
671
|
+
var _excluded = ["breakpoints"];
|
|
671
672
|
var breakpointNames = Object.keys(breakpoints);
|
|
672
673
|
|
|
673
674
|
function next(name) {
|
|
@@ -676,7 +677,7 @@ function next(name) {
|
|
|
676
677
|
|
|
677
678
|
function fluid(selector) {
|
|
678
679
|
var fluidBreakpoints = selector.breakpoints,
|
|
679
|
-
styles = _objectWithoutProperties(selector,
|
|
680
|
+
styles = _objectWithoutProperties(selector, _excluded);
|
|
680
681
|
|
|
681
682
|
if (_typeof(fluidBreakpoints) !== 'object') {
|
|
682
683
|
return styles;
|
package/lib/index.js
CHANGED
|
@@ -672,6 +672,7 @@ var styles = /*#__PURE__*/Object.freeze({
|
|
|
672
672
|
display04: display04$1
|
|
673
673
|
});
|
|
674
674
|
|
|
675
|
+
var _excluded = ["breakpoints"];
|
|
675
676
|
var breakpointNames = Object.keys(layout.breakpoints);
|
|
676
677
|
|
|
677
678
|
function next(name) {
|
|
@@ -680,7 +681,7 @@ function next(name) {
|
|
|
680
681
|
|
|
681
682
|
function fluid(selector) {
|
|
682
683
|
var fluidBreakpoints = selector.breakpoints,
|
|
683
|
-
styles = _objectWithoutProperties(selector,
|
|
684
|
+
styles = _objectWithoutProperties(selector, _excluded);
|
|
684
685
|
|
|
685
686
|
if (_typeof(fluidBreakpoints) !== 'object') {
|
|
686
687
|
return styles;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/type",
|
|
3
3
|
"description": "Typography for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.31.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@carbon/import-once": "^10.6.0",
|
|
40
|
-
"@carbon/layout": "^10.
|
|
40
|
+
"@carbon/layout": "^10.27.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@carbon/cli": "^10.
|
|
43
|
+
"@carbon/cli": "^10.25.0",
|
|
44
44
|
"@carbon/test-utils": "^10.16.0",
|
|
45
45
|
"change-case": "^4.1.1",
|
|
46
46
|
"rimraf": "^3.0.0"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"sassDir": "scss",
|
|
52
52
|
"needs": "^1.3.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "d6041f75d05916f33380502670a56abf82b45a20"
|
|
55
55
|
}
|
|
@@ -198,12 +198,12 @@ $carbon--grid-breakpoints: (
|
|
|
198
198
|
@if $min and $max {
|
|
199
199
|
$min-width: if(
|
|
200
200
|
not $is-number-lower and $min,
|
|
201
|
-
map-get($min, width + 0.02
|
|
201
|
+
map-get($min, width) + 0.02,
|
|
202
202
|
$min
|
|
203
203
|
);
|
|
204
204
|
$max-width: if(
|
|
205
205
|
not $is-number-upper and $max,
|
|
206
|
-
map-get($max, width - 0.02
|
|
206
|
+
map-get($max, width) - 0.02,
|
|
207
207
|
$max
|
|
208
208
|
);
|
|
209
209
|
@media (min-width: $min-width) and (max-width: $max-width) {
|
package/umd/index.js
CHANGED
|
@@ -672,6 +672,7 @@
|
|
|
672
672
|
display04: display04$1
|
|
673
673
|
});
|
|
674
674
|
|
|
675
|
+
var _excluded = ["breakpoints"];
|
|
675
676
|
var breakpointNames = Object.keys(layout.breakpoints);
|
|
676
677
|
|
|
677
678
|
function next(name) {
|
|
@@ -680,7 +681,7 @@
|
|
|
680
681
|
|
|
681
682
|
function fluid(selector) {
|
|
682
683
|
var fluidBreakpoints = selector.breakpoints,
|
|
683
|
-
styles = _objectWithoutProperties(selector,
|
|
684
|
+
styles = _objectWithoutProperties(selector, _excluded);
|
|
684
685
|
|
|
685
686
|
if (_typeof(fluidBreakpoints) !== 'object') {
|
|
686
687
|
return styles;
|