docs: register overlays and page packages
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
"@workspace/appearance": "workspace:*",
|
||||
"@workspace/i18n": "workspace:*",
|
||||
"@workspace/media": "workspace:*",
|
||||
"@workspace/overlays": "workspace:*",
|
||||
"@workspace/page": "workspace:*",
|
||||
"@workspace/preferences": "workspace:*",
|
||||
"@workspace/search": "workspace:*",
|
||||
"clsx": "^2.1.1",
|
||||
|
||||
@@ -67,6 +67,22 @@ const packageDefinitions: readonly PackageDefinition[] = [
|
||||
us: "Build media browsing, uploads, folder management, and asset selection with a storage adapter.",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "overlays",
|
||||
label: "Overlays",
|
||||
description: {
|
||||
zh: "使用统一的异步 API 编排 alert、confirm、prompt、modal、sheet、drawer 和 toast。",
|
||||
us: "Orchestrate alerts, confirms, prompts, modals, sheets, drawers, and toasts through one asynchronous API.",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "page",
|
||||
label: "Page",
|
||||
description: {
|
||||
zh: "组合页面标题、描述、操作、面包屑、路由标签和内容区,并按需将标题挂载到外部布局。",
|
||||
us: "Compose page headings, actions, breadcrumbs, route tabs, and sections, with optional title portals into an external layout.",
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "preferences",
|
||||
label: "Preferences",
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
@import "@workspace/ui/globals.css";
|
||||
@import "@workspace/appearance/globals.css";
|
||||
@import "@workspace/media/globals.css";
|
||||
@import "@workspace/overlays/globals.css";
|
||||
@import "@workspace/page/globals.css";
|
||||
@import "@workspace/search/globals.css";
|
||||
|
||||
@custom-variant dark (&:where(.dark, .dark *));
|
||||
|
||||
Reference in New Issue
Block a user