Socket
Socket
Sign inDemoInstall

@uswitch/spark.breadcrumbs

Package Overview
Dependencies
Maintainers
22
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uswitch/spark.breadcrumbs - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

lib/cjs/index.js

@@ -69,4 +69,4 @@ var __create = Object.create;

const Breadcrumbs = import_react.default.forwardRef((_a, ref) => {
var _b = _a, { crumbs, home } = _b, props = __objRest(_b, ["crumbs", "home"]);
return /* @__PURE__ */ (0, import_theme_ui.jsx)("nav", __spreadValues({
var _b = _a, { as: As = "nav", crumbs, home } = _b, props = __objRest(_b, ["as", "crumbs", "home"]);
return /* @__PURE__ */ (0, import_theme_ui.jsx)(As, __spreadValues({
ref,

@@ -73,0 +73,0 @@ sx: { variant: variantPath() }

@@ -45,4 +45,4 @@ var __defProp = Object.defineProperty;

const Breadcrumbs = React.forwardRef((_a, ref) => {
var _b = _a, { crumbs, home } = _b, props = __objRest(_b, ["crumbs", "home"]);
return /* @__PURE__ */ jsx("nav", __spreadValues({
var _b = _a, { as: As = "nav", crumbs, home } = _b, props = __objRest(_b, ["as", "crumbs", "home"]);
return /* @__PURE__ */ jsx(As, __spreadValues({
ref,

@@ -49,0 +49,0 @@ sx: { variant: variantPath() }

{
"name": "@uswitch/spark.breadcrumbs",
"version": "0.1.2",
"version": "0.1.3",
"description": "",

@@ -19,5 +19,5 @@ "repository": "https://github.com/uswitch/spark",

"@uswitch/spark-icons": "*",
"@uswitch/spark.link": "^0.1.2",
"@uswitch/spark.type": "^0.1.2",
"@uswitch/spark.utils": "^0.1.2"
"@uswitch/spark.link": "^0.1.3",
"@uswitch/spark.type": "^0.1.3",
"@uswitch/spark.utils": "^0.1.3"
},

@@ -32,3 +32,3 @@ "peerDependencies": {

},
"gitHead": "df5960ab06ccf4d5d1782e31971e4cbce1509bc6"
"gitHead": "5ff5d0e2f321b6e77e9c3f524c8a4f5267944424"
}

@@ -20,4 +20,4 @@ /** @jsx jsx */

export const Breadcrumbs = React.forwardRef(
({ crumbs, home, ...props }, ref) => (
<nav ref={ref} sx={{ variant: variantPath() }} {...props}>
({ as: As = 'nav', crumbs, home, ...props }, ref) => (
<As ref={ref} sx={{ variant: variantPath() }} {...props}>
{home && (

@@ -67,3 +67,3 @@ <>

})}
</nav>
</As>
)

@@ -70,0 +70,0 @@ )

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc