@fluentui/react-nav 9.2.4 → 9.3.0
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 +17 -2
- package/lib/components/AppItem/useAppItemStyles.styles.raw.js +42 -0
- package/lib/components/AppItem/useAppItemStyles.styles.raw.js.map +1 -0
- package/lib/components/AppItemStatic/useAppItemStaticStyles.styles.raw.js +33 -0
- package/lib/components/AppItemStatic/useAppItemStaticStyles.styles.raw.js.map +1 -0
- package/lib/components/Hamburger/useHamburgerStyles.styles.raw.js +34 -0
- package/lib/components/Hamburger/useHamburgerStyles.styles.raw.js.map +1 -0
- package/lib/components/Nav/useNavStyles.styles.raw.js +22 -0
- package/lib/components/Nav/useNavStyles.styles.raw.js.map +1 -0
- package/lib/components/NavCategoryItem/useNavCategoryItem.styles.raw.js +45 -0
- package/lib/components/NavCategoryItem/useNavCategoryItem.styles.raw.js.map +1 -0
- package/lib/components/NavDivider/useNavDividerStyles.styles.raw.js +23 -0
- package/lib/components/NavDivider/useNavDividerStyles.styles.raw.js.map +1 -0
- package/lib/components/NavDrawer/useNavDrawerStyles.styles.raw.js +27 -0
- package/lib/components/NavDrawer/useNavDrawerStyles.styles.raw.js.map +1 -0
- package/lib/components/NavDrawerBody/useNavDrawerBodyStyles.styles.raw.js +26 -0
- package/lib/components/NavDrawerBody/useNavDrawerBodyStyles.styles.raw.js.map +1 -0
- package/lib/components/NavDrawerFooter/useNavDrawerFooterStyles.styles.raw.js +25 -0
- package/lib/components/NavDrawerFooter/useNavDrawerFooterStyles.styles.raw.js.map +1 -0
- package/lib/components/NavDrawerHeader/useNavDrawerHeaderStyles.styles.raw.js +23 -0
- package/lib/components/NavDrawerHeader/useNavDrawerHeaderStyles.styles.raw.js.map +1 -0
- package/lib/components/NavItem/useNavItemStyles.styles.raw.js +22 -0
- package/lib/components/NavItem/useNavItemStyles.styles.raw.js.map +1 -0
- package/lib/components/NavSectionHeader/useNavSectionHeaderStyles.styles.raw.js +22 -0
- package/lib/components/NavSectionHeader/useNavSectionHeaderStyles.styles.raw.js.map +1 -0
- package/lib/components/NavSubItem/useNavSubItemStyles.styles.raw.js +34 -0
- package/lib/components/NavSubItem/useNavSubItemStyles.styles.raw.js.map +1 -0
- package/lib/components/NavSubItemGroup/useNavSubItemGroupStyles.styles.raw.js +20 -0
- package/lib/components/NavSubItemGroup/useNavSubItemGroupStyles.styles.raw.js.map +1 -0
- package/lib/components/SplitNavItem/useSplitNavItemStyles.styles.raw.js +98 -0
- package/lib/components/SplitNavItem/useSplitNavItemStyles.styles.raw.js.map +1 -0
- package/lib/components/sharedNavStyles.styles.raw.js +153 -0
- package/lib/components/sharedNavStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/AppItem/useAppItemStyles.styles.raw.js +59 -0
- package/lib-commonjs/components/AppItem/useAppItemStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/AppItemStatic/useAppItemStaticStyles.styles.raw.js +49 -0
- package/lib-commonjs/components/AppItemStatic/useAppItemStaticStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/Hamburger/useHamburgerStyles.styles.raw.js +50 -0
- package/lib-commonjs/components/Hamburger/useHamburgerStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/Nav/useNavStyles.styles.raw.js +38 -0
- package/lib-commonjs/components/Nav/useNavStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavCategoryItem/useNavCategoryItem.styles.raw.js +62 -0
- package/lib-commonjs/components/NavCategoryItem/useNavCategoryItem.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavDivider/useNavDividerStyles.styles.raw.js +39 -0
- package/lib-commonjs/components/NavDivider/useNavDividerStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavDrawer/useNavDrawerStyles.styles.raw.js +43 -0
- package/lib-commonjs/components/NavDrawer/useNavDrawerStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavDrawerBody/useNavDrawerBodyStyles.styles.raw.js +42 -0
- package/lib-commonjs/components/NavDrawerBody/useNavDrawerBodyStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavDrawerFooter/useNavDrawerFooterStyles.styles.raw.js +41 -0
- package/lib-commonjs/components/NavDrawerFooter/useNavDrawerFooterStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavDrawerHeader/useNavDrawerHeaderStyles.styles.raw.js +39 -0
- package/lib-commonjs/components/NavDrawerHeader/useNavDrawerHeaderStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavItem/useNavItemStyles.styles.raw.js +38 -0
- package/lib-commonjs/components/NavItem/useNavItemStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavSectionHeader/useNavSectionHeaderStyles.styles.raw.js +38 -0
- package/lib-commonjs/components/NavSectionHeader/useNavSectionHeaderStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavSubItem/useNavSubItemStyles.styles.raw.js +50 -0
- package/lib-commonjs/components/NavSubItem/useNavSubItemStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/NavSubItemGroup/useNavSubItemGroupStyles.styles.raw.js +36 -0
- package/lib-commonjs/components/NavSubItemGroup/useNavSubItemGroupStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/SplitNavItem/useSplitNavItemStyles.styles.raw.js +114 -0
- package/lib-commonjs/components/SplitNavItem/useSplitNavItemStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/sharedNavStyles.styles.raw.js +169 -0
- package/lib-commonjs/components/sharedNavStyles.styles.raw.js.map +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
navItemTokens: function() {
|
|
13
|
+
return navItemTokens;
|
|
14
|
+
},
|
|
15
|
+
useContentStyles: function() {
|
|
16
|
+
return useContentStyles;
|
|
17
|
+
},
|
|
18
|
+
useIconStyles: function() {
|
|
19
|
+
return useIconStyles;
|
|
20
|
+
},
|
|
21
|
+
useIndicatorStyles: function() {
|
|
22
|
+
return useIndicatorStyles;
|
|
23
|
+
},
|
|
24
|
+
useRootDefaultClassName: function() {
|
|
25
|
+
return useRootDefaultClassName;
|
|
26
|
+
},
|
|
27
|
+
useSmallStyles: function() {
|
|
28
|
+
return useSmallStyles;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const _reacticons = require("@fluentui/react-icons");
|
|
32
|
+
const _reacttheme = require("@fluentui/react-theme");
|
|
33
|
+
const _react = require("@griffel/react");
|
|
34
|
+
const navItemTokens = {
|
|
35
|
+
defaultDrawerWidth: 260,
|
|
36
|
+
indicatorOffset: 16,
|
|
37
|
+
indicatorWidth: 4,
|
|
38
|
+
indicatorHeight: 20,
|
|
39
|
+
backgroundColor: _reacttheme.tokens.colorNeutralBackground4,
|
|
40
|
+
backgroundColorHover: _reacttheme.tokens.colorNeutralBackground4Hover,
|
|
41
|
+
backgroundColorPressed: _reacttheme.tokens.colorNeutralBackground4Pressed,
|
|
42
|
+
animationTokens: {
|
|
43
|
+
animationDuration: _reacttheme.tokens.durationFaster,
|
|
44
|
+
animationFillMode: 'both',
|
|
45
|
+
animationTimingFunction: _reacttheme.tokens.curveLinear
|
|
46
|
+
},
|
|
47
|
+
transitionTokens: {
|
|
48
|
+
transitionDuration: _reacttheme.tokens.durationFaster,
|
|
49
|
+
transitionTimingFunction: _reacttheme.tokens.curveLinear,
|
|
50
|
+
transitionProperty: 'background'
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
const useRootDefaultClassName = (0, _react.makeResetStyles)({
|
|
54
|
+
display: 'flex',
|
|
55
|
+
textTransform: 'none',
|
|
56
|
+
position: 'relative',
|
|
57
|
+
justifyContent: 'start',
|
|
58
|
+
alignItems: 'flex-start',
|
|
59
|
+
textAlign: 'left',
|
|
60
|
+
gap: _reacttheme.tokens.spacingVerticalL,
|
|
61
|
+
padding: `${_reacttheme.tokens.spacingVerticalMNudge} ${_reacttheme.tokens.spacingHorizontalS} ${_reacttheme.tokens.spacingVerticalMNudge} ${_reacttheme.tokens.spacingHorizontalMNudge}`,
|
|
62
|
+
backgroundColor: navItemTokens.backgroundColor,
|
|
63
|
+
borderRadius: _reacttheme.tokens.borderRadiusMedium,
|
|
64
|
+
color: _reacttheme.tokens.colorNeutralForeground2,
|
|
65
|
+
textDecorationLine: 'none',
|
|
66
|
+
border: 'none',
|
|
67
|
+
// this element can change between a button and an anchor
|
|
68
|
+
// so we need to reset box sizing to prevent horizontal overflow
|
|
69
|
+
boxSizing: 'border-box',
|
|
70
|
+
cursor: 'pointer',
|
|
71
|
+
transitionDuration: navItemTokens.animationTokens.animationDuration,
|
|
72
|
+
transitionTimingFunction: navItemTokens.animationTokens.animationTimingFunction,
|
|
73
|
+
transitionProperty: 'background',
|
|
74
|
+
width: '100%',
|
|
75
|
+
..._reacttheme.typographyStyles.body1,
|
|
76
|
+
':hover': {
|
|
77
|
+
backgroundColor: navItemTokens.backgroundColorHover
|
|
78
|
+
},
|
|
79
|
+
// Use custom insert focus indicator
|
|
80
|
+
'&:focus-visible': {
|
|
81
|
+
outline: `${_reacttheme.tokens.strokeWidthThick} solid ${_reacttheme.tokens.colorStrokeFocus2}`,
|
|
82
|
+
outlineOffset: `calc(${_reacttheme.tokens.strokeWidthThick} * -1)`
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
const useSmallStyles = (0, _react.makeStyles)({
|
|
86
|
+
root: {
|
|
87
|
+
padding: `${_reacttheme.tokens.spacingVerticalXS} ${_reacttheme.tokens.spacingHorizontalS} ${_reacttheme.tokens.spacingVerticalXS} ${_reacttheme.tokens.spacingHorizontalMNudge}`
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
const useContentStyles = (0, _react.makeStyles)({
|
|
91
|
+
selected: _reacttheme.typographyStyles.body1Strong
|
|
92
|
+
});
|
|
93
|
+
const useIndicatorStyles = (0, _react.makeStyles)({
|
|
94
|
+
base: {
|
|
95
|
+
'::after': {
|
|
96
|
+
position: 'absolute',
|
|
97
|
+
...navItemTokens.animationTokens,
|
|
98
|
+
animationName: {
|
|
99
|
+
'0%': {
|
|
100
|
+
background: 'transparent'
|
|
101
|
+
},
|
|
102
|
+
'100%': {
|
|
103
|
+
background: _reacttheme.tokens.colorCompoundBrandForeground1
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
marginInlineStart: `-${navItemTokens.indicatorOffset}px`,
|
|
107
|
+
backgroundColor: _reacttheme.tokens.colorCompoundBrandForeground1,
|
|
108
|
+
height: `${navItemTokens.indicatorHeight}px`,
|
|
109
|
+
width: `${navItemTokens.indicatorWidth}px`,
|
|
110
|
+
borderRadius: _reacttheme.tokens.borderRadiusCircular,
|
|
111
|
+
content: '""'
|
|
112
|
+
},
|
|
113
|
+
'@media (forced-colors: active)': {
|
|
114
|
+
'::after': {
|
|
115
|
+
outline: `solid 2px ${_reacttheme.tokens.colorTransparentStroke}`,
|
|
116
|
+
outlineOffset: '-2px'
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
const useIconStyles = (0, _react.makeStyles)({
|
|
122
|
+
base: {
|
|
123
|
+
display: 'grid',
|
|
124
|
+
gridTemplateAreas: 'overlay-area',
|
|
125
|
+
minHeight: '20px',
|
|
126
|
+
minWidth: '20px',
|
|
127
|
+
alignItems: 'top',
|
|
128
|
+
justifyContent: 'center',
|
|
129
|
+
overflow: 'hidden',
|
|
130
|
+
[`& .${_reacticons.iconFilledClassName}`]: {
|
|
131
|
+
gridArea: 'overlay-area',
|
|
132
|
+
color: 'transparent',
|
|
133
|
+
display: 'none'
|
|
134
|
+
},
|
|
135
|
+
[`& .${_reacticons.iconRegularClassName}`]: {
|
|
136
|
+
gridArea: 'overlay-area',
|
|
137
|
+
display: 'inline'
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
selected: {
|
|
141
|
+
[`& .${_reacticons.iconFilledClassName}`]: {
|
|
142
|
+
...navItemTokens.animationTokens,
|
|
143
|
+
display: 'inline',
|
|
144
|
+
animationName: {
|
|
145
|
+
'0%': {
|
|
146
|
+
opacity: 0,
|
|
147
|
+
color: 'transparent'
|
|
148
|
+
},
|
|
149
|
+
'100%': {
|
|
150
|
+
opacity: 1,
|
|
151
|
+
color: _reacttheme.tokens.colorNeutralForeground2BrandSelected
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
[`& .${_reacticons.iconRegularClassName}`]: {
|
|
156
|
+
...navItemTokens.animationTokens,
|
|
157
|
+
animationName: {
|
|
158
|
+
'0%': {
|
|
159
|
+
opacity: 1,
|
|
160
|
+
color: _reacttheme.tokens.colorNeutralForeground2
|
|
161
|
+
},
|
|
162
|
+
'100%': {
|
|
163
|
+
opacity: 0,
|
|
164
|
+
color: 'transparent'
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/sharedNavStyles.styles.ts"],"sourcesContent":["import { iconFilledClassName, iconRegularClassName } from '@fluentui/react-icons';\nimport { tokens, typographyStyles } from '@fluentui/react-theme';\nimport { makeResetStyles, makeStyles } from '@griffel/react';\n\n// Styles shared by several nav components.\n\nexport const navItemTokens = {\n defaultDrawerWidth: 260,\n indicatorOffset: 16,\n indicatorWidth: 4,\n indicatorHeight: 20,\n backgroundColor: tokens.colorNeutralBackground4,\n backgroundColorHover: tokens.colorNeutralBackground4Hover,\n backgroundColorPressed: tokens.colorNeutralBackground4Pressed,\n animationTokens: {\n animationDuration: tokens.durationFaster,\n animationFillMode: 'both',\n animationTimingFunction: tokens.curveLinear,\n },\n transitionTokens: {\n transitionDuration: tokens.durationFaster,\n transitionTimingFunction: tokens.curveLinear,\n transitionProperty: 'background',\n },\n};\n\n/**\n * Styles for the root slot\n * Shared across NavItem, NavCategoryItem, NavSubItem, and AppItem\n */\nexport const useRootDefaultClassName = makeResetStyles({\n display: 'flex',\n textTransform: 'none',\n position: 'relative',\n justifyContent: 'start',\n alignItems: 'flex-start',\n textAlign: 'left',\n gap: tokens.spacingVerticalL,\n padding: `${tokens.spacingVerticalMNudge} ${tokens.spacingHorizontalS} ${tokens.spacingVerticalMNudge} ${tokens.spacingHorizontalMNudge}`,\n backgroundColor: navItemTokens.backgroundColor,\n borderRadius: tokens.borderRadiusMedium,\n color: tokens.colorNeutralForeground2,\n textDecorationLine: 'none',\n border: 'none',\n // this element can change between a button and an anchor\n // so we need to reset box sizing to prevent horizontal overflow\n boxSizing: 'border-box',\n cursor: 'pointer',\n\n transitionDuration: navItemTokens.animationTokens.animationDuration,\n transitionTimingFunction: navItemTokens.animationTokens.animationTimingFunction,\n transitionProperty: 'background',\n\n width: '100%',\n ...typographyStyles.body1,\n ':hover': {\n backgroundColor: navItemTokens.backgroundColorHover,\n },\n\n // Use custom insert focus indicator\n '&:focus-visible': {\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n outlineOffset: `calc(${tokens.strokeWidthThick} * -1)`,\n },\n});\n\nexport const useSmallStyles = makeStyles({\n root: {\n padding: `${tokens.spacingVerticalXS} ${tokens.spacingHorizontalS} ${tokens.spacingVerticalXS} ${tokens.spacingHorizontalMNudge}`,\n },\n});\n\n/**\n * Styles for the content slot (children)\n * Shared across NavItem, NavCategoryItem, NavSubItem, and AppItem\n */\nexport const useContentStyles = makeStyles({\n selected: typographyStyles.body1Strong,\n});\n\n/**\n * French fry styles\n * Shared across NavItem, NavCategoryItem, and NavSubItem\n */\nexport const useIndicatorStyles = makeStyles({\n base: {\n '::after': {\n position: 'absolute',\n ...navItemTokens.animationTokens,\n animationName: {\n '0%': { background: 'transparent' },\n '100%': { background: tokens.colorCompoundBrandForeground1 },\n },\n\n marginInlineStart: `-${navItemTokens.indicatorOffset}px`,\n backgroundColor: tokens.colorCompoundBrandForeground1,\n height: `${navItemTokens.indicatorHeight}px`,\n width: `${navItemTokens.indicatorWidth}px`,\n borderRadius: tokens.borderRadiusCircular,\n content: '\"\"',\n },\n '@media (forced-colors: active)': {\n '::after': {\n outline: `solid 2px ${tokens.colorTransparentStroke}`,\n outlineOffset: '-2px',\n },\n },\n },\n});\n\n/**\n * Styles for the icon slot\n * Shared across NavItem, NavCategoryItem, and NavSubItem\n * We use the grid trick to stack the filled and regular icons on top of each other\n */\nexport const useIconStyles = makeStyles({\n base: {\n display: 'grid',\n gridTemplateAreas: 'overlay-area',\n minHeight: '20px',\n minWidth: '20px',\n alignItems: 'top',\n justifyContent: 'center',\n overflow: 'hidden',\n [`& .${iconFilledClassName}`]: {\n gridArea: 'overlay-area',\n color: 'transparent',\n display: 'none',\n },\n [`& .${iconRegularClassName}`]: {\n gridArea: 'overlay-area',\n display: 'inline',\n },\n },\n selected: {\n [`& .${iconFilledClassName}`]: {\n ...navItemTokens.animationTokens,\n display: 'inline',\n animationName: {\n '0%': {\n opacity: 0,\n color: 'transparent',\n },\n '100%': {\n opacity: 1,\n color: tokens.colorNeutralForeground2BrandSelected,\n },\n },\n },\n [`& .${iconRegularClassName}`]: {\n ...navItemTokens.animationTokens,\n animationName: {\n '0%': {\n opacity: 1,\n color: tokens.colorNeutralForeground2,\n },\n '100%': {\n opacity: 0,\n color: 'transparent',\n },\n },\n },\n },\n});\n"],"names":["navItemTokens","useContentStyles","useIconStyles","useIndicatorStyles","useRootDefaultClassName","useSmallStyles","defaultDrawerWidth","indicatorOffset","indicatorWidth","indicatorHeight","backgroundColor","tokens","colorNeutralBackground4","backgroundColorHover","colorNeutralBackground4Hover","backgroundColorPressed","colorNeutralBackground4Pressed","animationTokens","animationDuration","durationFaster","animationFillMode","animationTimingFunction","curveLinear","transitionTokens","transitionDuration","transitionTimingFunction","transitionProperty","makeResetStyles","display","textTransform","position","justifyContent","alignItems","textAlign","gap","spacingVerticalL","padding","spacingVerticalMNudge","spacingHorizontalS","spacingHorizontalMNudge","borderRadius","borderRadiusMedium","color","colorNeutralForeground2","textDecorationLine","border","boxSizing","cursor","width","typographyStyles","body1","outline","strokeWidthThick","colorStrokeFocus2","outlineOffset","makeStyles","root","spacingVerticalXS","selected","body1Strong","base","animationName","background","colorCompoundBrandForeground1","marginInlineStart","height","borderRadiusCircular","content","colorTransparentStroke","gridTemplateAreas","minHeight","minWidth","overflow","iconFilledClassName","gridArea","iconRegularClassName","opacity","colorNeutralForeground2BrandSelected"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAMaA,aAAAA;eAAAA;;IAsEAC,gBAAAA;eAAAA;;IAuCAC,aAAAA;eAAAA;;IA/BAC,kBAAAA;eAAAA;;IAtDAC,uBAAAA;eAAAA;;IAoCAC,cAAAA;eAAAA;;;4BAlE6C;4BACjB;uBACG;AAIrC,MAAML,gBAAgB;IAC3BM,oBAAoB;IACpBC,iBAAiB;IACjBC,gBAAgB;IAChBC,iBAAiB;IACjBC,iBAAiBC,kBAAAA,CAAOC,uBAAuB;IAC/CC,sBAAsBF,kBAAAA,CAAOG,4BAA4B;IACzDC,wBAAwBJ,kBAAAA,CAAOK,8BAA8B;IAC7DC,iBAAiB;QACfC,mBAAmBP,kBAAAA,CAAOQ,cAAc;QACxCC,mBAAmB;QACnBC,yBAAyBV,kBAAAA,CAAOW,WAAW;IAC7C;IACAC,kBAAkB;QAChBC,oBAAoBb,kBAAAA,CAAOQ,cAAc;QACz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;QACR,CAAC,CAAC,GAAG,EAAEe,+BAAAA,CAAoB,CAAC,CAAC,EAAE;YAC7B,GAAGzE,cAAciB,eAAe;YAChCW,SAAS;YACTiC,eAAe;gBACb,MAAM;oBACJe,SAAS;oBACTlC,OAAO;gBACT;gBACA,QAAQ;oBACNkC,SAAS;oBACTlC,OAAO/B,kBAAAA,CAAOkE,oCAAoC;gBACpD;YACF;QACF;QACA,CAAC,CAAC,GAAG,EAAEF,gCAAAA,CAAqB,CAAC,CAAC,EAAE;YAC9B,GAAG3E,cAAciB,eAAe;YAChC4C,eAAe;gBACb,MAAM;oBACJe,SAAS;oBACTlC,OAAO/B,kBAAAA,CAAOgC,uBAAuB;gBACvC;gBACA,QAAQ;oBACNiC,SAAS;oBACTlC,OAAO;gBACT;YACF;QACF;IACF;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-nav",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "New fluentui react package",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"@fluentui/scripts-api-extractor": "*"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@fluentui/react-aria": "^9.15.
|
|
22
|
-
"@fluentui/react-button": "^9.
|
|
21
|
+
"@fluentui/react-aria": "^9.15.4",
|
|
22
|
+
"@fluentui/react-button": "^9.6.0",
|
|
23
23
|
"@fluentui/react-context-selector": "^9.2.2",
|
|
24
|
-
"@fluentui/react-divider": "^9.
|
|
25
|
-
"@fluentui/react-drawer": "^9.
|
|
24
|
+
"@fluentui/react-divider": "^9.4.0",
|
|
25
|
+
"@fluentui/react-drawer": "^9.9.0",
|
|
26
26
|
"@fluentui/react-icons": "^2.0.245",
|
|
27
27
|
"@fluentui/react-jsx-runtime": "^9.1.2",
|
|
28
28
|
"@fluentui/react-motion": "^9.9.0",
|
|
29
29
|
"@fluentui/react-shared-contexts": "^9.24.0",
|
|
30
|
-
"@fluentui/react-tabster": "^9.
|
|
30
|
+
"@fluentui/react-tabster": "^9.26.0",
|
|
31
31
|
"@fluentui/react-theme": "^9.1.24",
|
|
32
|
-
"@fluentui/react-tooltip": "^9.
|
|
32
|
+
"@fluentui/react-tooltip": "^9.8.0",
|
|
33
33
|
"@fluentui/react-utilities": "^9.22.0",
|
|
34
34
|
"@griffel/react": "^1.5.22",
|
|
35
35
|
"@swc/helpers": "^0.5.1"
|