@twilio-paste/list
Advanced tools
Comparing version 0.2.45 to 0.2.46
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.2.46](https://github.com/twilio-labs/paste/compare/@twilio-paste/list@0.2.45...@twilio-paste/list@0.2.46) (2020-10-13) | ||
**Note:** Version bump only for package @twilio-paste/list | ||
## [0.2.45](https://github.com/twilio-labs/paste/compare/@twilio-paste/list@0.2.44...@twilio-paste/list@0.2.45) (2020-10-07) | ||
@@ -8,0 +16,0 @@ |
@@ -1,15 +0,1 @@ | ||
import{createElement as t}from"react";import{safelySpreadTextProps as r,Text as o}from"@twilio-paste/text";import{isMarginTokenProp as e}from"@twilio-paste/style-props"; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */var n=function(){return(n=Object.assign||function(t){for(var r,o=1,e=arguments.length;o<e;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}).apply(this,arguments)};function i(t,r){var o={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(o[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(e=Object.getOwnPropertySymbols(t);n<e.length;n++)r.indexOf(e[n])<0&&Object.prototype.propertyIsEnumerable.call(t,e[n])&&(o[e[n]]=t[e[n]])}return o}var a=function(r){var e=r.as,a=r.children,p=i(r,["as","children"]);return t(o,n({},p,{as:e,marginLeft:"space70",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText"}),a)};a.displayName="List";var p=function(o){var e=o.children,p=o.marginTop,m=o.marginBottom,l=i(o,["children","marginTop","marginBottom"]);return t(a,n({},r(l),{as:"ol",marginTop:p,marginBottom:m}),e)};p.defaultProps={marginBottom:"space70"},"development"===process.env.NODE_ENV&&(p.propTypes={marginTop:e,marginBottom:e}),p.displayName="OrderedList";var m=function(o){var e=o.children,p=o.marginTop,m=o.marginBottom,l=i(o,["children","marginTop","marginBottom"]);return t(a,n({},r(l),{as:"ul",marginTop:p,marginBottom:m}),e)};m.defaultProps={marginBottom:"space70"},"development"===process.env.NODE_ENV&&(m.propTypes={marginTop:e,marginBottom:e}),m.displayName="UnorderedList";var l=function(e){return t(o,n({},r(e),{as:"li",marginTop:"space30",marginBottom:"space30",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText"}),e.children)};l.displayName="ListItem";export{l as ListItem,p as OrderedList,m as UnorderedList}; | ||
import{createElement as t}from"react";import{safelySpreadTextProps as r,Text as o}from"@twilio-paste/text";import{isMarginTokenProp as e}from"@twilio-paste/style-props";var n=function(){return(n=Object.assign||function(t){for(var r,o=1,e=arguments.length;o<e;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}).apply(this,arguments)};function i(t,r){var o={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(o[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(e=Object.getOwnPropertySymbols(t);n<e.length;n++)r.indexOf(e[n])<0&&Object.prototype.propertyIsEnumerable.call(t,e[n])&&(o[e[n]]=t[e[n]])}return o}var a=function(r){var e=r.as,a=r.children,p=i(r,["as","children"]);return t(o,n({},p,{as:e,marginLeft:"space70",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText"}),a)};a.displayName="List";var p=function(o){var e=o.children,p=o.marginTop,m=o.marginBottom,l=i(o,["children","marginTop","marginBottom"]);return t(a,n({},r(l),{as:"ol",marginTop:p,marginBottom:m}),e)};p.defaultProps={marginBottom:"space70"},"development"===process.env.NODE_ENV&&(p.propTypes={marginTop:e,marginBottom:e}),p.displayName="OrderedList";var m=function(o){var e=o.children,p=o.marginTop,m=o.marginBottom,l=i(o,["children","marginTop","marginBottom"]);return t(a,n({},r(l),{as:"ul",marginTop:p,marginBottom:m}),e)};m.defaultProps={marginBottom:"space70"},"development"===process.env.NODE_ENV&&(m.propTypes={marginTop:e,marginBottom:e}),m.displayName="UnorderedList";var l=function(e){return t(o,n({},r(e),{as:"li",marginTop:"space30",marginBottom:"space30",fontSize:"fontSize30",lineHeight:"lineHeight40",fontWeight:"fontWeightNormal",color:"colorText"}),e.children)};l.displayName="ListItem";export{l as ListItem,p as OrderedList,m as UnorderedList}; |
{ | ||
"name": "@twilio-paste/list", | ||
"version": "0.2.45", | ||
"version": "0.2.46", | ||
"category": "typography", | ||
@@ -31,8 +31,8 @@ "status": "production", | ||
"peerDependencies": { | ||
"@twilio-paste/design-tokens": "^6.3.3", | ||
"@twilio-paste/style-props": "^1.8.2", | ||
"@twilio-paste/design-tokens": "^6.3.4", | ||
"@twilio-paste/style-props": "^1.8.3", | ||
"@twilio-paste/styling-library": "^0.1.2", | ||
"@twilio-paste/text": "^2.3.9", | ||
"@twilio-paste/theme": "^3.2.23", | ||
"@twilio-paste/types": "^3.0.25", | ||
"@twilio-paste/text": "^2.3.10", | ||
"@twilio-paste/theme": "^3.2.24", | ||
"@twilio-paste/types": "^3.0.26", | ||
"prop-types": "^15.7.2", | ||
@@ -44,9 +44,9 @@ "react": "^16.8.6", | ||
"@twilio-paste/design-tokens": "^6.3.4", | ||
"@twilio-paste/style-props": "^1.8.3", | ||
"@twilio-paste/styling-library": "^0.1.2", | ||
"@twilio-paste/text": "^2.3.10", | ||
"@twilio-paste/theme": "^3.2.24", | ||
"@twilio-paste/types": "^3.0.26" | ||
"@twilio-paste/style-props": "^1.8.4", | ||
"@twilio-paste/styling-library": "^0.1.3", | ||
"@twilio-paste/text": "^2.3.11", | ||
"@twilio-paste/theme": "^3.2.25", | ||
"@twilio-paste/types": "^3.0.27" | ||
}, | ||
"gitHead": "099694d89be8b73b83fb7d5496c5d659af26c08a" | ||
"gitHead": "7b34b4af994258e26c6f6d4ac82ae9a7ec7d38df" | ||
} |
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
23570
36