Skip to content

兼容性 ​

本页面记录了此 pantoken 构建解析自 Instructure UI 的源,以及哪些使用者在消费它们。目标版本单独列出:仅声明已验证的发行版本,晚于最近已验证发行的版本需要审查。使用 vp run sync:compatibility 重新生成;若发生漂移,gate:compatibility 检查会失败。

上游来源 ​

设计令牌 (design tokens)、Instructure 自定义图标和 Lucide 目录为所有包消费的已解析令牌 IR 提供数据。@instructure/ui-* React 包仅被 @pantoken/react-markdown 使用。

PackageFeedsRangeResolved
@instructure/instructure-design-tokenstoken-irgithub:instructure/instructure-design-tokens#v2.1.0v2.1.0@c7f0deea242d
@instructure/ui-iconsicons^11.7.711.7.7
lucideicons^1.48.01.48.0
@instructure/ui-headinginstui-react^11.7.711.7.7
@instructure/ui-textinstui-react^11.7.711.7.7
@instructure/ui-linkinstui-react^11.7.711.7.7
@instructure/ui-listinstui-react^11.7.711.7.7
@instructure/ui-tableinstui-react^11.7.711.7.7
@instructure/ui-viewinstui-react^11.7.711.7.7
@instructure/ui-imginstui-react^11.7.711.7.7
@instructure/ui-alertsinstui-react^11.7.711.7.7

使用者 ​

PackagePathGoverned byTargetCurrent formatHost versions
@pantoken/nextbundlers/nexttoken-irNext.js生产构建对 Instructure UI 11.7.7 与 React 19.3.0 进行转译与渲染16.0.0 through 16.3.8 (verified)
@pantoken/pandabundlers/pandatoken-irPanda CSS从 Pantoken 预设提取 Panda 令牌实用工具1.12.1 through 2.0.0 (verified)
@pantoken/postcssbundlers/postcsstoken-irPostCSS—8.0.0 through 8.5.28 (verified)
@pantoken/tailwindbundlers/tailwindtoken-irTailwind CSS—4.0.17 through 4.3.3 (verified)
@pantoken/vitebundlers/vitetoken-irVite—8.0.0 through 8.3.1 (verified)
@pantoken/webpackbundlers/webpacktoken-irwebpack生成的令牌 CSS 构建产物5.61.0 through 5.111.1 (verified)
@pantoken/androidplatforms/androidtoken-irAndroid resources生成的颜色、尺寸和 VectorDrawable,供 Android build-tools 编译并链接API 35 / build-tools 35.0.0 through API 35 / build-tools 35.0.0 (verified)
@pantoken/canvas-theme-editorplatforms/canvas-theme-editortoken-irCanvas Theme Editor—Not yet verified
@pantoken/composeplatforms/composetoken-irJetpack Compose生成的 Color 与 Dp 令牌对象可在 Android 库模块中编译Kotlin 2.1.10 / Compose UI 1.8.2 / Android API 35 through Kotlin 2.1.10 / Compose UI 1.8.2 / Android API 35 (verified)
@pantoken/drupalplatforms/drupaltoken-irDrupal themesDrupal 核心能发现生成的主题;InfoParser 与 Symfony YAML 接受元数据10.6.18 through 11.3.2 (verified)
@pantoken/emailplatforms/emailtoken-irHTML email—Not yet verified
@pantoken/flutterplatforms/fluttertoken-irFlutter—Not yet verified
@pantoken/hugoplatforms/hugotoken-irHugoHugo Pipes 构建 Pantoken 令牌样式表0.165.0 through 0.165.0 (verified)
@pantoken/jekyllplatforms/jekylltoken-irJekyllJekyll 将生成的 Sass 局部文件构建进站点 CSS4.4.1 through 4.4.1 (verified)
@pantoken/rustplatforms/rusttoken-irRust GUI frameworks生成的 egui Color32 访问器和 iced_core Color 常量可与 Rust 工具链一同编译1.95.0 through 1.95.0 (verified)
@pantoken/swiftplatforms/swifttoken-irSwift iOSUIKit SwiftPM 模块、运行时令牌检查,以及已编译的 Icons.xcassetsTested environment: Xcode 27.0 (27A266a), Swift 6.4, iOS Simulator SDK/runtime 27.0, iPhone 18 Pro, arm64 iOS 15 deployment target. 仅在 iOS 模拟器 27.0 上进行运行时测试;这并不建立 iOS 15 的运行时下限。未声明 watchOS 或 tvOS 支持。
@pantoken/vanillaplatforms/vanillatoken-irVanilla Forums—Not yet verified
@pantoken/wordpressplatforms/wordpresstoken-irWordPress block themestheme.json v36.6 through 7.1.2 (verified)
@pantoken/angularrenderers/angulartoken-irAngularCUSTOM_ELEMENTS_SCHEMA 模板编译(Angular 16.2.12 / TS 5.1.6;Angular 22.2.0 / TS 6.0.3)16.2.12 through 22.2.0 (verified)
@pantoken/astrorenderers/astrotoken-irAstro / Starlight构建的 Starlight 页面注入了令牌样式表(支持 Astro 5 与 7)0.35.0 through 0.42.4 (verified)
@pantoken/bootstraprenderers/bootstraptoken-irBootstrapCSS 变量:body + primary button5.2.0 through 5.3.8 (verified)
@pantoken/css-in-jsrenderers/css-in-jstoken-irEmotion CSS-in-JSThemeProvider SSR 发出 Pantoken 令牌变量11.14.0 through 11.14.0 (verified)
@pantoken/docusaurusrenderers/docusaurustoken-irDocusaurus theme-classicInfima CSS 变量桥接:primary 与 background3.0.0 through 3.10.2 (verified)
@pantoken/foundationrenderers/foundationtoken-irFoundation for Sites具体 Sass 设置 + 基于变量的 CSS 覆盖6.1.2 through 6.9.0 (verified)
@pantoken/markdown-itrenderers/markdown-ittoken-irmarkdown-it—14.0.0 through 15.0.2 (verified)
@pantoken/mintlifyrenderers/mintlifytoken-irMintlify docs.json官方 CLI 验证生成的颜色和背景主题配置4.0.1555 through 4.0.1557 (verified)
@pantoken/muirenderers/muitoken-irMaterial UI具体的 createTheme 调色板 (MUI 5, 6, 7, 9)5.0.0 through 9.4.0 (verified)
@pantoken/pendorenderers/pendotoken-irPendo—Not yet verified
@pantoken/reactrenderers/reacttoken-irReactSSR 渲染的 Icon 自定义元素与令牌回退19.3.0 through 19.3.0 (verified)
@pantoken/react-markdownrenderers/react-markdowninstui-reactreact-markdownSSR 渲染的 InstUI 标题、图标和颜色样本(React 19.3.0)10.1.0 through 10.1.0 (verified)
@pantoken/react-nativerenderers/react-nativetoken-irReact Native—Not yet verified
@pantoken/rehyperenderers/rehypetoken-irrehypeHAST + 原始 SVG13.0.0 through 13.0.2 (verified)
@pantoken/shadcnrenderers/shadcntoken-irshadcn/ui CSS variablesTailwind 4.3.3 将 Pantoken primary 主题别名编译4.3.3 through 4.3.3 (verified)
@pantoken/storybookrenderers/storybooktoken-irStorybook themingStorybook ThemeVars 构造函数接受 Pantoken 的明暗主题8.6.14 through 8.6.14 (verified)
@pantoken/svelterenderers/sveltetoken-irSvelte图标操作组件可在 Svelte 4 与 5 上编译并进行 SSR 渲染4.2.20 through 5.57.1 (verified)
@pantoken/tinymcerenderers/tinymcetoken-irTinyMCE PluginManagerPantoken 插件注册与回调初始化8.9.2 through 8.9.2 (verified)
@pantoken/vitepressrenderers/vitepresstoken-irVitePress构建站点的 CSS 包含 Pantoken primary-brand 桥接1.6.4 through 1.6.4 (verified)
@pantoken/vuerenderers/vuetoken-irVue插件安装、自定义元素配置与 SSR 输出3.0.0 through 3.5.43 (verified)
@pantoken/web-componentsrenderers/web-componentstoken-irWeb Components自定义元素注册与按钮阴影输出Tested environment: Node 26.10.0 with happy-dom 20.14.5. 未验证真实浏览器的渲染与交互行为。

