matcha-components 20.17.0 → 20.20.0

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/index.d.ts CHANGED
@@ -1398,12 +1398,20 @@ declare class MatchaHighlightComponent implements OnInit, OnDestroy {
1398
1398
  /**
1399
1399
  * Apply theme to the component
1400
1400
  */
1401
+ /**
1402
+ * Carrega o PrismJS dinamicamente
1403
+ */
1404
+ private loadPrismJS;
1405
+ /**
1406
+ * Carrega um componente do PrismJS
1407
+ */
1408
+ private loadPrismComponent;
1401
1409
  /**
1402
1410
  * Highlight the given source code
1403
1411
  *
1404
1412
  * @param sourceCode
1405
1413
  */
1406
- highlight(sourceCode: string): void;
1414
+ highlight(sourceCode: string): Promise<void>;
1407
1415
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaHighlightComponent, never>;
1408
1416
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaHighlightComponent, "matcha-highlight", never, { "lang": { "alias": "lang"; "required": false; }; "path": { "alias": "path"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, ["source"], ["*"], false, never>;
1409
1417
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.17.0",
3
+ "version": "20.20.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"