aot-ui 0.2.27 → 0.2.29

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.
@@ -19187,7 +19187,7 @@ function pf() {
19187
19187
  cx: "92",
19188
19188
  cy: "28",
19189
19189
  r: "14",
19190
- fill: "var(--color-lr-bg)",
19190
+ fill: "var(--color-lr-art-fill, var(--color-lr-panel, var(--color-lr-bg)))",
19191
19191
  stroke: "currentColor",
19192
19192
  strokeWidth: "1.6"
19193
19193
  }),
@@ -20472,11 +20472,13 @@ function Yf({ items: e, mode: t = "vertical", selectedKeys: n, defaultSelectedKe
20472
20472
  e.disabled ? "is-disabled" : ""
20473
20473
  ].filter(Boolean).join(" "),
20474
20474
  title: o,
20475
+ "data-menu-key": e.key,
20475
20476
  children: /* @__PURE__ */ b("button", {
20476
20477
  type: "button",
20477
20478
  className: "aot-menu__label",
20478
20479
  disabled: e.disabled,
20479
20480
  "aria-current": i ? "page" : void 0,
20481
+ "data-route": typeof e.route == "string" ? e.route : e.key,
20480
20482
  onClick: () => B(e.key, e.disabled),
20481
20483
  children: /* @__PURE__ */ x("span", {
20482
20484
  className: "aot-menu__label-main",
@@ -6,6 +6,18 @@ export type LoadRetryItem = {
6
6
  tag: string;
7
7
  };
8
8
  export type LoadPhase = "error" | "loading" | "ready";
9
+ /**
10
+ * LoadRetry — 列表 / 目录加载失败重试。
11
+ *
12
+ * **受控模式**(传 `status`):外层 `aot-lr--app`,失败态为圆角面板(`overflow: hidden`
13
+ * 以裁切磨砂),颜色走 `--aot-color-lr-*`(默认映射主题 surface/text/border)。
14
+ * 宿主磨砂时可设:
15
+ * - `--aot-lr-backdrop: blur(28px) saturate(1.35)`
16
+ * - `--aot-color-lr-panel` / `--aot-color-lr-bg` → 半透明玻璃底
17
+ * 宿主勿对 `.aot-lr__error` 强制 `overflow: visible`,否则圆角磨砂会失效。
18
+ *
19
+ * **演示模式**(不传 `status`):带导航/标签的完整 demo 壳。
20
+ */
9
21
  export type LoadRetryProps = {
10
22
  className?: string;
11
23
  items?: LoadRetryItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aot-ui",
3
- "version": "0.2.27",
3
+ "version": "0.2.29",
4
4
  "description": "AOT React UI component kit",
5
5
  "type": "module",
6
6
  "main": "./dist-lib/aot-ui.js",