@workday/canvas-kit-react-core
Advanced tools
Comparing version 4.3.1-beta.0-next.3 to 4.3.1-beta.0-next.5
import { CSSProperties } from './types'; | ||
export declare const fontFamily: string; | ||
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace"; | ||
export declare const monoFontFamily: string; | ||
export interface CanvasTypeHierarchy { | ||
@@ -5,0 +5,0 @@ dataViz1: CSSProperties; |
@@ -28,6 +28,9 @@ "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 = '"Roboto Mono", "Courier New", Courier, monospace'; | ||
exports.monoFontFamily = inheritMonoFont === true | ||
? 'inherit' | ||
: inheritMonoFont || '"Roboto Mono", "Courier New", Courier, monospace'; | ||
var hierarchy = { | ||
@@ -34,0 +37,0 @@ dataViz1: { |
import { CSSProperties } from './types'; | ||
export declare const fontFamily: string; | ||
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace"; | ||
export declare const monoFontFamily: string; | ||
export interface CanvasTypeHierarchy { | ||
@@ -5,0 +5,0 @@ dataViz1: CSSProperties; |
@@ -16,6 +16,9 @@ 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 = '"Roboto Mono", "Courier New", Courier, monospace'; | ||
export var monoFontFamily = inheritMonoFont === true | ||
? 'inherit' | ||
: inheritMonoFont || '"Roboto Mono", "Courier New", Courier, monospace'; | ||
var hierarchy = { | ||
@@ -22,0 +25,0 @@ dataViz1: { |
@@ -6,8 +6,14 @@ import get from 'lodash/get'; | ||
const inheritFont = | ||
const inheritFont: boolean = | ||
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 = '"Roboto Mono", "Courier New", Courier, monospace'; | ||
export const monoFontFamily = | ||
inheritMonoFont === true | ||
? 'inherit' | ||
: inheritMonoFont || '"Roboto Mono", "Courier New", Courier, monospace'; | ||
@@ -14,0 +20,0 @@ export interface CanvasTypeHierarchy { |
{ | ||
"name": "@workday/canvas-kit-react-core", | ||
"version": "4.3.1-beta.0-next.3+46d06aaa", | ||
"version": "4.3.1-beta.0-next.5+87a8a017", | ||
"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.3.1-beta.0-next.3+46d06aaa" | ||
"@workday/canvas-kit-react-common": "^4.3.1-beta.0-next.5+87a8a017" | ||
}, | ||
"gitHead": "46d06aaa0f3f1c5462ee6baa496b62e7d2920bab" | ||
"gitHead": "87a8a0179be158c5401cddc790a1d8e2b00f1e98" | ||
} |
import { CSSProperties } from './types'; | ||
export declare const fontFamily: string; | ||
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace"; | ||
export declare const monoFontFamily: string; | ||
export interface CanvasTypeHierarchy { | ||
@@ -5,0 +5,0 @@ dataViz1: CSSProperties; |
import { CSSProperties } from './types'; | ||
export declare const fontFamily: string; | ||
export declare const monoFontFamily = "\"Roboto Mono\", \"Courier New\", Courier, monospace"; | ||
export declare const monoFontFamily: string; | ||
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
277252
5094