@fluentui/react-tag-picker 9.10.4 → 9.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -2
- package/lib/components/TagPickerOption/useTagPickerOption.js +2 -0
- package/lib/components/TagPickerOption/useTagPickerOption.js.map +1 -1
- package/lib-commonjs/components/TagPickerOption/useTagPickerOption.cjs +2 -0
- package/lib-commonjs/components/TagPickerOption/useTagPickerOption.cjs.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-tag-picker
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on Mon,
|
|
3
|
+
<!-- This log was last generated on Mon, 19 Oct 2026 14:49:10 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.10.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-tag-picker_v9.10.6)
|
|
8
|
+
|
|
9
|
+
Mon, 19 Oct 2026 14:49:10 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tag-picker_v9.10.5..@fluentui/react-tag-picker_v9.10.6)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix: expose selection state on grouped TagPicker options for assistive technology ([PR #36834](https://github.com/microsoft/fluentui/pull/36834) by paulmardling@microsoft.com)
|
|
15
|
+
- Bump @fluentui/react-aria to v9.17.16 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-combobox to v9.17.8 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-context-selector to v9.2.21 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-field to v9.5.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-portal to v9.8.17 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
- Bump @fluentui/react-positioning to v9.23.4 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
22
|
+
- Bump @fluentui/react-tabster to v9.26.19 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
|
+
- Bump @fluentui/react-tags to v9.9.8 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
24
|
+
- Bump @fluentui/react-utilities to v9.27.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
25
|
+
|
|
26
|
+
## [9.10.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tag-picker_v9.10.5)
|
|
27
|
+
|
|
28
|
+
Wed, 23 Sep 2026 09:04:33 GMT
|
|
29
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tag-picker_v9.10.4..@fluentui/react-tag-picker_v9.10.5)
|
|
30
|
+
|
|
31
|
+
### Patches
|
|
32
|
+
|
|
33
|
+
- Bump @fluentui/react-combobox to v9.17.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
34
|
+
- Bump @fluentui/react-positioning to v9.23.3 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
35
|
+
- Bump @fluentui/react-tags to v9.9.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
36
|
+
|
|
7
37
|
## [9.10.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-tag-picker_v9.10.4)
|
|
8
38
|
|
|
9
|
-
|
|
39
|
+
Tue, 22 Sep 2026 11:25:39 GMT
|
|
10
40
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tag-picker_v9.10.3..@fluentui/react-tag-picker_v9.10.4)
|
|
11
41
|
|
|
12
42
|
### Patches
|
|
@@ -11,6 +11,7 @@ import { useOption_unstable } from "@fluentui/react-combobox";
|
|
|
11
11
|
* @param ref - reference to root HTMLDivElement of TagPickerOption
|
|
12
12
|
*/ export const useTagPickerOption_unstable = (props, ref)=>{
|
|
13
13
|
const optionState = useOption_unstable(props, ref);
|
|
14
|
+
var _props_ariaselected;
|
|
14
15
|
const state = {
|
|
15
16
|
components: {
|
|
16
17
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -27,6 +28,7 @@ import { useOption_unstable } from "@fluentui/react-combobox";
|
|
|
27
28
|
root: slot.always({
|
|
28
29
|
...optionState.root,
|
|
29
30
|
role: 'option',
|
|
31
|
+
'aria-selected': (_props_ariaselected = props['aria-selected']) !== null && _props_ariaselected !== void 0 ? _props_ariaselected : optionState.selected,
|
|
30
32
|
'aria-checked': props['aria-checked']
|
|
31
33
|
}, {
|
|
32
34
|
elementType: 'div'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TagPickerOption/useTagPickerOption.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { slot } from '@fluentui/react-utilities';\nimport { useOption_unstable } from '@fluentui/react-combobox';\nimport type { TagPickerOptionProps, TagPickerOptionState } from './TagPickerOption.types';\n\n/**\n * Create the state required to render TagPickerOption.\n *\n * The returned state can be modified with hooks such as useTagPickerOptionStyles_unstable,\n * before being passed to renderTagPickerOption_unstable.\n *\n * @param props - props from this instance of TagPickerOption\n * @param ref - reference to root HTMLDivElement of TagPickerOption\n */\nexport const useTagPickerOption_unstable = (\n props: TagPickerOptionProps,\n ref: React.Ref<HTMLDivElement>,\n): TagPickerOptionState => {\n const optionState = useOption_unstable(props, ref);\n const state: TagPickerOptionState = {\n components: {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ...optionState.components,\n media: 'div',\n secondaryContent: 'span',\n },\n media: slot.optional(props.media, {\n elementType: 'div',\n }),\n secondaryContent: slot.optional(props.secondaryContent, {\n elementType: 'span',\n }),\n root: slot.always(\n {
|
|
1
|
+
{"version":3,"sources":["../src/components/TagPickerOption/useTagPickerOption.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { slot } from '@fluentui/react-utilities';\nimport { useOption_unstable } from '@fluentui/react-combobox';\nimport type { TagPickerOptionProps, TagPickerOptionState } from './TagPickerOption.types';\n\n/**\n * Create the state required to render TagPickerOption.\n *\n * The returned state can be modified with hooks such as useTagPickerOptionStyles_unstable,\n * before being passed to renderTagPickerOption_unstable.\n *\n * @param props - props from this instance of TagPickerOption\n * @param ref - reference to root HTMLDivElement of TagPickerOption\n */\nexport const useTagPickerOption_unstable = (\n props: TagPickerOptionProps,\n ref: React.Ref<HTMLDivElement>,\n): TagPickerOptionState => {\n const optionState = useOption_unstable(props, ref);\n const state: TagPickerOptionState = {\n components: {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ...optionState.components,\n media: 'div',\n secondaryContent: 'span',\n },\n media: slot.optional(props.media, {\n elementType: 'div',\n }),\n secondaryContent: slot.optional(props.secondaryContent, {\n elementType: 'span',\n }),\n root: slot.always(\n {\n ...optionState.root,\n role: 'option',\n 'aria-selected': props['aria-selected'] ?? optionState.selected,\n 'aria-checked': props['aria-checked'],\n },\n {\n elementType: 'div',\n },\n ),\n };\n\n return state;\n};\n"],"names":["slot","useOption_unstable","useTagPickerOption_unstable","props","ref","optionState","state","components","media","secondaryContent","optional","elementType","root","always","role","selected"],"mappings":"AAAA;AAGA,SAASA,IAAI,QAAQ,4BAA4B;AACjD,SAASC,kBAAkB,QAAQ,2BAA2B;AAG9D;;;;;;;;CAQC,GACD,OAAO,MAAMC,8BAA8B,CACzCC,OACAC;IAEA,MAAMC,cAAcJ,mBAAmBE,OAAOC;QAkBvBD;IAjBvB,MAAMG,QAA8B;QAClCC,YAAY;YACV,4DAA4D;YAC5D,GAAGF,YAAYE,UAAU;YACzBC,OAAO;YACPC,kBAAkB;QACpB;QACAD,OAAOR,KAAKU,QAAQ,CAACP,MAAMK,KAAK,EAAE;YAChCG,aAAa;QACf;QACAF,kBAAkBT,KAAKU,QAAQ,CAACP,MAAMM,gBAAgB,EAAE;YACtDE,aAAa;QACf;QACAC,MAAMZ,KAAKa,MAAM,CACf;YACE,GAAGR,YAAYO,IAAI;YACnBE,MAAM;YACN,iBAAiBX,CAAAA,sBAAAA,KAAK,CAAC,gBAAgB,cAAtBA,iCAAAA,sBAA0BE,YAAYU,QAAQ;YAC/D,gBAAgBZ,KAAK,CAAC,eAAe;QACvC,GACA;YACEQ,aAAa;QACf;IAEJ;IAEA,OAAOL;AACT,EAAE"}
|
|
@@ -13,6 +13,7 @@ const _reactutilities = require("@fluentui/react-utilities");
|
|
|
13
13
|
const _reactcombobox = require("@fluentui/react-combobox");
|
|
14
14
|
const useTagPickerOption_unstable = (props, ref)=>{
|
|
15
15
|
const optionState = (0, _reactcombobox.useOption_unstable)(props, ref);
|
|
16
|
+
var _props_ariaselected;
|
|
16
17
|
const state = {
|
|
17
18
|
components: {
|
|
18
19
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -29,6 +30,7 @@ const useTagPickerOption_unstable = (props, ref)=>{
|
|
|
29
30
|
root: _reactutilities.slot.always({
|
|
30
31
|
...optionState.root,
|
|
31
32
|
role: 'option',
|
|
33
|
+
'aria-selected': (_props_ariaselected = props['aria-selected']) !== null && _props_ariaselected !== void 0 ? _props_ariaselected : optionState.selected,
|
|
32
34
|
'aria-checked': props['aria-checked']
|
|
33
35
|
}, {
|
|
34
36
|
elementType: 'div'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TagPickerOption/useTagPickerOption.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { slot } from '@fluentui/react-utilities';\nimport { useOption_unstable } from '@fluentui/react-combobox';\nimport type { TagPickerOptionProps, TagPickerOptionState } from './TagPickerOption.types';\n\n/**\n * Create the state required to render TagPickerOption.\n *\n * The returned state can be modified with hooks such as useTagPickerOptionStyles_unstable,\n * before being passed to renderTagPickerOption_unstable.\n *\n * @param props - props from this instance of TagPickerOption\n * @param ref - reference to root HTMLDivElement of TagPickerOption\n */\nexport const useTagPickerOption_unstable = (\n props: TagPickerOptionProps,\n ref: React.Ref<HTMLDivElement>,\n): TagPickerOptionState => {\n const optionState = useOption_unstable(props, ref);\n const state: TagPickerOptionState = {\n components: {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ...optionState.components,\n media: 'div',\n secondaryContent: 'span',\n },\n media: slot.optional(props.media, {\n elementType: 'div',\n }),\n secondaryContent: slot.optional(props.secondaryContent, {\n elementType: 'span',\n }),\n root: slot.always(\n {
|
|
1
|
+
{"version":3,"sources":["../src/components/TagPickerOption/useTagPickerOption.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { slot } from '@fluentui/react-utilities';\nimport { useOption_unstable } from '@fluentui/react-combobox';\nimport type { TagPickerOptionProps, TagPickerOptionState } from './TagPickerOption.types';\n\n/**\n * Create the state required to render TagPickerOption.\n *\n * The returned state can be modified with hooks such as useTagPickerOptionStyles_unstable,\n * before being passed to renderTagPickerOption_unstable.\n *\n * @param props - props from this instance of TagPickerOption\n * @param ref - reference to root HTMLDivElement of TagPickerOption\n */\nexport const useTagPickerOption_unstable = (\n props: TagPickerOptionProps,\n ref: React.Ref<HTMLDivElement>,\n): TagPickerOptionState => {\n const optionState = useOption_unstable(props, ref);\n const state: TagPickerOptionState = {\n components: {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ...optionState.components,\n media: 'div',\n secondaryContent: 'span',\n },\n media: slot.optional(props.media, {\n elementType: 'div',\n }),\n secondaryContent: slot.optional(props.secondaryContent, {\n elementType: 'span',\n }),\n root: slot.always(\n {\n ...optionState.root,\n role: 'option',\n 'aria-selected': props['aria-selected'] ?? optionState.selected,\n 'aria-checked': props['aria-checked'],\n },\n {\n elementType: 'div',\n },\n ),\n };\n\n return state;\n};\n"],"names":["slot","useOption_unstable","useTagPickerOption_unstable","props","ref","optionState","state","components","media","secondaryContent","optional","elementType","root","always","role","selected"],"mappings":"AAAA;;;;;+BAgBaE;;;;;;gCAbQ,4BAA4B;+BACd,2BAA2B;AAYvD,oCAAoC,CACzCC,OACAC;IAEA,MAAMC,kBAAcJ,iCAAAA,EAAmBE,OAAOC;QAkBvBD;IAjBvB,MAAMG,QAA8B;QAClCC,YAAY;YACV,4DAA4D;YAC5D,GAAGF,YAAYE,UAAU;YACzBC,OAAO;YACPC,kBAAkB;QACpB;QACAD,OAAOR,oBAAAA,CAAKU,QAAQ,CAACP,MAAMK,KAAK,EAAE;YAChCG,aAAa;QACf;QACAF,kBAAkBT,oBAAAA,CAAKU,QAAQ,CAACP,MAAMM,gBAAgB,EAAE;YACtDE,aAAa;QACf;QACAC,MAAMZ,oBAAAA,CAAKa,MAAM,CACf;YACE,GAAGR,YAAYO,IAAI;YACnBE,MAAM;YACN,iBAAiBX,CAAAA,sBAAAA,KAAK,CAAC,gBAAA,AAAgB,MAAA,QAAtBA,wBAAAA,KAAAA,IAAAA,sBAA0BE,YAAYU,QAAQ;YAC/D,gBAAgBZ,KAAK,CAAC,eAAe;QACvC,GACA;YACEQ,aAAa;QACf;IAEJ;IAEA,OAAOL;AACT,EAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-tag-picker",
|
|
3
|
-
"version": "9.10.
|
|
3
|
+
"version": "9.10.6",
|
|
4
4
|
"description": "FluentUI TagPicker component",
|
|
5
5
|
"main": "lib-commonjs/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@fluentui/keyboard-keys": "^9.0.9",
|
|
23
|
-
"@fluentui/react-aria": "^9.17.
|
|
24
|
-
"@fluentui/react-combobox": "^9.17.
|
|
25
|
-
"@fluentui/react-context-selector": "^9.2.
|
|
26
|
-
"@fluentui/react-field": "^9.5.
|
|
23
|
+
"@fluentui/react-aria": "^9.17.16",
|
|
24
|
+
"@fluentui/react-combobox": "^9.17.8",
|
|
25
|
+
"@fluentui/react-context-selector": "^9.2.21",
|
|
26
|
+
"@fluentui/react-field": "^9.5.6",
|
|
27
27
|
"@fluentui/react-icons": "^2.0.245",
|
|
28
|
-
"@fluentui/react-jsx-runtime": "^9.4.
|
|
29
|
-
"@fluentui/react-portal": "^9.8.
|
|
30
|
-
"@fluentui/react-positioning": "^9.23.
|
|
28
|
+
"@fluentui/react-jsx-runtime": "^9.4.7",
|
|
29
|
+
"@fluentui/react-portal": "^9.8.17",
|
|
30
|
+
"@fluentui/react-positioning": "^9.23.4",
|
|
31
31
|
"@fluentui/react-shared-contexts": "^9.26.4",
|
|
32
|
-
"@fluentui/react-tabster": "^9.26.
|
|
33
|
-
"@fluentui/react-tags": "^9.9.
|
|
32
|
+
"@fluentui/react-tabster": "^9.26.19",
|
|
33
|
+
"@fluentui/react-tags": "^9.9.8",
|
|
34
34
|
"@fluentui/react-theme": "^9.2.2",
|
|
35
|
-
"@fluentui/react-utilities": "^9.
|
|
35
|
+
"@fluentui/react-utilities": "^9.27.0",
|
|
36
36
|
"@griffel/react": "^1.5.32",
|
|
37
37
|
"@swc/helpers": "^0.5.1"
|
|
38
38
|
},
|