@qtalo/qt-ui-library 0.1.3 → 0.1.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.
- package/dist/index.cjs +64 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +256 -48
- package/dist/index.js +22580 -893
- package/dist/index.js.map +1 -1
- package/package.json +7 -1
- package/src/styles/styles.css +80 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qtalo/qt-ui-library",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -28,11 +28,17 @@
|
|
|
28
28
|
"tailwind-variants": "^3.2.2",
|
|
29
29
|
"tailwindcss": "^4.1.18"
|
|
30
30
|
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"dompurify": "^3.3.1",
|
|
33
|
+
"emojilib": "^4.0.2",
|
|
34
|
+
"marked": "^17.0.1"
|
|
35
|
+
},
|
|
31
36
|
"devDependencies": {
|
|
32
37
|
"@eslint/js": "^9.39.2",
|
|
33
38
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
34
39
|
"@ladle/react": "^5.1.1",
|
|
35
40
|
"@tailwindcss/vite": "^4.1.18",
|
|
41
|
+
"@types/dompurify": "^3.0.5",
|
|
36
42
|
"@types/node": "^25.0.3",
|
|
37
43
|
"@types/react": "^19.2.7",
|
|
38
44
|
"@types/react-dom": "^19.2.3",
|
package/src/styles/styles.css
CHANGED
|
@@ -424,3 +424,83 @@ body {
|
|
|
424
424
|
background-image: none;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
+
|
|
428
|
+
/* Normalized content */
|
|
429
|
+
.normalized-content,
|
|
430
|
+
.normalized-content * {
|
|
431
|
+
font-family: Inter, sans-serif;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.normalized-content pre {
|
|
435
|
+
white-space: pre-wrap;
|
|
436
|
+
overflow-wrap: anywhere;
|
|
437
|
+
word-break: break-word;
|
|
438
|
+
line-height: 1.4;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.normalized-content pre br + br + br {
|
|
442
|
+
display: none;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.normalized-content p {
|
|
446
|
+
font-size: 12px;
|
|
447
|
+
line-height: 150%;
|
|
448
|
+
margin: 0.5rem 0;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.normalized-content a {
|
|
452
|
+
text-decoration: underline;
|
|
453
|
+
color: var(--color-qtneutral-900);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.normalized-content ul,
|
|
457
|
+
.normalized-content ol {
|
|
458
|
+
padding-left: 1.25rem;
|
|
459
|
+
margin: 0.5rem 0;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.normalized-content li {
|
|
463
|
+
margin: 0.5rem 0;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.normalized-content li p {
|
|
467
|
+
margin: 0;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.normalized-content ul {
|
|
471
|
+
list-style-type: disc;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.normalized-content ol {
|
|
475
|
+
list-style-type: decimal;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.normalized-content h1 {
|
|
479
|
+
font-size: 15px;
|
|
480
|
+
font-weight: 700;
|
|
481
|
+
line-height: 140%;
|
|
482
|
+
margin: 0.5rem 0;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.normalized-content h2 {
|
|
486
|
+
font-size: 14px;
|
|
487
|
+
font-weight: 700;
|
|
488
|
+
line-height: 140%;
|
|
489
|
+
margin: 0.5rem 0;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.normalized-content h3 {
|
|
493
|
+
font-size: 13px;
|
|
494
|
+
font-weight: 600;
|
|
495
|
+
line-height: 140%;
|
|
496
|
+
margin: 0.5rem 0;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.normalized-content h4,
|
|
500
|
+
.marnormalized-contentkdown h5,
|
|
501
|
+
.normalized-content h6 {
|
|
502
|
+
font-size: 12.5px;
|
|
503
|
+
font-weight: 600;
|
|
504
|
+
line-height: 140%;
|
|
505
|
+
margin: 0.5rem 0;
|
|
506
|
+
}
|