@fluentui/react-nav 0.0.0-nightly-20250613-0407.1 → 0.0.0-nightly-20250616-0406.1
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 +27 -17
- 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 +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/NavSubItemGroup/NavSubItemGroup.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\
|
|
1
|
+
{"version":3,"sources":["../src/components/NavSubItemGroup/NavSubItemGroup.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useNavSubItemGroup_unstable } from './useNavSubItemGroup';\nimport { renderNavSubItemGroup_unstable } from './renderNavSubItemGroup';\nimport { useNavSubItemGroupStyles_unstable } from './useNavSubItemGroupStyles.styles';\nimport type { NavSubItemGroupProps } from './NavSubItemGroup.types';\n\n/**\n * NavSubItemGroup component - a group of sub-items within a navigation structure.\n */\nexport const NavSubItemGroup: ForwardRefComponent<NavSubItemGroupProps> = React.forwardRef((props, ref) => {\n const state = useNavSubItemGroup_unstable(props, ref);\n\n useNavSubItemGroupStyles_unstable(state);\n useCustomStyleHook_unstable('useNavSubItemGroupStyles_unstable')(state);\n\n return renderNavSubItemGroup_unstable(state);\n});\n\nNavSubItemGroup.displayName = 'NavSubItemGroup';\n"],"names":["NavSubItemGroup","React","forwardRef","props","ref","state","useNavSubItemGroup_unstable","useNavSubItemGroupStyles_unstable","useCustomStyleHook_unstable","renderNavSubItemGroup_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAYaA;;;eAAAA;;;;iEAZU;qCAEqB;oCAEA;uCACG;gDACG;AAM3C,MAAMA,kBAAAA,WAAAA,GAA6DC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACjG,MAAMC,QAAQC,IAAAA,+CAAAA,EAA4BH,OAAOC;IAEjDG,IAAAA,iEAAAA,EAAkCF;IAClCG,IAAAA,gDAAAA,EAA4B,qCAAqCH;IAEjE,OAAOI,IAAAA,qDAAAA,EAA+BJ;AACxC;AAEAL,gBAAgBU,WAAW,GAAG"}
|
|
@@ -10,20 +10,14 @@ Object.defineProperty(exports, "SplitNavItem", {
|
|
|
10
10
|
});
|
|
11
11
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
12
12
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
13
|
+
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
13
14
|
const _useSplitNavItem = require("./useSplitNavItem");
|
|
14
15
|
const _renderSplitNavItem = require("./renderSplitNavItem");
|
|
15
16
|
const _useSplitNavItemStylesstyles = require("./useSplitNavItemStyles.styles");
|
|
16
17
|
const SplitNavItem = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
17
18
|
const state = (0, _useSplitNavItem.useSplitNavItem_unstable)(props, ref);
|
|
18
19
|
(0, _useSplitNavItemStylesstyles.useSplitNavItemStyles_unstable)(state);
|
|
19
|
-
|
|
20
|
-
* @see https://github.com/microsoft/fluentui/blob/master/docs/react-v9/contributing/rfcs/react-components/convergence/custom-styling.md
|
|
21
|
-
*
|
|
22
|
-
* TODO: 💡 once package will become stable (PR which will be part of promoting PREVIEW package to STABLE),
|
|
23
|
-
* - uncomment this line
|
|
24
|
-
* - update types {@link file://./../../../../../../../packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext/CustomStyleHooksContext.ts#CustomStyleHooksContextValue}
|
|
25
|
-
* - verify that custom global style override works for your component
|
|
26
|
-
*/ // useCustomStyleHook_unstable('useSplitNavItemStyles_unstable')(state);
|
|
20
|
+
(0, _reactsharedcontexts.useCustomStyleHook_unstable)('useSplitNavItemStyles_unstable')(state);
|
|
27
21
|
return (0, _renderSplitNavItem.renderSplitNavItem_unstable)(state);
|
|
28
22
|
});
|
|
29
23
|
SplitNavItem.displayName = 'SplitNavItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/SplitNavItem/SplitNavItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useSplitNavItem_unstable } from './useSplitNavItem';\nimport { renderSplitNavItem_unstable } from './renderSplitNavItem';\nimport { useSplitNavItemStyles_unstable } from './useSplitNavItemStyles.styles';\nimport type { SplitNavItemProps } from './SplitNavItem.types';\n\n/**\n * SplitNavItem component - TODO: add more docs\n */\nexport const SplitNavItem: ForwardRefComponent<SplitNavItemProps> = React.forwardRef((props, ref) => {\n const state = useSplitNavItem_unstable(props, ref);\n\n useSplitNavItemStyles_unstable(state);\n
|
|
1
|
+
{"version":3,"sources":["../src/components/SplitNavItem/SplitNavItem.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\nimport { useSplitNavItem_unstable } from './useSplitNavItem';\nimport { renderSplitNavItem_unstable } from './renderSplitNavItem';\nimport { useSplitNavItemStyles_unstable } from './useSplitNavItemStyles.styles';\nimport type { SplitNavItemProps } from './SplitNavItem.types';\n\n/**\n * SplitNavItem component - TODO: add more docs\n */\nexport const SplitNavItem: ForwardRefComponent<SplitNavItemProps> = React.forwardRef((props, ref) => {\n const state = useSplitNavItem_unstable(props, ref);\n\n useSplitNavItemStyles_unstable(state);\n useCustomStyleHook_unstable('useSplitNavItemStyles_unstable')(state);\n\n return renderSplitNavItem_unstable(state);\n});\n\nSplitNavItem.displayName = 'SplitNavItem';\n"],"names":["SplitNavItem","React","forwardRef","props","ref","state","useSplitNavItem_unstable","useSplitNavItemStyles_unstable","useCustomStyleHook_unstable","renderSplitNavItem_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAYaA;;;eAAAA;;;;iEAZU;qCAEqB;iCAEH;oCACG;6CACG;AAMxC,MAAMA,eAAAA,WAAAA,GAAuDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC3F,MAAMC,QAAQC,IAAAA,yCAAAA,EAAyBH,OAAOC;IAE9CG,IAAAA,2DAAAA,EAA+BF;IAC/BG,IAAAA,gDAAAA,EAA4B,kCAAkCH;IAE9D,OAAOI,IAAAA,+CAAAA,EAA4BJ;AACrC;AAEAL,aAAaU,WAAW,GAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-nav",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250616-0406.1",
|
|
4
4
|
"description": "New fluentui react package",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@fluentui/eslint-plugin": "*",
|
|
16
|
-
"@fluentui/react-conformance": "0.0.0-nightly-
|
|
17
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
|
16
|
+
"@fluentui/react-conformance": "0.0.0-nightly-20250616-0406.1",
|
|
17
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20250616-0406.1",
|
|
18
18
|
"@fluentui/scripts-api-extractor": "*"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@fluentui/react-aria": "0.0.0-nightly-
|
|
22
|
-
"@fluentui/react-button": "0.0.0-nightly-
|
|
23
|
-
"@fluentui/react-tooltip": "0.0.0-nightly-
|
|
24
|
-
"@fluentui/react-context-selector": "0.0.0-nightly-
|
|
25
|
-
"@fluentui/react-divider": "0.0.0-nightly-
|
|
26
|
-
"@fluentui/react-drawer": "0.0.0-nightly-
|
|
21
|
+
"@fluentui/react-aria": "0.0.0-nightly-20250616-0406.1",
|
|
22
|
+
"@fluentui/react-button": "0.0.0-nightly-20250616-0406.1",
|
|
23
|
+
"@fluentui/react-tooltip": "0.0.0-nightly-20250616-0406.1",
|
|
24
|
+
"@fluentui/react-context-selector": "0.0.0-nightly-20250616-0406.1",
|
|
25
|
+
"@fluentui/react-divider": "0.0.0-nightly-20250616-0406.1",
|
|
26
|
+
"@fluentui/react-drawer": "0.0.0-nightly-20250616-0406.1",
|
|
27
27
|
"@fluentui/react-icons": "^2.0.245",
|
|
28
|
-
"@fluentui/react-jsx-runtime": "0.0.0-nightly-
|
|
29
|
-
"@fluentui/react-shared-contexts": "0.0.0-nightly-
|
|
30
|
-
"@fluentui/react-tabster": "0.0.0-nightly-
|
|
31
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
|
32
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
|
28
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20250616-0406.1",
|
|
29
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20250616-0406.1",
|
|
30
|
+
"@fluentui/react-tabster": "0.0.0-nightly-20250616-0406.1",
|
|
31
|
+
"@fluentui/react-theme": "0.0.0-nightly-20250616-0406.1",
|
|
32
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20250616-0406.1",
|
|
33
33
|
"@griffel/react": "^1.5.22",
|
|
34
34
|
"@swc/helpers": "^0.5.1"
|
|
35
35
|
},
|