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,44 @@
'use client';
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
navDrawerClassNames: function() {
return navDrawerClassNames;
},
useNavDrawerStyles_unstable: function() {
return useNavDrawerStyles_unstable;
}
});
const _react = require("@griffel/react");
const _sharedNavStylesstyles = require("../sharedNavStyles.styles");
const navDrawerClassNames = {
root: 'fui-NavDrawer'
};
/**
* Styles for the root slot
*/ const useStyles = (0, _react.makeStyles)({
root: {
backgroundColor: _sharedNavStylesstyles.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: `${_sharedNavStylesstyles.navItemTokens.defaultDrawerWidth}px`
}
});
const useNavDrawerStyles_unstable = (state)=>{
'use no memo';
const { size } = state;
const styles = useStyles();
state.root.className = (0, _react.mergeClasses)(navDrawerClassNames.root, styles.root, !size && styles.defaultWidth, state.root.className);
return state;
};