@fluentui/react-menu-grid-preview 0.0.0-nightly-20250919-0407.1 → 0.0.0-nightly-20250923-0407.1

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 CHANGED
@@ -1,26 +1,26 @@
1
1
  # Change Log - @fluentui/react-menu-grid-preview
2
2
 
3
- This log was last generated on Fri, 19 Sep 2025 04:22:07 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 23 Sep 2025 04:22:23 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20250919-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu-grid-preview_v0.0.0-nightly-20250919-0407.1)
7
+ ## [0.0.0-nightly-20250923-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu-grid-preview_v0.0.0-nightly-20250923-0407.1)
8
8
 
9
- Fri, 19 Sep 2025 04:22:07 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu-grid-preview_v0.1.1..@fluentui/react-menu-grid-preview_v0.0.0-nightly-20250919-0407.1)
9
+ Tue, 23 Sep 2025 04:22:23 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu-grid-preview_v0.1.1..@fluentui/react-menu-grid-preview_v0.0.0-nightly-20250923-0407.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
- - Bump @fluentui/react-menu to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
16
- - Bump @fluentui/react-table to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
17
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
18
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
19
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
20
- - Bump @fluentui/react-theme to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
21
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
22
- - Bump @fluentui/react-conformance to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
23
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20250919-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/07786044b0ea4144dbeef6d59c61d0e814375a47) by beachball)
15
+ - Bump @fluentui/react-menu to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
16
+ - Bump @fluentui/react-table to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
17
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
18
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
19
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
20
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
21
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
22
+ - Bump @fluentui/react-conformance to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
23
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20250923-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/f93bb134a1e780503f37765ec665825c050f1555) by beachball)
24
24
 
25
25
  ## [0.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu-grid-preview_v0.1.1)
26
26
 
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { useMergedRefs, getIntrinsicElementProps, slot } from '@fluentui/react-utilities';
2
+ import { useMergedRefs, useEventCallback, mergeCallbacks, getIntrinsicElementProps, slot } from '@fluentui/react-utilities';
3
3
  import { useTableCompositeNavigation } from '@fluentui/react-table';
4
4
  import { useMenuContext_unstable } from '@fluentui/react-menu';
5
5
  import { useValidateNesting } from '../../utils/useValidateNesting';
@@ -9,6 +9,7 @@ import { useValidateNesting } from '../../utils/useValidateNesting';
9
9
  const validateNestingRef = useValidateNesting('MenuGrid');
10
10
  const triggerId = useMenuContext_unstable((context)=>context.triggerId);
11
11
  const { tableRowTabsterAttribute, tableTabsterAttribute, onTableKeyDown } = useTableCompositeNavigation();
