@department-of-veterans-affairs/component-library
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -79,3 +79,4 @@ "use strict"; | ||
LoadingIndicator.defaultProps = { | ||
setFocus: false | ||
setFocus: false, | ||
label: "Loading" | ||
}; |
{ | ||
"name": "@department-of-veterans-affairs/component-library", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "VA.gov component library in React", | ||
@@ -20,8 +20,10 @@ "keywords": [ | ||
"build": "node ./scripts/build.js", | ||
"prepublishOnly": "node ./scripts/prepublish.js", | ||
"test-watch": "karma start testing/karma.conf.js --auto-watch", | ||
"build-storybook": "build-storybook", | ||
"prepublishOnly": "pinst --disable && node ./scripts/prepublish.js", | ||
"_postinstall": "husky install", | ||
"postpublish": "pinst --enable", | ||
"storybook": "start-storybook -p 6006", | ||
"test-debug": "karma start testing/karma.conf.js --browsers Chrome", | ||
"test": "karma start testing/karma.conf.js --single-run", | ||
"test-debug": "karma start testing/karma.conf.js --browsers Chrome", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook" | ||
"test-watch": "karma start testing/karma.conf.js --auto-watch" | ||
}, | ||
@@ -31,2 +33,5 @@ "bugs": { | ||
}, | ||
"lint-staged": { | ||
"*.(js|jsx)": "eslint --fix" | ||
}, | ||
"dependencies": { | ||
@@ -63,2 +68,8 @@ "classnames": "^2.2.6", | ||
"enzyme-adapter-react-16": "^1.7.1", | ||
"eslint": "^7.19.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-react": "^7.22.0", | ||
"husky": "^5.0.9", | ||
"karma": "^5.2.3", | ||
@@ -68,3 +79,6 @@ "karma-chrome-launcher": "^3.1.0", | ||
"karma-webpack": "^4.0.2", | ||
"lint-staged": "^10.5.4", | ||
"mocha": "^4.0.1", | ||
"pinst": "^2.1.4", | ||
"prettier": "^2.2.1", | ||
"react-dom": "^16.7.0", | ||
@@ -71,0 +85,0 @@ "react-html-parser": "^2.0.2", |
@@ -29,2 +29,6 @@ "use strict"; | ||
})); | ||
} | ||
} | ||
ProgressBar.defaultProps = { | ||
label: "Working" | ||
}; |
@@ -22,4 +22,3 @@ "use strict"; | ||
var current = _ref.current, | ||
total = _ref.total, | ||
label = _ref.label; | ||
total = _ref.total; | ||
return /*#__PURE__*/_react["default"].createElement("div", { | ||
@@ -32,3 +31,3 @@ className: "progress-bar-segmented", | ||
tabIndex: "0", | ||
"aria-label": label | ||
"aria-label": "Step ".concat(current, " of ").concat(total) | ||
}, (0, _range2["default"])(total).map(function (step) { | ||
@@ -35,0 +34,0 @@ return /*#__PURE__*/_react["default"].createElement("div", { |
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
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
270884
4458
37