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

@coorpacademy/components

Package Overview
Dependencies
Maintainers
12
Versions
2098
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coorpacademy/components - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

package.json
{
"name": "@coorpacademy/components",
"version": "2.1.1",
"version": "2.1.2",
"description": "Component library for web front ends",

@@ -5,0 +5,0 @@ "main": "lib/components/index.js",

@@ -1,2 +0,1 @@

import noop from 'lodash/fp/noop';
import { checker, createValidate } from '../../util/validation';

@@ -12,4 +11,2 @@ import {createNavigationHandler} from '../../util/navigation';

const {h} = treant;
const {dispatch = noop} = options;
const onClick = createNavigationHandler(options);

@@ -16,0 +13,0 @@

@@ -26,3 +26,3 @@ import getOr from 'lodash/fp/getOr';

const {h} = treant;
const {title, product, onClick, selected, levels} = props;
const {title, product, onClick, selected = 0, levels} = props;

@@ -29,0 +29,0 @@ return (

@@ -16,3 +16,3 @@ import { checker, createValidate } from '../../util/validation';

const {h} = treant;
const {onClick, selected, levels = []} = props;
const {onClick, selected = 0, levels = []} = props;

@@ -19,0 +19,0 @@ return (

@@ -17,5 +17,5 @@ import get from 'lodash/fp/get';

const color = {
plain: get('theme.lock', skin),
plain: get('common.lock', skin),
default: get('texts.inverted', skin),
disabled: get('theme.common.disabled', skin)
disabled: get('common.disabled', skin)
};

@@ -36,3 +36,3 @@

disabled: {
color: get('theme.common.disabled', skin),
color: get('common.disabled', skin),
backgroundColor: get('backgrounds.input', skin)

@@ -39,0 +39,0 @@ },

@@ -21,3 +21,3 @@ import get from 'lodash/fp/get';

const bgColor = getOr('transparent', 'theme.background', skin);
const bgColor = getOr('transparent', 'common.background', skin);

@@ -24,0 +24,0 @@ const DisciplineCards = (props, children) => {

@@ -8,2 +8,5 @@ import curry from 'lodash/fp/curry';

export const createNavigationHandler = curry(({dispatch, history}, event) => {
if (!dispatch || !history)
return;
if (event.defaultPrevented)

@@ -10,0 +13,0 @@ return;

Sorry, the diff of this file is too big to display

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