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

@dhis2-ui/card

Package Overview
Dependencies
Maintainers
2
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhis2-ui/card - npm Package Compare versions

Comparing version 9.11.0 to 9.11.1-beta.1

build/cjs/card.e2e.stories.js

12

build/cjs/card.js

@@ -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"

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