@domoinc/da-theme2
Advanced tools
Comparing version 2.3.1 to 2.4.0
{ | ||
"name": "da-theme2", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"authors": [ | ||
@@ -5,0 +5,0 @@ "Domo Inc." |
@@ -206,2 +206,3 @@ /*! Copyright 2016 Domo Inc. */ | ||
//domoColorsKey is deprecated | ||
theme.domoColorsKey = { | ||
@@ -211,11 +212,12 @@ blues: 0, greens: 1, oranges: 2, | ||
}; | ||
theme.domoColorKey = ['Blue', 'Green', 'Orange', 'Purple', 'Pink', 'Teal', 'Red']; | ||
theme.domoColors = [ | ||
//Shade 1, Shade 2, Shade 3, Shade 4, Shade 5, Shade 6 | ||
['#D9EBFD', '#B7DAF5', '#90c4e4', '#73B0D7', '#4E8CBA', '#31689B'],//Blues | ||
['#DDF4BA', '#BBE491', '#A0D771', '#80C25D', '#559E38', '#387B26'],//Greens | ||
['#FDECAD', '#FCCF84', '#FBAD56', '#FB8D34', '#E45621', '#A43724'],//Oranges | ||
['#F3E4FE', '#DDC8EF', '#C5ACDE', '#B391CA', '#8F6DC0', '#7940A1'],//Purples | ||
['#FCD7E6', '#FBB6DD', '#F395CD', '#EE76BF', '#CF51AC', '#A62A92'],//Pink | ||
['#D8F4DE', '#ABE4CA', '#8DD5BE', '#68BEA8', '#46998A', '#227872'],//Teals | ||
['#FDDDDD', '#FCBCB7', '#FD9A93', '#FD7F76', '#e45850', '#c92e25'] //Reds | ||
['#D9EBFD', '#B7DAF5', '#90c4e4', '#73B0D7', '#4E8CBA', '#31689B'], // Blues | ||
['#DDF4BA', '#BBE491', '#A0D771', '#80C25D', '#559E38', '#387B26'], // Greens | ||
['#FDECAD', '#FCCF84', '#FBAD56', '#FB8D34', '#E45621', '#A43724'], // Oranges | ||
['#F3E4FE', '#DDC8EF', '#C5ACDE', '#B391CA', '#8F6DC0', '#7940A1'], // Purples | ||
['#FCD7E6', '#FBB6DD', '#F395CD', '#EE76BF', '#CF51AC', '#A62A92'], // Pink | ||
['#D8F4DE', '#ABE4CA', '#8DD5BE', '#68BEA8', '#46998A', '#227872'], // Teals | ||
['#FDDDDD', '#FCBCB7', '#FD9A93', '#FD7F76', '#e45850', '#c92e25'] // Reds | ||
]; | ||
@@ -612,2 +614,12 @@ | ||
----------------------------------------------------------------------------------*/ | ||
primaryColorKey: function(options) { | ||
return _.assign({ | ||
theme: 'primaryColorKey', | ||
name: 'Primary Color Series key', | ||
description: 'Names of colors in each row of the primary color series', | ||
category: 'Series Colors', | ||
value: theme.domoColorKey, | ||
type: 'colorArray' | ||
}, options); | ||
}, | ||
primaryColorSeries: function (options) { | ||
@@ -1431,2 +1443,3 @@ return _.assign({ | ||
/***/ }, | ||
@@ -1433,0 +1446,0 @@ /* 1 */ |
@@ -6,2 +6,3 @@ var blue = '\x1B[0;36m'; | ||
var webpackConfig = require("./webpack.config.js"); | ||
var shell = require('shelljs'); | ||
@@ -50,3 +51,3 @@ module.exports = function(grunt) { | ||
additionalFiles: ['package.json'], | ||
beforeRelease: ['build'], | ||
beforeRelease: ['build', 'addBundle'], | ||
npm: true, //default: true | ||
@@ -69,2 +70,5 @@ npmtag: false, //default: no tag | ||
grunt.registerTask('build', ['default']); | ||
grunt.registerTask('addBundle', function() { | ||
shell.exec('git add ' + webpackConfig.output.path + '/' + webpackConfig.output.filename); | ||
}); | ||
@@ -71,0 +75,0 @@ // Deploy to Github with tags |
{ | ||
"name": "@domoinc/da-theme2", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "daTheme2 - Domo Widget", | ||
@@ -23,2 +23,3 @@ "main": "dist/bundle.js", | ||
"load-grunt-tasks": "^3.4.0", | ||
"shelljs": "^0.6.0", | ||
"webpack": "^1.12.12", | ||
@@ -25,0 +26,0 @@ "webpack-dev-server": "^1.14.1" |
@@ -149,2 +149,3 @@ var _ = require('lodash'); | ||
//domoColorsKey is deprecated | ||
theme.domoColorsKey = { | ||
@@ -154,11 +155,12 @@ blues: 0, greens: 1, oranges: 2, | ||
}; | ||
theme.domoColorKey = ['Blue', 'Green', 'Orange', 'Purple', 'Pink', 'Teal', 'Red']; | ||
theme.domoColors = [ | ||
//Shade 1, Shade 2, Shade 3, Shade 4, Shade 5, Shade 6 | ||
['#D9EBFD', '#B7DAF5', '#90c4e4', '#73B0D7', '#4E8CBA', '#31689B'],//Blues | ||
['#DDF4BA', '#BBE491', '#A0D771', '#80C25D', '#559E38', '#387B26'],//Greens | ||
['#FDECAD', '#FCCF84', '#FBAD56', '#FB8D34', '#E45621', '#A43724'],//Oranges | ||
['#F3E4FE', '#DDC8EF', '#C5ACDE', '#B391CA', '#8F6DC0', '#7940A1'],//Purples | ||
['#FCD7E6', '#FBB6DD', '#F395CD', '#EE76BF', '#CF51AC', '#A62A92'],//Pink | ||
['#D8F4DE', '#ABE4CA', '#8DD5BE', '#68BEA8', '#46998A', '#227872'],//Teals | ||
['#FDDDDD', '#FCBCB7', '#FD9A93', '#FD7F76', '#e45850', '#c92e25'] //Reds | ||
['#D9EBFD', '#B7DAF5', '#90c4e4', '#73B0D7', '#4E8CBA', '#31689B'], // Blues | ||
['#DDF4BA', '#BBE491', '#A0D771', '#80C25D', '#559E38', '#387B26'], // Greens | ||
['#FDECAD', '#FCCF84', '#FBAD56', '#FB8D34', '#E45621', '#A43724'], // Oranges | ||
['#F3E4FE', '#DDC8EF', '#C5ACDE', '#B391CA', '#8F6DC0', '#7940A1'], // Purples | ||
['#FCD7E6', '#FBB6DD', '#F395CD', '#EE76BF', '#CF51AC', '#A62A92'], // Pink | ||
['#D8F4DE', '#ABE4CA', '#8DD5BE', '#68BEA8', '#46998A', '#227872'], // Teals | ||
['#FDDDDD', '#FCBCB7', '#FD9A93', '#FD7F76', '#e45850', '#c92e25'] // Reds | ||
]; | ||
@@ -555,2 +557,12 @@ | ||
----------------------------------------------------------------------------------*/ | ||
primaryColorKey: function(options) { | ||
return _.assign({ | ||
theme: 'primaryColorKey', | ||
name: 'Primary Color Series key', | ||
description: 'Names of colors in each row of the primary color series', | ||
category: 'Series Colors', | ||
value: theme.domoColorKey, | ||
type: 'colorArray' | ||
}, options); | ||
}, | ||
primaryColorSeries: function (options) { | ||
@@ -1372,2 +1384,2 @@ return _.assign({ | ||
module.exports = daTheme2; | ||
module.exports = daTheme2; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138227
14
2832
11
1