@vizabi/core
Advanced tools
Comparing version 1.23.1 to 1.23.2
@@ -1,2 +0,2 @@ | ||
// http://vizabi.org v1.23.1 Copyright 2022 Jasper Heeffer and others at Gapminder Foundation | ||
// http://vizabi.org v1.23.2 Copyright 2022 Jasper Heeffer and others at Gapminder Foundation | ||
(function (global, factory) { | ||
@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx')) : |
{ | ||
"name": "@vizabi/core", | ||
"version": "1.23.1", | ||
"version": "1.23.2", | ||
"description": "Vizabi core (data layer)", | ||
@@ -5,0 +5,0 @@ "main": "dist/Vizabi.js", |
@@ -46,2 +46,6 @@ import { applyDefaults, assign, createModel, isString } from "../utils"; | ||
get isPattern() { | ||
return !!(this.domain && this.domain.length && this.domain.some(color => color && color.length && color[0] == "<")); | ||
}, | ||
get palette() { | ||
@@ -48,0 +52,0 @@ const config = resolveRef(this.config.palette).value || defaultConfig.palette; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1224082
12834