12
+ const onKeyDown = useEventCallback(mergeCallbacks(props.onKeyDown, onTableKeyDown));
12
13
  return {
13
14
  components: {
14
15
  root: 'div'
@@ -17,9 +18,9 @@ import { useValidateNesting } from '../../utils/useValidateNesting';
17
18
  ref: useMergedRefs(ref, validateNestingRef),
18
19
  role: 'grid',
19
20
  'aria-labelledby': triggerId,
20
- onKeyDown: onTableKeyDown,
21
21
  ...tableTabsterAttribute,
22
- ...props
22
+ ...props,
23
+ onKeyDown
23
24
  }), {
24
25
  elementType: 'div'
25
26
  }),
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/MenuGrid/useMenuGrid.ts"],"sourcesContent":["import * as React from 'react';\nimport { useMergedRefs, getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\n\nimport { useTableCompositeNavigation } from '@fluentui/react-table';\nimport type { MenuGridProps, MenuGridState } from './MenuGrid.types';\nimport { useMenuContext_unstable } from '@fluentui/react-menu';\nimport { useValidateNesting } from '../../utils/useValidateNesting';\n\n/**\n * Returns the props and state required to render the component\n */\nexport const useMenuGrid_unstable = (props: MenuGridProps, ref: React.Ref<HTMLDivElement>): MenuGridState => {\n const validateNestingRef = useValidateNesting('MenuGrid');\n const triggerId = useMenuContext_unstable(context => context.triggerId);\n const { tableRowTabsterAttribute, tableTabsterAttribute, onTableKeyDown } = useTableCompositeNavigation();\n\n return {\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref: useMergedRefs(ref, validateNestingRef),\n role: 'grid',\n 'aria-labelledby': triggerId,\n onKeyDown: onTableKeyDown,\n ...tableTabsterAttribute,\n ...props,\n }),\n { elementType: 'div' },\n ),\n tableRowTabsterAttribute,\n };\n};\n"],"names":["React","useMergedRefs","getIntrinsicElementProps","slot","useTableCompositeNavigation","useMenuContext_unstable","useValidateNesting","useMenuGrid_unstable","props","ref","validateNestingRef","triggerId","context","tableRowTabsterAttribute","tableTabsterAttribute","onTableKeyDown","components","root","always","role","onKeyDown","elementType"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,aAAa,EAAEC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAE1F,SAASC,2BAA2B,QAAQ,wBAAwB;AAEpE,SAASC,uBAAuB,QAAQ,uBAAuB;AAC/D,SAASC,kBAAkB,QAAQ,iCAAiC;AAEpE;;CAEC,GACD,OAAO,MAAMC,uBAAuB,CAACC,OAAsBC;IACzD,MAAMC,qBAAqBJ,mBAAmB;IAC9C,MAAMK,YAAYN,wBAAwBO,CAAAA,UAAWA,QAAQD,SAAS;IACtE,MAAM,EAAEE,wBAAwB,EAAEC,qBAAqB,EAAEC,cAAc,EAAE,GAAGX;IAE5E,OAAO;QACLY,YAAY;YACVC,MAAM;QACR;QACAA,MAAMd,KAAKe,MAAM,CACfhB,yBAAyB,OAAO;YAC9BO,KAAKR,cAAcQ,KAAKC;YACxBS,MAAM;YACN,mBAAmBR;YACnBS,WAAWL;YACX,GAAGD,qBAAqB;YACxB,GAAGN,KAAK;QACV,IACA;YAAEa,aAAa;QAAM;QAEvBR;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../src/components/MenuGrid/useMenuGrid.ts"],"sourcesContent":["import * as React from 'react';\nimport {\n useMergedRefs,\n useEventCallback,\n mergeCallbacks,\n getIntrinsicElementProps,\n slot,\n} from '@fluentui/react-utilities';\n\nimport { useTableCompositeNavigation } from '@fluentui/react-table';\nimport type { MenuGridProps, MenuGridState } from './MenuGrid.types';\nimport { useMenuContext_unstable } from '@fluentui/react-menu';\nimport { useValidateNesting } from '../../utils/useValidateNesting';\n\n/**\n * Returns the props and state required to render the component\n */\nexport const useMenuGrid_unstable = (props: MenuGridProps, ref: React.Ref<HTMLDivElement>): MenuGridState => {\n const validateNestingRef = useValidateNesting('MenuGrid');\n const triggerId = useMenuContext_unstable(context => context.triggerId);\n const { tableRowTabsterAttribute, tableTabsterAttribute, onTableKeyDown } = useTableCompositeNavigation();\n const onKeyDown = useEventCallback(mergeCallbacks(props.onKeyDown, onTableKeyDown));\n\n return {\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref: useMergedRefs(ref, validateNestingRef),\n role: 'grid',\n 'aria-labelledby': triggerId,\n ...tableTabsterAttribute,\n ...props,\n onKeyDown,\n }),\n { elementType: 'div' },\n ),\n tableRowTabsterAttribute,\n };\n};\n"],"names":["React","useMergedRefs","useEventCallback","mergeCallbacks","getIntrinsicElementProps","slot","useTableCompositeNavigation","useMenuContext_unstable","useValidateNesting","useMenuGrid_unstable","props","ref","validateNestingRef","triggerId","context","tableRowTabsterAttribute","tableTabsterAttribute","onTableKeyDown","onKeyDown","components","root","always","role","elementType"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SACEC,aAAa,EACbC,gBAAgB,EAChBC,cAAc,EACdC,wBAAwB,EACxBC,IAAI,QACC,4BAA4B;AAEnC,SAASC,2BAA2B,QAAQ,wBAAwB;AAEpE,SAASC,uBAAuB,QAAQ,uBAAuB;AAC/D,SAASC,kBAAkB,QAAQ,iCAAiC;AAEpE;;CAEC,GACD,OAAO,MAAMC,uBAAuB,CAACC,OAAsBC;IACzD,MAAMC,qBAAqBJ,mBAAmB;IAC9C,MAAMK,YAAYN,wBAAwBO,CAAAA,UAAWA,QAAQD,SAAS;IACtE,MAAM,EAAEE,wBAAwB,EAAEC,qBAAqB,EAAEC,cAAc,EAAE,GAAGX;IAC5E,MAAMY,YAAYhB,iBAAiBC,eAAeO,MAAMQ,SAAS,EAAED;IAEnE,OAAO;QACLE,YAAY;YACVC,MAAM;QACR;QACAA,MAAMf,KAAKgB,MAAM,CACfjB,yBAAyB,OAAO;YAC9BO,KAAKV,cAAcU,KAAKC;YACxBU,MAAM;YACN,mBAAmBT;YACnB,GAAGG,qBAAqB;YACxB,GAAGN,KAAK;YACRQ;QACF,IACA;YAAEK,aAAa;QAAM;QAEvBR;IACF;AACF,EAAE"}
@@ -18,6 +18,7 @@ const useMenuGrid_unstable = (props, ref)=>{
18
18
  const validateNestingRef = (0, _useValidateNesting.useValidateNesting)('MenuGrid');
19
19
  const triggerId = (0, _reactmenu.useMenuContext_unstable)((context)=>context.triggerId);
20
20
  const { tableRowTabsterAttribute, tableTabsterAttribute, onTableKeyDown } = (0, _reacttable.useTableCompositeNavigation)();
21
+ const onKeyDown = (0, _reactutilities.useEventCallback)((0, _reactutilities.mergeCallbacks)(props.onKeyDown, onTableKeyDown));
21
22
  return {
22
23
  components: {
23
24
  root: 'div'
@@ -26,9 +27,9 @@ const useMenuGrid_unstable = (props, ref)=>{
26
27
  ref: (0, _reactutilities.useMergedRefs)(ref, validateNestingRef),
27
28
  role: 'grid',
28
29
  'aria-labelledby': triggerId,
29
- onKeyDown: onTableKeyDown,
30
30
  ...tableTabsterAttribute,
31
- ...props
31
+ ...props,
32
+ onKeyDown
32
33
  }), {
33
34
  elementType: 'div'
34
35
  }),
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/MenuGrid/useMenuGrid.ts"],"sourcesContent":["import * as React from 'react';\nimport { useMergedRefs, getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\n\nimport { useTableCompositeNavigation } from '@fluentui/react-table';\nimport type { MenuGridProps, MenuGridState } from './MenuGrid.types';\nimport { useMenuContext_unstable } from '@fluentui/react-menu';\nimport { useValidateNesting } from '../../utils/useValidateNesting';\n\n/**\n * Returns the props and state required to render the component\n */\nexport const useMenuGrid_unstable = (props: MenuGridProps, ref: React.Ref<HTMLDivElement>): MenuGridState => {\n const validateNestingRef = useValidateNesting('MenuGrid');\n const triggerId = useMenuContext_unstable(context => context.triggerId);\n const { tableRowTabsterAttribute, tableTabsterAttribute, onTableKeyDown } = useTableCompositeNavigation();\n\n return {\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref: useMergedRefs(ref, validateNestingRef),\n role: 'grid',\n 'aria-labelledby': triggerId,\n onKeyDown: onTableKeyDown,\n ...tableTabsterAttribute,\n ...props,\n }),\n { elementType: 'div' },\n ),\n tableRowTabsterAttribute,\n };\n};\n"],"names":["React","useMergedRefs","getIntrinsicElementProps","slot","useTableCompositeNavigation","useMenuContext_unstable","useValidateNesting","useMenuGrid_unstable","props","ref","validateNestingRef","triggerId","context","tableRowTabsterAttribute","tableTabsterAttribute","onTableKeyDown","components","root","always","role","onKeyDown","elementType"],"mappings":";;;;+BAWaO;;;;;;;iEAXU,QAAQ;gCAC+B,4BAA4B;4BAE9C,wBAAwB;2BAE5B,uBAAuB;oCAC5B,iCAAiC;AAK7D,6BAA6B,CAACC,OAAsBC;IACzD,MAAMC,yBAAqBJ,sCAAAA,EAAmB;IAC9C,MAAMK,YAAYN,sCAAAA,EAAwBO,CAAAA,UAAWA,QAAQD,SAAS;IACtE,MAAM,EAAEE,wBAAwB,EAAEC,qBAAqB,EAAEC,cAAc,EAAE,OAAGX,uCAAAA;IAE5E,OAAO;QACLY,YAAY;YACVC,MAAM;QACR;QACAA,MAAMd,oBAAAA,CAAKe,MAAM,KACfhB,wCAAAA,EAAyB,OAAO;YAC9BO,SAAKR,6BAAAA,EAAcQ,KAAKC;YACxBS,MAAM;YACN,mBAAmBR;YACnBS,WAAWL;YACX,GAAGD,qBAAqB;YACxB,GAAGN,KAAK;QACV,IACA;YAAEa,aAAa;QAAM;QAEvBR;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../src/components/MenuGrid/useMenuGrid.ts"],"sourcesContent":["import * as React from 'react';\nimport {\n useMergedRefs,\n useEventCallback,\n mergeCallbacks,\n getIntrinsicElementProps,\n slot,\n} from '@fluentui/react-utilities';\n\nimport { useTableCompositeNavigation } from '@fluentui/react-table';\nimport type { MenuGridProps, MenuGridState } from './MenuGrid.types';\nimport { useMenuContext_unstable } from '@fluentui/react-menu';\nimport { useValidateNesting } from '../../utils/useValidateNesting';\n\n/**\n * Returns the props and state required to render the component\n */\nexport const useMenuGrid_unstable = (props: MenuGridProps, ref: React.Ref<HTMLDivElement>): MenuGridState => {\n const validateNestingRef = useValidateNesting('MenuGrid');\n const triggerId = useMenuContext_unstable(context => context.triggerId);\n const { tableRowTabsterAttribute, tableTabsterAttribute, onTableKeyDown } = useTableCompositeNavigation();\n const onKeyDown = useEventCallback(mergeCallbacks(props.onKeyDown, onTableKeyDown));\n\n return {\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref: useMergedRefs(ref, validateNestingRef),\n role: 'grid',\n 'aria-labelledby': triggerId,\n ...tableTabsterAttribute,\n ...props,\n onKeyDown,\n }),\n { elementType: 'div' },\n ),\n tableRowTabsterAttribute,\n };\n};\n"],"names":["React","useMergedRefs","useEventCallback","mergeCallbacks","getIntrinsicElementProps","slot","useTableCompositeNavigation","useMenuContext_unstable","useValidateNesting","useMenuGrid_unstable","props","ref","validateNestingRef","triggerId","context","tableRowTabsterAttribute","tableTabsterAttribute","onTableKeyDown","onKeyDown","components","root","always","role","elementType"],"mappings":";;;;+BAiBaS;;;;;;;iEAjBU,QAAQ;gCAOxB,4BAA4B;4BAES,wBAAwB;2BAE5B,uBAAuB;oCAC5B,iCAAiC;AAK7D,6BAA6B,CAACC,OAAsBC;IACzD,MAAMC,yBAAqBJ,sCAAAA,EAAmB;IAC9C,MAAMK,gBAAYN,kCAAAA,EAAwBO,CAAAA,UAAWA,QAAQD,SAAS;IACtE,MAAM,EAAEE,wBAAwB,EAAEC,qBAAqB,EAAEC,cAAc,EAAE,OAAGX,uCAAAA;IAC5E,MAAMY,gBAAYhB,gCAAAA,MAAiBC,8BAAAA,EAAeO,MAAMQ,SAAS,EAAED;IAEnE,OAAO;QACLE,YAAY;YACVC,MAAM;QACR;QACAA,MAAMf,oBAAAA,CAAKgB,MAAM,KACfjB,wCAAAA,EAAyB,OAAO;YAC9BO,SAAKV,6BAAAA,EAAcU,KAAKC;YACxBU,MAAM;YACN,mBAAmBT;YACnB,GAAGG,qBAAqB;YACxB,GAAGN,KAAK;YACRQ;QACF,IACA;YAAEK,aAAa;QAAM;QAEvBR;IACF;AACF,EAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-menu-grid-preview",
3
- "version": "0.0.0-nightly-20250919-0407.1",
3
+ "version": "0.0.0-nightly-20250923-0407.1",
4
4
  "description": "New fluentui react package",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -19,18 +19,18 @@
