@fluentui/react-nav 9.1.1 → 9.1.2
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 +21 -2
- package/dist/index.d.ts +9 -9
- package/lib/components/AppItem/AppItem.js +3 -9
- package/lib/components/AppItem/AppItem.js.map +1 -1
- package/lib/components/AppItemStatic/AppItemStatic.js +3 -9
- package/lib/components/AppItemStatic/AppItemStatic.js.map +1 -1
- package/lib/components/Hamburger/Hamburger.js +4 -5
- package/lib/components/Hamburger/Hamburger.js.map +1 -1
- package/lib/components/Nav/Nav.js +2 -0
- package/lib/components/Nav/Nav.js.map +1 -1
- package/lib/components/NavCategory/NavCategory.js +1 -1
- package/lib/components/NavCategory/NavCategory.js.map +1 -1
- package/lib/components/NavCategoryItem/NavCategoryItem.js +2 -3
- package/lib/components/NavCategoryItem/NavCategoryItem.js.map +1 -1
- package/lib/components/NavDivider/NavDivider.js +4 -5
- package/lib/components/NavDivider/NavDivider.js.map +1 -1
- package/lib/components/NavDrawer/NavDrawer.js +3 -5
- package/lib/components/NavDrawer/NavDrawer.js.map +1 -1
- package/lib/components/NavDrawerBody/NavDrawerBody.js +2 -3
- package/lib/components/NavDrawerBody/NavDrawerBody.js.map +1 -1
- package/lib/components/NavDrawerFooter/NavDrawerFooter.js +2 -3
- package/lib/components/NavDrawerFooter/NavDrawerFooter.js.map +1 -1
- package/lib/components/NavDrawerHeader/NavDrawerHeader.js +4 -5
- package/lib/components/NavDrawerHeader/NavDrawerHeader.js.map +1 -1
- package/lib/components/NavItem/NavItem.js +3 -5
- package/lib/components/NavItem/NavItem.js.map +1 -1
- package/lib/components/NavSectionHeader/NavSectionHeader.js +2 -3
- package/lib/components/NavSectionHeader/NavSectionHeader.js.map +1 -1
- package/lib/components/NavSubItem/NavSubItem.js +3 -5
- package/lib/components/NavSubItem/NavSubItem.js.map +1 -1
- package/lib/components/NavSubItemGroup/NavSubItemGroup.js +3 -5
- package/lib/components/NavSubItemGroup/NavSubItemGroup.js.map +1 -1
- package/lib/components/SplitNavItem/SplitNavItem.js +2 -8
- package/lib/components/SplitNavItem/SplitNavItem.js.map +1 -1
- package/lib-commonjs/components/AppItem/AppItem.js +2 -8
- package/lib-commonjs/components/AppItem/AppItem.js.map +1 -1
- package/lib-commonjs/components/AppItemStatic/AppItemStatic.js +2 -8
- package/lib-commonjs/components/AppItemStatic/AppItemStatic.js.map +1 -1
- package/lib-commonjs/components/Hamburger/Hamburger.js +3 -4
- package/lib-commonjs/components/Hamburger/Hamburger.js.map +1 -1
- package/lib-commonjs/components/Nav/Nav.js +2 -0
- package/lib-commonjs/components/Nav/Nav.js.map +1 -1
- package/lib-commonjs/components/NavCategory/NavCategory.js.map +1 -1
- package/lib-commonjs/components/NavCategoryItem/NavCategoryItem.js +2 -2
- package/lib-commonjs/components/NavCategoryItem/NavCategoryItem.js.map +1 -1
- package/lib-commonjs/components/NavDivider/NavDivider.js +3 -4
- package/lib-commonjs/components/NavDivider/NavDivider.js.map +1 -1
- package/lib-commonjs/components/NavDrawer/NavDrawer.js +2 -3
- package/lib-commonjs/components/NavDrawer/NavDrawer.js.map +1 -1
- package/lib-commonjs/components/NavDrawerBody/NavDrawerBody.js +2 -3
- package/lib-commonjs/components/NavDrawerBody/NavDrawerBody.js.map +1 -1
- package/lib-commonjs/components/NavDrawerFooter/NavDrawerFooter.js +2 -3
- package/lib-commonjs/components/NavDrawerFooter/NavDrawerFooter.js.map +1 -1
- package/lib-commonjs/components/NavDrawerHeader/NavDrawerHeader.js +4 -5
- package/lib-commonjs/components/NavDrawerHeader/NavDrawerHeader.js.map +1 -1
- package/lib-commonjs/components/NavItem/NavItem.js +2 -3
- package/lib-commonjs/components/NavItem/NavItem.js.map +1 -1
- package/lib-commonjs/components/NavSectionHeader/NavSectionHeader.js +2 -3
- package/lib-commonjs/components/NavSectionHeader/NavSectionHeader.js.map +1 -1
- package/lib-commonjs/components/NavSubItem/NavSubItem.js +2 -3
- package/lib-commonjs/components/NavSubItem/NavSubItem.js.map +1 -1
- package/lib-commonjs/components/NavSubItemGroup/NavSubItemGroup.js +2 -3
- package/lib-commonjs/components/NavSubItemGroup/NavSubItemGroup.js.map +1 -1
- package/lib-commonjs/components/SplitNavItem/SplitNavItem.js +2 -8
- package/lib-commonjs/components/SplitNavItem/SplitNavItem.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-nav
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 18 Jun 2025 17:29:27 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-nav_v9.1.2)
|
|
8
|
+
|
|
9
|
+
Wed, 18 Jun 2025 17:29:27 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-nav_v9.1.1..@fluentui/react-nav_v9.1.2)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- feat: add support for custom style hooks ([PR #34633](https://github.com/microsoft/fluentui/pull/34633) by marcosvmmoura@gmail.com)
|
|
15
|
+
- Bump @fluentui/react-aria to v9.15.1 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
16
|
+
- Bump @fluentui/react-button to v9.5.1 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
17
|
+
- Bump @fluentui/react-tooltip to v9.7.2 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
18
|
+
- Bump @fluentui/react-context-selector to v9.2.1 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
19
|
+
- Bump @fluentui/react-divider to v9.3.1 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
20
|
+
- Bump @fluentui/react-drawer to v9.8.2 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
21
|
+
- Bump @fluentui/react-jsx-runtime to v9.1.1 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
22
|
+
- Bump @fluentui/react-shared-contexts to v9.24.0 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
23
|
+
- Bump @fluentui/react-tabster to v9.25.1 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
24
|
+
- Bump @fluentui/react-utilities to v9.21.1 ([PR #34675](https://github.com/microsoft/fluentui/pull/34675) by beachball)
|
|
25
|
+
|
|
7
26
|
## [9.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-nav_v9.1.1)
|
|
8
27
|
|
|
9
|
-
Fri, 13 Jun 2025 12:
|
|
28
|
+
Fri, 13 Jun 2025 12:32:53 GMT
|
|
10
29
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-nav_v9.1.0..@fluentui/react-nav_v9.1.1)
|
|
11
30
|
|
|
12
31
|
### Patches
|
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ import { ToggleButtonProps } from '@fluentui/react-button';
|
|
|
33
33
|
import type { TooltipProps } from '@fluentui/react-tooltip';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* AppItem component -
|
|
36
|
+
* AppItem component - Application item in the navigation menu.
|
|
37
37
|
*/
|
|
38
38
|
export declare const AppItem: ForwardRefComponent<AppItemProps>;
|
|
39
39
|
|
|
@@ -70,7 +70,7 @@ export declare type AppItemState = ComponentState<AppItemSlots> & {
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* AppItemStatic component -
|
|
73
|
+
* AppItemStatic component - Static application item in the navigation menu.
|
|
74
74
|
*/
|
|
75
75
|
export declare const AppItemStatic: ForwardRefComponent<AppItemStaticProps>;
|
|
76
76
|
|
|
@@ -105,7 +105,7 @@ export declare type AppItemStaticState = ComponentState<AppItemStaticSlots> & {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
* Hamburger component -
|
|
108
|
+
* Hamburger component - a button that toggles a menu or navigation drawer.
|
|
109
109
|
*/
|
|
110
110
|
export declare const Hamburger: ForwardRefComponent<HamburgerProps>;
|
|
111
111
|
|
|
@@ -127,7 +127,7 @@ export declare type HamburgerState = ButtonState;
|
|
|
127
127
|
export declare const Nav: ForwardRefComponent<NavProps>;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
|
-
* NavCategory component -
|
|
130
|
+
* NavCategory component - a category in the navigation menu that can contain multiple items.
|
|
131
131
|
*/
|
|
132
132
|
export declare const NavCategory: ForwardRefComponent<NavCategoryProps>;
|
|
133
133
|
|
|
@@ -270,7 +270,7 @@ export declare type NavContextValues = {
|
|
|
270
270
|
export declare type NavDensity = 'small' | 'medium';
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
* NavDivider component -
|
|
273
|
+
* NavDivider component - a divider used within navigation components to separate items.
|
|
274
274
|
*/
|
|
275
275
|
export declare const NavDivider: ForwardRefComponent<NavDividerProps>;
|
|
276
276
|
|
|
@@ -287,7 +287,7 @@ export declare type NavDividerProps = DividerProps;
|
|
|
287
287
|
export declare type NavDividerState = DividerState;
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
|
-
* NavDrawer component -
|
|
290
|
+
* NavDrawer component - a component that provides a drawer for navigation items.
|
|
291
291
|
*/
|
|
292
292
|
export declare const NavDrawer: ForwardRefComponent<NavDrawerProps>;
|
|
293
293
|
|
|
@@ -380,7 +380,7 @@ export declare type NavDrawerState = DrawerState & NavContextValue & {
|
|
|
380
380
|
};
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
|
-
* NavItem component -
|
|
383
|
+
* NavItem component - a single item in the navigation menu.
|
|
384
384
|
*/
|
|
385
385
|
export declare const NavItem: ForwardRefComponent<NavItemProps>;
|
|
386
386
|
|
|
@@ -537,14 +537,14 @@ export declare type NavSlots = {
|
|
|
537
537
|
export declare type NavState = ComponentState<NavSlots> & NavContextValue;
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
|
-
* NavSubItem component -
|
|
540
|
+
* NavSubItem component - a sub-item within a navigation structure.
|
|
541
541
|
*/
|
|
542
542
|
export declare const NavSubItem: ForwardRefComponent<NavSubItemProps>;
|
|
543
543
|
|
|
544
544
|
export declare const navSubItemClassNames: SlotClassNames<NavSubItemSlots>;
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
|
-
* NavSubItemGroup component -
|
|
547
|
+
* NavSubItemGroup component - a group of sub-items within a navigation structure.
|
|
548
548
|
*/
|
|
549
549
|
export declare const NavSubItemGroup: ForwardRefComponent<NavSubItemGroupProps>;
|
|
550
550
|
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
2
3
|
import { useAppItem_unstable } from './useAppItem';
|
|
3
4
|
import { renderAppItem_unstable } from './renderAppItem';
|
|
4
5
|
import { useAppItemStyles_unstable } from './useAppItemStyles.styles';
|
|
5
6
|
/**
|
|
6
|
-
* AppItem component -
|
|
7
|
+
* AppItem component - Application item in the navigation menu.
|
|
7
8
|
*/ export const AppItem = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useAppItem_unstable(props, ref);
|
|
9
10
|
useAppItemStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
* @see https://github.com/microsoft/fluentui/blob/master/docs/react-v9/contributing/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
*
|
|
13
|
-
* TODO: 💡 once package will become stable (PR which will be part of promoting PREVIEW package to STABLE),
|
|
14
|
-
* - uncomment this line
|
|
15
|
-
* - update types {@link file://./../../../../../../../packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext/CustomStyleHooksContext.ts#CustomStyleHooksContextValue}
|
|
16
|
-
* - verify that custom global style override works for your component
|
|
17
|
-
*/ // useCustomStyleHook_unstable('useAppItemStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useAppItemStyles_unstable')(state);
|
|
18
12
|
return renderAppItem_unstable(state);
|
|
19
13
|
});
|
|
20
14
|
AppItem.displayName = 'AppItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/AppItem/AppItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useAppItem_unstable } from './useAppItem';\nimport { renderAppItem_unstable } from './renderAppItem';\nimport { useAppItemStyles_unstable } from './useAppItemStyles.styles';\nimport type { AppItemProps } from './AppItem.types';\n\n/**\n * AppItem component -
|
|
1
|
+
{"version":3,"sources":["../src/components/AppItem/AppItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useAppItem_unstable } from './useAppItem';\nimport { renderAppItem_unstable } from './renderAppItem';\nimport { useAppItemStyles_unstable } from './useAppItemStyles.styles';\nimport type { AppItemProps } from './AppItem.types';\n\n/**\n * AppItem component - Application item in the navigation menu.\n */\nexport const AppItem: ForwardRefComponent<AppItemProps> = React.forwardRef((props, ref) => {\n const state = useAppItem_unstable(props, ref);\n\n useAppItemStyles_unstable(state);\n useCustomStyleHook_unstable('useAppItemStyles_unstable')(state);\n\n return renderAppItem_unstable(state);\n});\n\nAppItem.displayName = 'AppItem';\n"],"names":["React","useCustomStyleHook_unstable","useAppItem_unstable","renderAppItem_unstable","useAppItemStyles_unstable","AppItem","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,kBAAkB;AACzD,SAASC,yBAAyB,QAAQ,4BAA4B;AAGtE;;CAEC,GACD,OAAO,MAAMC,wBAA6CL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACjF,MAAMC,QAAQP,oBAAoBK,OAAOC;IAEzCJ,0BAA0BK;IAC1BR,4BAA4B,6BAA6BQ;IAEzD,OAAON,uBAAuBM;AAChC,GAAG;AAEHJ,QAAQK,WAAW,GAAG"}
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
2
3
|
import { useAppItemStatic_unstable } from './useAppItemStatic';
|
|
3
4
|
import { renderAppItemStatic_unstable } from './renderAppItemStatic';
|
|
4
5
|
import { useAppItemStaticStyles_unstable } from './useAppItemStaticStyles.styles';
|
|
5
6
|
/**
|
|
6
|
-
* AppItemStatic component -
|
|
7
|
+
* AppItemStatic component - Static application item in the navigation menu.
|
|
7
8
|
*/ export const AppItemStatic = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useAppItemStatic_unstable(props, ref);
|
|
9
10
|
useAppItemStaticStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
* @see https://github.com/microsoft/fluentui/blob/master/docs/react-v9/contributing/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
*
|
|
13
|
-
* TODO: 💡 once package will become stable (PR which will be part of promoting PREVIEW package to STABLE),
|
|
14
|
-
* - uncomment this line
|
|
15
|
-
* - update types {@link file://./../../../../../../../packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext/CustomStyleHooksContext.ts#CustomStyleHooksContextValue}
|
|
16
|
-
* - verify that custom global style override works for your component
|
|
17
|
-
*/ // useCustomStyleHook_unstable('useAppItemStaticStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useAppItemStaticStyles_unstable')(state);
|
|
18
12
|
return renderAppItemStatic_unstable(state);
|
|
19
13
|
});
|
|
20
14
|
AppItemStatic.displayName = 'AppItemStatic';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/AppItemStatic/AppItemStatic.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useAppItemStatic_unstable } from './useAppItemStatic';\nimport { renderAppItemStatic_unstable } from './renderAppItemStatic';\nimport { useAppItemStaticStyles_unstable } from './useAppItemStaticStyles.styles';\nimport type { AppItemStaticProps } from './AppItemStatic.types';\n\n/**\n * AppItemStatic component -
|
|
1
|
+
{"version":3,"sources":["../src/components/AppItemStatic/AppItemStatic.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useAppItemStatic_unstable } from './useAppItemStatic';\nimport { renderAppItemStatic_unstable } from './renderAppItemStatic';\nimport { useAppItemStaticStyles_unstable } from './useAppItemStaticStyles.styles';\nimport type { AppItemStaticProps } from './AppItemStatic.types';\n\n/**\n * AppItemStatic component - Static application item in the navigation menu.\n */\nexport const AppItemStatic: ForwardRefComponent<AppItemStaticProps> = React.forwardRef((props, ref) => {\n const state = useAppItemStatic_unstable(props, ref);\n\n useAppItemStaticStyles_unstable(state);\n useCustomStyleHook_unstable('useAppItemStaticStyles_unstable')(state);\n\n return renderAppItemStatic_unstable(state);\n});\n\nAppItemStatic.displayName = 'AppItemStatic';\n"],"names":["React","useCustomStyleHook_unstable","useAppItemStatic_unstable","renderAppItemStatic_unstable","useAppItemStaticStyles_unstable","AppItemStatic","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,4BAA4B,QAAQ,wBAAwB;AACrE,SAASC,+BAA+B,QAAQ,kCAAkC;AAGlF;;CAEC,GACD,OAAO,MAAMC,8BAAyDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC7F,MAAMC,QAAQP,0BAA0BK,OAAOC;IAE/CJ,gCAAgCK;IAChCR,4BAA4B,mCAAmCQ;IAE/D,OAAON,6BAA6BM;AACtC,GAAG;AAEHJ,cAAcK,WAAW,GAAG"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { useHamburger_unstable } from './useHamburger';
|
|
3
2
|
import { renderButton_unstable } from '@fluentui/react-button';
|
|
3
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
4
|
+
import { useHamburger_unstable } from './useHamburger';
|
|
4
5
|
import { useHamburgerStyles_unstable } from './useHamburgerStyles.styles';
|
|
5
6
|
/**
|
|
6
|
-
* Hamburger component -
|
|
7
|
+
* Hamburger component - a button that toggles a menu or navigation drawer.
|
|
7
8
|
*/ export const Hamburger = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useHamburger_unstable(props, ref);
|
|
9
10
|
useHamburgerStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
// useCustomStyleHook_unstable('useHamburgerStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useHamburgerStyles_unstable')(state);
|
|
13
12
|
return renderButton_unstable(state);
|
|
14
13
|
});
|
|
15
14
|
Hamburger.displayName = 'Hamburger';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Hamburger/Hamburger.tsx"],"sourcesContent":["import * as React from 'react';\nimport {
|
|
1
|
+
{"version":3,"sources":["../src/components/Hamburger/Hamburger.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { renderButton_unstable } from '@fluentui/react-button';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useHamburger_unstable } from './useHamburger';\nimport { useHamburgerStyles_unstable } from './useHamburgerStyles.styles';\nimport type { HamburgerProps } from './Hamburger.types';\n\n/**\n * Hamburger component - a button that toggles a menu or navigation drawer.\n */\nexport const Hamburger: ForwardRefComponent<HamburgerProps> = React.forwardRef((props, ref) => {\n const state = useHamburger_unstable(props, ref);\n\n useHamburgerStyles_unstable(state);\n useCustomStyleHook_unstable('useHamburgerStyles_unstable')(state);\n\n return renderButton_unstable(state);\n}) as ForwardRefComponent<HamburgerProps>;\n\nHamburger.displayName = 'Hamburger';\n"],"names":["React","renderButton_unstable","useCustomStyleHook_unstable","useHamburger_unstable","useHamburgerStyles_unstable","Hamburger","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,qBAAqB,QAAQ,yBAAyB;AAC/D,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,qBAAqB,QAAQ,iBAAiB;AACvD,SAASC,2BAA2B,QAAQ,8BAA8B;AAG1E;;CAEC,GACD,OAAO,MAAMC,0BAAiDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACrF,MAAMC,QAAQN,sBAAsBI,OAAOC;IAE3CJ,4BAA4BK;IAC5BP,4BAA4B,+BAA+BO;IAE3D,OAAOR,sBAAsBQ;AAC/B,GAA0C;AAE1CJ,UAAUK,WAAW,GAAG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
2
3
|
import { useNav_unstable } from './useNav';
|
|
3
4
|
import { renderNav_unstable } from './renderNav';
|
|
4
5
|
import { useNavStyles_unstable } from './useNavStyles.styles';
|
|
@@ -9,6 +10,7 @@ import { useNavContextValues_unstable } from '../useNavContextValues';
|
|
|
9
10
|
const state = useNav_unstable(props, ref);
|
|
10
11
|
const contextValues = useNavContextValues_unstable(state);
|
|
11
12
|
useNavStyles_unstable(state);
|
|
13
|
+
useCustomStyleHook_unstable('useHamburgerStyles_unstable')(state);
|
|
12
14
|
return renderNav_unstable(state, contextValues);
|
|
13
15
|
});
|
|
14
16
|
Nav.displayName = 'Nav';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Nav/Nav.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useNav_unstable } from './useNav';\nimport { renderNav_unstable } from './renderNav';\nimport { useNavStyles_unstable } from './useNavStyles.styles';\nimport { useNavContextValues_unstable } from '../useNavContextValues';\nimport type { NavProps } from './Nav.types';\n\n/**\n * Nav - A component that provides up to two levels of nesting for navigation.\n */\nexport const Nav: ForwardRefComponent<NavProps> = React.forwardRef((props, ref) => {\n const state = useNav_unstable(props, ref);\n\n const contextValues = useNavContextValues_unstable(state);\n\n useNavStyles_unstable(state);\n return renderNav_unstable(state, contextValues);\n});\n\nNav.displayName = 'Nav';\n"],"names":["React","useNav_unstable","renderNav_unstable","useNavStyles_unstable","useNavContextValues_unstable","Nav","forwardRef","props","ref","state","contextValues","displayName"],"rangeMappings":"
|
|
1
|
+
{"version":3,"sources":["../src/components/Nav/Nav.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNav_unstable } from './useNav';\nimport { renderNav_unstable } from './renderNav';\nimport { useNavStyles_unstable } from './useNavStyles.styles';\nimport { useNavContextValues_unstable } from '../useNavContextValues';\nimport type { NavProps } from './Nav.types';\n\n/**\n * Nav - A component that provides up to two levels of nesting for navigation.\n */\nexport const Nav: ForwardRefComponent<NavProps> = React.forwardRef((props, ref) => {\n const state = useNav_unstable(props, ref);\n\n const contextValues = useNavContextValues_unstable(state);\n\n useNavStyles_unstable(state);\n useCustomStyleHook_unstable('useHamburgerStyles_unstable')(state);\n\n return renderNav_unstable(state, contextValues);\n});\n\nNav.displayName = 'Nav';\n"],"names":["React","useCustomStyleHook_unstable","useNav_unstable","renderNav_unstable","useNavStyles_unstable","useNavContextValues_unstable","Nav","forwardRef","props","ref","state","contextValues","displayName"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,eAAe,QAAQ,WAAW;AAC3C,SAASC,kBAAkB,QAAQ,cAAc;AACjD,SAASC,qBAAqB,QAAQ,wBAAwB;AAC9D,SAASC,4BAA4B,QAAQ,yBAAyB;AAGtE;;CAEC,GACD,OAAO,MAAMC,oBAAqCN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IACzE,MAAMC,QAAQR,gBAAgBM,OAAOC;IAErC,MAAME,gBAAgBN,6BAA6BK;IAEnDN,sBAAsBM;IACtBT,4BAA4B,+BAA+BS;IAE3D,OAAOP,mBAAmBO,OAAOC;AACnC,GAAG;AAEHL,IAAIM,WAAW,GAAG"}
|
|
@@ -3,7 +3,7 @@ import { useNavCategory_unstable } from './useNavCategory';
|
|
|
3
3
|
import { renderNavCategory_unstable } from './renderNavCategory';
|
|
4
4
|
import { useNavCategoryContextValues_unstable } from '../useNavCategoryContextValues_unstable';
|
|
5
5
|
/**
|
|
6
|
-
* NavCategory component -
|
|
6
|
+
* NavCategory component - a category in the navigation menu that can contain multiple items.
|
|
7
7
|
*/ export const NavCategory = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
8
|
const state = useNavCategory_unstable(props, ref);
|
|
9
9
|
const contextValues = useNavCategoryContextValues_unstable(state);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavCategory/NavCategory.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { NavCategoryProps } from './NavCategory.types';\n\nimport { useNavCategory_unstable } from './useNavCategory';\nimport { renderNavCategory_unstable } from './renderNavCategory';\nimport { useNavCategoryContextValues_unstable } from '../useNavCategoryContextValues_unstable';\n\n/**\n * NavCategory component -
|
|
1
|
+
{"version":3,"sources":["../src/components/NavCategory/NavCategory.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { NavCategoryProps } from './NavCategory.types';\n\nimport { useNavCategory_unstable } from './useNavCategory';\nimport { renderNavCategory_unstable } from './renderNavCategory';\nimport { useNavCategoryContextValues_unstable } from '../useNavCategoryContextValues_unstable';\n\n/**\n * NavCategory component - a category in the navigation menu that can contain multiple items.\n */\nexport const NavCategory: ForwardRefComponent<NavCategoryProps> = React.forwardRef((props, ref) => {\n const state = useNavCategory_unstable(props, ref);\n const contextValues = useNavCategoryContextValues_unstable(state);\n\n return renderNavCategory_unstable(state, contextValues);\n});\n\nNavCategory.displayName = 'NavCategory';\n"],"names":["React","useNavCategory_unstable","renderNavCategory_unstable","useNavCategoryContextValues_unstable","NavCategory","forwardRef","props","ref","state","contextValues","displayName"],"rangeMappings":";;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAK/B,SAASC,uBAAuB,QAAQ,mBAAmB;AAC3D,SAASC,0BAA0B,QAAQ,sBAAsB;AACjE,SAASC,oCAAoC,QAAQ,0CAA0C;AAE/F;;CAEC,GACD,OAAO,MAAMC,4BAAqDJ,MAAMK,UAAU,CAAC,CAACC,OAAOC;IACzF,MAAMC,QAAQP,wBAAwBK,OAAOC;IAC7C,MAAME,gBAAgBN,qCAAqCK;IAE3D,OAAON,2BAA2BM,OAAOC;AAC3C,GAAG;AAEHL,YAAYM,WAAW,GAAG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
2
3
|
import { useNavCategoryItem_unstable } from './useNavCategoryItem';
|
|
3
4
|
import { renderNavCategoryItem_unstable } from './renderNavCategoryItem';
|
|
4
5
|
import { useNavCategoryItemStyles_unstable } from './useNavCategoryItem.styles';
|
|
5
6
|
import { useNavCategoryItemContextValues_unstable } from '../useNavCategoryItemContextValues_unstable';
|
|
6
|
-
// import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
7
7
|
/**
|
|
8
8
|
* A Nav Category Item provides provides a clickable accordion like header that exposes
|
|
9
9
|
* a list of NavSubItems to take users to a new destination.
|
|
@@ -11,8 +11,7 @@ import { useNavCategoryItemContextValues_unstable } from '../useNavCategoryItemC
|
|
|
11
11
|
const state = useNavCategoryItem_unstable(props, ref);
|
|
12
12
|
const contextValues = useNavCategoryItemContextValues_unstable(state);
|
|
13
13
|
useNavCategoryItemStyles_unstable(state);
|
|
14
|
-
|
|
15
|
-
// useCustomStyleHook_unstable('useNavCategoryItemStyles')(state);
|
|
14
|
+
useCustomStyleHook_unstable('useNavCategoryItemStyles')(state);
|
|
16
15
|
return renderNavCategoryItem_unstable(state, contextValues);
|
|
17
16
|
});
|
|
18
17
|
NavCategoryItem.displayName = 'NavCategoryItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavCategoryItem/NavCategoryItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport {
|
|
1
|
+
{"version":3,"sources":["../src/components/NavCategoryItem/NavCategoryItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavCategoryItem_unstable } from './useNavCategoryItem';\nimport { renderNavCategoryItem_unstable } from './renderNavCategoryItem';\nimport type { NavCategoryItemProps } from './NavCategoryItem.types';\nimport { useNavCategoryItemStyles_unstable } from './useNavCategoryItem.styles';\nimport { useNavCategoryItemContextValues_unstable } from '../useNavCategoryItemContextValues_unstable';\n\n/**\n * A Nav Category Item provides provides a clickable accordion like header that exposes\n * a list of NavSubItems to take users to a new destination.\n */\nexport const NavCategoryItem: ForwardRefComponent<NavCategoryItemProps> = React.forwardRef((props, ref) => {\n const state = useNavCategoryItem_unstable(props, ref);\n const contextValues = useNavCategoryItemContextValues_unstable(state);\n\n useNavCategoryItemStyles_unstable(state);\n useCustomStyleHook_unstable('useNavCategoryItemStyles')(state);\n\n return renderNavCategoryItem_unstable(state, contextValues);\n});\n\nNavCategoryItem.displayName = 'NavCategoryItem';\n"],"names":["React","useCustomStyleHook_unstable","useNavCategoryItem_unstable","renderNavCategoryItem_unstable","useNavCategoryItemStyles_unstable","useNavCategoryItemContextValues_unstable","NavCategoryItem","forwardRef","props","ref","state","contextValues","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,2BAA2B,QAAQ,uBAAuB;AACnE,SAASC,8BAA8B,QAAQ,0BAA0B;AAEzE,SAASC,iCAAiC,QAAQ,8BAA8B;AAChF,SAASC,wCAAwC,QAAQ,8CAA8C;AAEvG;;;CAGC,GACD,OAAO,MAAMC,gCAA6DN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IACjG,MAAMC,QAAQR,4BAA4BM,OAAOC;IACjD,MAAME,gBAAgBN,yCAAyCK;IAE/DN,kCAAkCM;IAClCT,4BAA4B,4BAA4BS;IAExD,OAAOP,+BAA+BO,OAAOC;AAC/C,GAAG;AAEHL,gBAAgBM,WAAW,GAAG"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { renderDivider_unstable } from '@fluentui/react-divider';
|
|
3
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
2
4
|
import { useNavDivider_unstable } from './useNavDivider';
|
|
3
5
|
import { useNavDividerStyles_unstable } from './useNavDividerStyles.styles';
|
|
4
|
-
import { renderDivider_unstable } from '@fluentui/react-divider';
|
|
5
6
|
/**
|
|
6
|
-
* NavDivider component -
|
|
7
|
+
* NavDivider component - a divider used within navigation components to separate items.
|
|
7
8
|
*/ export const NavDivider = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useNavDivider_unstable(props, ref);
|
|
9
10
|
useNavDividerStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
// useCustomStyleHook_unstable('useNavDividerStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useNavDividerStyles_unstable')(state);
|
|
13
12
|
return renderDivider_unstable(state);
|
|
14
13
|
});
|
|
15
14
|
NavDivider.displayName = 'NavDivider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavDivider/NavDivider.tsx"],"sourcesContent":["import * as React from 'react';\nimport {
|
|
1
|
+
{"version":3,"sources":["../src/components/NavDivider/NavDivider.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderDivider_unstable } from '@fluentui/react-divider';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavDivider_unstable } from './useNavDivider';\nimport { useNavDividerStyles_unstable } from './useNavDividerStyles.styles';\nimport type { NavDividerProps } from './NavDivider.types';\n\n/**\n * NavDivider component - a divider used within navigation components to separate items.\n */\nexport const NavDivider: ForwardRefComponent<NavDividerProps> = React.forwardRef((props, ref) => {\n const state = useNavDivider_unstable(props, ref);\n\n useNavDividerStyles_unstable(state);\n useCustomStyleHook_unstable('useNavDividerStyles_unstable')(state);\n\n return renderDivider_unstable(state);\n});\n\nNavDivider.displayName = 'NavDivider';\n"],"names":["React","renderDivider_unstable","useCustomStyleHook_unstable","useNavDivider_unstable","useNavDividerStyles_unstable","NavDivider","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,sBAAsB,QAAQ,0BAA0B;AAEjE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,sBAAsB,QAAQ,kBAAkB;AACzD,SAASC,4BAA4B,QAAQ,+BAA+B;AAG5E;;CAEC,GACD,OAAO,MAAMC,2BAAmDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACvF,MAAMC,QAAQN,uBAAuBI,OAAOC;IAE5CJ,6BAA6BK;IAC7BP,4BAA4B,gCAAgCO;IAE5D,OAAOR,uBAAuBQ;AAChC,GAAG;AAEHJ,WAAWK,WAAW,GAAG"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
3
3
|
import { useNavDrawer_unstable } from './useNavDrawer';
|
|
4
4
|
import { renderNavDrawer_unstable } from './renderNavDrawer';
|
|
5
5
|
import { useNavDrawerStyles_unstable } from './useNavDrawerStyles.styles';
|
|
6
6
|
import { useNavContextValues_unstable } from '../useNavContextValues';
|
|
7
7
|
/**
|
|
8
|
-
* NavDrawer component -
|
|
8
|
+
* NavDrawer component - a component that provides a drawer for navigation items.
|
|
9
9
|
*/ export const NavDrawer = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
10
10
|
const state = useNavDrawer_unstable(props, ref);
|
|
11
11
|
const contextValues = useNavContextValues_unstable(state);
|
|
12
12
|
useNavDrawerStyles_unstable(state);
|
|
13
|
-
|
|
14
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
15
|
-
// useCustomStyleHook_unstable('useNavDrawerStyles_unstable')(state);
|
|
13
|
+
useCustomStyleHook_unstable('useNavDrawerStyles_unstable')(state);
|
|
16
14
|
return renderNavDrawer_unstable(state, contextValues);
|
|
17
15
|
});
|
|
18
16
|
NavDrawer.displayName = 'NavDrawer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavDrawer/NavDrawer.tsx"],"sourcesContent":["import * as React from 'react';\
|
|
1
|
+
{"version":3,"sources":["../src/components/NavDrawer/NavDrawer.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nimport { useNavDrawer_unstable } from './useNavDrawer';\nimport { renderNavDrawer_unstable } from './renderNavDrawer';\nimport { useNavDrawerStyles_unstable } from './useNavDrawerStyles.styles';\nimport { useNavContextValues_unstable } from '../useNavContextValues';\nimport { NavState } from '../Nav/Nav.types';\nimport type { NavDrawerProps } from './NavDrawer.types';\n\n/**\n * NavDrawer component - a component that provides a drawer for navigation items.\n */\nexport const NavDrawer: ForwardRefComponent<NavDrawerProps> = React.forwardRef((props, ref) => {\n const state = useNavDrawer_unstable(props, ref);\n const contextValues = useNavContextValues_unstable(state as NavState);\n\n useNavDrawerStyles_unstable(state);\n useCustomStyleHook_unstable('useNavDrawerStyles_unstable')(state);\n\n return renderNavDrawer_unstable(state, contextValues);\n});\n\nNavDrawer.displayName = 'NavDrawer';\n"],"names":["React","useCustomStyleHook_unstable","useNavDrawer_unstable","renderNavDrawer_unstable","useNavDrawerStyles_unstable","useNavContextValues_unstable","NavDrawer","forwardRef","props","ref","state","contextValues","displayName"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAG9E,SAASC,qBAAqB,QAAQ,iBAAiB;AACvD,SAASC,wBAAwB,QAAQ,oBAAoB;AAC7D,SAASC,2BAA2B,QAAQ,8BAA8B;AAC1E,SAASC,4BAA4B,QAAQ,yBAAyB;AAItE;;CAEC,GACD,OAAO,MAAMC,0BAAiDN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IACrF,MAAMC,QAAQR,sBAAsBM,OAAOC;IAC3C,MAAME,gBAAgBN,6BAA6BK;IAEnDN,4BAA4BM;IAC5BT,4BAA4B,+BAA+BS;IAE3D,OAAOP,yBAAyBO,OAAOC;AACzC,GAAG;AAEHL,UAAUM,WAAW,GAAG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { renderDrawerBody_unstable } from '@fluentui/react-drawer';
|
|
3
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
3
4
|
import { useNavDrawerBody_unstable } from './useNavDrawerBody';
|
|
4
5
|
import { useNavDrawerBodyStyles_unstable } from './useNavDrawerBodyStyles.styles';
|
|
5
6
|
/**
|
|
@@ -7,9 +8,7 @@ import { useNavDrawerBodyStyles_unstable } from './useNavDrawerBodyStyles.styles
|
|
|
7
8
|
*/ export const NavDrawerBody = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useNavDrawerBody_unstable(props, ref);
|
|
9
10
|
useNavDrawerBodyStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
// useCustomStyleHook_unstable('useNavDrawerBodyStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useNavDrawerBodyStyles_unstable')(state);
|
|
13
12
|
return renderDrawerBody_unstable(state);
|
|
14
13
|
});
|
|
15
14
|
NavDrawerBody.displayName = 'NavDrawerBody';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavDrawerBody/NavDrawerBody.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderDrawerBody_unstable } from '@fluentui/react-drawer';\nimport {
|
|
1
|
+
{"version":3,"sources":["../src/components/NavDrawerBody/NavDrawerBody.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderDrawerBody_unstable } from '@fluentui/react-drawer';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavDrawerBody_unstable } from './useNavDrawerBody';\nimport { useNavDrawerBodyStyles_unstable } from './useNavDrawerBodyStyles.styles';\nimport type { NavDrawerBodyProps } from './NavDrawerBody.types';\n\n/**\n * NavDrawerBody component\n */\nexport const NavDrawerBody: ForwardRefComponent<NavDrawerBodyProps> = React.forwardRef((props, ref) => {\n const state = useNavDrawerBody_unstable(props, ref);\n\n useNavDrawerBodyStyles_unstable(state);\n useCustomStyleHook_unstable('useNavDrawerBodyStyles_unstable')(state);\n\n return renderDrawerBody_unstable(state);\n});\n\nNavDrawerBody.displayName = 'NavDrawerBody';\n"],"names":["React","renderDrawerBody_unstable","useCustomStyleHook_unstable","useNavDrawerBody_unstable","useNavDrawerBodyStyles_unstable","NavDrawerBody","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,yBAAyB;AAEnE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,+BAA+B,QAAQ,kCAAkC;AAGlF;;CAEC,GACD,OAAO,MAAMC,8BAAyDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC7F,MAAMC,QAAQN,0BAA0BI,OAAOC;IAE/CJ,gCAAgCK;IAChCP,4BAA4B,mCAAmCO;IAE/D,OAAOR,0BAA0BQ;AACnC,GAAG;AAEHJ,cAAcK,WAAW,GAAG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { renderDrawerFooter_unstable } from '@fluentui/react-drawer';
|
|
3
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
3
4
|
import { useNavDrawerFooter_unstable } from './useNavDrawerFooter';
|
|
4
5
|
import { useNavDrawerFooterStyles_unstable } from './useNavDrawerFooterStyles.styles';
|
|
5
6
|
/**
|
|
@@ -7,9 +8,7 @@ import { useNavDrawerFooterStyles_unstable } from './useNavDrawerFooterStyles.st
|
|
|
7
8
|
*/ export const NavDrawerFooter = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useNavDrawerFooter_unstable(props, ref);
|
|
9
10
|
useNavDrawerFooterStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
// useCustomStyleHook_unstable('useNavDrawerFooterStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useNavDrawerFooterStyles_unstable')(state);
|
|
13
12
|
return renderDrawerFooter_unstable(state);
|
|
14
13
|
});
|
|
15
14
|
NavDrawerFooter.displayName = 'NavDrawerFooter';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavDrawerFooter/NavDrawerFooter.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderDrawerFooter_unstable } from '@fluentui/react-drawer';\nimport {
|
|
1
|
+
{"version":3,"sources":["../src/components/NavDrawerFooter/NavDrawerFooter.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderDrawerFooter_unstable } from '@fluentui/react-drawer';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavDrawerFooter_unstable } from './useNavDrawerFooter';\nimport { useNavDrawerFooterStyles_unstable } from './useNavDrawerFooterStyles.styles';\nimport type { NavDrawerFooterProps } from './NavDrawerFooter.types';\n\n/**\n * NavDrawerFooter component\n */\nexport const NavDrawerFooter: ForwardRefComponent<NavDrawerFooterProps> = React.forwardRef((props, ref) => {\n const state = useNavDrawerFooter_unstable(props, ref);\n\n useNavDrawerFooterStyles_unstable(state);\n useCustomStyleHook_unstable('useNavDrawerFooterStyles_unstable')(state);\n\n return renderDrawerFooter_unstable(state);\n});\n\nNavDrawerFooter.displayName = 'NavDrawerFooter';\n"],"names":["React","renderDrawerFooter_unstable","useCustomStyleHook_unstable","useNavDrawerFooter_unstable","useNavDrawerFooterStyles_unstable","NavDrawerFooter","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,2BAA2B,QAAQ,yBAAyB;AAErE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,2BAA2B,QAAQ,uBAAuB;AACnE,SAASC,iCAAiC,QAAQ,oCAAoC;AAGtF;;CAEC,GACD,OAAO,MAAMC,gCAA6DL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACjG,MAAMC,QAAQN,4BAA4BI,OAAOC;IAEjDJ,kCAAkCK;IAClCP,4BAA4B,qCAAqCO;IAEjE,OAAOR,4BAA4BQ;AACrC,GAAG;AAEHJ,gBAAgBK,WAAW,GAAG"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { useNavDrawerHeader_unstable } from './useNavDrawerHeader';
|
|
3
|
-
import { useNavDrawerHeaderStyles_unstable } from './useNavDrawerHeaderStyles.styles';
|
|
4
2
|
import { renderDrawerHeader_unstable } from '@fluentui/react-drawer';
|
|
3
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
4
|
+
import { useNavDrawerHeaderStyles_unstable } from './useNavDrawerHeaderStyles.styles';
|
|
5
|
+
import { useNavDrawerHeader_unstable } from './useNavDrawerHeader';
|
|
5
6
|
/**
|
|
6
7
|
* NavDrawerHeader component
|
|
7
8
|
*/ export const NavDrawerHeader = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useNavDrawerHeader_unstable(props, ref);
|
|
9
10
|
useNavDrawerHeaderStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
// useCustomStyleHook_unstable('useNavDrawerHeaderStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useNavDrawerHeaderStyles_unstable')(state);
|
|
13
12
|
return renderDrawerHeader_unstable(state);
|
|
14
13
|
});
|
|
15
14
|
NavDrawerHeader.displayName = 'NavDrawerHeader';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavDrawerHeader/NavDrawerHeader.tsx"],"sourcesContent":["import * as React from 'react';\nimport {
|
|
1
|
+
{"version":3,"sources":["../src/components/NavDrawerHeader/NavDrawerHeader.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderDrawerHeader_unstable } from '@fluentui/react-drawer';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nimport { useNavDrawerHeaderStyles_unstable } from './useNavDrawerHeaderStyles.styles';\nimport { useNavDrawerHeader_unstable } from './useNavDrawerHeader';\nimport type { NavDrawerHeaderProps } from './NavDrawerHeader.types';\n\n/**\n * NavDrawerHeader component\n */\nexport const NavDrawerHeader: ForwardRefComponent<NavDrawerHeaderProps> = React.forwardRef((props, ref) => {\n const state = useNavDrawerHeader_unstable(props, ref);\n\n useNavDrawerHeaderStyles_unstable(state);\n useCustomStyleHook_unstable('useNavDrawerHeaderStyles_unstable')(state);\n\n return renderDrawerHeader_unstable(state);\n});\n\nNavDrawerHeader.displayName = 'NavDrawerHeader';\n"],"names":["React","renderDrawerHeader_unstable","useCustomStyleHook_unstable","useNavDrawerHeaderStyles_unstable","useNavDrawerHeader_unstable","NavDrawerHeader","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,2BAA2B,QAAQ,yBAAyB;AACrE,SAASC,2BAA2B,QAAQ,kCAAkC;AAG9E,SAASC,iCAAiC,QAAQ,oCAAoC;AACtF,SAASC,2BAA2B,QAAQ,uBAAuB;AAGnE;;CAEC,GACD,OAAO,MAAMC,gCAA6DL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACjG,MAAMC,QAAQL,4BAA4BG,OAAOC;IAEjDL,kCAAkCM;IAClCP,4BAA4B,qCAAqCO;IAEjE,OAAOR,4BAA4BQ;AACrC,GAAG;AAEHJ,gBAAgBK,WAAW,GAAG"}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
3
3
|
import { useNavItem_unstable } from './useNavItem';
|
|
4
4
|
import { renderNavItem_unstable } from './renderNavItem';
|
|
5
5
|
import { useNavItemStyles_unstable } from './useNavItemStyles.styles';
|
|
6
6
|
/**
|
|
7
|
-
* NavItem component -
|
|
7
|
+
* NavItem component - a single item in the navigation menu.
|
|
8
8
|
*/ export const NavItem = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
9
9
|
const state = useNavItem_unstable(props, ref);
|
|
10
10
|
useNavItemStyles_unstable(state);
|
|
11
|
-
|
|
12
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
13
|
-
// useCustomStyleHook_unstable('useNavItemStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useNavItemStyles_unstable')(state);
|
|
14
12
|
return renderNavItem_unstable(state);
|
|
15
13
|
});
|
|
16
14
|
NavItem.displayName = 'NavItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavItem/NavItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\
|
|
1
|
+
{"version":3,"sources":["../src/components/NavItem/NavItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavItem_unstable } from './useNavItem';\nimport { renderNavItem_unstable } from './renderNavItem';\nimport { useNavItemStyles_unstable } from './useNavItemStyles.styles';\nimport type { NavItemProps } from './NavItem.types';\n\n/**\n * NavItem component - a single item in the navigation menu.\n */\nexport const NavItem: ForwardRefComponent<NavItemProps> = React.forwardRef((props, ref) => {\n const state = useNavItem_unstable(props, ref);\n\n useNavItemStyles_unstable(state);\n useCustomStyleHook_unstable('useNavItemStyles_unstable')(state);\n\n return renderNavItem_unstable(state);\n});\n\nNavItem.displayName = 'NavItem';\n"],"names":["React","useCustomStyleHook_unstable","useNavItem_unstable","renderNavItem_unstable","useNavItemStyles_unstable","NavItem","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,kBAAkB;AACzD,SAASC,yBAAyB,QAAQ,4BAA4B;AAGtE;;CAEC,GACD,OAAO,MAAMC,wBAA6CL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACjF,MAAMC,QAAQP,oBAAoBK,OAAOC;IAEzCJ,0BAA0BK;IAC1BR,4BAA4B,6BAA6BQ;IAEzD,OAAON,uBAAuBM;AAChC,GAAG;AAEHJ,QAAQK,WAAW,GAAG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
2
3
|
import { useNavSectionHeader_unstable } from './useNavSectionHeader';
|
|
3
4
|
import { renderNavSectionHeader_unstable } from './renderNavSectionHeader';
|
|
4
5
|
import { useNavSectionHeaderStyles_unstable } from './useNavSectionHeaderStyles.styles';
|
|
@@ -7,9 +8,7 @@ import { useNavSectionHeaderStyles_unstable } from './useNavSectionHeaderStyles.
|
|
|
7
8
|
*/ export const NavSectionHeader = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
9
|
const state = useNavSectionHeader_unstable(props, ref);
|
|
9
10
|
useNavSectionHeaderStyles_unstable(state);
|
|
10
|
-
|
|
11
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
12
|
-
// useCustomStyleHook_unstable('useNavSectionHeaderStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useNavSectionHeaderStyles_unstable')(state);
|
|
13
12
|
return renderNavSectionHeader_unstable(state);
|
|
14
13
|
});
|
|
15
14
|
NavSectionHeader.displayName = 'NavSectionHeader';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavSectionHeader/NavSectionHeader.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useNavSectionHeader_unstable } from './useNavSectionHeader';\nimport { renderNavSectionHeader_unstable } from './renderNavSectionHeader';\nimport { useNavSectionHeaderStyles_unstable } from './useNavSectionHeaderStyles.styles';\nimport type { NavSectionHeaderProps } from './NavSectionHeader.types';\n\n/**\n * NavSectionHeader component\n */\nexport const NavSectionHeader: ForwardRefComponent<NavSectionHeaderProps> = React.forwardRef((props, ref) => {\n const state = useNavSectionHeader_unstable(props, ref);\n\n useNavSectionHeaderStyles_unstable(state);\n
|
|
1
|
+
{"version":3,"sources":["../src/components/NavSectionHeader/NavSectionHeader.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavSectionHeader_unstable } from './useNavSectionHeader';\nimport { renderNavSectionHeader_unstable } from './renderNavSectionHeader';\nimport { useNavSectionHeaderStyles_unstable } from './useNavSectionHeaderStyles.styles';\nimport type { NavSectionHeaderProps } from './NavSectionHeader.types';\n\n/**\n * NavSectionHeader component\n */\nexport const NavSectionHeader: ForwardRefComponent<NavSectionHeaderProps> = React.forwardRef((props, ref) => {\n const state = useNavSectionHeader_unstable(props, ref);\n\n useNavSectionHeaderStyles_unstable(state);\n useCustomStyleHook_unstable('useNavSectionHeaderStyles_unstable')(state);\n\n return renderNavSectionHeader_unstable(state);\n});\n\nNavSectionHeader.displayName = 'NavSectionHeader';\n"],"names":["React","useCustomStyleHook_unstable","useNavSectionHeader_unstable","renderNavSectionHeader_unstable","useNavSectionHeaderStyles_unstable","NavSectionHeader","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,4BAA4B,QAAQ,wBAAwB;AACrE,SAASC,+BAA+B,QAAQ,2BAA2B;AAC3E,SAASC,kCAAkC,QAAQ,qCAAqC;AAGxF;;CAEC,GACD,OAAO,MAAMC,iCAA+DL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACnG,MAAMC,QAAQP,6BAA6BK,OAAOC;IAElDJ,mCAAmCK;IACnCR,4BAA4B,sCAAsCQ;IAElE,OAAON,gCAAgCM;AACzC,GAAG;AAEHJ,iBAAiBK,WAAW,GAAG"}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
3
3
|
import { useNavSubItem_unstable } from './useNavSubItem';
|
|
4
4
|
import { renderNavSubItem_unstable } from './renderNavSubItem';
|
|
5
5
|
import { useNavSubItemStyles_unstable } from './useNavSubItemStyles.styles';
|
|
6
6
|
/**
|
|
7
|
-
* NavSubItem component -
|
|
7
|
+
* NavSubItem component - a sub-item within a navigation structure.
|
|
8
8
|
*/ export const NavSubItem = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
9
9
|
const state = useNavSubItem_unstable(props, ref);
|
|
10
10
|
useNavSubItemStyles_unstable(state);
|
|
11
|
-
|
|
12
|
-
// https://github.com/microsoft/fluentui/blob/master/rfcs/react-components/convergence/custom-styling.md
|
|
13
|
-
// useCustomStyleHook_unstable('useNavSubItemStyles_unstable')(state);
|
|
11
|
+
useCustomStyleHook_unstable('useNavSubItemStyles_unstable')(state);
|
|
14
12
|
return renderNavSubItem_unstable(state);
|
|
15
13
|
});
|
|
16
14
|
NavSubItem.displayName = 'NavSubItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavSubItem/NavSubItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\
|
|
1
|
+
{"version":3,"sources":["../src/components/NavSubItem/NavSubItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavSubItem_unstable } from './useNavSubItem';\nimport { renderNavSubItem_unstable } from './renderNavSubItem';\nimport { useNavSubItemStyles_unstable } from './useNavSubItemStyles.styles';\nimport type { NavSubItemProps } from './NavSubItem.types';\n\n/**\n * NavSubItem component - a sub-item within a navigation structure.\n */\nexport const NavSubItem: ForwardRefComponent<NavSubItemProps> = React.forwardRef((props, ref) => {\n const state = useNavSubItem_unstable(props, ref);\n\n useNavSubItemStyles_unstable(state);\n useCustomStyleHook_unstable('useNavSubItemStyles_unstable')(state);\n\n return renderNavSubItem_unstable(state);\n});\n\nNavSubItem.displayName = 'NavSubItem';\n"],"names":["React","useCustomStyleHook_unstable","useNavSubItem_unstable","renderNavSubItem_unstable","useNavSubItemStyles_unstable","NavSubItem","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,sBAAsB,QAAQ,kBAAkB;AACzD,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,4BAA4B,QAAQ,+BAA+B;AAG5E;;CAEC,GACD,OAAO,MAAMC,2BAAmDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACvF,MAAMC,QAAQP,uBAAuBK,OAAOC;IAE5CJ,6BAA6BK;IAC7BR,4BAA4B,gCAAgCQ;IAE5D,OAAON,0BAA0BM;AACnC,GAAG;AAEHJ,WAAWK,WAAW,GAAG"}
|