Private
Public Access
1
0

feat: Fluent UI Outlook Lite + connections mockup

This commit is contained in:
2026-04-14 18:52:25 +00:00
parent 1199eff6c3
commit dfa4010406
34820 changed files with 1003813 additions and 205 deletions

View File

@@ -0,0 +1,30 @@
'use client';
import { mergeClasses, makeStyles } from '@griffel/react';
import { tokens, typographyStyles } from '@fluentui/react-theme';
export const menuPopoverClassNames = {
root: 'fui-MenuPopover'
};
const useStyles = makeStyles({
root: {
borderRadius: tokens.borderRadiusMedium,
backgroundColor: tokens.colorNeutralBackground1,
color: tokens.colorNeutralForeground1,
boxSizing: 'border-box',
minWidth: '138px',
maxWidth: '300px',
overflowX: 'hidden',
width: 'max-content',
boxShadow: `${tokens.shadow16}`,
padding: '4px',
border: `1px solid ${tokens.colorTransparentStroke}`,
...typographyStyles.body1
}
});
/**
* Apply styling to the Menu slots based on the state
*/ export const useMenuPopoverStyles_unstable = (state)=>{
'use no memo';
const styles = useStyles();
state.root.className = mergeClasses(menuPopoverClassNames.root, styles.root, state.root.className);
return state;
};