roosterjs 9.44.0 → 9.45.1

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.
@@ -3,7 +3,7 @@
3
3
 
4
4
  import * as FluentUIReact from '@fluentui/react/dist/react';
5
5
 
6
- // Type definitions for roosterjs (Version 9.0.3)
6
+ // Type definitions for roosterjs (Version 9.0.4)
7
7
  // Generated by dts tool from roosterjs
8
8
  // Project: https://github.com/Microsoft/roosterjs
9
9
 
@@ -5384,8 +5384,17 @@ exports.insertTableButton = {
5384
5384
  },
5385
5385
  onClick: function (editor, key) {
5386
5386
  var _a = parseKey(key), row = _a.row, col = _a.col;
5387
- (0, roosterjs_content_model_api_1.insertTable)(editor, col, row, undefined /* tableMetadataFormat */, {
5387
+ (0, roosterjs_content_model_api_1.insertTable)(editor, col, row, editor.isExperimentalFeatureEnabled('TransformTableBorderColors')
5388
+ ? {
5389
+ verticalBorderColor: '#000000',
5390
+ bottomBorderColor: '#000000',
5391
+ topBorderColor: '#000000',
5392
+ }
5393
+ : {}, {
5388
5394
  marginBottom: '1px',
5395
+ }, {
5396
+ minWidth: '15px',
5397
+ borderBottom: '1px dotted red',
5389
5398
  });
5390
5399
  },
5391
5400
  };