@fluentui/react-menu 9.14.7 → 9.14.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/CHANGELOG.md +32 -2
  2. package/lib/components/MenuDivider/useMenuDividerStyles.styles.js +2 -0
  3. package/lib/components/MenuDivider/useMenuDividerStyles.styles.js.map +1 -1
  4. package/lib/components/MenuGroup/useMenuGroupStyles.styles.js +2 -0
  5. package/lib/components/MenuGroup/useMenuGroupStyles.styles.js.map +1 -1
  6. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.styles.js +2 -0
  7. package/lib/components/MenuGroupHeader/useMenuGroupHeaderStyles.styles.js.map +1 -1
  8. package/lib/components/MenuItem/useCharacterSearch.js +1 -0
  9. package/lib/components/MenuItem/useCharacterSearch.js.map +1 -1
  10. package/lib/components/MenuItem/useMenuItemStyles.styles.js +2 -0
  11. package/lib/components/MenuItem/useMenuItemStyles.styles.js.map +1 -1
  12. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.styles.js +2 -0
  13. package/lib/components/MenuItemCheckbox/useMenuItemCheckboxStyles.styles.js.map +1 -1
  14. package/lib/components/MenuItemLink/useMenuItemLinkStyles.styles.js +2 -0
  15. package/lib/components/MenuItemLink/useMenuItemLinkStyles.styles.js.map +1 -1
  16. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.styles.js +2 -0
  17. package/lib/components/MenuItemRadio/useMenuItemRadioStyles.styles.js.map +1 -1
  18. package/lib/components/MenuItemSwitch/useMenuItemSwitchStyles.styles.js +2 -0
  19. package/lib/components/MenuItemSwitch/useMenuItemSwitchStyles.styles.js.map +1 -1
  20. package/lib/components/MenuList/useMenuList.js +24 -5
  21. package/lib/components/MenuList/useMenuList.js.map +1 -1
  22. package/lib/components/MenuList/useMenuListStyles.styles.js +2 -0
  23. package/lib/components/MenuList/useMenuListStyles.styles.js.map +1 -1
  24. package/lib/components/MenuPopover/useMenuPopover.js +1 -0
  25. package/lib/components/MenuPopover/useMenuPopover.js.map +1 -1
  26. package/lib/components/MenuPopover/useMenuPopoverStyles.styles.js +2 -0
  27. package/lib/components/MenuPopover/useMenuPopoverStyles.styles.js.map +1 -1
  28. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.styles.js +2 -0
  29. package/lib/components/MenuSplitGroup/useMenuSplitGroupStyles.styles.js.map +1 -1
  30. package/lib/selectable/useCheckmarkStyles.styles.js +2 -0
  31. package/lib/selectable/useCheckmarkStyles.styles.js.map +1 -1
  32. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.styles.js +1 -0
  33. package/lib-commonjs/components/MenuDivider/useMenuDividerStyles.styles.js.map +1 -1
  34. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.styles.js +1 -0
  35. package/lib-commonjs/components/MenuGroup/useMenuGroupStyles.styles.js.map +1 -1
  36. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.styles.js +1 -0
  37. package/lib-commonjs/components/MenuGroupHeader/useMenuGroupHeaderStyles.styles.js.map +1 -1
  38. package/lib-commonjs/components/MenuItem/useCharacterSearch.js +1 -0
  39. package/lib-commonjs/components/MenuItem/useCharacterSearch.js.map +1 -1
  40. package/lib-commonjs/components/MenuItem/useMenuItemStyles.styles.js +1 -0
  41. package/lib-commonjs/components/MenuItem/useMenuItemStyles.styles.js.map +1 -1
  42. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.styles.js +1 -0
  43. package/lib-commonjs/components/MenuItemCheckbox/useMenuItemCheckboxStyles.styles.js.map +1 -1
  44. package/lib-commonjs/components/MenuItemLink/useMenuItemLinkStyles.styles.js +1 -0
  45. package/lib-commonjs/components/MenuItemLink/useMenuItemLinkStyles.styles.js.map +1 -1
  46. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.styles.js +1 -0
  47. package/lib-commonjs/components/MenuItemRadio/useMenuItemRadioStyles.styles.js.map +1 -1
  48. package/lib-commonjs/components/MenuItemSwitch/useMenuItemSwitchStyles.styles.js +1 -0
  49. package/lib-commonjs/components/MenuItemSwitch/useMenuItemSwitchStyles.styles.js.map +1 -1
  50. package/lib-commonjs/components/MenuList/useMenuList.js +23 -4
  51. package/lib-commonjs/components/MenuList/useMenuList.js.map +1 -1
  52. package/lib-commonjs/components/MenuList/useMenuListStyles.styles.js +1 -0
  53. package/lib-commonjs/components/MenuList/useMenuListStyles.styles.js.map +1 -1
  54. package/lib-commonjs/components/MenuPopover/useMenuPopover.js +1 -0
  55. package/lib-commonjs/components/MenuPopover/useMenuPopover.js.map +1 -1
  56. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.styles.js +1 -0
  57. package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.styles.js.map +1 -1
  58. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.styles.js +1 -0
  59. package/lib-commonjs/components/MenuSplitGroup/useMenuSplitGroupStyles.styles.js.map +1 -1
  60. package/lib-commonjs/selectable/useCheckmarkStyles.styles.js +1 -0
  61. package/lib-commonjs/selectable/useCheckmarkStyles.styles.js.map +1 -1
  62. package/package.json +9 -9
