@theia/preview 1.34.3 → 1.34.4

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.
Files changed (43) hide show
  1. package/LICENSE +641 -641
  2. package/README.md +45 -45
  3. package/lib/browser/index.d.ts +3 -3
  4. package/lib/browser/index.js +29 -29
  5. package/lib/browser/markdown/index.d.ts +1 -1
  6. package/lib/browser/markdown/index.js +28 -28
  7. package/lib/browser/markdown/markdown-preview-handler.d.ts +28 -28
  8. package/lib/browser/markdown/markdown-preview-handler.js +301 -301
  9. package/lib/browser/markdown/markdown-preview-handler.spec.d.ts +1 -1
  10. package/lib/browser/markdown/markdown-preview-handler.spec.js +193 -193
  11. package/lib/browser/preview-contribution.d.ts +50 -50
  12. package/lib/browser/preview-contribution.js +262 -262
  13. package/lib/browser/preview-frontend-module.d.ts +5 -5
  14. package/lib/browser/preview-frontend-module.js +52 -52
  15. package/lib/browser/preview-handler.d.ts +104 -104
  16. package/lib/browser/preview-handler.js +76 -76
  17. package/lib/browser/preview-link-normalizer.d.ts +7 -7
  18. package/lib/browser/preview-link-normalizer.js +54 -54
  19. package/lib/browser/preview-preferences.d.ts +11 -11
  20. package/lib/browser/preview-preferences.js +46 -46
  21. package/lib/browser/preview-uri.d.ts +8 -8
  22. package/lib/browser/preview-uri.js +47 -47
  23. package/lib/browser/preview-widget.d.ts +54 -54
  24. package/lib/browser/preview-widget.js +261 -261
  25. package/lib/package.spec.js +25 -25
  26. package/package.json +7 -7
  27. package/src/browser/index.ts +19 -19
  28. package/src/browser/markdown/index.ts +17 -17
  29. package/src/browser/markdown/markdown-preview-handler.spec.ts +228 -228
  30. package/src/browser/markdown/markdown-preview-handler.ts +309 -309
  31. package/src/browser/markdown/style/index.css +18 -18
  32. package/src/browser/markdown/style/markdown.css +201 -201
  33. package/src/browser/markdown/style/tomorrow.css +105 -105
  34. package/src/browser/preview-contribution.ts +276 -276
  35. package/src/browser/preview-frontend-module.ts +57 -57
  36. package/src/browser/preview-handler.ts +141 -141
  37. package/src/browser/preview-link-normalizer.ts +40 -40
  38. package/src/browser/preview-preferences.ts +58 -58
  39. package/src/browser/preview-uri.ts +43 -43
  40. package/src/browser/preview-widget.ts +277 -277
  41. package/src/browser/style/index.css +17 -17
  42. package/src/browser/style/preview-widget.css +29 -29
  43. package/src/package.spec.ts +29 -29
@@ -1,17 +1,17 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 TypeFox and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
-
17
- @import './preview-widget.css';
1
+ /********************************************************************************
2
+ * Copyright (C) 2018 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
17
+ @import './preview-widget.css';
@@ -1,29 +1,29 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 TypeFox and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
-
17
- .theia-preview-widget {
18
- overflow-y: auto;
19
- overflow-x: hidden;
20
- }
21
-
22
- .theia-preview-widget .scrollBeyondLastLine {
23
- margin-bottom: calc(100vh - var(--theia-content-line-height));
24
- }
25
-
26
- .theia-preview-widget:focus {
27
- outline: 0;
28
- box-shadow: none;
29
- }
1
+ /********************************************************************************
2
+ * Copyright (C) 2018 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
17
+ .theia-preview-widget {
18
+ overflow-y: auto;
19
+ overflow-x: hidden;
20
+ }
21
+
22
+ .theia-preview-widget .scrollBeyondLastLine {
23
+ margin-bottom: calc(100vh - var(--theia-content-line-height));
24
+ }
25
+
26
+ .theia-preview-widget:focus {
27
+ outline: 0;
28
+ box-shadow: none;
29
+ }
@@ -1,29 +1,29 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2018 TypeFox and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- /* note: this bogus test file is required so that
18
- we are able to run mocha unit tests on this
19
- package, without having any actual unit tests in it.
20
- This way a coverage report will be generated,
21
- showing 0% coverage, instead of no report.
22
- This file can be removed once we have real unit
23
- tests in place. */
24
-
25
- describe('preview package', () => {
26
-
27
- it('support code coverage statistics', () => true);
28
-
29
- });
1
+ // *****************************************************************************
2
+ // Copyright (C) 2018 TypeFox and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ /* note: this bogus test file is required so that
18
+ we are able to run mocha unit tests on this
19
+ package, without having any actual unit tests in it.
20
+ This way a coverage report will be generated,
21
+ showing 0% coverage, instead of no report.
22
+ This file can be removed once we have real unit
23
+ tests in place. */
24
+
25
+ describe('preview package', () => {
26
+
27
+ it('support code coverage statistics', () => true);
28
+
29
+ });