@dhis2-ui/card
Advanced tools
Comparing version 9.11.0 to 9.11.1-beta.1
@@ -7,15 +7,8 @@ "use strict"; | ||
exports.Card = void 0; | ||
var _style = _interopRequireDefault(require("styled-jsx/style")); | ||
var _uiConstants = require("@dhis2/ui-constants"); | ||
var _classnames = _interopRequireDefault(require("classnames")); | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
var _react = _interopRequireDefault(require("react")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
const Card = _ref => { | ||
@@ -33,5 +26,4 @@ let { | ||
dynamic: [_uiConstants.colors.white, _uiConstants.elevations.e100] | ||
}, ["div.__jsx-style-dynamic-selector{display:inline-block;position:relative;width:100%;height:100%;border-radius:3px;background:".concat(_uiConstants.colors.white, ";box-shadow:").concat(_uiConstants.elevations.e100, ";}")])); | ||
}, [`div.__jsx-style-dynamic-selector{display:inline-block;position:relative;width:100%;height:100%;border-radius:3px;background:${_uiConstants.colors.white};box-shadow:${_uiConstants.elevations.e100};}`])); | ||
}; | ||
exports.Card = Card; | ||
@@ -38,0 +30,0 @@ Card.defaultProps = { |
"use strict"; | ||
var _cypressCucumberPreprocessor = require("@badeball/cypress-cucumber-preprocessor"); | ||
(0, _cypressCucumberPreprocessor.Given)('a Card with children is rendered', () => { | ||
@@ -6,0 +5,0 @@ cy.visitStory('Card', 'With children'); |
@@ -12,3 +12,2 @@ "use strict"; | ||
}); | ||
var _card = require("./card.js"); |
@@ -6,3 +6,2 @@ import _JSXStyle from "styled-jsx/style"; | ||
import React from 'react'; | ||
const Card = _ref => { | ||
@@ -20,5 +19,4 @@ let { | ||
dynamic: [colors.white, elevations.e100] | ||
}, ["div.__jsx-style-dynamic-selector{display:inline-block;position:relative;width:100%;height:100%;border-radius:3px;background:".concat(colors.white, ";box-shadow:").concat(elevations.e100, ";}")])); | ||
}, [`div.__jsx-style-dynamic-selector{display:inline-block;position:relative;width:100%;height:100%;border-radius:3px;background:${colors.white};box-shadow:${elevations.e100};}`])); | ||
}; | ||
Card.defaultProps = { | ||
@@ -25,0 +23,0 @@ dataTest: 'dhis2-uicore-card' |
{ | ||
"name": "@dhis2-ui/card", | ||
"version": "9.11.0", | ||
"version": "9.11.1-beta.1", | ||
"description": "UI Card", | ||
@@ -25,3 +25,3 @@ "repository": { | ||
"scripts": { | ||
"start": "start-storybook -c ../../storybook/config --port 5000", | ||
"start": "storybook dev -c ../../storybook/config --port 5000", | ||
"build": "d2-app-scripts build", | ||
@@ -31,4 +31,4 @@ "test": "d2-app-scripts test --jestConfig ../../jest.config.shared.js" | ||
"peerDependencies": { | ||
"react": "^16.8", | ||
"react-dom": "^16.8", | ||
"react": "^16.13", | ||
"react-dom": "^16.13", | ||
"styled-jsx": "^4" | ||
@@ -38,3 +38,3 @@ }, | ||
"@dhis2/prop-types": "^3.1.2", | ||
"@dhis2/ui-constants": "9.11.0", | ||
"@dhis2/ui-constants": "9.11.1-beta.1", | ||
"classnames": "^2.3.1", | ||
@@ -41,0 +41,0 @@ "prop-types": "^15.7.2" |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
181
8876
1
+ Added@dhis2/ui-constants@9.11.1-beta.1(transitive)
- Removed@dhis2/ui-constants@9.11.0(transitive)