@@ -1 +1 @@
1
- {"version":3,"sources":["useMenuSplitGroupStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { menuItemClassNames } from '../MenuItem/useMenuItemStyles.styles';\nexport const menuSplitGroupClassNames = {\n root: 'fui-MenuSplitGroup'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f22iagw\",\n oe75ve: \"f1mvlx34\",\n Bu15iap: [\"fsdyxoe\", \"fuk6rhi\"],\n B71tm0z: [\"fn8z6db\", \"f1be8c1t\"],\n Gjs4sj: [\"f1vtn0lh\", \"f8hq2kl\"],\n foni4y: \"f7j48hl\",\n Ie9k5m: \"f13du8c1\",\n f30fub: \"fe64lw1\",\n Jberyy: \"f92oj5h\"\n }\n}, {\n d: [\".f22iagw{display:flex;}\", \".f1mvlx34>.fui-MenuItem:nth-of-type(1){flex-grow:1;}\", \".fsdyxoe>.fui-MenuItem:nth-of-type(2){border-top-left-radius:0;}\", \".fuk6rhi>.fui-MenuItem:nth-of-type(2){border-top-right-radius:0;}\", \".fn8z6db>.fui-MenuItem:nth-of-type(2){border-bottom-left-radius:0;}\", \".f1be8c1t>.fui-MenuItem:nth-of-type(2){border-bottom-right-radius:0;}\", \".f1vtn0lh>.fui-MenuItem:nth-of-type(2){padding-left:0;}\", \".f8hq2kl>.fui-MenuItem:nth-of-type(2){padding-right:0;}\", \".f7j48hl>.fui-MenuItem:nth-of-type(2)::before{content:\\\"\\\";}\", \".f13du8c1>.fui-MenuItem:nth-of-type(2)::before{width:var(--strokeWidthThin);}\", \".fe64lw1>.fui-MenuItem:nth-of-type(2)::before{height:20px;}\", \".f92oj5h>.fui-MenuItem:nth-of-type(2)::before{background-color:var(--colorNeutralStroke1);}\"]\n});\n/**\n * Apply styling to the MenuSplitGroup slots based on the state\n */\nexport const useMenuSplitGroupStyles_unstable = state => {\n const styles = useStyles();\n state.root.className = mergeClasses(menuSplitGroupClassNames.root, styles.root, state.root.className);\n return state;\n};\n//# sourceMappingURL=useMenuSplitGroupStyles.styles.js.map"],"names":["menuSplitGroupClassNames","useMenuSplitGroupStyles_unstable","root","useStyles","__styles","mc9l5x","oe75ve","Bu15iap","B71tm0z","Gjs4sj","foni4y","Ie9k5m","f30fub","Jberyy","d","state","styles","className","mergeClasses"],"mappings":";;;;;;;;;;;IAGaA,wBAAwB;eAAxBA;;IAwBAC,gCAAgC;eAAhCA;;;uBA3B0B;AAGhC,MAAMD,2BAA2B;IACtCE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCF,MAAM;QACJG,QAAQ;QACRC,QAAQ;QACRC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;YAAC;YAAW;SAAW;QAChCC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;IACV;AACF,GAAG;IACDC,GAAG;QAAC;QAA2B;QAAwD;QAAoE;QAAqE;QAAuE;QAAyE;QAA2D;QAA2D;QAAgE;QAAiF;QAA+D;KAA8F;AACtxB;AAIO,MAAMb,mCAAmCc,CAAAA;IAC9C,MAAMC,SAASb;IACfY,MAAMb,IAAI,CAACe,SAAS,GAAGC,IAAAA,mBAAY,EAAClB,yBAAyBE,IAAI,EAAEc,OAAOd,IAAI,EAAEa,MAAMb,IAAI,CAACe,SAAS;IACpG,OAAOF;AACT,GACA,0DAA0D"}
1
+ {"version":3,"sources":["useMenuSplitGroupStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { menuItemClassNames } from '../MenuItem/useMenuItemStyles.styles';\nexport const menuSplitGroupClassNames = {\n root: 'fui-MenuSplitGroup'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f22iagw\",\n oe75ve: \"f1mvlx34\",\n Bu15iap: [\"fsdyxoe\", \"fuk6rhi\"],\n B71tm0z: [\"fn8z6db\", \"f1be8c1t\"],\n Gjs4sj: [\"f1vtn0lh\", \"f8hq2kl\"],\n foni4y: \"f7j48hl\",\n Ie9k5m: \"f13du8c1\",\n f30fub: \"fe64lw1\",\n Jberyy: \"f92oj5h\"\n }\n}, {\n d: [\".f22iagw{display:flex;}\", \".f1mvlx34>.fui-MenuItem:nth-of-type(1){flex-grow:1;}\", \".fsdyxoe>.fui-MenuItem:nth-of-type(2){border-top-left-radius:0;}\", \".fuk6rhi>.fui-MenuItem:nth-of-type(2){border-top-right-radius:0;}\", \".fn8z6db>.fui-MenuItem:nth-of-type(2){border-bottom-left-radius:0;}\", \".f1be8c1t>.fui-MenuItem:nth-of-type(2){border-bottom-right-radius:0;}\", \".f1vtn0lh>.fui-MenuItem:nth-of-type(2){padding-left:0;}\", \".f8hq2kl>.fui-MenuItem:nth-of-type(2){padding-right:0;}\", \".f7j48hl>.fui-MenuItem:nth-of-type(2)::before{content:\\\"\\\";}\", \".f13du8c1>.fui-MenuItem:nth-of-type(2)::before{width:var(--strokeWidthThin);}\", \".fe64lw1>.fui-MenuItem:nth-of-type(2)::before{height:20px;}\", \".f92oj5h>.fui-MenuItem:nth-of-type(2)::before{background-color:var(--colorNeutralStroke1);}\"]\n});\n/**\n * Apply styling to the MenuSplitGroup slots based on the state\n */\nexport const useMenuSplitGroupStyles_unstable = state => {\n 'use no memo';\n\n const styles = useStyles();\n state.root.className = mergeClasses(menuSplitGroupClassNames.root, styles.root, state.root.className);\n return state;\n};\n//# sourceMappingURL=useMenuSplitGroupStyles.styles.js.map"],"names":["menuSplitGroupClassNames","useMenuSplitGroupStyles_unstable","root","useStyles","__styles","mc9l5x","oe75ve","Bu15iap","B71tm0z","Gjs4sj","foni4y","Ie9k5m","f30fub","Jberyy","d","state","styles","className","mergeClasses"],"mappings":";;;;;;;;;;;IAGaA,wBAAwB;eAAxBA;;IAwBAC,gCAAgC;eAAhCA;;;uBA3B0B;AAGhC,MAAMD,2BAA2B;IACtCE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCF,MAAM;QACJG,QAAQ;QACRC,QAAQ;QACRC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;YAAC;YAAW;SAAW;QAChCC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;IACV;AACF,GAAG;IACDC,GAAG;QAAC;QAA2B;QAAwD;QAAoE;QAAqE;QAAuE;QAAyE;QAA2D;QAA2D;QAAgE;QAAiF;QAA+D;KAA8F;AACtxB;AAIO,MAAMb,mCAAmCc,CAAAA;IAC9C;IAEA,MAAMC,SAASb;IACfY,MAAMb,IAAI,CAACe,SAAS,GAAGC,IAAAA,mBAAY,EAAClB,yBAAyBE,IAAI,EAAEc,OAAOd,IAAI,EAAEa,MAAMb,IAAI,CAACe,SAAS;IACpG,OAAOF;AACT,GACA,0DAA0D"}
@@ -27,6 +27,7 @@ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
27
27
  ]
