Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/dashboard

Package Overview
Dependencies
Maintainers
10
Versions
499
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/dashboard - npm Package Compare versions

Comparing version 0.140.12 to 0.140.16

5

lib/widgets/sanityTutorials/SanityTutorials.js

@@ -50,2 +50,3 @@ "use strict";

var feedItems = this.state.feedItems;
var title = 'Learn about Sanity';
return _react.default.createElement("div", {

@@ -57,3 +58,3 @@ className: _SanityTutorials.default.root

className: _SanityTutorials.default.title
}, "Guides & tutorials")), _react.default.createElement("ul", {
}, title)), _react.default.createElement("ul", {
className: _SanityTutorials.default.grid

@@ -74,3 +75,3 @@ }, feedItems.map(feedItem => {

presenterSubtitle: `${(0, _dateFns.distanceInWords)(new Date(date), new Date())} ago`,
posterURL: urlBuilder.image(feedItem.poster).height(240).url()
posterURL: urlBuilder.image(feedItem.poster).height(360).url()
}));

@@ -77,0 +78,0 @@ })));

4

lib/widgets/sanityTutorials/Tutorial.js

@@ -34,3 +34,5 @@ "use strict";

src: posterURL
})), _react.default.createElement("h3", {
}), _react.default.createElement("div", {
className: _Tutorial.default.playIcon
}, _react.default.createElement("span", null))), _react.default.createElement("h3", {
className: _Tutorial.default.title

@@ -37,0 +39,0 @@ }, title), _react.default.createElement("div", {

{
"name": "@sanity/dashboard",
"version": "0.140.12",
"version": "0.140.16",
"description": "Tool for rendering dashboard widgets",

@@ -49,3 +49,3 @@ "main": "src/DashboardTool.js",

"homepage": "https://www.sanity.io/",
"gitHead": "749e9886735303e3c04a481f2a3a800e4e9bf8c5"
"gitHead": "0eb46e8bc7d3c7cbef4a7e9152808cc2d18545c4"
}

@@ -29,6 +29,7 @@ import React from 'react'

const {feedItems} = this.state
const title = 'Learn about Sanity'
return (
<div className={styles.root}>
<header className={styles.header}>
<h1 className={styles.title}>Guides & tutorials</h1>
<h1 className={styles.title}>{title}</h1>
</header>

@@ -51,3 +52,3 @@ <ul className={styles.grid}>

.image(feedItem.poster)
.height(240)
.height(360)
.url()}

@@ -54,0 +55,0 @@ />

@@ -24,2 +24,5 @@ import React from 'react'

<img className={styles.poster} src={posterURL} />
<div className={styles.playIcon}>
<span />
</div>
</div>

@@ -26,0 +29,0 @@ <h3 className={styles.title}>{title}</h3>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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