Socket
Socket
Sign inDemoInstall

@fluentui/react-field

Package Overview
Dependencies
Maintainers
14
Versions
618
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-field - npm Package Compare versions

Comparing version 9.0.0-alpha.5 to 9.0.0-alpha.6

71

CHANGELOG.json

@@ -5,3 +5,42 @@ {

{
"date": "Thu, 20 Oct 2022 08:35:10 GMT",
"date": "Tue, 25 Oct 2022 00:34:10 GMT",
"tag": "@fluentui/react-field_v9.0.0-alpha.6",
"version": "9.0.0-alpha.6",
"comments": {
"prerelease": [
{
"author": "behowell@microsoft.com",
"package": "@fluentui/react-field",
"commit": "f9436f583d3c291921fe7a4531f69551096e758c",
"comment": "feat: Add support for validationState to ProgressField"
},
{
"author": "beachball",
"package": "@fluentui/react-field",
"comment": "Bump @fluentui/react-checkbox to v9.0.10",
"commit": "eef12b9ae58b64ff68576dc2d865b601e46c85b9"
},
{
"author": "beachball",
"package": "@fluentui/react-field",
"comment": "Bump @fluentui/react-input to v9.2.3",
"commit": "eef12b9ae58b64ff68576dc2d865b601e46c85b9"
},
{
"author": "beachball",
"package": "@fluentui/react-field",
"comment": "Bump @fluentui/react-progress to v9.0.0-alpha.3",
"commit": "eef12b9ae58b64ff68576dc2d865b601e46c85b9"
},
{
"author": "beachball",
"package": "@fluentui/react-field",
"comment": "Bump @fluentui/react-spinbutton to v9.0.6",
"commit": "eef12b9ae58b64ff68576dc2d865b601e46c85b9"
}
]
}
},
{
"date": "Thu, 20 Oct 2022 08:39:33 GMT",
"tag": "@fluentui/react-field_v9.0.0-alpha.5",

@@ -27,3 +66,3 @@ "version": "9.0.0-alpha.5",

"comment": "Bump @fluentui/react-checkbox to v9.0.9",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -34,3 +73,3 @@ {

"comment": "Bump @fluentui/react-combobox to v9.0.0-beta.13",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -41,3 +80,3 @@ {

"comment": "Bump @fluentui/react-context-selector to v9.0.5",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -48,3 +87,3 @@ {

"comment": "Bump @fluentui/react-input to v9.2.2",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -55,3 +94,3 @@ {

"comment": "Bump @fluentui/react-label to v9.0.8",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -62,3 +101,3 @@ {

"comment": "Bump @fluentui/react-progress to v9.0.0-alpha.2",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -69,3 +108,3 @@ {

"comment": "Bump @fluentui/react-radio to v9.0.9",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -76,3 +115,3 @@ {

"comment": "Bump @fluentui/react-select to v9.0.0-beta.12",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -83,3 +122,3 @@ {

"comment": "Bump @fluentui/react-slider to v9.0.8",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -90,3 +129,3 @@ {

"comment": "Bump @fluentui/react-spinbutton to v9.0.5",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -97,3 +136,3 @@ {

"comment": "Bump @fluentui/react-switch to v9.0.9",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -104,3 +143,3 @@ {

"comment": "Bump @fluentui/react-textarea to v9.1.3",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -111,3 +150,3 @@ {

"comment": "Bump @fluentui/react-theme to v9.1.1",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -118,3 +157,3 @@ {

"comment": "Bump @fluentui/react-utilities to v9.1.2",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
},

@@ -125,3 +164,3 @@ {

"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16",
"commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
}

@@ -128,0 +167,0 @@ ]

# Change Log - @fluentui/react-field
This log was last generated on Thu, 20 Oct 2022 08:35:10 GMT and should not be manually modified.
This log was last generated on Tue, 25 Oct 2022 00:34:10 GMT and should not be manually modified.
<!-- Start content -->
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.0.0-alpha.6)
Tue, 25 Oct 2022 00:34:10 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-field_v9.0.0-alpha.5..@fluentui/react-field_v9.0.0-alpha.6)
### Changes
- feat: Add support for validationState to ProgressField ([PR #25253](https://github.com/microsoft/fluentui/pull/25253) by behowell@microsoft.com)
- Bump @fluentui/react-checkbox to v9.0.10 ([PR #25363](https://github.com/microsoft/fluentui/pull/25363) by beachball)
- Bump @fluentui/react-input to v9.2.3 ([PR #25363](https://github.com/microsoft/fluentui/pull/25363) by beachball)
- Bump @fluentui/react-progress to v9.0.0-alpha.3 ([PR #25363](https://github.com/microsoft/fluentui/pull/25363) by beachball)
- Bump @fluentui/react-spinbutton to v9.0.6 ([PR #25363](https://github.com/microsoft/fluentui/pull/25363) by beachball)
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.0.0-alpha.5)
Thu, 20 Oct 2022 08:35:10 GMT
Thu, 20 Oct 2022 08:39:33 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-field_v9.0.0-alpha.4..@fluentui/react-field_v9.0.0-alpha.5)

@@ -16,17 +29,17 @@

- chore: Update Griffel to latest version ([PR #25212](https://github.com/microsoft/fluentui/pull/25212) by olfedias@microsoft.com)
- Bump @fluentui/react-checkbox to v9.0.9 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-combobox to v9.0.0-beta.13 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-context-selector to v9.0.5 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-input to v9.2.2 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-label to v9.0.8 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-progress to v9.0.0-alpha.2 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-radio to v9.0.9 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-select to v9.0.0-beta.12 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-slider to v9.0.8 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-spinbutton to v9.0.5 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-switch to v9.0.9 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-textarea to v9.1.3 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-theme to v9.1.1 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-utilities to v9.1.2 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
- Bump @fluentui/react-checkbox to v9.0.9 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-combobox to v9.0.0-beta.13 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-context-selector to v9.0.5 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-input to v9.2.2 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-label to v9.0.8 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-progress to v9.0.0-alpha.2 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-radio to v9.0.9 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-select to v9.0.0-beta.12 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-slider to v9.0.8 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-spinbutton to v9.0.5 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-switch to v9.0.9 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-textarea to v9.1.3 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-theme to v9.1.1 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-utilities to v9.1.2 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)

@@ -33,0 +46,0 @@ ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.0.0-alpha.4)

@@ -76,2 +76,8 @@ /// <reference types="react" />

labelConnection?: 'htmlFor' | 'aria-labelledby';
/**
* Should the aria-invalid and aria-errormessage attributes be set when validationState="error".
*
* @default true
*/
ariaInvalidOnError?: boolean;
};

@@ -78,0 +84,0 @@

@@ -75,3 +75,4 @@ "use strict";

const {
labelConnection = 'htmlFor'
labelConnection = 'htmlFor',
ariaInvalidOnError = true
} = params;

@@ -120,3 +121,3 @@ const baseId = react_utilities_1.useId('field-');

if (validationState === 'error') {
if (validationState === 'error' && ariaInvalidOnError) {
(_b = control['aria-invalid']) !== null && _b !== void 0 ? _b : control['aria-invalid'] = true;

@@ -123,0 +124,0 @@

@@ -19,4 +19,6 @@ "use strict";

classNames: exports.progressFieldClassNames,
labelConnection: 'aria-labelledby'
labelConnection: 'aria-labelledby',
ariaInvalidOnError: false
});
state.control.validationState = state.validationState;
Field_1.useFieldStyles_unstable(state);

@@ -23,0 +25,0 @@ return Field_1.renderField_unstable(state);

@@ -62,3 +62,4 @@ import * as React from 'react';

const {
labelConnection = 'htmlFor'
labelConnection = 'htmlFor',
ariaInvalidOnError = true
} = params;

@@ -107,3 +108,3 @@ const baseId = useId('field-');

if (validationState === 'error') {
if (validationState === 'error' && ariaInvalidOnError) {
(_b = control['aria-invalid']) !== null && _b !== void 0 ? _b : control['aria-invalid'] = true;

@@ -110,0 +111,0 @@

@@ -9,4 +9,6 @@ import * as React from 'react';

classNames: progressFieldClassNames,
labelConnection: 'aria-labelledby'
labelConnection: 'aria-labelledby',
ariaInvalidOnError: false
});
state.control.validationState = state.validationState;
useFieldStyles_unstable(state);

@@ -13,0 +15,0 @@ return renderField_unstable(state);

{
"name": "@fluentui/react-field",
"version": "9.0.0-alpha.5",
"version": "9.0.0-alpha.6",
"description": "Fluent UI Field components",

@@ -34,13 +34,13 @@ "main": "lib-commonjs/index.js",

"dependencies": {
"@fluentui/react-checkbox": "^9.0.9",
"@fluentui/react-checkbox": "^9.0.10",
"@fluentui/react-combobox": "^9.0.0-beta.13",
"@fluentui/react-context-selector": "^9.0.5",
"@fluentui/react-icons": "^2.0.175",
"@fluentui/react-input": "^9.2.2",
"@fluentui/react-input": "^9.2.3",
"@fluentui/react-label": "^9.0.8",
"@fluentui/react-progress": "9.0.0-alpha.2",
"@fluentui/react-progress": "9.0.0-alpha.3",
"@fluentui/react-radio": "^9.0.9",
"@fluentui/react-select": "9.0.0-beta.12",
"@fluentui/react-slider": "^9.0.8",
"@fluentui/react-spinbutton": "^9.0.5",
"@fluentui/react-spinbutton": "^9.0.6",
"@fluentui/react-switch": "^9.0.9",

@@ -47,0 +47,0 @@ "@fluentui/react-textarea": "^9.1.3",

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