28
28
  });
29
29
  const useCheckmarkStyles_unstable = (state)=>{
30
+ 'use no memo';
30
31
  const styles = useStyles();
31
32
  if (state.checkmark) {
32
33
  state.checkmark.className = (0, _react.mergeClasses)(styles.root, state.checked && styles.rootChecked, state.checkmark.className);
@@ -1 +1 @@
1
- {"version":3,"sources":["useCheckmarkStyles.styles.js"],"sourcesContent":["import { mergeClasses, __styles } from '@griffel/react';\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n a9b677: \"fjw5fx7\",\n Bqenvij: \"fd461yt\",\n Bcdw1i0: \"fd7fpy0\"\n },\n rootChecked: {\n Bcdw1i0: \"f1022m68\"\n }\n}, {\n d: [\".fjw5fx7{width:16px;}\", \".fd461yt{height:16px;}\", \".fd7fpy0{visibility:hidden;}\", \".f1022m68{visibility:visible;}\"]\n});\n/**\n * Applies styles to a checkmark slot for selectable menu items\n *\n * @param state - should contain a `checkmark` slot\n */\nexport const useCheckmarkStyles_unstable = state => {\n const styles = useStyles();\n if (state.checkmark) {\n state.checkmark.className = mergeClasses(styles.root, state.checked && styles.rootChecked, state.checkmark.className);\n }\n};\n//# sourceMappingURL=useCheckmarkStyles.styles.js.map"],"names":["useCheckmarkStyles_unstable","useStyles","__styles","root","a9b677","Bqenvij","Bcdw1i0","rootChecked","d","state","styles","checkmark","className","mergeClasses","checked"],"mappings":";;;;+BAkBaA;;;eAAAA;;;uBAlB0B;AACvC,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCC,MAAM;QACJC,QAAQ;QACRC,SAAS;QACTC,SAAS;IACX;IACAC,aAAa;QACXD,SAAS;IACX;AACF,GAAG;IACDE,GAAG;QAAC;QAAyB;QAA0B;QAAgC;KAAiC;AAC1H;AAMO,MAAMR,8BAA8BS,CAAAA;IACzC,MAAMC,SAAST;IACf,IAAIQ,MAAME,SAAS,EAAE;QACnBF,MAAME,SAAS,CAACC,SAAS,GAAGC,IAAAA,mBAAY,EAACH,OAAOP,IAAI,EAAEM,MAAMK,OAAO,IAAIJ,OAAOH,WAAW,EAAEE,MAAME,SAAS,CAACC,SAAS;IACtH;AACF,GACA,qDAAqD"}
1
+ {"version":3,"sources":["useCheckmarkStyles.styles.js"],"sourcesContent":["import { mergeClasses, __styles } from '@griffel/react';\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n a9b677: \"fjw5fx7\",\n Bqenvij: \"fd461yt\",\n Bcdw1i0: \"fd7fpy0\"\n },\n rootChecked: {\n Bcdw1i0: \"f1022m68\"\n }\n}, {\n d: [\".fjw5fx7{width:16px;}\", \".fd461yt{height:16px;}\", \".fd7fpy0{visibility:hidden;}\", \".f1022m68{visibility:visible;}\"]\n});\n/**\n * Applies styles to a checkmark slot for selectable menu items\n *\n * @param state - should contain a `checkmark` slot\n */\nexport const useCheckmarkStyles_unstable = state => {\n 'use no memo';\n\n const styles = useStyles();\n if (state.checkmark) {\n state.checkmark.className = mergeClasses(styles.root, state.checked && styles.rootChecked, state.checkmark.className);\n }\n};\n//# sourceMappingURL=useCheckmarkStyles.styles.js.map"],"names":["useCheckmarkStyles_unstable","useStyles","__styles","root","a9b677","Bqenvij","Bcdw1i0","rootChecked","d","state","styles","checkmark","className","mergeClasses","checked"],"mappings":";;;;+BAkBaA;;;eAAAA;;;uBAlB0B;AACvC,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCC,MAAM;QACJC,QAAQ;QACRC,SAAS;QACTC,SAAS;IACX;IACAC,aAAa;QACXD,SAAS;IACX;AACF,GAAG;IACDE,GAAG;QAAC;QAAyB;QAA0B;QAAgC;KAAiC;AAC1H;AAMO,MAAMR,8BAA8BS,CAAAA;IACzC;IAEA,MAAMC,SAAST;IACf,IAAIQ,MAAME,SAAS,EAAE;QACnBF,MAAME,SAAS,CAACC,SAAS,GAAGC,IAAAA,mBAAY,EAACH,OAAOP,IAAI,EAAEM,MAAMK,OAAO,IAAIJ,OAAOH,WAAW,EAAEE,MAAME,SAAS,CAACC,SAAS;IACtH;AACF,GACA,qDAAqD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-menu",
3
- "version": "9.14.7",
3
+ "version": "9.14.9",
4
4
  "description": "Fluent UI menu component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -37,16 +37,16 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@fluentui/keyboard-keys": "^9.0.7",
40
- "@fluentui/react-aria": "^9.12.0",
41
- "@fluentui/react-context-selector": "^9.1.61",
42
- "@fluentui/react-icons": "^2.0.239",
43
- "@fluentui/react-portal": "^9.4.27",
44
- "@fluentui/react-positioning": "^9.15.3",
40
+ "@fluentui/react-aria": "^9.13.0",
41
+ "@fluentui/react-context-selector": "^9.1.63",
42
+ "@fluentui/react-icons": "^2.0.245",
43
+ "@fluentui/react-portal": "^9.4.29",
44
+ "@fluentui/react-positioning": "^9.15.4",
45
45
  "@fluentui/react-shared-contexts": "^9.19.0",
46
- "@fluentui/react-tabster": "^9.21.5",
46
+ "@fluentui/react-tabster": "^9.22.1",
47
47
  "@fluentui/react-theme": "^9.1.19",
48
- "@fluentui/react-utilities": "^9.18.10",
49
- "@fluentui/react-jsx-runtime": "^9.0.39",
48
+ "@fluentui/react-utilities": "^9.18.11",
49
+ "@fluentui/react-jsx-runtime": "^9.0.40",
50
50
  "@griffel/react": "^1.5.22",
51
51
  "@swc/helpers": "^0.5.1"
52
52
  },