New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@workday/canvas-kit-react-core

Package Overview
Dependencies
Maintainers
6
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workday/canvas-kit-react-core - npm Package Compare versions

Comparing version 4.4.3-next.10 to 5.0.0-beta.0

2

dist/commonjs/lib/type.d.ts
import { CSSProperties } from './types';
export declare const fontFamily: string;
export declare const monoFontFamily: string;
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace";
export interface CanvasTypeHierarchy {

@@ -5,0 +5,0 @@ dataViz1: CSSProperties;

@@ -28,9 +28,6 @@ "use strict";

var inheritFont = typeof window !== 'undefined' && get_1.default(window, 'window.workday.canvas.inheritFontFamily');
var inheritMonoFont = typeof window !== 'undefined' && get_1.default(window, 'window.workday.canvas.inheritMonoFontFamily');
exports.fontFamily = inheritFont
? 'inherit'
: '"Roboto", "Helvetica Neue", "Helvetica", Arial, sans-serif';
exports.monoFontFamily = inheritMonoFont === true
? 'inherit'
: inheritMonoFont || '"Roboto Mono", "Courier New", Courier, monospace';
exports.monoFontFamily = '"Roboto Mono", "Courier New", Courier, monospace';
var hierarchy = {

@@ -37,0 +34,0 @@ dataViz1: {

import { CSSProperties } from './types';
export declare const fontFamily: string;
export declare const monoFontFamily: string;
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace";
export interface CanvasTypeHierarchy {

@@ -5,0 +5,0 @@ dataViz1: CSSProperties;

@@ -16,9 +16,6 @@ var __assign = (this && this.__assign) || function () {

var inheritFont = typeof window !== 'undefined' && get(window, 'window.workday.canvas.inheritFontFamily');
var inheritMonoFont = typeof window !== 'undefined' && get(window, 'window.workday.canvas.inheritMonoFontFamily');
export var fontFamily = inheritFont
? 'inherit'
: '"Roboto", "Helvetica Neue", "Helvetica", Arial, sans-serif';
export var monoFontFamily = inheritMonoFont === true
? 'inherit'
: inheritMonoFont || '"Roboto Mono", "Courier New", Courier, monospace';
export var monoFontFamily = '"Roboto Mono", "Courier New", Courier, monospace';
var hierarchy = {

@@ -25,0 +22,0 @@ dataViz1: {

@@ -6,14 +6,8 @@ import get from 'lodash/get';

const inheritFont: boolean =
const inheritFont =
typeof window !== 'undefined' && get(window, 'window.workday.canvas.inheritFontFamily');
const inheritMonoFont: boolean | string =
typeof window !== 'undefined' && get(window, 'window.workday.canvas.inheritMonoFontFamily');
export const fontFamily = inheritFont
? 'inherit'
: '"Roboto", "Helvetica Neue", "Helvetica", Arial, sans-serif';
export const monoFontFamily =
inheritMonoFont === true
? 'inherit'
: inheritMonoFont || '"Roboto Mono", "Courier New", Courier, monospace';
export const monoFontFamily = '"Roboto Mono", "Courier New", Courier, monospace';

@@ -20,0 +14,0 @@ export interface CanvasTypeHierarchy {

{
"name": "@workday/canvas-kit-react-core",
"version": "4.4.3-next.10+221fa1c2",
"version": "5.0.0-beta.0",
"description": "A group of core primitives (i.e. colors, text, etc.)",

@@ -60,5 +60,5 @@ "author": "Workday, Inc. (https://www.workday.com)",

"devDependencies": {
"@workday/canvas-kit-react-common": "^4.4.3-next.10+221fa1c2"
"@workday/canvas-kit-react-common": "^5.0.0-beta.0"
},
"gitHead": "221fa1c2f64bda948733f57bcaa3af31415fa17b"
"gitHead": "ade72d007b8c3f250fc22073e270c965cbc2b196"
}
import { CSSProperties } from './types';
export declare const fontFamily: string;
export declare const monoFontFamily: string;
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace";
export interface CanvasTypeHierarchy {

@@ -5,0 +5,0 @@ dataViz1: CSSProperties;

import { CSSProperties } from './types';
export declare const fontFamily: string;
export declare const monoFontFamily: string;
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace";
export interface CanvasTypeHierarchy {

@@ -5,0 +5,0 @@ dataViz1: CSSProperties;

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