@fox-js/foxui-pc 4.1.1-39 → 4.1.1-40

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.
package/dist/style.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /*!
2
- * @fox-js/foxui-desktop v4.0.0 2026-06-19T06:09:01.839Z
2
+ * @fox-js/foxui-desktop v4.0.0 2026-07-29T07:15:24.722Z
3
3
  */
@@ -1439,19 +1439,25 @@ declare const HintTextFunction: HintTextTooltip;
1439
1439
  export { HintTextFunction as FoxHintText }
1440
1440
  export { HintTextFunction as HintText }
1441
1441
 
1442
- /**
1443
- * HintTextTooltip
1444
- */
1445
1442
  declare interface HintTextTooltip {
1446
1443
  /**
1447
1444
  * 显示
1448
- * @param reference
1445
+ * @param reference(引用组件 or 位置区域)
1449
1446
  * @param message
1450
1447
  * @param opts
1451
1448
  * @param only
1452
1449
  * @returns
1453
1450
  */
1454
1451
  show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
1452
+ /**
1453
+ * 显示(在指定区域显示)
1454
+ * @param referenceRect
1455
+ * @param message
1456
+ * @param opts
1457
+ * @param only
1458
+ * @returns
1459
+ */
1460
+ showInRect(referenceRect: InsetRect, message: string, opts: Record<string, any>, only?: boolean): string;
1455
1461
  /**
1456
1462
  * 隐藏
1457
1463
  * @param id
@@ -1532,6 +1538,13 @@ export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
1532
1538
  */
1533
1539
  export declare const InnerPageScopeKey: unique symbol;
1534
1540
 
1541
+ declare type InsetRect = {
1542
+ top: number | null;
1543
+ right: number | null;
1544
+ bottom: number | null;
1545
+ left: number | null;
1546
+ };
1547
+
1535
1548
  /**
1536
1549
  * 安装函数
1537
1550
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fox-js/foxui-pc",
3
3
  "type": "module",
4
- "version": "4.1.1-39",
4
+ "version": "4.1.1-40",
5
5
  "description": "FoxUI PC端组件库",
6
6
  "author": "jiangcheng",
7
7
  "main": "./dist/index.umd.js",