@asphalt-react/breadcrumb
Advanced tools
Comparing version 2.0.0-alpha.29 to 2.0.0-rc.0
import React, { Fragment, forwardRef } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import cn from 'classnames'; | ||
import { Button } from '@asphalt-react/button'; | ||
import { More } from '@asphalt-react/iconpack'; | ||
import cn from 'classnames'; | ||
import { sendStyles } from '@asphalt-react/context'; | ||
@@ -62,3 +62,3 @@ | ||
const Separator=({children,...props})=>{const{style,className,...rest}=props;return React.createElement("li",_extends({"aria-hidden":"true"},rest,{className:styles$3.Separator}),children)};Separator.displayName="Separator";Separator.propTypes={children:PropTypes.node.isRequired}; | ||
const Separator=({children,...props})=>{const{style,className,...rest}=props;return React.createElement("li",_extends({},rest,{"aria-hidden":"true",className:styles$3.Separator}),children)};Separator.displayName="Separator";Separator.propTypes={children:PropTypes.node.isRequired}; | ||
@@ -65,0 +65,0 @@ const isConsecutive=values=>{if(values.length===1){return true}return values.some((value,idx)=>{if(idx===0){return false}return !(value-values[idx-1]>1)})};const isIndexOutOfRange=(indexes,length)=>{return indexes.find(index=>{return index<0||index>=length})}; |
{ | ||
"name": "@asphalt-react/breadcrumb", | ||
"version": "2.0.0-alpha.29", | ||
"version": "2.0.0-rc.0", | ||
"description": "Breadcrumb", | ||
@@ -39,12 +39,16 @@ "keywords": [ | ||
}, | ||
"devDependencies": { | ||
"@asphalt-react/build": "^2.0.0-rc.0", | ||
"@testing-library/react": "^11.2.7" | ||
}, | ||
"dependencies": { | ||
"@asphalt-react/button": "^2.0.0-alpha.29", | ||
"@asphalt-react/context": "^2.0.0-alpha.28", | ||
"@asphalt-react/helper": "^2.0.0-alpha.19", | ||
"@asphalt-react/iconpack": "^2.0.0-alpha.13", | ||
"classnames": "^2.3.1", | ||
"prop-types": "^15.7.2" | ||
"@asphalt-react/button": "^2.0.0-rc.0", | ||
"@asphalt-react/context": "^2.0.0-rc.0", | ||
"@asphalt-react/helper": "^2.0.0-rc.0", | ||
"@asphalt-react/iconpack": "^2.0.0-rc.0", | ||
"classnames": "^2.5.1", | ||
"prop-types": "^15.8.1" | ||
}, | ||
"license": "UNLICENSED", | ||
"gitHead": "491625ede025781fe585a96c527222cace330f28" | ||
"gitHead": "0a2be217d9bbadcc6038c32860c6c7ee0e848894" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
26419
0
2