Skip to content

Commit 8c57543

Browse files
authored
chore: update tiptap-task-item version and required css (#6364)
1 parent 9062a7b commit 8c57543

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@tiptap/extension-list-item": "2.11.0",
4949
"@tiptap/extension-mention": "2.11.0",
5050
"@tiptap/extension-placeholder": "2.11.0",
51-
"@tiptap/extension-task-item": "2.10.4",
51+
"@tiptap/extension-task-item": "2.11.0",
5252
"@tiptap/extension-task-list": "2.11.0",
5353
"@tiptap/extension-text-align": "2.11.0",
5454
"@tiptap/extension-text-style": "2.11.0",

packages/editor/src/styles/editor.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ ul[data-type="taskList"] li > label input[type="checkbox"] {
119119
pointer-events: none;
120120
}
121121

122-
ul[data-type="taskList"] li > label input[type="checkbox"][checked] {
122+
ul[data-type="taskList"] li > label input[type="checkbox"]:checked {
123123
background-color: rgba(var(--color-primary-100)) !important;
124124
border-color: rgba(var(--color-primary-100)) !important;
125125
color: white !important;
126126
}
127127

128-
ul[data-type="taskList"] li > label input[type="checkbox"][checked]:hover {
128+
ul[data-type="taskList"] li > label input[type="checkbox"]:checked:hover {
129129
background-color: rgba(var(--color-primary-300)) !important;
130130
border-color: rgba(var(--color-primary-300)) !important;
131131
}
@@ -174,7 +174,7 @@ ul[data-type="taskList"] li > label input[type="checkbox"] {
174174
clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
175175
}
176176

177-
&[checked]::before {
177+
&:checked::before {
178178
transform: scale(1) translate(-50%, -50%);
179179
}
180180
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3546,10 +3546,10 @@
35463546
resolved "https://registry.yarnpkg.com/@tiptap/extension-strike/-/extension-strike-2.11.0.tgz#8507cfb501f4950d869f8ddd1adb47b66680765f"
35473547
integrity sha512-71i2IZT58kY2ohlhyO+ucyAioNNCkNkuPkrVERc9lXhmcCKOff5y6ekDHQHO2jNjnejkVE5ibyDO3Z7RUXjh1A==
35483548

3549-
"@tiptap/extension-task-item@2.10.4":
3550-
version "2.10.4"
3551-
resolved "https://registry.yarnpkg.com/@tiptap/extension-task-item/-/extension-task-item-2.10.4.tgz#afc59e1632db1d7d1d8c2ff4e897a638337a949f"
3552-
integrity sha512-ucKGXdHdHCBanIJTB/nhmQ3iIL6BcSVKr7mN5BGEu6sSLYROflX7lmnMPVIRcTKJz+FGJeR6AqPFVagZAXVkGQ==
3549+
"@tiptap/extension-task-item@2.11.0":
3550+
version "2.11.0"
3551+
resolved "https://registry.yarnpkg.com/@tiptap/extension-task-item/-/extension-task-item-2.11.0.tgz#ff97f10bf39d6c27fd3f3f1ee3987d7015304c11"
3552+
integrity sha512-qu6VuRc8qF80Bwr82CItFcrKtC67LJkwpxESLEIi42zWZ5sXF/3DJEPPS/4Kk+nAc9UCBoEMFAULibPq7rRl/w==
35533553

35543554
"@tiptap/extension-task-list@2.11.0":
35553555
version "2.11.0"

0 commit comments

Comments
 (0)