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

@dhis2/ui-constants

Package Overview
Dependencies
Maintainers
15
Versions
416
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhis2/ui-constants - npm Package Compare versions

Comparing version 5.0.0-alpha.4 to 5.0.0-alpha.5

24

build/cjs/lib.js

@@ -14,3 +14,3 @@ /* eslint-disable */

*/
var colors = {
const colors = {
/*blue*/

@@ -95,3 +95,3 @@ blue900: '#093371',

var theme = {
const theme = {
/* theme */

@@ -136,3 +136,3 @@ fonts: 'Roboto, sans-serif',

*/
var layers = {
const layers = {
applicationTop: 2000,

@@ -149,3 +149,3 @@ blocking: 3000,

/** Number values of the spacer definitions */
var spacersNum = {
const spacersNum = {
dp4: 4,

@@ -169,3 +169,3 @@ dp8: 8,

var spacers = {
const spacers = {
dp4: "".concat(spacersNum.dp4, "px"),

@@ -192,3 +192,3 @@ dp8: "".concat(spacersNum.dp8, "px"),

*/
var elevations = {
const elevations = {
e100: '0 0 1px 0 rgba(64,75,90,0.20), 0 2px 1px 0 rgba(64,75,90,0.28)',

@@ -210,3 +210,3 @@ e200: '0 0 1px 0 rgba(64,75,90,0.29), 0 3px 8px -2px rgba(64,75,90,0.30)',

var statusPropType = propTypes.mutuallyExclusive(['valid', 'warning', 'error'], propTypes.bool);
const statusPropType = propTypes.mutuallyExclusive(['valid', 'warning', 'error'], propTypes.bool);
/**

@@ -218,3 +218,3 @@ * Button variant propType

var buttonVariantPropType = propTypes.mutuallyExclusive(['primary', 'secondary', 'destructive'], propTypes.bool);
const buttonVariantPropType = propTypes.mutuallyExclusive(['primary', 'secondary', 'destructive'], propTypes.bool);
/**

@@ -226,3 +226,3 @@ * Size variant propType

var sizePropType = propTypes.mutuallyExclusive(['small', 'large'], propTypes.bool);
const sizePropType = propTypes.mutuallyExclusive(['small', 'large'], propTypes.bool);
/**

@@ -233,3 +233,3 @@ * Inside alignment props

var insideAlignmentPropType = propTypes.oneOf(['top', 'middle', 'bottom']);
const insideAlignmentPropType = propTypes.oneOf(['top', 'middle', 'bottom']);
/**

@@ -240,3 +240,3 @@ * Placement properties against reference element

var referencePlacementPropType = propTypes.oneOf(['auto', 'auto-start', 'auto-end', 'top', 'top-start', 'top-end', 'bottom', // will be used as default
const referencePlacementPropType = propTypes.oneOf(['auto', 'auto-start', 'auto-end', 'top', 'top-start', 'top-end', 'bottom', // will be used as default
'bottom-start', 'bottom-end', 'right', 'right-start', 'right-end', 'left', 'left-start', 'left-end']);

@@ -249,3 +249,3 @@ /**

var elementRefPropType = propTypes.oneOfType([propTypes.func, propTypes.shape({
const elementRefPropType = propTypes.oneOfType([propTypes.func, propTypes.shape({
current: propTypes.instanceOf(Element)

@@ -252,0 +252,0 @@ })]);

@@ -8,3 +8,3 @@ /* eslint-disable */

*/
var colors = {
const colors = {
/*blue*/

@@ -89,3 +89,3 @@ blue900: '#093371',

var theme = {
const theme = {
/* theme */

@@ -130,3 +130,3 @@ fonts: 'Roboto, sans-serif',

*/
var layers = {
const layers = {
applicationTop: 2000,

@@ -143,3 +143,3 @@ blocking: 3000,

/** Number values of the spacer definitions */
var spacersNum = {
const spacersNum = {
dp4: 4,

@@ -163,3 +163,3 @@ dp8: 8,

var spacers = {
const spacers = {
dp4: "".concat(spacersNum.dp4, "px"),

@@ -186,3 +186,3 @@ dp8: "".concat(spacersNum.dp8, "px"),

*/
var elevations = {
const elevations = {
e100: '0 0 1px 0 rgba(64,75,90,0.20), 0 2px 1px 0 rgba(64,75,90,0.28)',

@@ -204,3 +204,3 @@ e200: '0 0 1px 0 rgba(64,75,90,0.29), 0 3px 8px -2px rgba(64,75,90,0.30)',

var statusPropType = propTypes.mutuallyExclusive(['valid', 'warning', 'error'], propTypes.bool);
const statusPropType = propTypes.mutuallyExclusive(['valid', 'warning', 'error'], propTypes.bool);
/**

@@ -212,3 +212,3 @@ * Button variant propType

var buttonVariantPropType = propTypes.mutuallyExclusive(['primary', 'secondary', 'destructive'], propTypes.bool);
const buttonVariantPropType = propTypes.mutuallyExclusive(['primary', 'secondary', 'destructive'], propTypes.bool);
/**

@@ -220,3 +220,3 @@ * Size variant propType

var sizePropType = propTypes.mutuallyExclusive(['small', 'large'], propTypes.bool);
const sizePropType = propTypes.mutuallyExclusive(['small', 'large'], propTypes.bool);
/**

@@ -227,3 +227,3 @@ * Inside alignment props

var insideAlignmentPropType = propTypes.oneOf(['top', 'middle', 'bottom']);
const insideAlignmentPropType = propTypes.oneOf(['top', 'middle', 'bottom']);
/**

@@ -234,3 +234,3 @@ * Placement properties against reference element

var referencePlacementPropType = propTypes.oneOf(['auto', 'auto-start', 'auto-end', 'top', 'top-start', 'top-end', 'bottom', // will be used as default
const referencePlacementPropType = propTypes.oneOf(['auto', 'auto-start', 'auto-end', 'top', 'top-start', 'top-end', 'bottom', // will be used as default
'bottom-start', 'bottom-end', 'right', 'right-start', 'right-end', 'left', 'left-start', 'left-end']);

@@ -243,3 +243,3 @@ /**

var elementRefPropType = propTypes.oneOfType([propTypes.func, propTypes.shape({
const elementRefPropType = propTypes.oneOfType([propTypes.func, propTypes.shape({
current: propTypes.instanceOf(Element)

@@ -246,0 +246,0 @@ })]);

{
"name": "@dhis2/ui-constants",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "Constants used in the UI libs",

@@ -5,0 +5,0 @@ "main": "build/cjs/lib.js",

Sorry, the diff of this file is not supported yet

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