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,28 @@
'use client';
import { makeStyles, mergeClasses } from '@griffel/react';
import { navItemTokens } from '../sharedNavStyles.styles';
export const navDrawerClassNames = {
root: 'fui-NavDrawer'
};
/**
* Styles for the root slot
*/ const useStyles = makeStyles({
root: {
backgroundColor: navItemTokens.backgroundColor,
alignItems: 'unset'
},
// seperate style so it can be applied conditionally
// if size is not set, use default width from the token.
defaultWidth: {
width: `${navItemTokens.defaultDrawerWidth}px`
}
});
/**
* Apply styling to the NavDrawer slots based on the state
*/ export const useNavDrawerStyles_unstable = (state)=>{
'use no memo';
const { size } = state;
const styles = useStyles();
state.root.className = mergeClasses(navDrawerClassNames.root, styles.root, !size && styles.defaultWidth, state.root.className);
return state;
};