@khanacademy/wonder-blocks-typography
Advanced tools
Comparing version 3.1.0 to 3.1.1
# @khanacademy/wonder-blocks-typography | ||
## 3.1.1 | ||
### Patch Changes | ||
- ee8d95a: Rollback rollup version from v4 to v2 to prevent an issue with CJS builds in unit tests | ||
- Updated dependencies [ee8d95a] | ||
- @khanacademy/wonder-blocks-core@12.1.1 | ||
## 3.1.0 | ||
@@ -4,0 +12,0 @@ |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var _extends = require('@babel/runtime/helpers/extends'); | ||
@@ -9,3 +11,6 @@ var aphrodite = require('aphrodite'); | ||
function _interopNamespaceDefault(e) { | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
@@ -23,7 +28,9 @@ if (e) { | ||
} | ||
n.default = e; | ||
n["default"] = e; | ||
return Object.freeze(n); | ||
} | ||
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React); | ||
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends); | ||
var _objectWithoutPropertiesLoose__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutPropertiesLoose); | ||
var React__namespace = /*#__PURE__*/_interopNamespace(React); | ||
@@ -42,3 +49,3 @@ const Regular = 400; | ||
const styles = aphrodite.StyleSheet.create({ | ||
Title: _extends({}, common, { | ||
Title: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -55,3 +62,3 @@ fontWeight: Black, | ||
}), | ||
Tagline: _extends({}, common, { | ||
Tagline: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -62,3 +69,3 @@ fontWeight: Regular, | ||
}), | ||
HeadingLarge: _extends({}, common, { | ||
HeadingLarge: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -75,3 +82,3 @@ fontWeight: Bold, | ||
}), | ||
HeadingMedium: _extends({}, common, { | ||
HeadingMedium: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -88,3 +95,3 @@ fontWeight: Bold, | ||
}), | ||
HeadingSmall: _extends({}, common, { | ||
HeadingSmall: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -95,3 +102,3 @@ fontWeight: Bold, | ||
}), | ||
HeadingXSmall: _extends({}, common, { | ||
HeadingXSmall: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -104,3 +111,3 @@ fontWeight: Bold, | ||
}), | ||
BodySerifBlock: _extends({}, common, { | ||
BodySerifBlock: _extends__default["default"]({}, common, { | ||
fontFamily: SerifFamily, | ||
@@ -111,3 +118,3 @@ fontWeight: Regular, | ||
}), | ||
BodySerif: _extends({}, common, { | ||
BodySerif: _extends__default["default"]({}, common, { | ||
fontFamily: SerifFamily, | ||
@@ -118,3 +125,3 @@ fontWeight: Regular, | ||
}), | ||
BodyMonospace: _extends({}, common, { | ||
BodyMonospace: _extends__default["default"]({}, common, { | ||
fontFamily: InconsolataFamily, | ||
@@ -125,3 +132,3 @@ fontWeight: Regular, | ||
}), | ||
Body: _extends({}, common, { | ||
Body: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -132,3 +139,3 @@ fontWeight: Regular, | ||
}), | ||
LabelLarge: _extends({}, common, { | ||
LabelLarge: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -139,3 +146,3 @@ fontWeight: Bold, | ||
}), | ||
LabelMedium: _extends({}, common, { | ||
LabelMedium: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -146,3 +153,3 @@ fontWeight: Regular, | ||
}), | ||
LabelSmall: _extends({}, common, { | ||
LabelSmall: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -153,3 +160,3 @@ fontWeight: Regular, | ||
}), | ||
LabelXSmall: _extends({}, common, { | ||
LabelXSmall: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -160,3 +167,3 @@ fontWeight: Regular, | ||
}), | ||
Caption: _extends({}, common, { | ||
Caption: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -167,3 +174,3 @@ fontWeight: Regular, | ||
}), | ||
Footnote: _extends({}, common, { | ||
Footnote: _extends__default["default"]({}, common, { | ||
fontFamily: SansFamily, | ||
@@ -183,4 +190,4 @@ fontWeight: Regular, | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$f); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$f); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -199,4 +206,4 @@ style: [styles.Title, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$e); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -215,4 +222,4 @@ style: [styles.HeadingLarge, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$d); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$d); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -231,4 +238,4 @@ style: [styles.HeadingMedium, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$c); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$c); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -247,4 +254,4 @@ style: [styles.HeadingSmall, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$b); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$b); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -263,4 +270,4 @@ style: [styles.HeadingXSmall, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$a); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$a); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -279,4 +286,4 @@ style: [styles.BodySerifBlock, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$9); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$9); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -295,4 +302,4 @@ style: [styles.BodySerif, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$8); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$8); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -311,4 +318,4 @@ style: [styles.BodyMonospace, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$7); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$7); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -327,4 +334,4 @@ style: [styles.Body, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$6); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$6); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -343,4 +350,4 @@ style: [styles.LabelLarge, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$5); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$5); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -359,4 +366,4 @@ style: [styles.LabelMedium, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$4); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$4); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -375,4 +382,4 @@ style: [styles.LabelSmall, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$3); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$3); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -391,4 +398,4 @@ style: [styles.LabelXSmall, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$2); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -407,4 +414,4 @@ style: [styles.Tagline, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded$1); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -423,4 +430,4 @@ style: [styles.Caption, style], | ||
} = _ref, | ||
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends({}, otherProps, { | ||
otherProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded); | ||
return React__namespace.createElement(wonderBlocksCore.Text, _extends__default["default"]({}, otherProps, { | ||
tag: tag, | ||
@@ -427,0 +434,0 @@ style: [styles.Footnote, style], |
{ | ||
"name": "@khanacademy/wonder-blocks-typography", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"design": "v2", | ||
@@ -16,3 +16,3 @@ "publishConfig": { | ||
"@babel/runtime": "^7.24.5", | ||
"@khanacademy/wonder-blocks-core": "12.1.0" | ||
"@khanacademy/wonder-blocks-core": "12.1.1" | ||
}, | ||
@@ -24,3 +24,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@khanacademy/wb-dev-build-settings": "2.1.0" | ||
"@khanacademy/wb-dev-build-settings": "2.1.1" | ||
}, | ||
@@ -27,0 +27,0 @@ "scripts": { |
81444
1658
+ Added@babel/runtime@7.26.7(transitive)
+ Added@khanacademy/wonder-blocks-core@12.1.1(transitive)
- Removed@babel/runtime@7.26.9(transitive)
- Removed@khanacademy/wonder-blocks-core@12.1.0(transitive)