Commit 598ca5b
resolve dom on import issue by moving quill components into their own package (#26676)
# Summary
Quill in the react package was polluting all users of that package with
a need to have a dom on import time. Now the quill specific imports that
caused this have been moved to the new package at
`/packages/framework/quill-react`.
Moved `quillFormattedView.tsx`, `quillView.tsx`, and `mochaHooks` to new
package. Left `plainTextView.tsx` in the react package as it did not
contain any quill components. Separated the plain text tests from quill
view tests when moving them over to the new package.
Removed the inventory-app JSDOM fix needed when importing
`@fluidframework/react/internal` when it still had quill components.
Created `.changeset` with reasoning for why the package was created.
#### Breaking Change
Anyone importing quill components from `@fluidframework/react/internal`
will now have to import from `@fluidframework/react/quill-react`. Since
this is still internal and only used in text-editor, which has been
updated with new path, this should be fine.
---------
Co-authored-by: Alex Villarreal <716334+alexvy86@users.noreply.github.com>1 parent 51544e1 commit 598ca5b
File tree
42 files changed
+1691
-1044
lines changed- examples/data-objects
- inventory-app
- src/test
- text-editor
- src
- feeds
- packages/framework
- quill-react
- api-extractor
- api-report
- src
- formatted
- plain
- test
- react
- src
- test/text
- text
- plain
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+1691
-1044
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 15 | | |
Lines changed: 0 additions & 17 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
456 | 457 | | |
457 | 458 | | |
458 | 459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments