@mantine/tiptap 7.14.1 → 7.14.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine/tiptap",
3
- "version": "7.14.1",
3
+ "version": "7.14.2",
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.1",
48
- "@mantine/hooks": "7.14.1",
47
+ "@mantine/core": "7.14.2",
48
+ "@mantine/hooks": "7.14.2",
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
@@ -18,6 +18,7 @@
18
18
  }
19
19
 
20
20
  .m_d37966d9 li > p {
21
+ display: inline-block;
21
22
  margin: 0;
22
23
  }
23
24
 
@@ -186,26 +187,26 @@
186
187
  color: var(--mantine-color-dark-3);
187
188
  }
188
189
 
189
- .m_c2207da6:where([data-interactive]) {
190
+ .m_c2207da6:where([data-interactive]:not([data-disabled])) {
190
191
  cursor: pointer;
191
192
  }
192
193
 
193
194
  @media (hover: hover) {
194
- :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):hover {
195
+ :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
195
196
  background-color: var(--mantine-color-gray-0);
196
197
  }
197
198
 
198
- :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):hover {
199
+ :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
199
200
  background-color: var(--mantine-color-dark-5);
200
201
  }
201
202
  }
202
203
 
203
204
  @media (hover: none) {
204
- :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):active {
205
+ :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
205
206
  background-color: var(--mantine-color-gray-0);
206
207
  }
207
208
 
208
- :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):active {
209
+ :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
209
210
  background-color: var(--mantine-color-dark-5);
210
211
  }
211
212
  }
@@ -234,20 +235,20 @@
234
235
  background-color: var(--mantine-color-body);
235
236
  }
236
237
 
237
- .m_2ab47ef2 [data-rich-text-editor-control] {
238
+ .m_2ab47ef2 :where([data-rich-text-editor-control]) {
238
239
  border-radius: 0;
239
240
  }
240
241
 
241
- .m_2ab47ef2 [data-rich-text-editor-control]:not(:last-of-type) {
242
+ .m_2ab47ef2 :where([data-rich-text-editor-control]):where(:not(:last-of-type)) {
242
243
  border-inline-end-width: 0;
243
244
  }
244
245
 
245
- .m_2ab47ef2 [data-rich-text-editor-control]:last-of-type {
246
+ .m_2ab47ef2 :where([data-rich-text-editor-control]):where(:last-of-type) {
246
247
  border-start-end-radius: var(--mantine-radius-default);
247
248
  border-end-end-radius: var(--mantine-radius-default);
248
249
  }
249
250
 
250
- .m_2ab47ef2 [data-rich-text-editor-control]:first-of-type {
251
+ .m_2ab47ef2 :where([data-rich-text-editor-control]):where(:first-of-type) {
251
252
  border-start-start-radius: var(--mantine-radius-default);
252
253
  border-end-start-radius: var(--mantine-radius-default);
253
254
  }
package/styles.layer.css CHANGED
@@ -18,6 +18,7 @@
18
18
  }
19
19
 
20
20
  .m_d37966d9 li > p {
21
+ display: inline-block;
21
22
  margin: 0;
22
23
  }
23
24
 
@@ -186,26 +187,26 @@
186
187
  color: var(--mantine-color-dark-3);
187
188
  }
188
189
 
189
- .m_c2207da6:where([data-interactive]) {
190
+ .m_c2207da6:where([data-interactive]:not([data-disabled])) {
190
191
  cursor: pointer;
191
192
  }
192
193
 
193
194
  @media (hover: hover) {
194
- :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):hover {
195
+ :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
195
196
  background-color: var(--mantine-color-gray-0);
196
197
  }
197
198
 
198
- :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):hover {
199
+ :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover {
199
200
  background-color: var(--mantine-color-dark-5);
200
201
  }
201
202
  }
202
203
 
203
204
  @media (hover: none) {
204
- :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]):active {
205
+ :where([data-mantine-color-scheme='light']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
205
206
  background-color: var(--mantine-color-gray-0);
206
207
  }
207
208
 
208
- :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]):active {
209
+ :where([data-mantine-color-scheme='dark']) .m_c2207da6:where([data-interactive]:not([data-disabled])):active {
209
210
  background-color: var(--mantine-color-dark-5);
210
211
  }
211
212
  }
@@ -234,20 +235,20 @@
234
235
  background-color: var(--mantine-color-body);
235
236
  }
236
237
 
237
- .m_2ab47ef2 [data-rich-text-editor-control] {
238
+ .m_2ab47ef2 :where([data-rich-text-editor-control]) {
238
239
  border-radius: 0;
239
240
  }
240
241
 
241
- .m_2ab47ef2 [data-rich-text-editor-control]:not(:last-of-type) {
242
+ .m_2ab47ef2 :where([data-rich-text-editor-control]):where(:not(:last-of-type)) {
242
243
  border-inline-end-width: 0;
243
244
  }
244
245
 
245
- .m_2ab47ef2 [data-rich-text-editor-control]:last-of-type {
246
+ .m_2ab47ef2 :where([data-rich-text-editor-control]):where(:last-of-type) {
246
247
  border-start-end-radius: var(--mantine-radius-default);
247
248
  border-end-end-radius: var(--mantine-radius-default);
248
249
  }
249
250
 
250
- .m_2ab47ef2 [data-rich-text-editor-control]:first-of-type {
251
+ .m_2ab47ef2 :where([data-rich-text-editor-control]):where(:first-of-type) {
251
252
  border-start-start-radius: var(--mantine-radius-default);
252
253
  border-end-start-radius: var(--mantine-radius-default);
253
254
  }