@trussworks/react-uswds
Advanced tools
Comparing version 4.1.1 to 4.2.0
@@ -5,2 +5,15 @@ # Changelog | ||
## [4.2.0](https://github.com/trussworks/react-uswds/compare/4.1.1...4.2.0) (2023-04-03) | ||
### Features | ||
* Add className prop to Table component ([#2269](https://github.com/trussworks/react-uswds/issues/2269)) ([cf082c5](https://github.com/trussworks/react-uswds/commit/cf082c533b60317dfeeb4397a997514a586cf5a3)) | ||
### Documentation & Examples | ||
* fix typo and add alt download instructions ([#2281](https://github.com/trussworks/react-uswds/issues/2281)) ([7508dfb](https://github.com/trussworks/react-uswds/commit/7508dfb714d9a26d1a0787eb7032516e10fa082c)) | ||
* Update old references from USWDS 2.0 to USWDS 3.0 ([#2317](https://github.com/trussworks/react-uswds/issues/2317)) ([6232c5c](https://github.com/trussworks/react-uswds/commit/6232c5cbb90972457c6ee8b8c6ff5a441b4cd6bd)) | ||
### [4.1.1](https://github.com/trussworks/react-uswds/compare/4.1.0...4.1.1) (2023-02-23) | ||
@@ -7,0 +20,0 @@ |
import React from 'react'; | ||
interface TableProps { | ||
declare type TableProps = { | ||
bordered?: boolean; | ||
caption?: React.ReactNode; | ||
children: React.ReactNode; | ||
className?: string; | ||
fullWidth?: boolean; | ||
@@ -12,4 +13,4 @@ fixed?: boolean; | ||
stackedStyle?: 'none' | 'default' | 'headers'; | ||
} | ||
export declare const Table: ({ bordered, caption, children, fullWidth, fixed, scrollable, striped, compact, stackedStyle, }: TableProps) => React.ReactElement; | ||
}; | ||
export declare const Table: ({ bordered, caption, children, className, fullWidth, fixed, scrollable, striped, compact, stackedStyle, }: TableProps) => React.ReactElement; | ||
export default Table; |
{ | ||
"name": "@trussworks/react-uswds", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "React USWDS 3.0 component library", | ||
@@ -65,4 +65,4 @@ "keywords": [ | ||
"@storybook/storybook-deployer": "^2.8.16", | ||
"@svgr/webpack": "^6.0.0", | ||
"@testing-library/dom": "^8.2.0", | ||
"@svgr/webpack": "^7.0.0", | ||
"@testing-library/dom": "^9.0.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
@@ -82,3 +82,3 @@ "@testing-library/react": "^12.1.0", | ||
"babel-jest": "^29.4.3", | ||
"babel-loader": "^8.0.6", | ||
"babel-loader": "^9.1.2", | ||
"classnames": "^2.3.2", | ||
@@ -98,3 +98,3 @@ "css-loader": "^6.7.3", | ||
"focus-trap-react": "^8.8.1", | ||
"fork-ts-checker-webpack-plugin": "^7.2.7", | ||
"fork-ts-checker-webpack-plugin": "^8.0.0", | ||
"happo-plugin-storybook": "^3.0.0", | ||
@@ -114,3 +114,3 @@ "happo.io": "^8.3.1", | ||
"sass-resources-loader": "^2.0.1", | ||
"source-map-loader": "^3.0.0", | ||
"source-map-loader": "^4.0.1", | ||
"standard-version": "^9.0.0", | ||
@@ -117,0 +117,0 @@ "style-loader": "^3.2.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
6123
3137818