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
 
@@ -5385,8 +5385,17 @@ exports.insertTableButton = {
5385
5385
  },
5386
5386
  onClick: function (editor, key) {
5387
5387
  var _a = parseKey(key), row = _a.row, col = _a.col;
5388
- (0, roosterjs_content_model_api_1.insertTable)(editor, col, row, undefined /* tableMetadataFormat */, {
5388
+ (0, roosterjs_content_model_api_1.insertTable)(editor, col, row, editor.isExperimentalFeatureEnabled('TransformTableBorderColors')
5389
+ ? {
5390
+ verticalBorderColor: '#000000',
5391
+ bottomBorderColor: '#000000',
5392
+ topBorderColor: '#000000',
5393
+ }
5394
+ : {}, {
5389
5395
  marginBottom: '1px',
5396
+ }, {
5397
+ minWidth: '15px',
5398
+ borderBottom: '1px dotted red',
5390
5399
  });
5391
5400
  },
5392
5401
  };