@fluentui/react-menu 0.0.0-nightly-20240116-0406.1 → 0.0.0-nightly-20240118-0405.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,29 +1,62 @@
1
1
  # Change Log - @fluentui/react-menu
2
2
 
3
- This log was last generated on Tue, 16 Jan 2024 04:21:31 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 18 Jan 2024 04:20:49 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20240116-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly-20240116-0406.1)
7
+ ## [0.0.0-nightly-20240118-0405.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightly-20240118-0405.1)
8
8
 
9
- Tue, 16 Jan 2024 04:21:31 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.12.42..@fluentui/react-menu_v0.0.0-nightly-20240116-0406.1)
9
+ Thu, 18 Jan 2024 04:20:49 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.12.44..@fluentui/react-menu_v0.0.0-nightly-20240118-0405.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/keyboard-keys to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
16
- - Bump @fluentui/react-aria to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
17
- - Bump @fluentui/react-context-selector to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
18
- - Bump @fluentui/react-portal to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
19
- - Bump @fluentui/react-positioning to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
20
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
21
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
22
- - Bump @fluentui/react-theme to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
24
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
25
- - Bump @fluentui/react-conformance to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
26
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240116-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/a3395af2a71f16890a30eb33a7979ad57f0cff0b) by beachball)
15
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
16
+ - Bump @fluentui/react-aria to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
17
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
18
+ - Bump @fluentui/react-portal to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
19
+ - Bump @fluentui/react-positioning to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
20
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
21
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
22
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
23
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
24
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
25
+ - Bump @fluentui/react-conformance to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
26
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240118-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/efdb5dc77e137ac60ade2b8829e84525a6696eed) by beachball)
27
+
28
+ ## [9.12.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.12.44)
29
+
30
+ Wed, 17 Jan 2024 16:18:50 GMT
31
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.12.43..@fluentui/react-menu_v9.12.44)
32
+
33
+ ### Patches
34
+
35
+ - Bump @fluentui/react-aria to v9.7.2 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
36
+ - Bump @fluentui/react-context-selector to v9.1.48 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
37
+ - Bump @fluentui/react-portal to v9.4.9 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
38
+ - Bump @fluentui/react-positioning to v9.12.3 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
39
+ - Bump @fluentui/react-tabster to v9.17.2 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
40
+ - Bump @fluentui/react-utilities to v9.16.0 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
41
+ - Bump @fluentui/react-jsx-runtime to v9.0.26 ([PR #30339](https://github.com/microsoft/fluentui/pull/30339) by beachball)
42
+
43
+ ## [9.12.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.12.43)
44
+
45
+ Tue, 16 Jan 2024 13:14:19 GMT
46
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.12.42..@fluentui/react-menu_v9.12.43)
47
+
48
+ ### Patches
49
+
50
+ - fix: correct version of @types/react-dom peer dep that matches for 16.x ([PR #30259](https://github.com/microsoft/fluentui/pull/30259) by mgodbolt@microsoft.com)
51
+ - bugfix: Omit colliding content property from ComponentProps ([PR #29865](https://github.com/microsoft/fluentui/pull/29865) by bernardo.sunderhus@gmail.com)
52
+ - fix: MenuItem shortcut text should be caption ([PR #29811](https://github.com/microsoft/fluentui/pull/29811) by lingfangao@hotmail.com)
53
+ - fix(MenuItem): bottom padding should be same as top padding ([PR #30291](https://github.com/microsoft/fluentui/pull/30291) by lingfangao@hotmail.com)
54
+ - Bump @fluentui/react-aria to v9.7.1 ([PR #30299](https://github.com/microsoft/fluentui/pull/30299) by beachball)
55
+ - Bump @fluentui/react-context-selector to v9.1.47 ([PR #30299](https://github.com/microsoft/fluentui/pull/30299) by beachball)
56
+ - Bump @fluentui/react-portal to v9.4.8 ([PR #30299](https://github.com/microsoft/fluentui/pull/30299) by beachball)
57
+ - Bump @fluentui/react-positioning to v9.12.2 ([PR #30299](https://github.com/microsoft/fluentui/pull/30299) by beachball)
58
+ - Bump @fluentui/react-tabster to v9.17.1 ([PR #30299](https://github.com/microsoft/fluentui/pull/30299) by beachball)
59
+ - Bump @fluentui/react-jsx-runtime to v9.0.25 ([PR #30299](https://github.com/microsoft/fluentui/pull/30299) by beachball)
27
60
 
28
61
  ## [9.12.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.12.42)
29
62
 
package/dist/index.d.ts CHANGED
@@ -171,7 +171,7 @@ export declare type MenuItemLinkSlots = {
171
171
  */
172
172
  export declare type MenuItemLinkState = ComponentState<MenuItemLinkSlots>;
173
173
 
174
- export declare type MenuItemProps = ComponentProps<Partial<MenuItemSlots>> & {
174
+ export declare type MenuItemProps = Omit<ComponentProps<Partial<MenuItemSlots>>, 'content'> & Pick<Partial<MenuItemSlots>, 'content'> & {
175
175
  /**
176
176
  * If the menu item is a trigger for a submenu
177
177
  *
@@ -1 +1 @@
1
- {"version":3,"sources":["MenuItem.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type MenuItemSlots = {\n root: Slot<'div'>;\n\n /**\n * Icon slot rendered before children content\n */\n icon?: Slot<'span'>;\n\n /**\n * A helper slot for alignment when a menu item is used with selectable menuitems\n * Avoid using this slot as a replacement for MenuItemCheckbox and MenuItemRadio components\n */\n checkmark?: Slot<'span'>;\n\n /**\n * Icon slot that shows the indicator for a submenu\n */\n submenuIndicator?: Slot<'span'>;\n\n /**\n * Component children are placed in this slot\n * Avoid using the `children` property in this slot in favour of Component children whenever possible\n */\n content?: Slot<'span'>;\n\n /**\n * Secondary content rendered opposite the primary content (e.g Shortcut text)\n */\n secondaryContent?: Slot<'span'>;\n};\n\nexport type MenuItemProps = ComponentProps<Partial<MenuItemSlots>> & {\n /**\n * If the menu item is a trigger for a submenu\n *\n * @default false\n */\n hasSubmenu?: boolean;\n\n /**\n * Clicking on the menu item will not dismiss an open menu\n *\n * @default false\n */\n persistOnClick?: boolean;\n\n disabled?: boolean;\n /**\n * @deprecated this property does nothing.\n * disabled focusable is by default by simply using `disabled` property\n */\n disabledFocusable?: boolean;\n};\n\nexport type MenuItemState = ComponentState<MenuItemSlots> &\n Required<Pick<MenuItemProps, 'disabled' | 'hasSubmenu' | 'persistOnClick'>>;\n"],"names":[],"mappings":"AAAA,WAyD8E"}
1
+ {"version":3,"sources":["MenuItem.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type MenuItemSlots = {\n root: Slot<'div'>;\n\n /**\n * Icon slot rendered before children content\n */\n icon?: Slot<'span'>;\n\n /**\n * A helper slot for alignment when a menu item is used with selectable menuitems\n * Avoid using this slot as a replacement for MenuItemCheckbox and MenuItemRadio components\n */\n checkmark?: Slot<'span'>;\n\n /**\n * Icon slot that shows the indicator for a submenu\n */\n submenuIndicator?: Slot<'span'>;\n\n /**\n * Component children are placed in this slot\n * Avoid using the `children` property in this slot in favour of Component children whenever possible\n */\n content?: Slot<'span'>;\n\n /**\n * Secondary content rendered opposite the primary content (e.g Shortcut text)\n */\n secondaryContent?: Slot<'span'>;\n};\n\nexport type MenuItemProps = Omit<ComponentProps<Partial<MenuItemSlots>>, 'content'> &\n Pick<Partial<MenuItemSlots>, 'content'> & {\n /**\n * If the menu item is a trigger for a submenu\n *\n * @default false\n */\n hasSubmenu?: boolean;\n\n /**\n * Clicking on the menu item will not dismiss an open menu\n *\n * @default false\n */\n persistOnClick?: boolean;\n\n disabled?: boolean;\n /**\n * @deprecated this property does nothing.\n * disabled focusable is by default by simply using `disabled` property\n */\n disabledFocusable?: boolean;\n };\n\nexport type MenuItemState = ComponentState<MenuItemSlots> &\n Required<Pick<MenuItemProps, 'disabled' | 'hasSubmenu' | 'persistOnClick'>>;\n"],"names":[],"mappings":"AAAA,WA0D8E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-menu",
3
- "version": "0.0.0-nightly-20240116-0406.1",
3
+ "version": "0.0.0-nightly-20240118-0405.1",
4
4
  "description": "Fluent UI menu component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -29,24 +29,24 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@fluentui/eslint-plugin": "*",
32
- "@fluentui/react-conformance": "0.0.0-nightly-20240116-0406.1",
33
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20240116-0406.1",
32
+ "@fluentui/react-conformance": "0.0.0-nightly-20240118-0405.1",
33
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20240118-0405.1",
34
34
  "@fluentui/scripts-api-extractor": "*",
35
35
  "@fluentui/scripts-cypress": "*",
36
36
  "@fluentui/scripts-tasks": "*"
37
37
  },
38
38
  "dependencies": {
39
- "@fluentui/keyboard-keys": "0.0.0-nightly-20240116-0406.1",
40
- "@fluentui/react-aria": "0.0.0-nightly-20240116-0406.1",
41
- "@fluentui/react-context-selector": "0.0.0-nightly-20240116-0406.1",
39
+ "@fluentui/keyboard-keys": "0.0.0-nightly-20240118-0405.1",
40
+ "@fluentui/react-aria": "0.0.0-nightly-20240118-0405.1",
41
+ "@fluentui/react-context-selector": "0.0.0-nightly-20240118-0405.1",
42
42
  "@fluentui/react-icons": "^2.0.224",
43
- "@fluentui/react-portal": "0.0.0-nightly-20240116-0406.1",
44
- "@fluentui/react-positioning": "0.0.0-nightly-20240116-0406.1",
45
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20240116-0406.1",
46
- "@fluentui/react-tabster": "0.0.0-nightly-20240116-0406.1",
47
- "@fluentui/react-theme": "0.0.0-nightly-20240116-0406.1",
48
- "@fluentui/react-utilities": "0.0.0-nightly-20240116-0406.1",
49
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20240116-0406.1",
43
+ "@fluentui/react-portal": "0.0.0-nightly-20240118-0405.1",
44
+ "@fluentui/react-positioning": "0.0.0-nightly-20240118-0405.1",
45
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20240118-0405.1",
46
+ "@fluentui/react-tabster": "0.0.0-nightly-20240118-0405.1",
47
+ "@fluentui/react-theme": "0.0.0-nightly-20240118-0405.1",
48
+ "@fluentui/react-utilities": "0.0.0-nightly-20240118-0405.1",
49
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20240118-0405.1",
50
50
  "@griffel/react": "^1.5.14",
51
51
  "@swc/helpers": "^0.5.1"
52
52
  },