19
19
  "license": "MIT",
20
20
  "devDependencies": {
21
21
  "@fluentui/eslint-plugin": "*",
22
- "@fluentui/react-conformance": "0.0.0-nightly-20250919-0407.1",
23
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20250919-0407.1",
22
+ "@fluentui/react-conformance": "0.0.0-nightly-20250923-0407.1",
23
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20250923-0407.1",
24
24
  "@fluentui/scripts-api-extractor": "*"
25
25
  },
26
26
  "dependencies": {
27
- "@fluentui/react-menu": "0.0.0-nightly-20250919-0407.1",
28
- "@fluentui/react-table": "0.0.0-nightly-20250919-0407.1",
29
- "@fluentui/react-tabster": "0.0.0-nightly-20250919-0407.1",
30
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20250919-0407.1",
31
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20250919-0407.1",
32
- "@fluentui/react-theme": "0.0.0-nightly-20250919-0407.1",
33
- "@fluentui/react-utilities": "0.0.0-nightly-20250919-0407.1",
27
+ "@fluentui/react-menu": "0.0.0-nightly-20250923-0407.1",
28
+ "@fluentui/react-table": "0.0.0-nightly-20250923-0407.1",
29
+ "@fluentui/react-tabster": "0.0.0-nightly-20250923-0407.1",
30
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20250923-0407.1",
31
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20250923-0407.1",
32
+ "@fluentui/react-theme": "0.0.0-nightly-20250923-0407.1",
33
+ "@fluentui/react-utilities": "0.0.0-nightly-20250923-0407.1",
34
34
  "@griffel/react": "^1.5.22",
35
35
  "@swc/helpers": "^0.5.1"
36
36
  },