@measured/puck 0.21.0-canary.eb8ea5ce → 0.21.0-canary.ed10e2a4
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/{chunk-YZQENDBP.mjs → chunk-JA7SEUEH.mjs} +499 -70
- package/dist/{chunk-MSIUWPEI.mjs → chunk-UABEUL66.mjs} +2681 -913
- package/dist/index.css +22 -278
- package/dist/index.d.mts +7 -104
- package/dist/index.d.ts +7 -104
- package/dist/index.js +2494 -5508
- package/dist/index.mjs +9 -19
- package/dist/no-external.css +22 -278
- package/dist/no-external.d.mts +2 -17
- package/dist/no-external.d.ts +2 -17
- package/dist/no-external.js +2494 -5508
- package/dist/no-external.mjs +9 -19
- package/dist/rsc.d.mts +2 -17
- package/dist/rsc.d.ts +2 -17
- package/dist/rsc.js +21 -407
- package/dist/rsc.mjs +9 -15
- package/dist/{walk-tree-Ja9bNCM9.d.mts → walk-tree-CgWnYC1X.d.mts} +3 -202
- package/dist/{walk-tree-Ja9bNCM9.d.ts → walk-tree-CgWnYC1X.d.ts} +3 -202
- package/package.json +1 -23
- package/dist/Editor-DR57V55X.mjs +0 -194
- package/dist/Editor-F2LSS6SE.css +0 -403
- package/dist/Render-6Q5WP25Y.mjs +0 -51
- package/dist/Render-QEMDIDQC.css +0 -101
- package/dist/chunk-A7EMVTSK.mjs +0 -413
- package/dist/chunk-CF5XA6LF.mjs +0 -103
- package/dist/chunk-GQ457KMA.mjs +0 -199
- package/dist/chunk-OPXWLTPM.mjs +0 -3140
- package/dist/rsc.css +0 -101
package/dist/rsc.css
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
2
|
-
._RichTextEditor_1elol_1 .ProseMirror {
|
|
3
|
-
white-space: pre-wrap;
|
|
4
|
-
word-wrap: break-word;
|
|
5
|
-
cursor: text;
|
|
6
|
-
outline: none;
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
._RichTextEditor_1elol_1 .rich-text * {
|
|
10
|
-
white-space: pre-wrap;
|
|
11
|
-
user-select: auto;
|
|
12
|
-
-webkit-user-select: auto;
|
|
13
|
-
}
|
|
14
|
-
._RichTextEditor_1elol_1 .rich-text blockquote {
|
|
15
|
-
margin: 1em 0;
|
|
16
|
-
padding: 0 1em;
|
|
17
|
-
border-left: 4px solid var(--puck-color-grey-09);
|
|
18
|
-
}
|
|
19
|
-
._RichTextEditor_1elol_1 .rich-text code {
|
|
20
|
-
background-color: var(--puck-color-grey-11);
|
|
21
|
-
padding: 4px 8px;
|
|
22
|
-
border-radius: 4px;
|
|
23
|
-
}
|
|
24
|
-
._RichTextEditor_1elol_1 .rich-text p:empty::before {
|
|
25
|
-
content: "\a0";
|
|
26
|
-
}
|
|
27
|
-
._RichTextEditor_1elol_1 .rich-text pre code {
|
|
28
|
-
display: block;
|
|
29
|
-
padding: 8px 12px;
|
|
30
|
-
}
|
|
31
|
-
._RichTextEditor_1elol_1 .rich-text > *:first-child,
|
|
32
|
-
._RichTextEditor_1elol_1 .ProseMirror > *:first-child,
|
|
33
|
-
._RichTextEditor_1elol_1 .rich-text * p:first-of-type {
|
|
34
|
-
margin-top: 0;
|
|
35
|
-
}
|
|
36
|
-
._RichTextEditor_1elol_1 .rich-text > *:last-child,
|
|
37
|
-
._RichTextEditor_1elol_1 .ProseMirror > *:last-child,
|
|
38
|
-
._RichTextEditor_1elol_1 .rich-text * p:last-of-type {
|
|
39
|
-
margin-bottom: 0;
|
|
40
|
-
}
|
|
41
|
-
._RichTextEditor--editor_1elol_50 {
|
|
42
|
-
background: var(--puck-color-white);
|
|
43
|
-
border-width: 1px;
|
|
44
|
-
border-style: solid;
|
|
45
|
-
border-color: var(--puck-color-grey-09);
|
|
46
|
-
border-radius: 4px;
|
|
47
|
-
box-sizing: border-box;
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
font-family: inherit;
|
|
51
|
-
font-size: var(--puck-font-size-xxs);
|
|
52
|
-
resize: vertical;
|
|
53
|
-
transition: border-color 50ms ease-in;
|
|
54
|
-
width: 100%;
|
|
55
|
-
max-width: 100%;
|
|
56
|
-
min-height: 128px;
|
|
57
|
-
}
|
|
58
|
-
._RichTextEditor--editor_1elol_50 .rich-text {
|
|
59
|
-
flex-grow: 1;
|
|
60
|
-
}
|
|
61
|
-
._RichTextEditor--editor_1elol_50 .rich-text:not(:has(.ProseMirror)),
|
|
62
|
-
._RichTextEditor--editor_1elol_50 .rich-text .ProseMirror {
|
|
63
|
-
height: 100%;
|
|
64
|
-
padding: 12px 15px;
|
|
65
|
-
}
|
|
66
|
-
._RichTextEditor--editor_1elol_50 .rich-text ul,
|
|
67
|
-
._RichTextEditor--editor_1elol_50 .rich-text ol {
|
|
68
|
-
padding-left: 24px;
|
|
69
|
-
}
|
|
70
|
-
._RichTextEditor--editor_1elol_50 .rich-text li {
|
|
71
|
-
line-height: 1.5;
|
|
72
|
-
}
|
|
73
|
-
._RichTextEditor--editor_1elol_50 .rich-text p {
|
|
74
|
-
margin-block: 12px;
|
|
75
|
-
}
|
|
76
|
-
._RichTextEditor--editor_1elol_50 .rich-text ul {
|
|
77
|
-
list-style: disc;
|
|
78
|
-
}
|
|
79
|
-
._RichTextEditor--editor_1elol_50 .rich-text ol {
|
|
80
|
-
list-style: decimal;
|
|
81
|
-
}
|
|
82
|
-
._RichTextEditor--editor_1elol_50:focus-within {
|
|
83
|
-
border-color: var(--puck-color-grey-05);
|
|
84
|
-
outline: 2px solid var(--puck-color-azure-05);
|
|
85
|
-
transition: none;
|
|
86
|
-
}
|
|
87
|
-
._RichTextEditor--editor_1elol_50._RichTextEditor--disabled_1elol_106 {
|
|
88
|
-
background: var(--puck-color-grey-11);
|
|
89
|
-
}
|
|
90
|
-
._RichTextEditor_1elol_1:not(:focus-within):not(._RichTextEditor--isActive_1elol_110) .ProseMirror ::selection {
|
|
91
|
-
background-color: transparent;
|
|
92
|
-
}
|
|
93
|
-
._RichTextEditor-menu_1elol_116 {
|
|
94
|
-
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
95
|
-
position: sticky;
|
|
96
|
-
top: 0;
|
|
97
|
-
z-index: 1;
|
|
98
|
-
}
|
|
99
|
-
._RichTextEditor--disabled_1elol_106 ._RichTextEditor-menu_1elol_116 {
|
|
100
|
-
border-bottom: 1px solid var(--puck-color-grey-09);
|
|
101
|
-
}
|