Skip to content

相容性 ​

本頁記錄此 pantoken 構建所解析的 Instructure UI 原始來源,以及哪些消費者在使用它們。目標版本是分開管理的:僅宣稱已驗證的發行版本,且比最後驗證發行更新的版本需進行審查。可使用 vp run sync:compatibility 重新產生;若偏移, gate:compatibility 檢查會失敗。

上游來源 ​

設計代幣、Instructure 自訂圖示與 Lucide 目錄提供解析後的 token IR,所有封裝皆消費此 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生產建置:在 React 19.3.0 上轉譯並渲染 Instructure UI 11.7.716.0.0 through 16.3.8 (verified)
@pantoken/pandabundlers/pandatoken-irPanda CSS從 Pantoken preset 擷取 Panda token 工具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輸出 token CSS 建置資產5.61.0 through 5.111.1 (verified)
@pantoken/androidplatforms/androidtoken-irAndroid resources生成 color、dimension 與 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 token 物件可在 Android library module 中編譯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 core 可偵測生成的主題;InfoParser 與 Symfony YAML 接受其 metadata10.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 token 樣式表0.165.0 through 0.165.0 (verified)
@pantoken/jekyllplatforms/jekylltoken-irJekyllJekyll 將生成的 Sass partial 建置進站台 CSS4.4.1 through 4.4.1 (verified)
@pantoken/rustplatforms/rusttoken-irRust GUI frameworks生成的 egui Color32 存取器與 iced_core Color 常數可在 Rust toolchain 中編譯1.95.0 through 1.95.0 (verified)
@pantoken/swiftplatforms/swifttoken-irSwift iOSUIKit SwiftPM 模組、執行時 token 檢查,以及已編譯的 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 Simulator 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 頁面並注入 token 樣式表 (支援 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 token 變數11.14.0 through 11.14.0 (verified)
@pantoken/docusaurusrenderers/docusaurustoken-irDocusaurus theme-classicInfima CSS-variable bridge: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 custom element 與 token fallback19.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 + raw SVG13.0.0 through 13.0.2 (verified)
@pantoken/shadcnrenderers/shadcntoken-irshadcn/ui CSS variablesTailwind 4.3.3 將 Pantoken primary theme alias 編譯4.3.3 through 4.3.3 (verified)
@pantoken/storybookrenderers/storybooktoken-irStorybook themingStorybook ThemeVars 建構子接受 light 與 dark Pantoken 主題8.6.14 through 8.6.14 (verified)
@pantoken/svelterenderers/sveltetoken-irSvelteIcon action 元件可在 Svelte 4 與 5 中編譯並 SSR 渲染4.2.20 through 5.57.1 (verified)
@pantoken/tinymcerenderers/tinymcetoken-irTinyMCE PluginManagerPantoken plugin 註冊與 callback 初始化8.9.2 through 8.9.2 (verified)
@pantoken/vitepressrenderers/vitepresstoken-irVitePress建置網站 CSS 包含 Pantoken primary-brand bridge1.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自訂元素註冊與按鈕的 shadow 輸出Tested environment: Node 26.10.0 with happy-dom 20.14.5. 真實瀏覽器的渲染與互動行為未經驗證。

審查目標發行版本 ​

每週的目標發行工作流程會為新的穩定 WordPress 發行及具有明確 npm peer 的生態系統開啟審查 issue。對於其他目標,維護者每週檢查該平台的官方發行說明並手動開啟審查 issue;若沒有 issue 並不代表新的發行已被支援。擴展聲明的流程:

  1. 檢查該發行的輸出 schema 或整合變更,以及本表中的適配器。
  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. 至少在新的發行上執行實際的主機、編譯器或建置工具檢查。如有必要,重新映射目前的輸出格式;不要新增平行的舊版格式 emitters。
  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

上次更新: