@arch-ui/typography
Advanced tools
Comparing version 0.0.18 to 0.0.19
# @arch-ui/typography | ||
## 0.0.19 | ||
### Patch Changes | ||
- [`04bf1e4bb`](https://github.com/keystonejs/keystone-5/commit/04bf1e4bb0223f4e2e06664bbc9e95c51118eb84) [#2](https://github.com/keystonejs/keystone-5/pull/2) Thanks [@bladey](https://github.com/bladey)! - Updated repository URL in package.json. | ||
- Updated dependencies [[`04bf1e4bb`](https://github.com/keystonejs/keystone-5/commit/04bf1e4bb0223f4e2e06664bbc9e95c51118eb84)]: | ||
- @arch-ui/theme@0.0.12 | ||
## 0.0.18 | ||
@@ -7,9 +16,9 @@ | ||
- [`5935b89f8`](https://github.com/keystonejs/keystone/commit/5935b89f8862b36f14d09da68f056f759a860f3e) [#3477](https://github.com/keystonejs/keystone/pull/3477) Thanks [@Noviny](https://github.com/Noviny)! - Updating dependencies: | ||
- [`5935b89f8`](https://github.com/keystonejs/keystone-5/commit/5935b89f8862b36f14d09da68f056f759a860f3e) [#3477](https://github.com/keystonejs/keystone-5/pull/3477) Thanks [@Noviny](https://github.com/Noviny)! - Updating dependencies: | ||
These changes bring the keystone dev experience inline with installing keystone from npm :D | ||
* [`0fc878fa9`](https://github.com/keystonejs/keystone/commit/0fc878fa918c3196196f943f195ffaa62fce504b) [#3439](https://github.com/keystonejs/keystone/pull/3439) Thanks [@renovate](https://github.com/apps/renovate)! - Updated babel dependencies. | ||
* [`0fc878fa9`](https://github.com/keystonejs/keystone-5/commit/0fc878fa918c3196196f943f195ffaa62fce504b) [#3439](https://github.com/keystonejs/keystone-5/pull/3439) Thanks [@renovate](https://github.com/apps/renovate)! - Updated babel dependencies. | ||
* Updated dependencies [[`0fc878fa9`](https://github.com/keystonejs/keystone/commit/0fc878fa918c3196196f943f195ffaa62fce504b)]: | ||
* Updated dependencies [[`0fc878fa9`](https://github.com/keystonejs/keystone-5/commit/0fc878fa918c3196196f943f195ffaa62fce504b)]: | ||
- @arch-ui/theme@0.0.11 | ||
@@ -21,3 +30,3 @@ | ||
- [`577b5e69`](https://github.com/keystonejs/keystone/commit/577b5e69ac4f949d1be2a80d8f391cb0a4b1333a) [#2799](https://github.com/keystonejs/keystone/pull/2799) Thanks [@MadeByMike](https://github.com/MadeByMike)! - Upgraded React and Emotion packages. | ||
- [`577b5e69`](https://github.com/keystonejs/keystone-5/commit/577b5e69ac4f949d1be2a80d8f391cb0a4b1333a) [#2799](https://github.com/keystonejs/keystone-5/pull/2799) Thanks [@MadeByMike](https://github.com/MadeByMike)! - Upgraded React and Emotion packages. | ||
@@ -28,3 +37,3 @@ ## 0.0.16 | ||
- [`63169b6a`](https://github.com/keystonejs/keystone/commit/63169b6a6b6a4dc286cd224b7f871960f2d4b0ad) [#2638](https://github.com/keystonejs/keystone/pull/2638) Thanks [@Vultraz](https://github.com/Vultraz)! - Removed uses of defaultProps for functional components. | ||
- [`63169b6a`](https://github.com/keystonejs/keystone-5/commit/63169b6a6b6a4dc286cd224b7f871960f2d4b0ad) [#2638](https://github.com/keystonejs/keystone-5/pull/2638) Thanks [@Vultraz](https://github.com/Vultraz)! - Removed uses of defaultProps for functional components. | ||
@@ -35,3 +44,3 @@ ## 0.0.15 | ||
- Updated dependencies [[`0de5f232`](https://github.com/keystonejs/keystone/commit/0de5f2321ef8f9fe6dd247c3201372a4156e61e9)]: | ||
- Updated dependencies [[`0de5f232`](https://github.com/keystonejs/keystone-5/commit/0de5f2321ef8f9fe6dd247c3201372a4156e61e9)]: | ||
- @arch-ui/theme@0.0.10 | ||
@@ -43,7 +52,7 @@ | ||
- [`6b353eff`](https://github.com/keystonejs/keystone/commit/6b353effc8b617137a3978b2c845e01403889722) Thanks [@timleslie](https://github.com/timleslie)! - Upgraded React to 16.13.0. | ||
- [`6b353eff`](https://github.com/keystonejs/keystone-5/commit/6b353effc8b617137a3978b2c845e01403889722) Thanks [@timleslie](https://github.com/timleslie)! - Upgraded React to 16.13.0. | ||
* [`5ba330b8`](https://github.com/keystonejs/keystone/commit/5ba330b8b2609ea0033a636daf9a215a5a192c20) [#2487](https://github.com/keystonejs/keystone/pull/2487) Thanks [@Noviny](https://github.com/Noviny)! - Small changes to package.json (mostly adding a repository field) | ||
* [`5ba330b8`](https://github.com/keystonejs/keystone-5/commit/5ba330b8b2609ea0033a636daf9a215a5a192c20) [#2487](https://github.com/keystonejs/keystone-5/pull/2487) Thanks [@Noviny](https://github.com/Noviny)! - Small changes to package.json (mostly adding a repository field) | ||
* Updated dependencies [[`5ba330b8`](https://github.com/keystonejs/keystone/commit/5ba330b8b2609ea0033a636daf9a215a5a192c20)]: | ||
* Updated dependencies [[`5ba330b8`](https://github.com/keystonejs/keystone-5/commit/5ba330b8b2609ea0033a636daf9a215a5a192c20)]: | ||
- @arch-ui/theme@0.0.9 | ||
@@ -55,7 +64,7 @@ | ||
- [`d8a7b8a2`](https://github.com/keystonejs/keystone/commit/d8a7b8a23b4c3e1545d101a92323be165ad362e2) [#2395](https://github.com/keystonejs/keystone/pull/2395) Thanks [@timleslie](https://github.com/timleslie)! - Upgraded all `@emotion.*` dependencies. | ||
- [`d8a7b8a2`](https://github.com/keystonejs/keystone-5/commit/d8a7b8a23b4c3e1545d101a92323be165ad362e2) [#2395](https://github.com/keystonejs/keystone-5/pull/2395) Thanks [@timleslie](https://github.com/timleslie)! - Upgraded all `@emotion.*` dependencies. | ||
* [`dcdd8ed9`](https://github.com/keystonejs/keystone/commit/dcdd8ed9142cf3328a7af80bc167ef93c7669b09) [#2381](https://github.com/keystonejs/keystone/pull/2381) Thanks [@timleslie](https://github.com/timleslie)! - Updated `@babel/*` dependency packages to latest versions. | ||
* [`dcdd8ed9`](https://github.com/keystonejs/keystone-5/commit/dcdd8ed9142cf3328a7af80bc167ef93c7669b09) [#2381](https://github.com/keystonejs/keystone-5/pull/2381) Thanks [@timleslie](https://github.com/timleslie)! - Updated `@babel/*` dependency packages to latest versions. | ||
* Updated dependencies [[`dcdd8ed9`](https://github.com/keystonejs/keystone/commit/dcdd8ed9142cf3328a7af80bc167ef93c7669b09)]: | ||
* Updated dependencies [[`dcdd8ed9`](https://github.com/keystonejs/keystone-5/commit/dcdd8ed9142cf3328a7af80bc167ef93c7669b09)]: | ||
- @arch-ui/theme@0.0.8 | ||
@@ -67,4 +76,4 @@ | ||
- [`38f88b62`](https://github.com/keystonejs/keystone/commit/38f88b62d9592d91b56528d4d9c40e9399440c4a) [#2144](https://github.com/keystonejs/keystone/pull/2144) - Upgraded all @babel/\* dependencies. | ||
- Updated dependencies [[`38f88b62`](https://github.com/keystonejs/keystone/commit/38f88b62d9592d91b56528d4d9c40e9399440c4a)]: | ||
- [`38f88b62`](https://github.com/keystonejs/keystone-5/commit/38f88b62d9592d91b56528d4d9c40e9399440c4a) [#2144](https://github.com/keystonejs/keystone-5/pull/2144) - Upgraded all @babel/\* dependencies. | ||
- Updated dependencies [[`38f88b62`](https://github.com/keystonejs/keystone-5/commit/38f88b62d9592d91b56528d4d9c40e9399440c4a)]: | ||
- @arch-ui/theme@0.0.7 | ||
@@ -76,4 +85,4 @@ | ||
- [`129b0f6`](https://github.com/keystonejs/keystone/commit/129b0f61f34adb7482901d2da4ddb14ce1aedd62) [#2092](https://github.com/keystonejs/keystone/pull/2092) - Upgrade all Babel deps to the same version (7.7.4) | ||
- Updated dependencies [[`129b0f6`](https://github.com/keystonejs/keystone/commit/129b0f61f34adb7482901d2da4ddb14ce1aedd62)]: | ||
- [`129b0f6`](https://github.com/keystonejs/keystone-5/commit/129b0f61f34adb7482901d2da4ddb14ce1aedd62) [#2092](https://github.com/keystonejs/keystone-5/pull/2092) - Upgrade all Babel deps to the same version (7.7.4) | ||
- Updated dependencies [[`129b0f6`](https://github.com/keystonejs/keystone-5/commit/129b0f61f34adb7482901d2da4ddb14ce1aedd62)]: | ||
- @arch-ui/theme@0.0.6 | ||
@@ -85,3 +94,3 @@ | ||
- [`946a52fd`](https://github.com/keystonejs/keystone/commit/946a52fd7057bb73f4ffd465ef51498172926866) [#1995](https://github.com/keystonejs/keystone/pull/1995) Thanks [@Vultraz](https://github.com/Vultraz)! - Updated `react` and `react-dom` to 16.12.0. | ||
- [`946a52fd`](https://github.com/keystonejs/keystone-5/commit/946a52fd7057bb73f4ffd465ef51498172926866) [#1995](https://github.com/keystonejs/keystone-5/pull/1995) Thanks [@Vultraz](https://github.com/Vultraz)! - Updated `react` and `react-dom` to 16.12.0. | ||
@@ -92,5 +101,5 @@ ## 0.0.9 | ||
- [`8226eb47`](https://github.com/keystonejs/keystone/commit/8226eb4709ea8ad5773c900eaaa96068d3cb6bad) [#1819](https://github.com/keystonejs/keystone/pull/1819) Thanks [@w01fgang](https://github.com/w01fgang)! - Upgraded `flow` and fixed flow errors and (probably) bugs. | ||
- [`8226eb47`](https://github.com/keystonejs/keystone-5/commit/8226eb4709ea8ad5773c900eaaa96068d3cb6bad) [#1819](https://github.com/keystonejs/keystone-5/pull/1819) Thanks [@w01fgang](https://github.com/w01fgang)! - Upgraded `flow` and fixed flow errors and (probably) bugs. | ||
* [`8226eb47`](https://github.com/keystonejs/keystone/commit/8226eb4709ea8ad5773c900eaaa96068d3cb6bad) [#1819](https://github.com/keystonejs/keystone/pull/1819) Thanks [@w01fgang](https://github.com/w01fgang)! - Upgraded `@emotion/core` and `@emotion/styled`. | ||
* [`8226eb47`](https://github.com/keystonejs/keystone-5/commit/8226eb4709ea8ad5773c900eaaa96068d3cb6bad) [#1819](https://github.com/keystonejs/keystone-5/pull/1819) Thanks [@w01fgang](https://github.com/w01fgang)! - Upgraded `@emotion/core` and `@emotion/styled`. | ||
@@ -101,3 +110,3 @@ ## 0.0.8 | ||
- [42c3fbc9](https://github.com/keystonejs/keystone/commit/42c3fbc9): Upgrade emotion to 10.0.14 | ||
- [42c3fbc9](https://github.com/keystonejs/keystone-5/commit/42c3fbc9): Upgrade emotion to 10.0.14 | ||
@@ -108,3 +117,3 @@ ## 0.0.7 | ||
- [19fe6c1b](https://github.com/keystonejs/keystone/commit/19fe6c1b): | ||
- [19fe6c1b](https://github.com/keystonejs/keystone-5/commit/19fe6c1b): | ||
@@ -117,3 +126,3 @@ Move frontmatter in docs into comments | ||
- [d580c298](https://github.com/keystonejs/keystone/commit/d580c298): | ||
- [d580c298](https://github.com/keystonejs/keystone-5/commit/d580c298): | ||
@@ -126,3 +135,3 @@ Minor Admin UI Tweaks | ||
- [81dc0be5](https://github.com/keystonejs/keystone/commit/81dc0be5): | ||
- [81dc0be5](https://github.com/keystonejs/keystone-5/commit/81dc0be5): | ||
@@ -133,3 +142,3 @@ - Update dependencies | ||
- [patch][e75c105c](https://github.com/keystonejs/keystone/commit/e75c105c): | ||
- [patch][e75c105c](https://github.com/keystonejs/keystone-5/commit/e75c105c): | ||
@@ -140,3 +149,3 @@ - admin revamp | ||
- [patch][7417ea3a](https://github.com/keystonejs/keystone/commit/7417ea3a): | ||
- [patch][7417ea3a](https://github.com/keystonejs/keystone-5/commit/7417ea3a): | ||
@@ -143,0 +152,0 @@ - Update patch-level dependencies |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var _defineProperty = require('@babel/runtime/helpers/defineProperty'); | ||
var _objectSpread = require('@babel/runtime/helpers/objectSpread2'); | ||
var _extends = require('@babel/runtime/helpers/extends'); | ||
@@ -15,10 +15,4 @@ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties'); | ||
var _defineProperty__default = /*#__PURE__*/_interopDefault(_defineProperty); | ||
var _extends__default = /*#__PURE__*/_interopDefault(_extends); | ||
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefault(_objectWithoutProperties); | ||
var styled__default = /*#__PURE__*/_interopDefault(styled); | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default['default'](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
const truncate = { | ||
@@ -48,5 +42,5 @@ minWidth: 0, | ||
} = _ref, | ||
props = _objectWithoutProperties__default['default'](_ref, ["as"]); | ||
props = _objectWithoutProperties(_ref, ["as"]); | ||
return core.jsx(Tag, _extends__default['default']({ | ||
return core.jsx(Tag, _extends({ | ||
css: truncate | ||
@@ -61,3 +55,3 @@ }, props)); | ||
} = _ref2, | ||
props = _objectWithoutProperties__default['default'](_ref2, ["as", "crop", "margin"]); | ||
props = _objectWithoutProperties(_ref2, ["as", "crop", "margin"]); | ||
@@ -84,3 +78,3 @@ const gutter = theme.gridSize * 3; | ||
const cropStyles = crop ? truncate : null; | ||
return core.jsx(Tag, _extends__default['default']({ | ||
return core.jsx(Tag, _extends({ | ||
css: _objectSpread(_objectSpread({ | ||
@@ -113,5 +107,5 @@ fontSize: 18, | ||
} = _ref3, | ||
props = _objectWithoutProperties__default['default'](_ref3, ["tag"]); | ||
props = _objectWithoutProperties(_ref3, ["tag"]); | ||
return core.jsx(Tag, _extends__default['default']({ | ||
return core.jsx(Tag, _extends({ | ||
css: { | ||
@@ -118,0 +112,0 @@ border: 0, |
@@ -1,64 +0,56 @@ | ||
"use strict"; | ||
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: !0 | ||
}); | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var _defineProperty = require("@babel/runtime/helpers/defineProperty"), _extends = require("@babel/runtime/helpers/extends"), _objectWithoutProperties = require("@babel/runtime/helpers/objectWithoutProperties"), core = require("@emotion/core"), styled = require("@emotion/styled"), theme = require("@arch-ui/theme"); | ||
var _objectSpread = require('@babel/runtime/helpers/objectSpread2'); | ||
var _extends = require('@babel/runtime/helpers/extends'); | ||
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties'); | ||
var core = require('@emotion/core'); | ||
var styled = require('@emotion/styled'); | ||
var theme = require('@arch-ui/theme'); | ||
function _interopDefault(e) { | ||
return e && e.__esModule ? e : { | ||
default: e | ||
}; | ||
} | ||
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; } | ||
var _defineProperty__default = _interopDefault(_defineProperty), _extends__default = _interopDefault(_extends), _objectWithoutProperties__default = _interopDefault(_objectWithoutProperties), styled__default = _interopDefault(styled); | ||
var styled__default = /*#__PURE__*/_interopDefault(styled); | ||
function ownKeys(object, enumerableOnly) { | ||
var keys = Object.keys(object); | ||
if (Object.getOwnPropertySymbols) { | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
enumerableOnly && (symbols = symbols.filter((function(sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}))), keys.push.apply(keys, symbols); | ||
} | ||
return keys; | ||
} | ||
function _objectSpread(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = null != arguments[i] ? arguments[i] : {}; | ||
i % 2 ? ownKeys(Object(source), !0).forEach((function(key) { | ||
_defineProperty__default.default(target, key, source[key]); | ||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach((function(key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
})); | ||
} | ||
return target; | ||
} | ||
const truncate = { | ||
minWidth: 0, | ||
overflow: "hidden", | ||
textOverflow: "ellipsis", | ||
whiteSpace: "nowrap" | ||
}, SubtleText = styled__default.default.span({ | ||
overflow: 'hidden', | ||
textOverflow: 'ellipsis', | ||
whiteSpace: 'nowrap' | ||
}; | ||
const SubtleText = styled__default['default'].span({ | ||
color: theme.colors.N60 | ||
}), H1 = styled__default.default.h1({ | ||
}); | ||
const H1 = styled__default['default'].h1({ | ||
fontSize: 28, | ||
fontWeight: 300, | ||
margin: "24px 0" | ||
}), PageTitle = styled__default.default.h1({ | ||
fontSize: "2.4rem", | ||
margin: '24px 0' | ||
}); | ||
const PageTitle = styled__default['default'].h1({ | ||
fontSize: '2.4rem', | ||
fontWeight: 900, | ||
marginBottom: "0.5em", | ||
marginTop: "1.0rem" | ||
}), Truncate = _ref => { | ||
let {as: Tag = "div"} = _ref, props = _objectWithoutProperties__default.default(_ref, [ "as" ]); | ||
return core.jsx(Tag, _extends__default.default({ | ||
marginBottom: '0.5em', | ||
marginTop: '1.0rem' | ||
}); | ||
const Truncate = (_ref) => { | ||
let { | ||
as: Tag = 'div' | ||
} = _ref, | ||
props = _objectWithoutProperties(_ref, ["as"]); | ||
return core.jsx(Tag, _extends({ | ||
css: truncate | ||
}, props)); | ||
}, Title = _ref2 => { | ||
let {as: Tag = "h3", crop: crop = !1, margin: margin = "none"} = _ref2, props = _objectWithoutProperties__default.default(_ref2, [ "as", "crop", "margin" ]); | ||
const gutter = 3 * theme.gridSize, offset = { | ||
}; | ||
const Title = (_ref2) => { | ||
let { | ||
as: Tag = 'h3', | ||
crop = false, | ||
margin = 'none' | ||
} = _ref2, | ||
props = _objectWithoutProperties(_ref2, ["as", "crop", "margin"]); | ||
const gutter = theme.gridSize * 3; | ||
const margins = { | ||
none: { | ||
@@ -79,36 +71,44 @@ margin: 0 | ||
} | ||
}[margin], cropStyles = crop ? truncate : null; | ||
return core.jsx(Tag, _extends__default.default({ | ||
}; | ||
const offset = margins[margin]; | ||
const cropStyles = crop ? truncate : null; | ||
return core.jsx(Tag, _extends({ | ||
css: _objectSpread(_objectSpread({ | ||
fontSize: 18, | ||
fontWeight: 600, | ||
whiteSpace: "nowrap" | ||
whiteSpace: 'nowrap' | ||
}, cropStyles), offset) | ||
}, props)); | ||
}, Kbd = styled__default.default.kbd({ | ||
}; | ||
const Kbd = styled__default['default'].kbd({ | ||
backgroundColor: theme.colors.N05, | ||
border: "1px solid " + theme.colors.N20, | ||
border: `1px solid ${theme.colors.N20}`, | ||
borderRadius: 3, | ||
boxShadow: "0 1px 1px rgba(0, 0, 0, 0.12), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset", | ||
display: "inline-block", | ||
fontFamily: "Monaco, monospace", | ||
fontSize: "0.85em", | ||
fontWeight: "bold", | ||
lineHeight: "inherit", | ||
padding: "1px 5px", | ||
position: "relative", | ||
top: "-1px", | ||
verticalAlign: "middle", | ||
whiteSpace: "nowrap" | ||
}), A11yText = _ref3 => { | ||
let {tag: Tag = "span"} = _ref3, props = _objectWithoutProperties__default.default(_ref3, [ "tag" ]); | ||
return core.jsx(Tag, _extends__default.default({ | ||
boxShadow: '0 1px 1px rgba(0, 0, 0, 0.12), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset', | ||
display: 'inline-block', | ||
fontFamily: 'Monaco, monospace', | ||
fontSize: '0.85em', | ||
fontWeight: 'bold', | ||
lineHeight: 'inherit', | ||
padding: '1px 5px', | ||
position: 'relative', | ||
top: '-1px', | ||
verticalAlign: 'middle', | ||
whiteSpace: 'nowrap' | ||
}); | ||
const A11yText = (_ref3) => { | ||
let { | ||
tag: Tag = 'span' | ||
} = _ref3, | ||
props = _objectWithoutProperties(_ref3, ["tag"]); | ||
return core.jsx(Tag, _extends({ | ||
css: { | ||
border: 0, | ||
clip: "rect(1px, 1px, 1px, 1px)", | ||
clip: 'rect(1px, 1px, 1px, 1px)', | ||
height: 1, | ||
overflow: "hidden", | ||
overflow: 'hidden', | ||
padding: 0, | ||
position: "absolute", | ||
whiteSpace: "nowrap", | ||
position: 'absolute', | ||
whiteSpace: 'nowrap', | ||
width: 1 | ||
@@ -119,3 +119,8 @@ } | ||
exports.A11yText = A11yText, exports.H1 = H1, exports.Kbd = Kbd, exports.PageTitle = PageTitle, | ||
exports.SubtleText = SubtleText, exports.Title = Title, exports.Truncate = Truncate; | ||
exports.A11yText = A11yText; | ||
exports.H1 = H1; | ||
exports.Kbd = Kbd; | ||
exports.PageTitle = PageTitle; | ||
exports.SubtleText = SubtleText; | ||
exports.Title = Title; | ||
exports.Truncate = Truncate; |
@@ -1,2 +0,2 @@ | ||
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
import _extends from '@babel/runtime/helpers/esm/extends'; | ||
@@ -8,5 +8,2 @@ import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
const truncate = { | ||
@@ -13,0 +10,0 @@ minWidth: 0, |
{ | ||
"name": "@arch-ui/typography", | ||
"description": "Typography Components used throughout @arch-ui packages and @keystonejs Admin UI.", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"author": "Jed Watson", | ||
@@ -9,15 +9,15 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"react": "^16.13.1" | ||
"react": "^17.0.1" | ||
}, | ||
"devDependencies": { | ||
"react": "^16.13.1" | ||
"react": "^17.0.1" | ||
}, | ||
"dependencies": { | ||
"@arch-ui/theme": "0.0.11", | ||
"@babel/runtime": "^7.11.2", | ||
"@emotion/core": "^10.0.35", | ||
"@arch-ui/theme": "0.0.12", | ||
"@babel/runtime": "^7.12.13", | ||
"@emotion/core": "^10.1.1", | ||
"@emotion/styled": "^10.0.27" | ||
}, | ||
"module": "dist/typography.esm.js", | ||
"repository": "https://github.com/keystonejs/keystone/tree/master/packages/arch/packages/typography" | ||
"repository": "https://github.com/keystonejs/keystone-5/tree/master/packages/arch/packages/typography" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
17271
420
1
+ Added@arch-ui/color-utils@0.0.3(transitive)
+ Added@arch-ui/theme@0.0.12(transitive)
+ Addedreact@17.0.2(transitive)
- Removed@arch-ui/color-utils@0.0.2(transitive)
- Removed@arch-ui/theme@0.0.11(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
Updated@arch-ui/theme@0.0.12
Updated@babel/runtime@^7.12.13
Updated@emotion/core@^10.1.1