@fluentui/react-select
Advanced tools
Comparing version 0.0.0-nightly-20220616-0419.1 to 0.0.0-nightly-20220617-0418.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Thu, 16 Jun 2022 04:33:51 GMT", | ||
"tag": "@fluentui/react-select_v0.0.0-nightly-20220616-0419.1", | ||
"version": "0.0.0-nightly-20220616-0419.1", | ||
"date": "Fri, 17 Jun 2022 04:30:01 GMT", | ||
"tag": "@fluentui/react-select_v0.0.0-nightly-20220617-0418.1", | ||
"version": "0.0.0-nightly-20220617-0418.1", | ||
"comments": { | ||
@@ -14,2 +14,8 @@ "prerelease": [ | ||
"package": "@fluentui/react-select", | ||
"commit": "aa6ff59c3664e5e29402debcc1a4d4a65a8e65c1", | ||
"comment": "fix: handle \"defaultValue\"" | ||
}, | ||
{ | ||
"author": "olfedias@microsoft.com", | ||
"package": "@fluentui/react-select", | ||
"commit": "82bd30dd41ad58df1f325e9b721200ed15d674a2", | ||
@@ -39,4 +45,4 @@ "comment": "chore: Update @fluentui/react-icons to latest version" | ||
"package": "@fluentui/react-select", | ||
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220616-0419.1", | ||
"commit": "7df7f4212738a33683eca9068e0ddb3aec5fda16" | ||
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220617-0418.1", | ||
"commit": "a1d7056dec836840c62a0f1a57a8d53af83c9dc5" | ||
} | ||
@@ -43,0 +49,0 @@ ] |
# Change Log - @fluentui/react-select | ||
This log was last generated on Thu, 16 Jun 2022 04:33:51 GMT and should not be manually modified. | ||
This log was last generated on Fri, 17 Jun 2022 04:30:01 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly-20220616-0419.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-select_v0.0.0-nightly-20220616-0419.1) | ||
## [0.0.0-nightly-20220617-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-select_v0.0.0-nightly-20220617-0418.1) | ||
Thu, 16 Jun 2022 04:33:51 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-select_v9.0.0-beta.2..@fluentui/react-select_v0.0.0-nightly-20220616-0419.1) | ||
Fri, 17 Jun 2022 04:30:01 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-select_v9.0.0-beta.2..@fluentui/react-select_v0.0.0-nightly-20220617-0418.1) | ||
### Changes | ||
- fix: handle "defaultValue" ([PR #23463](https://github.com/microsoft/fluentui/pull/23463) by olfedias@microsoft.com) | ||
- chore: Update @fluentui/react-icons to latest version ([PR #23459](https://github.com/microsoft/fluentui/pull/23459) by olfedias@microsoft.com) | ||
@@ -18,3 +19,3 @@ - chore: Using ::before and ::after instead of :before and :after. ([PR #23469](https://github.com/microsoft/fluentui/pull/23469) by Humberto.Morimoto@microsoft.com) | ||
- Remove inline prop from Select ([PR #23416](https://github.com/microsoft/fluentui/pull/23416) by sarah.higley@microsoft.com) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220616-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/7df7f4212738a33683eca9068e0ddb3aec5fda16) by beachball) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220617-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/a1d7056dec836840c62a0f1a57a8d53af83c9dc5) by beachball) | ||
@@ -21,0 +22,0 @@ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-select_v9.0.0-beta.2) |
@@ -26,2 +26,4 @@ "use strict"; | ||
const { | ||
defaultValue, | ||
value, | ||
select, | ||
@@ -37,3 +39,3 @@ icon, | ||
primarySlotTagName: 'select', | ||
excludedPropNames: ['appearance', 'onChange', 'size'] | ||
excludedPropNames: ['appearance', 'defaultValue', 'onChange', 'size', 'value'] | ||
}); | ||
@@ -51,2 +53,4 @@ const state = { | ||
defaultProps: { | ||
defaultValue, | ||
value, | ||
ref, | ||
@@ -68,5 +72,4 @@ ...nativeProps.primary | ||
state.select.onChange = react_utilities_1.useEventCallback(event => { | ||
const value = event.target.value; | ||
onChange === null || onChange === void 0 ? void 0 : onChange(event, { | ||
value | ||
value: event.target.value | ||
}); | ||
@@ -73,0 +76,0 @@ }); |
@@ -16,2 +16,4 @@ import * as React from 'react'; | ||
const { | ||
defaultValue, | ||
value, | ||
select, | ||
@@ -27,3 +29,3 @@ icon, | ||
primarySlotTagName: 'select', | ||
excludedPropNames: ['appearance', 'onChange', 'size'] | ||
excludedPropNames: ['appearance', 'defaultValue', 'onChange', 'size', 'value'] | ||
}); | ||
@@ -41,2 +43,4 @@ const state = { | ||
defaultProps: { | ||
defaultValue, | ||
value, | ||
ref, | ||
@@ -58,5 +62,4 @@ ...nativeProps.primary | ||
state.select.onChange = useEventCallback(event => { | ||
const value = event.target.value; | ||
onChange === null || onChange === void 0 ? void 0 : onChange(event, { | ||
value | ||
value: event.target.value | ||
}); | ||
@@ -63,0 +66,0 @@ }); |
{ | ||
"name": "@fluentui/react-select", | ||
"version": "0.0.0-nightly-20220616-0419.1", | ||
"version": "0.0.0-nightly-20220617-0418.1", | ||
"description": "Fluent UI React Select component", | ||
@@ -31,8 +31,8 @@ "main": "lib-commonjs/index.js", | ||
"@fluentui/react-conformance": "*", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220616-0419.0" | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220617-0418.0" | ||
}, | ||
"dependencies": { | ||
"@fluentui/react-icons": "^2.0.172-rc.8", | ||
"@fluentui/react-theme": "0.0.0-nightly-20220616-0419.0", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20220616-0419.1", | ||
"@fluentui/react-theme": "0.0.0-nightly-20220617-0418.0", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20220617-0418.1", | ||
"@griffel/react": "1.1.0", | ||
@@ -39,0 +39,0 @@ "tslib": "^2.1.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
100877
1128
+ Added@fluentui/react-utilities@0.0.0-nightly-20220617-0418.1(transitive)
- Removed@fluentui/react-utilities@0.0.0-nightly-20220616-0419.1(transitive)
Updated@fluentui/react-utilities@0.0.0-nightly-20220617-0418.1