@mantine/tiptap 7.14.0 → 7.14.2-alpha.0
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/package.json +3 -3
- package/styles.css +9 -9
- package/styles.layer.css +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/tiptap",
|
|
3
|
-
"version": "7.14.0",
|
|
3
|
+
"version": "7.14.2-alpha.0",
|
|
4
4
|
"description": "Rich text editor based on tiptap",
|
|
5
5
|
"homepage": "https://mantine.dev/x/tiptap",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"directory": "packages/@mantine/tiptap"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@mantine/core": "7.14.0",
|
|
48
|
-
"@mantine/hooks": "7.14.0",
|
|
47
|
+
"@mantine/core": "7.14.2-alpha.0",
|
|
48
|
+
"@mantine/hooks": "7.14.2-alpha.0",
|
|
49
49
|
"@tiptap/extension-link": ">=2.1.12",
|
|
50
50
|
"@tiptap/react": ">=2.1.12",
|
|
51
51
|
"react": "^18.x || ^19.x",
|
package/styles.css
CHANGED
|
@@ -186,26 +186,26 @@
|
|
|
186
186
|
color: var(--mantine-color-dark-3);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.m_c2207da6:where([data-interactive]) {
|
|
189
|
+
.m_c2207da6:where([data-interactive]:not([data-disabled])) {
|
|
190
190
|
cursor: pointer;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
@media (hover: hover) {
|
|
194
|
-
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):hover {
|
|
194
|
+
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
|
|
195
195
|
background-color: var(--mantine-color-gray-0);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):hover {
|
|
198
|
+
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
|
|
199
199
|
background-color: var(--mantine-color-dark-5);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
@media (hover: none) {
|
|
204
|
-
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):active {
|
|
204
|
+
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
|
|
205
205
|
background-color: var(--mantine-color-gray-0);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):active {
|
|
208
|
+
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
|
|
209
209
|
background-color: var(--mantine-color-dark-5);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
@@ -234,20 +234,20 @@
|
|
|
234
234
|
background-color: var(--mantine-color-body);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.m_2ab47ef2 [data-rich-text-editor-control] {
|
|
237
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]) {
|
|
238
238
|
border-radius: 0;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
.m_2ab47ef2 [data-rich-text-editor-control]:not(:last-of-type) {
|
|
241
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]):where(:not(:last-of-type)) {
|
|
242
242
|
border-inline-end-width: 0;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.m_2ab47ef2 [data-rich-text-editor-control]:last-of-type {
|
|
245
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]):where(:last-of-type) {
|
|
246
246
|
border-start-end-radius: var(--mantine-radius-default);
|
|
247
247
|
border-end-end-radius: var(--mantine-radius-default);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.m_2ab47ef2 [data-rich-text-editor-control]:first-of-type {
|
|
250
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]):where(:first-of-type) {
|
|
251
251
|
border-start-start-radius: var(--mantine-radius-default);
|
|
252
252
|
border-end-start-radius: var(--mantine-radius-default);
|
|
253
253
|
}
|
package/styles.layer.css
CHANGED
|
@@ -186,26 +186,26 @@
|
|
|
186
186
|
color: var(--mantine-color-dark-3);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.m_c2207da6:where([data-interactive]) {
|
|
189
|
+
.m_c2207da6:where([data-interactive]:not([data-disabled])) {
|
|
190
190
|
cursor: pointer;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
@media (hover: hover) {
|
|
194
|
-
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):hover {
|
|
194
|
+
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
|
|
195
195
|
background-color: var(--mantine-color-gray-0);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):hover {
|
|
198
|
+
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
|
|
199
199
|
background-color: var(--mantine-color-dark-5);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
@media (hover: none) {
|
|
204
|
-
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):active {
|
|
204
|
+
:where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
|
|
205
205
|
background-color: var(--mantine-color-gray-0);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):active {
|
|
208
|
+
:where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
|
|
209
209
|
background-color: var(--mantine-color-dark-5);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
@@ -234,20 +234,20 @@
|
|
|
234
234
|
background-color: var(--mantine-color-body);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.m_2ab47ef2 [data-rich-text-editor-control] {
|
|
237
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]) {
|
|
238
238
|
border-radius: 0;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
.m_2ab47ef2 [data-rich-text-editor-control]:not(:last-of-type) {
|
|
241
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]):where(:not(:last-of-type)) {
|
|
242
242
|
border-inline-end-width: 0;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.m_2ab47ef2 [data-rich-text-editor-control]:last-of-type {
|
|
245
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]):where(:last-of-type) {
|
|
246
246
|
border-start-end-radius: var(--mantine-radius-default);
|
|
247
247
|
border-end-end-radius: var(--mantine-radius-default);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.m_2ab47ef2 [data-rich-text-editor-control]:first-of-type {
|
|
250
|
+
.m_2ab47ef2 :where([data-rich-text-editor-control]):where(:first-of-type) {
|
|
251
251
|
border-start-start-radius: var(--mantine-radius-default);
|
|
252
252
|
border-end-start-radius: var(--mantine-radius-default);
|
|
253
253
|
}
|