审查目标发行版 ​

每周的目标发行工作流会为新的稳定 WordPress 发行版和带显式 npm peer 的生态系统打开审查 issue。对于其他目标,维护者每周检查平台的官方发行说明并手动打开审查 issue;若无对应 issue 并不表示新发行已被支持。要扩展声明:

  1. 检查发行的输出架构或集成更改以及本表中的适配器。
  2. 对候选发行运行适配器的兼容性命令,例如 vp run @pantoken/postcss#check:compatibility -- 8.5.29。默认命令会从此注册表读取每个 testedVersions 条目;配对环境接受其配套标志。
  3. 对于通过 feed 发现的候选,使用 vp run downstream:test;失败的尝试会保留在 scripts/release/downstream-compatibility.json 中。审查成功后,运行 vp run downstream:bless --package @pantoken/name --version x.y.z 来更新声明。
  4. 在最低和新发行上运行真实主机、编译器或构建工具检查。必要时重映射当前输出格式;不要添加平行的旧版格式发射器。
  5. 仅在检查通过后更新 scripts/release/target-compatibility.json,然后运行 vp run sync:compatibility、重新生成英文 API 文档并添加 changeset。更新后的发行在该审查变更合并前仍保持待定。本地化文档另行处理。

弃用 ​

上游已删除但 pantoken 仍作为兼容性 shim 提供的令牌。每个 shim 会保持可用,直到其 Removed in 的上游次版本被采用,随后该 shim 将被弃用并切换到消费者次版本。shim 要么转发到 Replacement 令牌,要么冻结其最后已知值。

TokenDeprecated inRemoved inReplacement
--instui-component-side-nav-bar-new-insitution-logo-gapui@11.7.7ui@11.8.0--instui-component-side-nav-bar-new-institution-logo-gap
--instui-component-side-nav-bar-new-insitution-logo-paddingui@11.7.7ui@11.8.0--instui-component-side-nav-bar-new-institution-logo-padding
--instui-icon-angryui@11.7.6ui@11.8.0frozen value
--instui-icon-annoyedui@11.7.6ui@11.8.0frozen value
--instui-icon-frownui@11.7.6ui@11.8.0frozen value
--instui-icon-historyui@11.7.6ui@11.8.0--instui-icon-rotate-ccw-clock
--instui-icon-laughui@11.7.6ui@11.8.0frozen value
--instui-icon-mehui@11.7.6ui@11.8.0frozen value
--instui-icon-podcastui@11.7.6ui@11.8.0frozen value
--instui-icon-smileui@11.7.6ui@11.8.0frozen value
--instui-icon-smile-plusui@11.7.6ui@11.8.0frozen value
--instui-icon-trash-2ui@11.7.6ui@11.8.0frozen value

最近更新: