@covalent/markdown 3.1.2-beta.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.
@@ -0,0 +1,641 @@
1
+ /* stylelint-disable no-duplicate-selectors */
2
+ :host {
3
+ &.td-markdown::ng-deep {
4
+ @font-face {
5
+ font-family: octicons-link;
6
+ src: url('data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUj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OPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==')
7
+ format('woff');
8
+ }
9
+
10
+ a {
11
+ background-color: transparent;
12
+ -webkit-text-decoration-skip: objects;
13
+ }
14
+
15
+ a:active,
16
+ a:hover {
17
+ outline-width: 0;
18
+ }
19
+
20
+ strong {
21
+ font-weight: inherit;
22
+ font-weight: bolder;
23
+ }
24
+
25
+ h1 {
26
+ font-size: 2em;
27
+ margin: 0.67em 0;
28
+ }
29
+
30
+ img {
31
+ border-style: none;
32
+ }
33
+
34
+ svg:not(:root) {
35
+ overflow: hidden;
36
+ }
37
+
38
+ code,
39
+ kbd,
40
+ pre {
41
+ font-family: monospace;
42
+ font-size: 1em;
43
+ }
44
+
45
+ hr {
46
+ box-sizing: content-box;
47
+ height: 0;
48
+ overflow: visible;
49
+ }
50
+
51
+ input {
52
+ font: inherit;
53
+ margin: 0;
54
+ }
55
+
56
+ input {
57
+ overflow: visible;
58
+ }
59
+
60
+ button:-moz-focusring,
61
+ [type='button']:-moz-focusring,
62
+ [type='reset']:-moz-focusring,
63
+ [type='submit']:-moz-focusring {
64
+ outline: 1px dotted ButtonText;
65
+ }
66
+
67
+ [type='checkbox'] {
68
+ box-sizing: border-box;
69
+ padding: 0;
70
+ }
71
+
72
+ table {
73
+ border-spacing: 0;
74
+ border-collapse: collapse;
75
+ }
76
+
77
+ td,
78
+ th {
79
+ padding: 0;
80
+ }
81
+
82
+ * {
83
+ box-sizing: border-box;
84
+ }
85
+
86
+ input {
87
+ font: 13px/1.4 'Helvetica', 'arial', 'nimbussansl', 'liberationsans', 'freesans', 'clean', sans-serif,
88
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
89
+ }
90
+
91
+ a {
92
+ text-decoration: none;
93
+ }
94
+
95
+ a:hover,
96
+ a:active {
97
+ text-decoration: underline;
98
+ }
99
+
100
+ hr {
101
+ height: 0;
102
+ margin: 15px 0;
103
+ overflow: hidden;
104
+ background: transparent;
105
+ border-bottom-width: 1px;
106
+ border-bottom-style: solid;
107
+ }
108
+
109
+ hr::before {
110
+ display: table;
111
+ content: '';
112
+ }
113
+
114
+ hr::after {
115
+ display: table;
116
+ clear: both;
117
+ content: '';
118
+ }
119
+
120
+ h1,
121
+ h2,
122
+ h3,
123
+ h4,
124
+ h5,
125
+ h6 {
126
+ margin-top: 0;
127
+ margin-bottom: 0;
128
+ line-height: 1.5;
129
+ }
130
+
131
+ h1 {
132
+ font-size: 30px;
133
+ }
134
+
135
+ h2 {
136
+ font-size: 21px;
137
+ }
138
+
139
+ h3 {
140
+ font-size: 16px;
141
+ }
142
+
143
+ h4 {
144
+ font-size: 14px;
145
+ }
146
+
147
+ h5 {
148
+ font-size: 12px;
149
+ }
150
+
151
+ h6 {
152
+ font-size: 11px;
153
+ }
154
+
155
+ p {
156
+ margin-top: 0;
157
+ margin-bottom: 10px;
158
+ }
159
+
160
+ blockquote {
161
+ margin: 0;
162
+ }
163
+
164
+ ul,
165
+ ol {
166
+ padding-left: 0;
167
+ margin-top: 0;
168
+ margin-bottom: 0;
169
+ }
170
+
171
+ ol ol,
172
+ ul ol {
173
+ list-style-type: lower-roman;
174
+ }
175
+
176
+ ul ul ol,
177
+ ul ol ol,
178
+ ol ul ol,
179
+ ol ol ol {
180
+ list-style-type: lower-alpha;
181
+ }
182
+
183
+ dd {
184
+ margin-left: 0;
185
+ }
186
+
187
+ code {
188
+ font-family: 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace;
189
+ font-size: 12px;
190
+ }
191
+
192
+ pre {
193
+ margin-top: 0;
194
+ margin-bottom: 0;
195
+ font: 12px 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace;
196
+ }
197
+
198
+ .pl-0 {
199
+ padding-left: 0 !important;
200
+ }
201
+
202
+ .pl-1 {
203
+ padding-left: 3px !important;
204
+ }
205
+
206
+ .pl-2 {
207
+ padding-left: 6px !important;
208
+ }
209
+
210
+ .pl-3 {
211
+ padding-left: 12px !important;
212
+ }
213
+
214
+ .pl-4 {
215
+ padding-left: 24px !important;
216
+ }
217
+
218
+ .pl-5 {
219
+ padding-left: 36px !important;
220
+ }
221
+
222
+ .pl-6 {
223
+ padding-left: 48px !important;
224
+ }
225
+
226
+ .form-select::-ms-expand {
227
+ opacity: 0;
228
+ }
229
+
230
+ a:not([href]) {
231
+ color: inherit;
232
+ text-decoration: none;
233
+ }
234
+
235
+ h1,
236
+ h2,
237
+ h3,
238
+ h4,
239
+ h5,
240
+ h6 {
241
+ margin-top: 1em;
242
+ margin-bottom: 16px;
243
+ font-weight: bold;
244
+ line-height: 1.4;
245
+ }
246
+
247
+ h1 .octicon-link,
248
+ h2 .octicon-link,
249
+ h3 .octicon-link,
250
+ h4 .octicon-link,
251
+ h5 .octicon-link,
252
+ h6 .octicon-link {
253
+ color: #000000;
254
+ vertical-align: middle;
255
+ visibility: hidden;
256
+ }
257
+
258
+ h1:hover .anchor,
259
+ h2:hover .anchor,
260
+ h3:hover .anchor,
261
+ h4:hover .anchor,
262
+ h5:hover .anchor,
263
+ h6:hover .anchor {
264
+ text-decoration: none;
265
+ }
266
+
267
+ h1:hover .anchor .octicon-link,
268
+ h2:hover .anchor .octicon-link,
269
+ h3:hover .anchor .octicon-link,
270
+ h4:hover .anchor .octicon-link,
271
+ h5:hover .anchor .octicon-link,
272
+ h6:hover .anchor .octicon-link {
273
+ visibility: visible;
274
+ }
275
+
276
+ h1 {
277
+ padding-bottom: 0.3em;
278
+ font-size: 2.25em;
279
+ line-height: 1.2;
280
+ border-bottom-width: 1px;
281
+ border-bottom-style: solid;
282
+ }
283
+
284
+ h1 .anchor {
285
+ line-height: 1;
286
+ }
287
+
288
+ h2 {
289
+ padding-bottom: 0.3em;
290
+ font-size: 1.75em;
291
+ line-height: 1.225;
292
+ border-bottom-width: 1px;
293
+ border-bottom-style: solid;
294
+ }
295
+
296
+ h2 .anchor {
297
+ line-height: 1;
298
+ }
299
+
300
+ h3 {
301
+ font-size: 1.5em;
302
+ line-height: 1.43;
303
+ }
304
+
305
+ h3 .anchor {
306
+ line-height: 1.2;
307
+ }
308
+
309
+ h4 {
310
+ font-size: 1.25em;
311
+ }
312
+
313
+ h4 .anchor {
314
+ line-height: 1.2;
315
+ }
316
+
317
+ h5 {
318
+ font-size: 1em;
319
+ }
320
+
321
+ h5 .anchor {
322
+ line-height: 1.1;
323
+ }
324
+
325
+ h6 {
326
+ font-size: 1em;
327
+ }
328
+
329
+ h6 .anchor {
330
+ line-height: 1.1;
331
+ }
332
+
333
+ p,
334
+ blockquote,
335
+ ul,
336
+ ol,
337
+ dl,
338
+ table,
339
+ pre {
340
+ margin-top: 0;
341
+ margin-bottom: 16px;
342
+ }
343
+
344
+ hr {
345
+ margin: 16px 0;
346
+ }
347
+
348
+ ul,
349
+ ol {
350
+ padding-left: 2em;
351
+ }
352
+
353
+ ul ul,
354
+ ul ol,
355
+ ol ol,
356
+ ol ul {
357
+ margin-top: 0;
358
+ margin-bottom: 0;
359
+ }
360
+
361
+ li > p {
362
+ margin-top: 16px;
363
+ }
364
+
365
+ dl {
366
+ padding: 0;
367
+ }
368
+
369
+ dl dt {
370
+ padding: 0;
371
+ margin-top: 16px;
372
+ font-size: 1em;
373
+ font-style: italic;
374
+ font-weight: bold;
375
+ }
376
+
377
+ dl dd {
378
+ padding: 0 16px;
379
+ margin-bottom: 16px;
380
+ }
381
+
382
+ blockquote {
383
+ padding: 0 15px;
384
+ border-left-width: 4px;
385
+ border-left-style: solid;
386
+ }
387
+
388
+ blockquote > :first-child {
389
+ margin-top: 0;
390
+ }
391
+
392
+ blockquote > :last-child {
393
+ margin-bottom: 0;
394
+ }
395
+
396
+ table {
397
+ display: block;
398
+ width: 100%;
399
+ overflow: auto;
400
+ word-break: normal;
401
+ word-break: keep-all;
402
+ }
403
+
404
+ table th {
405
+ font-weight: bold;
406
+ }
407
+
408
+ table th,
409
+ table td {
410
+ padding: 6px 13px;
411
+ border-width: 1px;
412
+ border-style: solid;
413
+ }
414
+
415
+ table tr {
416
+ border-top-width: 1px;
417
+ border-top-style: solid;
418
+ }
419
+
420
+ img {
421
+ max-width: 100%;
422
+ box-sizing: content-box;
423
+ }
424
+
425
+ code {
426
+ padding: 0;
427
+ padding-top: 0.2em;
428
+ padding-bottom: 0.2em;
429
+ margin: 0;
430
+ font-size: 85%;
431
+ border-radius: 3px;
432
+ }
433
+
434
+ code::before,
435
+ code::after {
436
+ letter-spacing: -0.2em;
437
+ }
438
+
439
+ pre > code {
440
+ padding: 0;
441
+ margin: 0;
442
+ font-size: 100%;
443
+ word-break: normal;
444
+ white-space: pre;
445
+ background: transparent;
446
+ border: 0;
447
+ }
448
+
449
+ .highlight {
450
+ margin-bottom: 16px;
451
+ }
452
+
453
+ .highlight pre,
454
+ pre {
455
+ padding: 16px;
456
+ overflow: auto;
457
+ font-size: 85%;
458
+ line-height: 1.45;
459
+ border-radius: 3px;
460
+ }
461
+
462
+ .highlight pre {
463
+ margin-bottom: 0;
464
+ word-break: normal;
465
+ }
466
+
467
+ pre {
468
+ word-wrap: normal;
469
+ }
470
+
471
+ pre code {
472
+ display: inline;
473
+ max-width: initial;
474
+ padding: 0;
475
+ margin: 0;
476
+ overflow: initial;
477
+ line-height: inherit;
478
+ word-wrap: normal;
479
+ background-color: transparent;
480
+ border: 0;
481
+ }
482
+
483
+ pre code::before,
484
+ pre code::after {
485
+ content: normal;
486
+ }
487
+
488
+ kbd {
489
+ display: inline-block;
490
+ padding: 3px 5px;
491
+ font-size: 11px;
492
+ line-height: 10px;
493
+ vertical-align: middle;
494
+ border-style: solid;
495
+ border-width: 1px;
496
+ border-radius: 3px;
497
+ }
498
+
499
+ .pl-c {
500
+ color: #969896;
501
+ }
502
+
503
+ .pl-c1,
504
+ .pl-s .pl-v {
505
+ color: #0086b3;
506
+ }
507
+
508
+ .pl-e,
509
+ .pl-en {
510
+ color: #795da3;
511
+ }
512
+
513
+ .pl-s .pl-s1,
514
+ .pl-smi {
515
+ color: #333333;
516
+ }
517
+
518
+ .pl-ent {
519
+ color: #63a35c;
520
+ }
521
+
522
+ .pl-k {
523
+ color: #a71d5d;
524
+ }
525
+
526
+ .pl-pds,
527
+ .pl-s,
528
+ .pl-s .pl-pse .pl-s1,
529
+ .pl-sr,
530
+ .pl-sr .pl-cce,
531
+ .pl-sr .pl-sra,
532
+ .pl-sr .pl-sre {
533
+ color: #183691;
534
+ }
535
+
536
+ .pl-v {
537
+ color: #ed6a43;
538
+ }
539
+
540
+ .pl-id {
541
+ color: #b52a1d;
542
+ }
543
+
544
+ .pl-ii {
545
+ background-color: #b52a1d;
546
+ color: #f8f8f8;
547
+ }
548
+
549
+ .pl-sr .pl-cce {
550
+ color: #63a35c;
551
+ font-weight: bold;
552
+ }
553
+
554
+ .pl-ml {
555
+ color: #693a17;
556
+ }
557
+
558
+ .pl-mh,
559
+ .pl-mh .pl-en,
560
+ .pl-ms {
561
+ color: #1d3e81;
562
+ font-weight: bold;
563
+ }
564
+
565
+ .pl-mq {
566
+ color: #008080;
567
+ }
568
+
569
+ .pl-mi {
570
+ color: #333333;
571
+ font-style: italic;
572
+ }
573
+
574
+ .pl-mb {
575
+ color: #333333;
576
+ font-weight: bold;
577
+ }
578
+
579
+ .pl-md {
580
+ background-color: #ffecec;
581
+ color: #bd2c00;
582
+ }
583
+
584
+ .pl-mi1 {
585
+ background-color: #eaffea;
586
+ color: #55a532;
587
+ }
588
+
589
+ .pl-mdr {
590
+ color: #795da3;
591
+ font-weight: bold;
592
+ }
593
+
594
+ .pl-mo {
595
+ color: #1d3e81;
596
+ }
597
+
598
+ kbd {
599
+ display: inline-block;
600
+ padding: 3px 5px;
601
+ font: 11px 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace;
602
+ line-height: 10px;
603
+ vertical-align: middle;
604
+ background-color: #fcfcfc;
605
+ border: solid 1px #cccccc;
606
+ border-bottom-color: #bbbbbb;
607
+ border-radius: 3px;
608
+ box-shadow: inset 0 -1px 0 #bbbbbb;
609
+ }
610
+
611
+ .full-commit .btn-outline:not(:disabled):hover {
612
+ color: #4078c0;
613
+ border: 1px solid #4078c0;
614
+ }
615
+
616
+ :checked + .radio-label {
617
+ position: relative;
618
+ z-index: 1;
619
+ border-color: #4078c0;
620
+ }
621
+
622
+ .octicon {
623
+ display: inline-block;
624
+ vertical-align: text-top;
625
+ fill: currentColor;
626
+ }
627
+
628
+ .task-list-item {
629
+ list-style-type: none;
630
+ }
631
+
632
+ .task-list-item + .task-list-item {
633
+ margin-top: 3px;
634
+ }
635
+
636
+ .task-list-item input {
637
+ margin: 0 0.2em 0.25em -1.6em;
638
+ vertical-align: middle;
639
+ }
640
+ }
641
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CovalentMarkdownModule {
2
+ }
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@covalent/markdown",
3
+ "version": "3.1.2-beta.4",
4
+ "description": "Teradata UI Platform Markdown Module",
5
+ "keywords": [
6
+ "angular",
7
+ "components",
8
+ "reusable"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/teradata/covalent.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/teradata/covalent/issues"
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
+ "dependencies": {
29
+ "showdown": "^1.9.1",
30
+ "tslib": "^2.0.0"
31
+ },
32
+ "peerDependencies": {
33
+ "@angular/common": "^9.0.0 || ^10.0.0-0 || ^11.0.0-0",
34
+ "@angular/core": "^9.0.0 || ^10.0.0-0 || ^11.0.0-0",
35
+ "@angular/platform-browser": "^9.0.0 || ^10.0.0-0 || ^11.0.0-0"
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",
42
+ "typings": "covalent-markdown.d.ts",
43
+ "metadata": "covalent-markdown.metadata.json",
44
+ "sideEffects": false
45
+ }
@@ -0,0 +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';