@trussworks/react-uswds
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -5,2 +5,24 @@ # Changelog | ||
## [1.8.0](https://github.com/trussworks/react-uswds/compare/1.7.0...1.8.0) (2020-07-27) | ||
### Features | ||
* **danger:** Block PR if yarn audit has high or critical, do not run on dependabot, no warn on version ([#327](https://github.com/trussworks/react-uswds/issues/327)) ([ee13281](https://github.com/trussworks/react-uswds/commit/ee13281a7669faaeb6ebd56a22d863d82cfe49e2)), closes [#324](https://github.com/trussworks/react-uswds/issues/324) | ||
* **storybook:** switch to addon-docs ([#323](https://github.com/trussworks/react-uswds/issues/323)) ([ccae95d](https://github.com/trussworks/react-uswds/commit/ccae95d44995da3be4156601dd6d023087140f9a)), closes [#119](https://github.com/trussworks/react-uswds/issues/119) | ||
* **storybook:** upgrade to 5.3.0, prepare for addon-docs ([#322](https://github.com/trussworks/react-uswds/issues/322)) ([1f1fc6a](https://github.com/trussworks/react-uswds/commit/1f1fc6a7759c411fff11b9f156b074143ed2eec4)), closes [#119](https://github.com/trussworks/react-uswds/issues/119) | ||
### Bug Fixes | ||
* correct version syntax in deploy-storybook worflow([#321](https://github.com/trussworks/react-uswds/issues/321)) ([4eb7d2c](https://github.com/trussworks/react-uswds/commit/4eb7d2c3490d3740be3517d0d0e4715e0fe2ff9f)) | ||
* Export NavDropDownButton ([91f9ca7](https://github.com/trussworks/react-uswds/commit/6e27ce6e3fcc98699b7b442d801a53f113118adf)) | ||
* remove commitizen; upgrade example app dependencies ([#335](https://github.com/trussworks/react-uswds/issues/335)) ([9c5aea2](https://github.com/trussworks/react-uswds/commit/9c5aea26acb34cb282ce9f2e0c2a17af90cae786)) | ||
### Documentation & Examples | ||
* add [@ahobson](https://github.com/ahobson) as codeowner, remove check-in meeting ([#347](https://github.com/trussworks/react-uswds/issues/347)) ([9eaf02b](https://github.com/trussworks/react-uswds/commit/9eaf02b188fd017322b6e4dc4c1b0d7693e47a9c)) | ||
* Add new component issue template ([#340](https://github.com/trussworks/react-uswds/issues/340)) ([8fb0f4b](https://github.com/trussworks/react-uswds/commit/8fb0f4b004fde789e5fcea6294a5659b91503742)) | ||
## [1.7.0](https://github.com/trussworks/react-uswds/compare/1.6.1...1.7.0) (2020-07-15) | ||
@@ -7,0 +29,0 @@ |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import React, { ReactElement } from 'react'; | ||
interface ButtonProps { | ||
@@ -22,3 +22,3 @@ type: 'button' | 'submit' | 'reset'; | ||
} | ||
export declare const Button: (props: ButtonProps & JSX.IntrinsicElements['button']) => React.ReactElement; | ||
export declare const Button: (props: ButtonProps & JSX.IntrinsicElements['button']) => ReactElement; | ||
export default Button; |
@@ -9,4 +9,4 @@ import React from 'react'; | ||
}; | ||
export declare const getGridClasses: (itemProps?: GridItemProps, breakpoint?: "mobile" | "tablet" | "desktop" | "widescreen" | "mobileLg" | "tabletLg" | "desktopLg" | undefined) => string; | ||
export declare const getGridClasses: (itemProps: GridItemProps, breakpoint?: "mobile" | "tablet" | "desktop" | "widescreen" | "mobileLg" | "tabletLg" | "desktopLg" | undefined) => string; | ||
export declare const applyGridClasses: (gridLayout: GridProps) => string; | ||
export declare const Grid: ({ children, className, ...props }: GridProps & React.HTMLAttributes<HTMLDivElement>) => React.ReactElement; |
export declare const deprecationWarning: { | ||
(...data: any[]): void; | ||
(message?: any, ...optionalParams: any[]): void; | ||
(...data: any[]): void; | ||
}; |
@@ -7,3 +7,2 @@ import './styles/index.scss'; | ||
export { Button } from './components/Button/Button'; | ||
export { Link } from './components/Link/Link'; | ||
export { Table } from './components/Table/Table'; | ||
@@ -10,0 +9,0 @@ export { Tag } from './components/Tag/Tag'; |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ReactUSWDS=t():e.ReactUSWDS=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=59)}({59:function(e,t,n){"use strict";n(60)},60:function(e,t,n){}})})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ReactUSWDS=t():e.ReactUSWDS=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}({6:function(e,t,n){"use strict";n.r(t);n(7)},7:function(e,t,n){}})})); |
{ | ||
"name": "@trussworks/react-uswds", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "React USWDS 2.0 component library", | ||
@@ -23,3 +23,2 @@ "keywords": [ | ||
"scripts": { | ||
"commit": "git-cz", | ||
"test": "jest", | ||
@@ -72,6 +71,6 @@ "test:watch": "jest --watch", | ||
"devDependencies": { | ||
"@babel/core": "^7.6.2", | ||
"@babel/preset-react": "^7.0.0", | ||
"@storybook/addon-info": "^5.2.3", | ||
"@storybook/react": "^5.2.1", | ||
"@babel/core": "^7.10.5", | ||
"@babel/preset-react": "^7.10.4", | ||
"@storybook/addon-docs": "^5.3.19", | ||
"@storybook/react": "^5.3.19", | ||
"@storybook/storybook-deployer": "^2.8.6", | ||
@@ -85,3 +84,2 @@ "@testing-library/jest-dom": "^5.3.0", | ||
"@types/react-dom": "^16.9.1", | ||
"@types/storybook__react": "^5.2.1", | ||
"@typescript-eslint/eslint-plugin": "^2.3.2", | ||
@@ -91,7 +89,5 @@ "@typescript-eslint/parser": "^2.3.2", | ||
"babel-eslint": "^10.0.3", | ||
"babel-jest": "^26.0.1", | ||
"babel-jest": "^26.1.0", | ||
"babel-loader": "^8.0.6", | ||
"commitizen": "^4.1.2", | ||
"css-loader": "^3.2.0", | ||
"cz-conventional-changelog": "3.2.0", | ||
"danger": "^10.0.0", | ||
@@ -109,7 +105,7 @@ "eslint": "^6.5.1", | ||
"husky": "^4.2.3", | ||
"jest": "^25.2.3", | ||
"jest": "^26.1.0", | ||
"lint-staged": "^10.0.9", | ||
"mini-css-extract-plugin": "^0.9.0", | ||
"prettier": "^2.0.2", | ||
"react-docgen-typescript-loader": "^3.3.0", | ||
"react-docgen-typescript-loader": "^3.7.2", | ||
"react-test-renderer": "^16.12.0", | ||
@@ -128,3 +124,3 @@ "sass": "^1.26.0", | ||
"stylelint-scss": "^3.17.1", | ||
"ts-jest": "^25.2.1", | ||
"ts-jest": "^26.1.2", | ||
"typescript": "^3.6.3", | ||
@@ -142,3 +138,3 @@ "url-loader": "^4.0.0", | ||
"pre-commit": "tsc --noEmit && lint-staged", | ||
"pre-push": "yarn danger local --failOnErrors" | ||
"pre-push": "yarn danger local -b main --failOnErrors" | ||
} | ||
@@ -156,7 +152,2 @@ }, | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"standard-version": { | ||
@@ -163,0 +154,0 @@ "skip": { |
@@ -6,3 +6,2 @@ # @trussworks/react-uswds | ||
[![npm downloads](https://img.shields.io/npm/dm/@trussworks/react-uswds)](https://www.npmjs.com/package/@trussworks/react-uswds) | ||
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) | ||
@@ -9,0 +8,0 @@ React USWDS 2.0 component library |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
54
114
2666535
2089
95
1