@docubook/markdown 2.0.0-beta.2 → 2.0.0-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/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/styles.css +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docubook/markdown",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"description": "Portable MDX components and framework adapters for DocuBook",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react": ">=18",
|
|
44
44
|
"react-dom": ">=18",
|
|
45
45
|
"react-icons": "^5.0.0",
|
|
46
|
-
"@docubook/core": "^2.0.0-beta.
|
|
46
|
+
"@docubook/core": "^2.0.0-beta.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"react-dom": "^19.2.7",
|
|
57
57
|
"react-icons": "^5.0.0",
|
|
58
58
|
"vite": "^8.2.1",
|
|
59
|
-
"typescript": "^
|
|
59
|
+
"typescript": "^7.0.2"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "rm -rf dist tsconfig.tsbuildinfo && vite build && tsc -p tsconfig.build.json",
|
package/styles.css
CHANGED
|
@@ -39,13 +39,16 @@
|
|
|
39
39
|
.prose .contains-task-list {
|
|
40
40
|
list-style-type: none !important;
|
|
41
41
|
list-style: none !important;
|
|
42
|
+
/* Override both physical and logical padding from @tailwindcss/typography */
|
|
42
43
|
padding-left: 0 !important;
|
|
44
|
+
padding-inline-start: 0 !important;
|
|
43
45
|
margin-left: 0 !important;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
.contains-task-list .contains-task-list,
|
|
47
49
|
.prose .contains-task-list .contains-task-list {
|
|
48
50
|
padding-left: 1.5rem !important;
|
|
51
|
+
padding-inline-start: 1.5rem !important;
|
|
49
52
|
margin-top: 0.25rem !important;
|
|
50
53
|
margin-bottom: 0.25rem !important;
|
|
51
54
|
}
|
|
@@ -55,13 +58,18 @@
|
|
|
55
58
|
list-style-type: none !important;
|
|
56
59
|
list-style: none !important;
|
|
57
60
|
padding-left: 0 !important;
|
|
61
|
+
padding-inline-start: 0 !important;
|
|
58
62
|
margin-top: 0.35rem;
|
|
59
63
|
margin-bottom: 0.35rem;
|
|
60
64
|
}
|
|
61
65
|
|
|
66
|
+
/* content:none hides ::marker (valid); display:none is ignored on ::marker */
|
|
62
67
|
.contains-task-list > .task-list-item::marker,
|
|
68
|
+
.prose .contains-task-list > .task-list-item::marker {
|
|
69
|
+
content: none !important;
|
|
70
|
+
}
|
|
71
|
+
/* ::before fallback for browsers that don't use ::marker */
|
|
63
72
|
.contains-task-list > .task-list-item::before,
|
|
64
|
-
.prose .contains-task-list > .task-list-item::marker,
|
|
65
73
|
.prose .contains-task-list > .task-list-item::before {
|
|
66
74
|
content: none !important;
|
|
67
75
|
display: none !important;
|
|
@@ -96,6 +104,7 @@
|
|
|
96
104
|
|
|
97
105
|
.task-list-item > input[type="checkbox"]:checked::after {
|
|
98
106
|
content: "";
|
|
107
|
+
display: block;
|
|
99
108
|
width: 0.3rem;
|
|
100
109
|
height: 0.55rem;
|
|
101
110
|
border-right: 2px solid hsl(var(--primary-foreground, 210 40% 98%));
|