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

@trussworks/react-uswds

Package Overview
Dependencies
Maintainers
10
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trussworks/react-uswds - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

lib/components/forms/Label/RequiredMarker.d.ts

27

CHANGELOG.md

@@ -5,2 +5,29 @@ # Changelog

## [5.5.0](https://github.com/trussworks/react-uswds/compare/5.4.0...5.5.0) (2023-10-20)
### Features
* added 4 icons ([#2525](https://github.com/trussworks/react-uswds/issues/2525)) ([c489814](https://github.com/trussworks/react-uswds/commit/c48981442b4bb65b403dc2009ed3cd28a72037a9))
* Added LanguageDefinition to exports ([#2570](https://github.com/trussworks/react-uswds/issues/2570)) ([0f4688a](https://github.com/trussworks/react-uswds/commit/0f4688ae06afadd595689055750e65624868b1bd))
* Added required marker ([#2524](https://github.com/trussworks/react-uswds/issues/2524)) ([c5f2b40](https://github.com/trussworks/react-uswds/commit/c5f2b40b4b79784340f66d66fceea365922648f8))
* Allow Tooltip label to be a string or React component ([#2596](https://github.com/trussworks/react-uswds/issues/2596)) ([bc01008](https://github.com/trussworks/react-uswds/commit/bc0100816a0bcba797562a02ea3b32543f850904))
* changed template links to buttons ([#2526](https://github.com/trussworks/react-uswds/issues/2526)) ([a4b8423](https://github.com/trussworks/react-uswds/commit/a4b8423f4d3a4b8dcb89b8dab8dea4363c6b567a))
* replaced memorable date month input with select ([#2527](https://github.com/trussworks/react-uswds/issues/2527)) ([d38b31b](https://github.com/trussworks/react-uswds/commit/d38b31be9454a03a4605f69335daf19d376020a7))
### Bug Fixes
* Language selector: add prop for display lang for bug fix ([#2622](https://github.com/trussworks/react-uswds/issues/2622)) ([df68d0d](https://github.com/trussworks/react-uswds/commit/df68d0d8bc273533dcb5a85a5a699aca12404d67))
* Sass modules bug ([#2555](https://github.com/trussworks/react-uswds/issues/2555)) ([a1ed9f7](https://github.com/trussworks/react-uswds/commit/a1ed9f758c151b639726b16fb74327299f7c09a2))
* **storybook:** password label set to password input field id on sign in ([#2618](https://github.com/trussworks/react-uswds/issues/2618)) ([eae195e](https://github.com/trussworks/react-uswds/commit/eae195e73b71adb9b7849a25f8836c244e49ad21))
* **storybook:** sufficient color contrast set in custom class button ([#2619](https://github.com/trussworks/react-uswds/issues/2619)) ([2878822](https://github.com/trussworks/react-uswds/commit/28788220761dc92243302bac72c0bd2b97872192))
* Updates file input stories to set appropriate html for value of label ([#2628](https://github.com/trussworks/react-uswds/issues/2628)) ([7f51150](https://github.com/trussworks/react-uswds/commit/7f51150f1a12df261b18eb1d6ecf9e8faa3c4c0e))
### Documentation & Examples
* add design PR review documentation ([#2615](https://github.com/trussworks/react-uswds/issues/2615)) ([2892424](https://github.com/trussworks/react-uswds/commit/289242407c718fcfc157488492b0a9a942de00c0))
* adds in information on how to test PRs in GitHub Codespaces ([#2617](https://github.com/trussworks/react-uswds/issues/2617)) ([ef944f8](https://github.com/trussworks/react-uswds/commit/ef944f8054e15f374b07fa73c26be827a89f5ef1))
## [5.4.0](https://github.com/trussworks/react-uswds/compare/5.3.1...5.4.0) (2023-09-29)

@@ -7,0 +34,0 @@

3

lib/components/forms/Fieldset/Fieldset.d.ts

@@ -7,4 +7,5 @@ import React from 'react';

className?: string;
requiredMarker?: boolean;
};
export declare const Fieldset: ({ children, legend, className, legendStyle, ...fieldsetProps }: FieldsetProps & JSX.IntrinsicElements['fieldset']) => React.ReactElement;
export declare const Fieldset: ({ children, legend, className, legendStyle, requiredMarker, ...fieldsetProps }: FieldsetProps & JSX.IntrinsicElements['fieldset']) => React.ReactElement;
export {};

@@ -9,4 +9,5 @@ import React from 'react';

srOnly?: boolean;
requiredMarker?: boolean;
};
export declare const Label: ({ children, htmlFor, className, error, hint, srOnly, ...labelProps }: LabelProps & JSX.IntrinsicElements['label']) => React.ReactElement;
export declare const Label: ({ children, htmlFor, className, error, hint, srOnly, requiredMarker, ...labelProps }: LabelProps & JSX.IntrinsicElements['label']) => React.ReactElement;
export default Label;

@@ -81,2 +81,3 @@ import { IconProps } from './Icon';

static FavoriteBorder: React.ComponentType<IconProps>;
static Fax: React.ComponentType<IconProps>;
static FileDownload: React.ComponentType<IconProps>;

@@ -125,2 +126,3 @@ static FilePresent: React.ComponentType<IconProps>;

static LightbulbOutline: React.ComponentType<IconProps>;
static LinkedIn: React.ComponentType<IconProps>;
static Link: React.ComponentType<IconProps>;

@@ -181,2 +183,3 @@ static LinkOff: React.ComponentType<IconProps>;

static ReduceCapacity: React.ComponentType<IconProps>;
static RemoveCircle: React.ComponentType<IconProps>;
static Remove: React.ComponentType<IconProps>;

@@ -183,0 +186,0 @@ static Report: React.ComponentType<IconProps>;

@@ -8,3 +8,3 @@ import React from 'react';

};
declare type LanguageSelectorProps = {
export declare type LanguageSelectorProps = {
label?: string;

@@ -14,4 +14,5 @@ langs: LanguageDefinition[];

className?: string;
displayLang?: string;
};
export declare const LanguageSelector: ({ label, langs, small, className, ...divProps }: LanguageSelectorProps & JSX.IntrinsicElements['div']) => React.ReactElement;
export declare const LanguageSelector: ({ label, langs, small, className, displayLang, ...divProps }: LanguageSelectorProps & JSX.IntrinsicElements['div']) => React.ReactElement;
export default LanguageSelector;
import { ForwardRefExoticComponent, ReactElement, ReactNode } from 'react';
declare type TooltipProps<T> = {
label: string;
label: ReactNode;
title?: string;
position?: 'top' | 'bottom' | 'left' | 'right' | undefined;

@@ -5,0 +6,0 @@ wrapperclasses?: string;

@@ -56,4 +56,6 @@ import './styles/index.scss';

export { Label } from './components/forms/Label/Label';
export { RequiredMarker } from './components/forms/Label/RequiredMarker';
export { LanguageSelector } from './components/LanguageSelector/LanguageSelector';
export { LanguageSelectorButton } from './components/LanguageSelector/LanguageSelectorButton';
export type { LanguageDefinition } from './components/LanguageSelector/LanguageSelector';
export { Radio } from './components/forms/Radio/Radio';

@@ -60,0 +62,0 @@ export { RangeInput } from './components/forms/RangeInput/RangeInput';

{
"name": "@trussworks/react-uswds",
"version": "5.4.0",
"version": "5.5.0",
"description": "React USWDS 3.0 component library",

@@ -97,3 +97,3 @@ "keywords": [

"focus-trap-react": "^8.8.1",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"happo-plugin-storybook": "^3.0.0",

@@ -100,0 +100,0 @@ "happo.io": "^8.3.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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