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

@cmsgov/design-system

Package Overview
Dependencies
Maintainers
38
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cmsgov/design-system - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

dist/components/Tooltip/Tooltip.js

3

dist/components/ChoiceList/ChoiceList.js

@@ -87,2 +87,5 @@ "use strict";

choiceProps.type = _this2.props.type;
choiceProps.inputClassName = (0, _classnames.default)(choiceProps.inputClassName, {
'ds-c-choice--error': _this2.props.errorMessage
});
choiceProps.disabled = choiceProps.disabled || _this2.props.disabled; // Individual choices can be disabled as well as the entire field

@@ -89,0 +92,0 @@

@@ -176,2 +176,14 @@ "use strict";

});
Object.defineProperty(exports, "Tooltip", {
enumerable: true,
get: function get() {
return _Tooltip.default;
}
});
Object.defineProperty(exports, "TooltipIcon", {
enumerable: true,
get: function get() {
return _TooltipIcon.default;
}
});
Object.defineProperty(exports, "VerticalNav", {

@@ -236,2 +248,6 @@ enumerable: true,

var _Tooltip = _interopRequireDefault(require("./Tooltip/Tooltip"));
var _TooltipIcon = _interopRequireDefault(require("./Tooltip/TooltipIcon"));
var _VerticalNav = _interopRequireDefault(require("./VerticalNav/VerticalNav"));

@@ -238,0 +254,0 @@

@@ -73,2 +73,5 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

choiceProps.type = _this2.props.type;
choiceProps.inputClassName = classNames(choiceProps.inputClassName, {
'ds-c-choice--error': _this2.props.errorMessage
});
choiceProps.disabled = choiceProps.disabled || _this2.props.disabled; // Individual choices can be disabled as well as the entire field

@@ -75,0 +78,0 @@

@@ -30,2 +30,4 @@ /**

export { default as TextField, unmaskValue } from './TextField/TextField';
export { default as Tooltip } from './Tooltip/Tooltip';
export { default as TooltipIcon } from './Tooltip/TooltipIcon';
export { default as VerticalNav } from './VerticalNav/VerticalNav';

9

dist/types/ChoiceList/ChoiceList.d.ts

@@ -9,10 +9,3 @@ import * as React from 'react';

// Omit props that we override with values from the ChoiceList
type OmitChoiceProp =
| 'inversed'
| 'name'
| 'onBlur'
| 'onChange'
| 'size'
| 'type'
| 'inputRef';
type OmitChoiceProp = 'inversed' | 'name' | 'onBlur' | 'onChange' | 'size' | 'type' | 'inputRef';
export type ChoiceProps = Omit<ChoiceComponentProps, OmitChoiceProp>;

@@ -19,0 +12,0 @@

{
"name": "@cmsgov/design-system",
"version": "2.0.4",
"version": "2.1.0",
"publishConfig": {

@@ -21,8 +21,12 @@ "access": "public",

"dependencies": {
"@popperjs/core": "^2.4.4",
"classnames": "^2.2.5",
"downshift": "^3.2.10",
"ev-emitter": "^1.1.1",
"focus-trap-react": "^6.0.0",
"lodash.uniqueid": "^4.0.1",
"prop-types": "^15.7.2",
"react-aria-modal": "^2.11.1"
"react-aria-modal": "^2.11.1",
"react-transition-group": "^2.9.0",
"uswds": "^2.8.1"
},

@@ -33,3 +37,3 @@ "peerDependencies": {

},
"gitHead": "3562d381aa7bb78fe544cd42ddc6afcda3b18a32"
"gitHead": "b6e50724fcae619066a4c30f436981e21d44ddae"
}

@@ -40,2 +40,5 @@ import Choice from './Choice';

choiceProps.type = this.props.type;
choiceProps.inputClassName = classNames(choiceProps.inputClassName, {
'ds-c-choice--error': this.props.errorMessage,
});
choiceProps.disabled = choiceProps.disabled || this.props.disabled; // Individual choices can be disabled as well as the entire field

@@ -42,0 +45,0 @@ choiceProps.inputRef = (ref) => {

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

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

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