@covalent/markdown 4.0.0 → 4.1.1-beta.3
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/README.md +20 -20
- package/covalent-markdown.d.ts +2 -1
- package/esm2020/covalent-markdown.mjs +5 -0
- package/esm2020/lib/markdown-loader/markdown-loader.service.mjs +41 -0
- package/esm2020/lib/markdown-utils/markdown-utils.mjs +115 -0
- package/esm2020/lib/markdown.component.mjs +292 -0
- package/esm2020/lib/markdown.module.mjs +21 -0
- package/esm2020/public_api.mjs +5 -0
- package/fesm2015/covalent-markdown.mjs +467 -0
- package/fesm2015/covalent-markdown.mjs.map +1 -0
- package/fesm2020/covalent-markdown.mjs +464 -0
- package/fesm2020/covalent-markdown.mjs.map +1 -0
- package/{markdown-loader → lib/markdown-loader}/markdown-loader.service.d.ts +3 -0
- package/lib/markdown-utils/markdown-utils.d.ts +9 -0
- package/{markdown.component.d.ts → lib/markdown.component.d.ts} +9 -4
- package/lib/markdown.module.d.ts +9 -0
- package/package.json +28 -33
- package/public_api.d.ts +4 -4
- package/_markdown-theme.scss +0 -57
- package/bundles/covalent-markdown.umd.js +0 -1055
- package/bundles/covalent-markdown.umd.js.map +0 -1
- package/bundles/covalent-markdown.umd.min.js +0 -16
- package/bundles/covalent-markdown.umd.min.js.map +0 -1
- package/covalent-markdown.metadata.json +0 -1
- package/esm2015/covalent-markdown.js +0 -10
- package/esm2015/index.js +0 -7
- package/esm2015/markdown-loader/markdown-loader.service.js +0 -69
- package/esm2015/markdown-utils/markdown-utils.js +0 -183
- package/esm2015/markdown.component.js +0 -439
- package/esm2015/markdown.module.js +0 -21
- package/esm2015/public_api.js +0 -10
- package/fesm2015/covalent-markdown.js +0 -724
- package/fesm2015/covalent-markdown.js.map +0 -1
- package/index.d.ts +0 -1
- package/markdown-utils/markdown-utils.d.ts +0 -9
- package/markdown.component.scss +0 -641
- package/markdown.module.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,45 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@covalent/markdown",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1-beta.3",
|
|
4
4
|
"description": "Teradata UI Platform Markdown Module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
7
7
|
"components",
|
|
8
|
-
"reusable"
|
|
8
|
+
"reusable",
|
|
9
|
+
"markdown"
|
|
9
10
|
],
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"url": "https://github.com/teradata/covalent/issues"
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"showdown": "showdown@2.0.0-alpha",
|
|
13
|
+
"@angular/common": "^13.2.0",
|
|
14
|
+
"@angular/core": "^13.2.0",
|
|
15
|
+
"@angular/platform-browser": "^13.2.0"
|
|
16
16
|
},
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"author": "Teradata UX",
|
|
19
|
-
"contributors": [
|
|
20
|
-
"Kyle Ledbetter <kyle.ledbetter@teradata.com>",
|
|
21
|
-
"Richa Vyas <richa.vyas@teradata.com>",
|
|
22
|
-
"Ed Morales <eduardo.morales@teradata.com>",
|
|
23
|
-
"Jason Weaver <jason.weaver@teradata.com>",
|
|
24
|
-
"Jeremy Wilken <jeremy.wilken@teradata.com>",
|
|
25
|
-
"Jeremy Smartt <jeremy.smartt@teradata.com>",
|
|
26
|
-
"Steven Ov <steven.ov@teradata.com>"
|
|
27
|
-
],
|
|
28
17
|
"dependencies": {
|
|
29
|
-
"
|
|
30
|
-
"tslib": "^2.0.0"
|
|
18
|
+
"tslib": "^2.3.0"
|
|
31
19
|
},
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"main": "bundles/covalent-markdown.umd.js",
|
|
38
|
-
"module": "fesm2015/covalent-markdown.js",
|
|
39
|
-
"es2015": "fesm2015/covalent-markdown.js",
|
|
40
|
-
"esm2015": "esm2015/covalent-markdown.js",
|
|
41
|
-
"fesm2015": "fesm2015/covalent-markdown.js",
|
|
20
|
+
"module": "fesm2015/covalent-markdown.mjs",
|
|
21
|
+
"es2020": "fesm2020/covalent-markdown.mjs",
|
|
22
|
+
"esm2020": "esm2020/covalent-markdown.mjs",
|
|
23
|
+
"fesm2020": "fesm2020/covalent-markdown.mjs",
|
|
24
|
+
"fesm2015": "fesm2015/covalent-markdown.mjs",
|
|
42
25
|
"typings": "covalent-markdown.d.ts",
|
|
43
|
-
"
|
|
26
|
+
"exports": {
|
|
27
|
+
"./package.json": {
|
|
28
|
+
"default": "./package.json"
|
|
29
|
+
},
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./covalent-markdown.d.ts",
|
|
32
|
+
"esm2020": "./esm2020/covalent-markdown.mjs",
|
|
33
|
+
"es2020": "./fesm2020/covalent-markdown.mjs",
|
|
34
|
+
"es2015": "./fesm2015/covalent-markdown.mjs",
|
|
35
|
+
"node": "./fesm2015/covalent-markdown.mjs",
|
|
36
|
+
"default": "./fesm2020/covalent-markdown.mjs"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
44
39
|
"sideEffects": false
|
|
45
|
-
}
|
|
40
|
+
}
|
package/public_api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './markdown.module';
|
|
2
|
-
export * from './markdown.component';
|
|
3
|
-
export * from './markdown-utils/markdown-utils';
|
|
4
|
-
export * from './markdown-loader/markdown-loader.service';
|
|
1
|
+
export * from './lib/markdown.module';
|
|
2
|
+
export * from './lib/markdown.component';
|
|
3
|
+
export * from './lib/markdown-utils/markdown-utils';
|
|
4
|
+
export * from './lib/markdown-loader/markdown-loader.service';
|
package/_markdown-theme.scss
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
@import '../../../node_modules/@angular/material/theming';
|
|
2
|
-
|
|
3
|
-
@mixin covalent-markdown-theme($theme) {
|
|
4
|
-
$accent: map-get($theme, accent);
|
|
5
|
-
$foreground: map-get($theme, foreground);
|
|
6
|
-
$background: map-get($theme, background);
|
|
7
|
-
td-markdown {
|
|
8
|
-
a {
|
|
9
|
-
color: mat-color($accent);
|
|
10
|
-
}
|
|
11
|
-
h1,
|
|
12
|
-
h2 {
|
|
13
|
-
border-bottom-color: mat-color($foreground, divider);
|
|
14
|
-
}
|
|
15
|
-
h3,
|
|
16
|
-
h4,
|
|
17
|
-
h5,
|
|
18
|
-
h6 {
|
|
19
|
-
color: mat-color($foreground, secondary-text);
|
|
20
|
-
}
|
|
21
|
-
hr {
|
|
22
|
-
border-color: mat-color($foreground, divider);
|
|
23
|
-
}
|
|
24
|
-
blockquote {
|
|
25
|
-
color: mat-color($foreground, secondary-text);
|
|
26
|
-
border-left-color: mat-color($foreground, divider);
|
|
27
|
-
}
|
|
28
|
-
table {
|
|
29
|
-
th,
|
|
30
|
-
td {
|
|
31
|
-
border-color: mat-color($foreground, dividers);
|
|
32
|
-
}
|
|
33
|
-
tr {
|
|
34
|
-
border-top-color: mat-color($foreground, dividers);
|
|
35
|
-
&:nth-child(2n) {
|
|
36
|
-
background-color: mat-color($foreground, dividers);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
img {
|
|
41
|
-
background-color: mat-color($background, card);
|
|
42
|
-
}
|
|
43
|
-
code {
|
|
44
|
-
background-color: mat-color($background, hover);
|
|
45
|
-
}
|
|
46
|
-
.highlight pre,
|
|
47
|
-
pre {
|
|
48
|
-
background-color: mat-color($background, app-bar);
|
|
49
|
-
}
|
|
50
|
-
kbd {
|
|
51
|
-
color: mat-color($foreground, secondary-text);
|
|
52
|
-
background-color: mat-color($background, app-bar);
|
|
53
|
-
border-color: mat-color($foreground, divider);
|
|
54
|
-
border-bottom-color: mat-color($foreground, disabled);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|