@lark-project/js-sdk 2.0.16-alpha.4 → 2.0.16-alpha.6

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/es/index.js CHANGED
@@ -666,7 +666,7 @@ var SDKClient = _SDKClient;
666
666
  /**
667
667
  * SDK 版本号
668
668
  */
669
- SDKClient.version = "2.0.16-alpha.4";
669
+ SDKClient.version = "2.0.16-alpha.6";
670
670
 
671
671
  // src/types/biz.ts
672
672
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
package/dist/lib/index.js CHANGED
@@ -733,7 +733,7 @@ var SDKClient = _SDKClient;
733
733
  /**
734
734
  * SDK 版本号
735
735
  */
736
- SDKClient.version = "2.0.16-alpha.4";
736
+ SDKClient.version = "2.0.16-alpha.6";
737
737
 
738
738
  // src/types/biz.ts
739
739
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -461,18 +461,18 @@ interface ButtonModalOpenOptions<Context> {
461
461
  */
462
462
  title?: string;
463
463
  /**
464
- * 宽度
464
+ * 初始宽度
465
465
  * 默认: 448
466
466
  */
467
467
  width?: number;
468
468
  /**
469
- * 高度
469
+ * 初始高度
470
470
  * 默认: 400
471
471
  */
472
472
  height?: number;
473
473
  /**
474
474
  * 传入 ButtonModal 内的上下文数据
475
- * 注:传入的数据在 Modal 内是通过 sdk.Context.load().getCustomContext() 来获取的
475
+ * 注:传入的数据在 ButtonModal 内是通过 sdk.Context.load().getCustomContext() 来获取的
476
476
  */
477
477
  context?: Context;
478
478
  /**
@@ -1530,6 +1530,10 @@ interface RichTextEditorOptions {
1530
1530
  /**
1531
1531
  * 额外的上下文
1532
1532
  */
1533
+ /**
1534
+ * 进入编辑时是否自动获取焦点
1535
+ */
1536
+ autoFocus?: boolean;
1533
1537
  context: {
1534
1538
  /**
1535
1539
  * 空间 id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-project/js-sdk",
3
- "version": "2.0.16-alpha.4",
3
+ "version": "2.0.16-alpha.6",
4
4
  "runtimeMinVersions": {
5
5
  "web": "2.1.0",
6
6
  "mobile": "1.1.0"