@atlaskit/navigation-next

中文文档
9.0.17发布于 2022/01/28Apache-2.0ESM + CJS近 30 天下载 5952

The Atlassian navigation component.

原始使用文档

Navigation-next

Moving to Nav v3

Atlassian is moving to a new navigation experience, which includes horizontal global navigation, and re-built navigation components to replace navigation-next.

For a guide on how to upgrade from navigation-next to the new navigation components, follow this guide on the atlaskit website.

Entrypoints

These are entrypoints for specific components to be used carefully by the consumers. If you're using one of these entrypoints we are assuming you know what you are doing. So it means that code-splitting and tree-shaking should be done on the consumer/product side.

How to use it

import LayoutManagerWithViewController from '@atlaskit/navigation-next/LayoutManagerWithViewController';

Exposed entrypoints

  • atlaskit/navigation-next/LayoutManagerWithViewController
  • atlaskit/navigation-next/ItemsRenderer
  • atlaskit/navigation-next/SkeletonContainerView
  • atlaskit/navigation-next/NavigationProvider
  • atlaskit/navigation-next/AsyncLayoutManagerWithViewController
  • atlaskit/navigation-next/GlobalNavigationSkeleton
  • atlaskit/navigation-next/view-controller
  • atlaskit/navigation-next/ui-controller

版本与发布记录

@atlaskit/navigation-next 共发布 246 个版本,首次发布于 2018/04/24;过去 12 个月发布了 0 个版本。

版本发布日期距今
9.0.17latest2022/01/284 年前
9.0.162021/09/165 年前
9.0.152021/07/295 年前
9.0.142021/07/165 年前
9.0.132021/07/085 年前
9.0.122021/05/285 年前

关于 @atlaskit/navigation-next 的常见问题

@atlaskit/navigation-next 是什么?

The Atlassian navigation component.

如何安装 @atlaskit/navigation-next?

在项目目录运行 npm install @atlaskit/navigation-next,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(^16.8.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@atlaskit/navigation-next 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/atlaskit__navigation-next 是否存在。

@atlaskit/navigation-next 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@atlaskit/navigation-next 可以商用吗?

@atlaskit/navigation-next 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@atlaskit/navigation-next 的下载量有多少?

根据 npm 官方下载统计,@atlaskit/navigation-next 在 2026/10/07 – 2026/11/05 这 30 天内被下载 5,952 次,日均约 198 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@atlaskit/navigation-next 还在维护吗?

最新版本 9.0.17 发布于 2022/01/28(4 年前);至今共发布 246 个版本,其中过去 12 个月发布了 0 个;首次发布于 2018/04/24。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。