@carbon/type 11.42.0 → 11.43.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 CHANGED
@@ -87,6 +87,7 @@ function paramCase(string) {
87
87
  * This source code is licensed under the Apache-2.0 license found in the
88
88
  * LICENSE file in the root directory of this source tree.
89
89
  */
90
+
90
91
  var reset = {
91
92
  html: {
92
93
  fontSize: px(baseFontSize)
@@ -137,9 +138,9 @@ var scale = [12, 14, 16, 18, 20, 24, 28, 32, 36, 42, 48, 54, 60, 68, 76, 84, 92,
137
138
  function _defineProperty(e, r, t) {
138
139
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
139
140
  value: t,
140
- enumerable: !0,
141
- configurable: !0,
142
- writable: !0
141
+ enumerable: true,
142
+ configurable: true,
143
+ writable: true
143
144
  }) : e[r] = t, e;
144
145
  }
145
146
  function ownKeys(e, r) {
@@ -155,7 +156,7 @@ function ownKeys(e, r) {
155
156
  function _objectSpread2(e) {
156
157
  for (var r = 1; r < arguments.length; r++) {
157
158
  var t = null != arguments[r] ? arguments[r] : {};
158
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
159
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
159
160
  _defineProperty(e, r, t[r]);
160
161
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
161
162
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
@@ -187,7 +188,7 @@ function _toPrimitive(t, r) {
187
188
  if ("object" != typeof t || !t) return t;
188
189
  var e = t[Symbol.toPrimitive];
189
190
  if (void 0 !== e) {
190
- var i = e.call(t, r || "default");
191
+ var i = e.call(t, r);
191
192
  if ("object" != typeof i) return i;
192
193
  throw new TypeError("@@toPrimitive must return a primitive value.");
193
194
  }
@@ -650,27 +651,22 @@ var fluidDisplay04$1 = display04$1;
650
651
 
651
652
  var styles = /*#__PURE__*/Object.freeze({
652
653
  __proto__: null,
653
- caption01: caption01$1,
654
- caption02: caption02$1,
655
- label01: label01$1,
656
- label02: label02$1,
657
- helperText01: helperText01$1,
658
- helperText02: helperText02$1,
659
- bodyShort01: bodyShort01$1,
654
+ body01: body01$1,
655
+ body02: body02$1,
656
+ bodyCompact01: bodyCompact01$1,
657
+ bodyCompact02: bodyCompact02$1,
660
658
  bodyLong01: bodyLong01$1,
661
- bodyShort02: bodyShort02$1,
662
659
  bodyLong02: bodyLong02$1,
660
+ bodyShort01: bodyShort01$1,
661
+ bodyShort02: bodyShort02$1,
662
+ caption01: caption01$1,
663
+ caption02: caption02$1,
663
664
  code01: code01$1,
664
665
  code02: code02$1,
665
- heading01: heading01$1,
666
- productiveHeading01: productiveHeading01$1,
667
- heading02: heading02$1,
668
- productiveHeading02: productiveHeading02$1,
669
- productiveHeading03: productiveHeading03$1,
670
- productiveHeading04: productiveHeading04$1,
671
- productiveHeading05: productiveHeading05$1,
672
- productiveHeading06: productiveHeading06$1,
673
- productiveHeading07: productiveHeading07$1,
666
+ display01: display01$1,
667
+ display02: display02$1,
668
+ display03: display03$1,
669
+ display04: display04$1,
674
670
  expressiveHeading01: expressiveHeading01$1,
675
671
  expressiveHeading02: expressiveHeading02$1,
676
672
  expressiveHeading03: expressiveHeading03$1,
@@ -678,25 +674,10 @@ var styles = /*#__PURE__*/Object.freeze({
678
674
  expressiveHeading05: expressiveHeading05$1,
679
675
  expressiveHeading06: expressiveHeading06$1,
680
676
  expressiveParagraph01: expressiveParagraph01$1,
681
- quotation01: quotation01$1,
682
- quotation02: quotation02$1,
683
- display01: display01$1,
684
- display02: display02$1,
685
- display03: display03$1,
686
- display04: display04$1,
687
- legal01: legal01$1,
688
- legal02: legal02$1,
689
- bodyCompact01: bodyCompact01$1,
690
- bodyCompact02: bodyCompact02$1,
691
- body01: body01$1,
692
- body02: body02$1,
693
- headingCompact01: headingCompact01$1,
694
- headingCompact02: headingCompact02$1,
695
- heading03: heading03$1,
696
- heading04: heading04$1,
697
- heading05: heading05$1,
698
- heading06: heading06$1,
699
- heading07: heading07$1,
677
+ fluidDisplay01: fluidDisplay01$1,
678
+ fluidDisplay02: fluidDisplay02$1,
679
+ fluidDisplay03: fluidDisplay03$1,
680
+ fluidDisplay04: fluidDisplay04$1,
700
681
  fluidHeading03: fluidHeading03$1,
701
682
  fluidHeading04: fluidHeading04$1,
702
683
  fluidHeading05: fluidHeading05$1,
@@ -704,10 +685,30 @@ var styles = /*#__PURE__*/Object.freeze({
704
685
  fluidParagraph01: fluidParagraph01$1,
705
686
  fluidQuotation01: fluidQuotation01$1,
706
687
  fluidQuotation02: fluidQuotation02$1,
707
- fluidDisplay01: fluidDisplay01$1,
708
- fluidDisplay02: fluidDisplay02$1,
709
- fluidDisplay03: fluidDisplay03$1,
710
- fluidDisplay04: fluidDisplay04$1
688
+ heading01: heading01$1,
689
+ heading02: heading02$1,
690
+ heading03: heading03$1,
691
+ heading04: heading04$1,
692
+ heading05: heading05$1,
693
+ heading06: heading06$1,
694
+ heading07: heading07$1,
695
+ headingCompact01: headingCompact01$1,
696
+ headingCompact02: headingCompact02$1,
697
+ helperText01: helperText01$1,
698
+ helperText02: helperText02$1,
699
+ label01: label01$1,
700
+ label02: label02$1,
701
+ legal01: legal01$1,
702
+ legal02: legal02$1,
703
+ productiveHeading01: productiveHeading01$1,
704
+ productiveHeading02: productiveHeading02$1,
705
+ productiveHeading03: productiveHeading03$1,
706
+ productiveHeading04: productiveHeading04$1,
707
+ productiveHeading05: productiveHeading05$1,
708
+ productiveHeading06: productiveHeading06$1,
709
+ productiveHeading07: productiveHeading07$1,
710
+ quotation01: quotation01$1,
711
+ quotation02: quotation02$1
711
712
  });
712
713
 
713
714
  var _excluded = ["breakpoints"];
package/lib/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var layout = require('@carbon/layout');
6
4
 
7
5
  /**
@@ -91,6 +89,7 @@ function paramCase(string) {
91
89
  * This source code is licensed under the Apache-2.0 license found in the
92
90
  * LICENSE file in the root directory of this source tree.
93
91
  */
92
+
94
93
  var reset = {
95
94
  html: {
96
95
  fontSize: layout.px(layout.baseFontSize)
@@ -141,9 +140,9 @@ var scale = [12, 14, 16, 18, 20, 24, 28, 32, 36, 42, 48, 54, 60, 68, 76, 84, 92,
141
140
  function _defineProperty(e, r, t) {
142
141
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
143
142
  value: t,
144
- enumerable: !0,
145
- configurable: !0,
146
- writable: !0
143
+ enumerable: true,
144
+ configurable: true,
145
+ writable: true
147
146
  }) : e[r] = t, e;
148
147
  }
149
148
  function ownKeys(e, r) {
@@ -159,7 +158,7 @@ function ownKeys(e, r) {
159
158
  function _objectSpread2(e) {
160
159
  for (var r = 1; r < arguments.length; r++) {
161
160
  var t = null != arguments[r] ? arguments[r] : {};
162
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
161
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
163
162
  _defineProperty(e, r, t[r]);
164
163
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
165
164
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
@@ -191,7 +190,7 @@ function _toPrimitive(t, r) {
191
190
  if ("object" != typeof t || !t) return t;
192
191
  var e = t[Symbol.toPrimitive];
193
192
  if (void 0 !== e) {
194
- var i = e.call(t, r || "default");
193
+ var i = e.call(t, r);
195
194
  if ("object" != typeof i) return i;
196
195
  throw new TypeError("@@toPrimitive must return a primitive value.");
197
196
  }
@@ -654,27 +653,22 @@ var fluidDisplay04$1 = display04$1;
654
653
 
655
654
  var styles = /*#__PURE__*/Object.freeze({
656
655
  __proto__: null,
657
- caption01: caption01$1,
658
- caption02: caption02$1,
659
- label01: label01$1,
660
- label02: label02$1,
661
- helperText01: helperText01$1,
662
- helperText02: helperText02$1,
663
- bodyShort01: bodyShort01$1,
656
+ body01: body01$1,
657
+ body02: body02$1,
658
+ bodyCompact01: bodyCompact01$1,
659
+ bodyCompact02: bodyCompact02$1,
664
660
  bodyLong01: bodyLong01$1,
665
- bodyShort02: bodyShort02$1,
666
661
  bodyLong02: bodyLong02$1,
662
+ bodyShort01: bodyShort01$1,
663
+ bodyShort02: bodyShort02$1,
664
+ caption01: caption01$1,
665
+ caption02: caption02$1,
667
666
  code01: code01$1,
668
667
  code02: code02$1,
669
- heading01: heading01$1,
670
- productiveHeading01: productiveHeading01$1,
671
- heading02: heading02$1,
672
- productiveHeading02: productiveHeading02$1,
673
- productiveHeading03: productiveHeading03$1,
674
- productiveHeading04: productiveHeading04$1,
675
- productiveHeading05: productiveHeading05$1,
676
- productiveHeading06: productiveHeading06$1,
677
- productiveHeading07: productiveHeading07$1,
668
+ display01: display01$1,
669
+ display02: display02$1,
670
+ display03: display03$1,
671
+ display04: display04$1,
678
672
  expressiveHeading01: expressiveHeading01$1,
679
673
  expressiveHeading02: expressiveHeading02$1,
680
674
  expressiveHeading03: expressiveHeading03$1,
@@ -682,25 +676,10 @@ var styles = /*#__PURE__*/Object.freeze({
682
676
  expressiveHeading05: expressiveHeading05$1,
683
677
  expressiveHeading06: expressiveHeading06$1,
684
678
  expressiveParagraph01: expressiveParagraph01$1,
685
- quotation01: quotation01$1,
686
- quotation02: quotation02$1,
687
- display01: display01$1,
688
- display02: display02$1,
689
- display03: display03$1,
690
- display04: display04$1,
691
- legal01: legal01$1,
692
- legal02: legal02$1,
693
- bodyCompact01: bodyCompact01$1,
694
- bodyCompact02: bodyCompact02$1,
695
- body01: body01$1,
696
- body02: body02$1,
697
- headingCompact01: headingCompact01$1,
698
- headingCompact02: headingCompact02$1,
699
- heading03: heading03$1,
700
- heading04: heading04$1,
701
- heading05: heading05$1,
702
- heading06: heading06$1,
703
- heading07: heading07$1,
679
+ fluidDisplay01: fluidDisplay01$1,
680
+ fluidDisplay02: fluidDisplay02$1,
681
+ fluidDisplay03: fluidDisplay03$1,
682
+ fluidDisplay04: fluidDisplay04$1,
704
683
  fluidHeading03: fluidHeading03$1,
705
684
  fluidHeading04: fluidHeading04$1,
706
685
  fluidHeading05: fluidHeading05$1,
@@ -708,10 +687,30 @@ var styles = /*#__PURE__*/Object.freeze({
708
687
  fluidParagraph01: fluidParagraph01$1,
709
688
  fluidQuotation01: fluidQuotation01$1,
710
689
  fluidQuotation02: fluidQuotation02$1,
711
- fluidDisplay01: fluidDisplay01$1,
712
- fluidDisplay02: fluidDisplay02$1,
713
- fluidDisplay03: fluidDisplay03$1,
714
- fluidDisplay04: fluidDisplay04$1
690
+ heading01: heading01$1,
691
+ heading02: heading02$1,
692
+ heading03: heading03$1,
693
+ heading04: heading04$1,
694
+ heading05: heading05$1,
695
+ heading06: heading06$1,
696
+ heading07: heading07$1,
697
+ headingCompact01: headingCompact01$1,
698
+ headingCompact02: headingCompact02$1,
699
+ helperText01: helperText01$1,
700
+ helperText02: helperText02$1,
701
+ label01: label01$1,
702
+ label02: label02$1,
703
+ legal01: legal01$1,
704
+ legal02: legal02$1,
705
+ productiveHeading01: productiveHeading01$1,
706
+ productiveHeading02: productiveHeading02$1,
707
+ productiveHeading03: productiveHeading03$1,
708
+ productiveHeading04: productiveHeading04$1,
709
+ productiveHeading05: productiveHeading05$1,
710
+ productiveHeading06: productiveHeading06$1,
711
+ productiveHeading07: productiveHeading07$1,
712
+ quotation01: quotation01$1,
713
+ quotation02: quotation02$1
715
714
  });
716
715
 
717
716
  var _excluded = ["breakpoints"];
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": "11.42.0",
4
+ "version": "11.43.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -41,12 +41,12 @@
41
41
  "postinstall": "ibmtelemetry --config=telemetry.yml"
42
42
  },
43
43
  "dependencies": {
44
- "@carbon/grid": "^11.38.0",
45
- "@carbon/layout": "^11.36.0",
44
+ "@carbon/grid": "^11.39.0",
45
+ "@carbon/layout": "^11.37.0",
46
46
  "@ibm/telemetry-js": "^1.5.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@carbon/cli": "^11.29.0",
49
+ "@carbon/cli": "^11.30.0",
50
50
  "@carbon/test-utils": "^10.36.0",
51
51
  "change-case": "^4.1.1",
52
52
  "css": "^3.0.0",
@@ -58,5 +58,5 @@
58
58
  "sassDir": "scss",
59
59
  "needs": "^1.3.0"
60
60
  },
61
- "gitHead": "faed0dec20f49fc7a98d7509c2c0170dff9992fc"
61
+ "gitHead": "cb7123ed19a2c216e5b9774e58c12af68407abd3"
62
62
  }
package/umd/index.js CHANGED
@@ -91,6 +91,7 @@
91
91
  * This source code is licensed under the Apache-2.0 license found in the
92
92
  * LICENSE file in the root directory of this source tree.
93
93
  */
94
+
94
95
  var reset = {
95
96
  html: {
96
97
  fontSize: layout.px(layout.baseFontSize)
@@ -141,9 +142,9 @@
141
142
  function _defineProperty(e, r, t) {
142
143
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
143
144
  value: t,
144
- enumerable: !0,
145
- configurable: !0,
146
- writable: !0
145
+ enumerable: true,
146
+ configurable: true,
147
+ writable: true
147
148
  }) : e[r] = t, e;
148
149
  }
149
150
  function ownKeys(e, r) {
@@ -159,7 +160,7 @@
159
160
  function _objectSpread2(e) {
160
161
  for (var r = 1; r < arguments.length; r++) {
161
162
  var t = null != arguments[r] ? arguments[r] : {};
162
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
163
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
163
164
  _defineProperty(e, r, t[r]);
164
165
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
165
166
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
@@ -191,7 +192,7 @@
191
192
  if ("object" != typeof t || !t) return t;
192
193
  var e = t[Symbol.toPrimitive];
193
194
  if (void 0 !== e) {
194
- var i = e.call(t, r || "default");
195
+ var i = e.call(t, r);
195
196
  if ("object" != typeof i) return i;
196
197
  throw new TypeError("@@toPrimitive must return a primitive value.");
197
198
  }
@@ -654,27 +655,22 @@
654
655
 
655
656
  var styles = /*#__PURE__*/Object.freeze({
656
657
  __proto__: null,
657
- caption01: caption01$1,
658
- caption02: caption02$1,
659
- label01: label01$1,
660
- label02: label02$1,
661
- helperText01: helperText01$1,
662
- helperText02: helperText02$1,
663
- bodyShort01: bodyShort01$1,
658
+ body01: body01$1,
659
+ body02: body02$1,
660
+ bodyCompact01: bodyCompact01$1,
661
+ bodyCompact02: bodyCompact02$1,
664
662
  bodyLong01: bodyLong01$1,
665
- bodyShort02: bodyShort02$1,
666
663
  bodyLong02: bodyLong02$1,
664
+ bodyShort01: bodyShort01$1,
665
+ bodyShort02: bodyShort02$1,
666
+ caption01: caption01$1,
667
+ caption02: caption02$1,
667
668
  code01: code01$1,
668
669
  code02: code02$1,
669
- heading01: heading01$1,
670
- productiveHeading01: productiveHeading01$1,
671
- heading02: heading02$1,
672
- productiveHeading02: productiveHeading02$1,
673
- productiveHeading03: productiveHeading03$1,
674
- productiveHeading04: productiveHeading04$1,
675
- productiveHeading05: productiveHeading05$1,
676
- productiveHeading06: productiveHeading06$1,
677
- productiveHeading07: productiveHeading07$1,
670
+ display01: display01$1,
671
+ display02: display02$1,
672
+ display03: display03$1,
673
+ display04: display04$1,
678
674
  expressiveHeading01: expressiveHeading01$1,
679
675
  expressiveHeading02: expressiveHeading02$1,
680
676
  expressiveHeading03: expressiveHeading03$1,
@@ -682,25 +678,10 @@
682
678
  expressiveHeading05: expressiveHeading05$1,
683
679
  expressiveHeading06: expressiveHeading06$1,
684
680
  expressiveParagraph01: expressiveParagraph01$1,
685
- quotation01: quotation01$1,
686
- quotation02: quotation02$1,
687
- display01: display01$1,
688
- display02: display02$1,
689
- display03: display03$1,
690
- display04: display04$1,
691
- legal01: legal01$1,
692
- legal02: legal02$1,
693
- bodyCompact01: bodyCompact01$1,
694
- bodyCompact02: bodyCompact02$1,
695
- body01: body01$1,
696
- body02: body02$1,
697
- headingCompact01: headingCompact01$1,
698
- headingCompact02: headingCompact02$1,
699
- heading03: heading03$1,
700
- heading04: heading04$1,
701
- heading05: heading05$1,
702
- heading06: heading06$1,
703
- heading07: heading07$1,
681
+ fluidDisplay01: fluidDisplay01$1,
682
+ fluidDisplay02: fluidDisplay02$1,
683
+ fluidDisplay03: fluidDisplay03$1,
684
+ fluidDisplay04: fluidDisplay04$1,
704
685
  fluidHeading03: fluidHeading03$1,
705
686
  fluidHeading04: fluidHeading04$1,
706
687
  fluidHeading05: fluidHeading05$1,
@@ -708,10 +689,30 @@
708
689
  fluidParagraph01: fluidParagraph01$1,
709
690
  fluidQuotation01: fluidQuotation01$1,
710
691
  fluidQuotation02: fluidQuotation02$1,
711
- fluidDisplay01: fluidDisplay01$1,
712
- fluidDisplay02: fluidDisplay02$1,
713
- fluidDisplay03: fluidDisplay03$1,
714
- fluidDisplay04: fluidDisplay04$1
692
+ heading01: heading01$1,
693
+ heading02: heading02$1,
694
+ heading03: heading03$1,
695
+ heading04: heading04$1,
696
+ heading05: heading05$1,
697
+ heading06: heading06$1,
698
+ heading07: heading07$1,
699
+ headingCompact01: headingCompact01$1,
700
+ headingCompact02: headingCompact02$1,
701
+ helperText01: helperText01$1,
702
+ helperText02: helperText02$1,
703
+ label01: label01$1,
704
+ label02: label02$1,
705
+ legal01: legal01$1,
706
+ legal02: legal02$1,
707
+ productiveHeading01: productiveHeading01$1,
708
+ productiveHeading02: productiveHeading02$1,
709
+ productiveHeading03: productiveHeading03$1,
710
+ productiveHeading04: productiveHeading04$1,
711
+ productiveHeading05: productiveHeading05$1,
712
+ productiveHeading06: productiveHeading06$1,
713
+ productiveHeading07: productiveHeading07$1,
714
+ quotation01: quotation01$1,
715
+ quotation02: quotation02$1
715
716
  });
716
717
 
717
718
  var _excluded = ["breakpoints"];
@@ -909,6 +910,4 @@
909
910
  exports.styles = styles;
910
911
  exports.unstable_tokens = unstable_tokens;
911
912
 
912
- Object.defineProperty(exports, '__esModule', { value: true });
913
-
914
913
  }));