@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/index.mjs
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Action,
|
|
3
|
+
ActionBar,
|
|
2
4
|
AutoField,
|
|
3
5
|
Button,
|
|
4
6
|
Drawer,
|
|
5
7
|
DropZone,
|
|
6
8
|
FieldLabel,
|
|
9
|
+
Group,
|
|
10
|
+
IconButton,
|
|
11
|
+
Label,
|
|
7
12
|
Puck,
|
|
8
13
|
Render,
|
|
9
14
|
createUsePuck,
|
|
@@ -13,27 +18,14 @@ import {
|
|
|
13
18
|
setDeep,
|
|
14
19
|
useGetPuck,
|
|
15
20
|
usePuck
|
|
16
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UABEUL66.mjs";
|
|
17
22
|
import {
|
|
23
|
+
init_react_import,
|
|
18
24
|
migrate,
|
|
19
25
|
resolveAllData,
|
|
20
|
-
transformProps
|
|
21
|
-
} from "./chunk-A7EMVTSK.mjs";
|
|
22
|
-
import {
|
|
23
|
-
Action,
|
|
24
|
-
ActionBar,
|
|
25
|
-
Group,
|
|
26
|
-
IconButton,
|
|
27
|
-
Label,
|
|
28
|
-
RichTextMenu,
|
|
29
|
-
Separator
|
|
30
|
-
} from "./chunk-OPXWLTPM.mjs";
|
|
31
|
-
import {
|
|
26
|
+
transformProps,
|
|
32
27
|
walkTree
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import {
|
|
35
|
-
init_react_import
|
|
36
|
-
} from "./chunk-GQ457KMA.mjs";
|
|
28
|
+
} from "./chunk-JA7SEUEH.mjs";
|
|
37
29
|
|
|
38
30
|
// bundle/index.ts
|
|
39
31
|
init_react_import();
|
|
@@ -50,8 +42,6 @@ export {
|
|
|
50
42
|
Label,
|
|
51
43
|
Puck,
|
|
52
44
|
Render,
|
|
53
|
-
RichTextMenu,
|
|
54
|
-
Separator,
|
|
55
45
|
createUsePuck,
|
|
56
46
|
migrate,
|
|
57
47
|
overrideKeys,
|
package/dist/no-external.css
CHANGED
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
/* bundle/no-external.css */
|
|
146
146
|
|
|
147
147
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ActionBar/styles.module.css/#css-module-data */
|
|
148
|
-
.
|
|
148
|
+
._ActionBar_rvadt_1 {
|
|
149
149
|
align-items: center;
|
|
150
150
|
cursor: default;
|
|
151
151
|
display: flex;
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
font-family: var(--puck-font-family);
|
|
162
162
|
min-height: 26px;
|
|
163
163
|
}
|
|
164
|
-
._ActionBar-
|
|
164
|
+
._ActionBar-label_rvadt_18 {
|
|
165
165
|
color: var(--puck-color-grey-08);
|
|
166
166
|
font-size: var(--puck-font-size-xxxs);
|
|
167
167
|
font-weight: 500;
|
|
@@ -172,13 +172,13 @@
|
|
|
172
172
|
text-overflow: ellipsis;
|
|
173
173
|
white-space: nowrap;
|
|
174
174
|
}
|
|
175
|
-
.
|
|
175
|
+
._ActionBar-action_rvadt_30 + ._ActionBar-label_rvadt_18 {
|
|
176
176
|
padding-inline-start: 0;
|
|
177
177
|
}
|
|
178
|
-
._ActionBar-
|
|
178
|
+
._ActionBar-label_rvadt_18 + ._ActionBar-action_rvadt_30 {
|
|
179
179
|
margin-inline-start: -4px;
|
|
180
180
|
}
|
|
181
|
-
._ActionBar-
|
|
181
|
+
._ActionBar-group_rvadt_38 {
|
|
182
182
|
align-items: center;
|
|
183
183
|
border-inline-start: 0.5px solid var(--puck-color-grey-05);
|
|
184
184
|
display: flex;
|
|
@@ -186,18 +186,18 @@
|
|
|
186
186
|
padding-inline-start: 4px;
|
|
187
187
|
padding-inline-end: 4px;
|
|
188
188
|
}
|
|
189
|
-
._ActionBar-
|
|
189
|
+
._ActionBar-group_rvadt_38:first-of-type {
|
|
190
190
|
border-inline-start: 0;
|
|
191
191
|
}
|
|
192
|
-
._ActionBar-
|
|
192
|
+
._ActionBar-group_rvadt_38:empty {
|
|
193
193
|
display: none;
|
|
194
194
|
}
|
|
195
|
-
.
|
|
195
|
+
._ActionBar-action_rvadt_30 {
|
|
196
196
|
background: transparent;
|
|
197
197
|
border: none;
|
|
198
198
|
color: var(--puck-color-grey-08);
|
|
199
199
|
cursor: pointer;
|
|
200
|
-
padding: 6px;
|
|
200
|
+
padding: 6px 8px;
|
|
201
201
|
margin-inline-start: 4px;
|
|
202
202
|
margin-inline-end: 4px;
|
|
203
203
|
border-radius: 4px;
|
|
@@ -207,37 +207,26 @@
|
|
|
207
207
|
justify-content: center;
|
|
208
208
|
transition: color 50ms ease-in;
|
|
209
209
|
}
|
|
210
|
-
.
|
|
211
|
-
cursor: auto;
|
|
212
|
-
color: var(--puck-color-grey-06);
|
|
213
|
-
}
|
|
214
|
-
._ActionBarAction_1nmyk_30 svg {
|
|
210
|
+
._ActionBar-action_rvadt_30 svg {
|
|
215
211
|
max-width: none !important;
|
|
216
212
|
}
|
|
217
|
-
.
|
|
213
|
+
._ActionBar-action_rvadt_30:focus-visible {
|
|
218
214
|
outline: 2px solid var(--puck-color-azure-05);
|
|
219
215
|
outline-offset: -2px;
|
|
220
216
|
}
|
|
221
217
|
@media (hover: hover) and (pointer: fine) {
|
|
222
|
-
.
|
|
218
|
+
._ActionBar-action_rvadt_30:hover {
|
|
223
219
|
color: var(--puck-color-azure-06);
|
|
224
220
|
transition: none;
|
|
225
221
|
}
|
|
226
222
|
}
|
|
227
|
-
.
|
|
228
|
-
._ActionBarAction--active_1nmyk_93 {
|
|
223
|
+
._ActionBar-action_rvadt_30:active {
|
|
229
224
|
color: var(--puck-color-azure-07);
|
|
230
225
|
transition: none;
|
|
231
226
|
}
|
|
232
|
-
._ActionBar-
|
|
227
|
+
._ActionBar-group_rvadt_38 * {
|
|
233
228
|
margin: 0;
|
|
234
229
|
}
|
|
235
|
-
._ActionBar-separator_1nmyk_102 {
|
|
236
|
-
background: var(--puck-color-grey-05);
|
|
237
|
-
margin-inline: 4px;
|
|
238
|
-
width: 0.5px;
|
|
239
|
-
height: 100%;
|
|
240
|
-
}
|
|
241
230
|
|
|
242
231
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css/#css-module-data */
|
|
243
232
|
._InputWrapper_bsxfo_1 + ._InputWrapper_bsxfo_1 {
|
|
@@ -554,7 +543,7 @@ textarea._Input-input_bsxfo_26 {
|
|
|
554
543
|
}
|
|
555
544
|
|
|
556
545
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
|
|
557
|
-
.
|
|
546
|
+
._IconButton_swpni_1 {
|
|
558
547
|
align-items: center;
|
|
559
548
|
background: transparent;
|
|
560
549
|
border: none;
|
|
@@ -566,26 +555,23 @@ textarea._Input-input_bsxfo_26 {
|
|
|
566
555
|
padding: 4px;
|
|
567
556
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
|
568
557
|
}
|
|
569
|
-
.
|
|
570
|
-
color: var(--puck-color-azure-04);
|
|
571
|
-
}
|
|
572
|
-
._IconButton_ffob9_1:focus-visible {
|
|
558
|
+
._IconButton_swpni_1:focus-visible {
|
|
573
559
|
outline: 2px solid var(--puck-color-azure-05);
|
|
574
560
|
outline-offset: -2px;
|
|
575
561
|
}
|
|
576
562
|
@media (hover: hover) and (pointer: fine) {
|
|
577
|
-
.
|
|
578
|
-
background: var(--puck-color-
|
|
563
|
+
._IconButton_swpni_1:hover:not(._IconButton--disabled_swpni_20) {
|
|
564
|
+
background: var(--puck-color-azure-12);
|
|
579
565
|
color: var(--puck-color-azure-04);
|
|
580
566
|
cursor: pointer;
|
|
581
567
|
transition: none;
|
|
582
568
|
}
|
|
583
569
|
}
|
|
584
|
-
.
|
|
570
|
+
._IconButton_swpni_1:active {
|
|
585
571
|
background: var(--puck-color-azure-11);
|
|
586
572
|
transition: none;
|
|
587
573
|
}
|
|
588
|
-
._IconButton-
|
|
574
|
+
._IconButton-title_swpni_33 {
|
|
589
575
|
clip: rect(0 0 0 0);
|
|
590
576
|
clip-path: inset(100%);
|
|
591
577
|
height: 1px;
|
|
@@ -594,7 +580,7 @@ textarea._Input-input_bsxfo_26 {
|
|
|
594
580
|
white-space: nowrap;
|
|
595
581
|
width: 1px;
|
|
596
582
|
}
|
|
597
|
-
._IconButton--
|
|
583
|
+
._IconButton--disabled_swpni_20 {
|
|
598
584
|
color: var(--puck-color-grey-07);
|
|
599
585
|
}
|
|
600
586
|
|
|
@@ -1096,248 +1082,6 @@ textarea._Input-input_bsxfo_26 {
|
|
|
1096
1082
|
padding-inline-start: 8px;
|
|
1097
1083
|
}
|
|
1098
1084
|
|
|
1099
|
-
/* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/styles.module.css/#css-module-data */
|
|
1100
|
-
._RichTextMenu_k97eh_1 {
|
|
1101
|
-
display: flex;
|
|
1102
|
-
flex-direction: row;
|
|
1103
|
-
flex-wrap: nowrap;
|
|
1104
|
-
}
|
|
1105
|
-
._RichTextMenu--form_k97eh_7 {
|
|
1106
|
-
border-top-left-radius: 4px;
|
|
1107
|
-
border-top-right-radius: 4px;
|
|
1108
|
-
padding: 6px 6px;
|
|
1109
|
-
background-color: var(--puck-color-grey-12);
|
|
1110
|
-
position: relative;
|
|
1111
|
-
scrollbar-width: none;
|
|
1112
|
-
overflow-x: auto;
|
|
1113
|
-
}
|
|
1114
|
-
._RichTextMenu-group_k97eh_17 {
|
|
1115
|
-
display: flex;
|
|
1116
|
-
align-items: space-between;
|
|
1117
|
-
flex-direction: row;
|
|
1118
|
-
flex-wrap: nowrap;
|
|
1119
|
-
padding-inline: 6px;
|
|
1120
|
-
gap: 2px;
|
|
1121
|
-
position: relative;
|
|
1122
|
-
}
|
|
1123
|
-
._RichTextMenu-group_k97eh_17:first-of-type {
|
|
1124
|
-
padding-left: 0;
|
|
1125
|
-
}
|
|
1126
|
-
._RichTextMenu-group_k97eh_17:last-of-type {
|
|
1127
|
-
padding-right: 0;
|
|
1128
|
-
}
|
|
1129
|
-
._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 {
|
|
1130
|
-
color: var(--puck-color-grey-08);
|
|
1131
|
-
gap: 0px;
|
|
1132
|
-
flex-wrap: nowrap;
|
|
1133
|
-
}
|
|
1134
|
-
._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
|
|
1135
|
-
border-left: 1px solid var(--puck-color-grey-10);
|
|
1136
|
-
}
|
|
1137
|
-
._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
|
|
1138
|
-
border-left: 0.5px solid var(--puck-color-grey-05);
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
/* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
|
|
1142
|
-
._Control_1aveu_1 .lucide {
|
|
1143
|
-
height: 18px;
|
|
1144
|
-
width: 18px;
|
|
1145
|
-
}
|
|
1146
|
-
._Control--inline_1aveu_6 .lucide {
|
|
1147
|
-
height: 16px;
|
|
1148
|
-
width: 16px;
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
/* css-module:/home/runner/work/puck/puck/packages/core/components/Select/styles.module.css/#css-module-data */
|
|
1152
|
-
._Select_xjbef_1 {
|
|
1153
|
-
position: relative;
|
|
1154
|
-
z-index: 1;
|
|
1155
|
-
}
|
|
1156
|
-
._Select-button_xjbef_6 {
|
|
1157
|
-
align-items: center;
|
|
1158
|
-
background: transparent;
|
|
1159
|
-
border: none;
|
|
1160
|
-
border-radius: 4px;
|
|
1161
|
-
display: flex;
|
|
1162
|
-
justify-content: center;
|
|
1163
|
-
gap: 0px;
|
|
1164
|
-
height: 100%;
|
|
1165
|
-
padding: 4px;
|
|
1166
|
-
padding-right: 2px;
|
|
1167
|
-
}
|
|
1168
|
-
._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6 {
|
|
1169
|
-
color: currentColor;
|
|
1170
|
-
}
|
|
1171
|
-
._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6 {
|
|
1172
|
-
cursor: pointer;
|
|
1173
|
-
}
|
|
1174
|
-
._Select-buttonIcon_xjbef_27 {
|
|
1175
|
-
align-items: center;
|
|
1176
|
-
display: flex;
|
|
1177
|
-
justify-content: center;
|
|
1178
|
-
}
|
|
1179
|
-
._Select--standalone_xjbef_33 ._Select-buttonIcon_xjbef_27 .lucide {
|
|
1180
|
-
height: 18px;
|
|
1181
|
-
width: 18px;
|
|
1182
|
-
}
|
|
1183
|
-
._Select--actionBar_xjbef_38 ._Select-buttonIcon_xjbef_27 .lucide {
|
|
1184
|
-
height: 16px;
|
|
1185
|
-
width: 16px;
|
|
1186
|
-
}
|
|
1187
|
-
._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6:hover,
|
|
1188
|
-
._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
|
|
1189
|
-
background: var(--puck-color-grey-10);
|
|
1190
|
-
color: var(--puck-color-azure-04);
|
|
1191
|
-
}
|
|
1192
|
-
._Select--disabled_xjbef_23 ._Select-button_xjbef_6 {
|
|
1193
|
-
color: var(--puck-color-grey-07);
|
|
1194
|
-
}
|
|
1195
|
-
._Select--actionBar_xjbef_38 {
|
|
1196
|
-
&._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6:hover,
|
|
1197
|
-
&._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
|
|
1198
|
-
background: none;
|
|
1199
|
-
color: var(--puck-color-azure-07);
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
._Select-items_xjbef_61 {
|
|
1203
|
-
background: white;
|
|
1204
|
-
border: 1px solid var(--puck-color-grey-09);
|
|
1205
|
-
border-radius: 8px;
|
|
1206
|
-
margin: 10px 8px;
|
|
1207
|
-
margin-left: 0;
|
|
1208
|
-
padding: 4px;
|
|
1209
|
-
z-index: 2;
|
|
1210
|
-
list-style: none;
|
|
1211
|
-
}
|
|
1212
|
-
._SelectItem_xjbef_72 {
|
|
1213
|
-
background: transparent;
|
|
1214
|
-
border-radius: 4px;
|
|
1215
|
-
border: none;
|
|
1216
|
-
color: var(--puck-color-grey-04);
|
|
1217
|
-
cursor: pointer;
|
|
1218
|
-
display: flex;
|
|
1219
|
-
gap: 8px;
|
|
1220
|
-
align-items: center;
|
|
1221
|
-
font-size: var(--puck-font-size-xxs);
|
|
1222
|
-
margin: 0;
|
|
1223
|
-
padding: 8px 12px;
|
|
1224
|
-
width: 100%;
|
|
1225
|
-
}
|
|
1226
|
-
._SelectItem--isSelected_xjbef_87 {
|
|
1227
|
-
background: var(--puck-color-azure-11);
|
|
1228
|
-
color: var(--puck-color-azure-04);
|
|
1229
|
-
font-weight: 500;
|
|
1230
|
-
}
|
|
1231
|
-
._SelectItem--isSelected_xjbef_87 ._SelectItem-icon_xjbef_93 {
|
|
1232
|
-
color: var(--puck-color-azure-04);
|
|
1233
|
-
}
|
|
1234
|
-
._SelectItem_xjbef_72:hover {
|
|
1235
|
-
background: var(--puck-color-azure-11);
|
|
1236
|
-
color: var(--puck-color-azure-04);
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
/* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
1240
|
-
._RichTextEditor_1elol_1 .ProseMirror {
|
|
1241
|
-
white-space: pre-wrap;
|
|
1242
|
-
word-wrap: break-word;
|
|
1243
|
-
cursor: text;
|
|
1244
|
-
outline: none;
|
|
1245
|
-
position: relative;
|
|
1246
|
-
}
|
|
1247
|
-
._RichTextEditor_1elol_1 .rich-text * {
|
|
1248
|
-
white-space: pre-wrap;
|
|
1249
|
-
user-select: auto;
|
|
1250
|
-
-webkit-user-select: auto;
|
|
1251
|
-
}
|
|
1252
|
-
._RichTextEditor_1elol_1 .rich-text blockquote {
|
|
1253
|
-
margin: 1em 0;
|
|
1254
|
-
padding: 0 1em;
|
|
1255
|
-
border-left: 4px solid var(--puck-color-grey-09);
|
|
1256
|
-
}
|
|
1257
|
-
._RichTextEditor_1elol_1 .rich-text code {
|
|
1258
|
-
background-color: var(--puck-color-grey-11);
|
|
1259
|
-
padding: 4px 8px;
|
|
1260
|
-
border-radius: 4px;
|
|
1261
|
-
}
|
|
1262
|
-
._RichTextEditor_1elol_1 .rich-text p:empty::before {
|
|
1263
|
-
content: "\a0";
|
|
1264
|
-
}
|
|
1265
|
-
._RichTextEditor_1elol_1 .rich-text pre code {
|
|
1266
|
-
display: block;
|
|
1267
|
-
padding: 8px 12px;
|
|
1268
|
-
}
|
|
1269
|
-
._RichTextEditor_1elol_1 .rich-text > *:first-child,
|
|
1270
|
-
._RichTextEditor_1elol_1 .ProseMirror > *:first-child,
|
|
1271
|
-
._RichTextEditor_1elol_1 .rich-text * p:first-of-type {
|
|
1272
|
-
margin-top: 0;
|
|
1273
|
-
}
|
|
1274
|
-
._RichTextEditor_1elol_1 .rich-text > *:last-child,
|
|
1275
|
-
._RichTextEditor_1elol_1 .ProseMirror > *:last-child,
|
|
1276
|
-
._RichTextEditor_1elol_1 .rich-text * p:last-of-type {
|
|
1277
|
-
margin-bottom: 0;
|
|
1278
|
-
}
|
|
1279
|
-
._RichTextEditor--editor_1elol_50 {
|
|
1280
|
-
background: var(--puck-color-white);
|
|
1281
|
-
border-width: 1px;
|
|
1282
|
-
border-style: solid;
|
|
1283
|
-
border-color: var(--puck-color-grey-09);
|
|
1284
|
-
border-radius: 4px;
|
|
1285
|
-
box-sizing: border-box;
|
|
1286
|
-
display: flex;
|
|
1287
|
-
flex-direction: column;
|
|
1288
|
-
font-family: inherit;
|
|
1289
|
-
font-size: var(--puck-font-size-xxs);
|
|
1290
|
-
resize: vertical;
|
|
1291
|
-
transition: border-color 50ms ease-in;
|
|
1292
|
-
width: 100%;
|
|
1293
|
-
max-width: 100%;
|
|
1294
|
-
min-height: 128px;
|
|
1295
|
-
}
|
|
1296
|
-
._RichTextEditor--editor_1elol_50 .rich-text {
|
|
1297
|
-
flex-grow: 1;
|
|
1298
|
-
}
|
|
1299
|
-
._RichTextEditor--editor_1elol_50 .rich-text:not(:has(.ProseMirror)),
|
|
1300
|
-
._RichTextEditor--editor_1elol_50 .rich-text .ProseMirror {
|
|
1301
|
-
height: 100%;
|
|
1302
|
-
padding: 12px 15px;
|
|
1303
|
-
}
|
|
1304
|
-
._RichTextEditor--editor_1elol_50 .rich-text ul,
|
|
1305
|
-
._RichTextEditor--editor_1elol_50 .rich-text ol {
|
|
1306
|
-
padding-left: 24px;
|
|
1307
|
-
}
|
|
1308
|
-
._RichTextEditor--editor_1elol_50 .rich-text li {
|
|
1309
|
-
line-height: 1.5;
|
|
1310
|
-
}
|
|
1311
|
-
._RichTextEditor--editor_1elol_50 .rich-text p {
|
|
1312
|
-
margin-block: 12px;
|
|
1313
|
-
}
|
|
1314
|
-
._RichTextEditor--editor_1elol_50 .rich-text ul {
|
|
1315
|
-
list-style: disc;
|
|
1316
|
-
}
|
|
1317
|
-
._RichTextEditor--editor_1elol_50 .rich-text ol {
|
|
1318
|
-
list-style: decimal;
|
|
1319
|
-
}
|
|
1320
|
-
._RichTextEditor--editor_1elol_50:focus-within {
|
|
1321
|
-
border-color: var(--puck-color-grey-05);
|
|
1322
|
-
outline: 2px solid var(--puck-color-azure-05);
|
|
1323
|
-
transition: none;
|
|
1324
|
-
}
|
|
1325
|
-
._RichTextEditor--editor_1elol_50._RichTextEditor--disabled_1elol_106 {
|
|
1326
|
-
background: var(--puck-color-grey-11);
|
|
1327
|
-
}
|
|
1328
|
-
._RichTextEditor_1elol_1:not(:focus-within):not(._RichTextEditor--isActive_1elol_110) .ProseMirror ::selection {
|
|
1329
|
-
background-color: transparent;
|
|
1330
|
-
}
|
|
1331
|
-
._RichTextEditor-menu_1elol_116 {
|
|
1332
|
-
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
1333
|
-
position: sticky;
|
|
1334
|
-
top: 0;
|
|
1335
|
-
z-index: 1;
|
|
1336
|
-
}
|
|
1337
|
-
._RichTextEditor--disabled_1elol_106 ._RichTextEditor-menu_1elol_116 {
|
|
1338
|
-
border-bottom: 1px solid var(--puck-color-grey-09);
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
1085
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
|
|
1342
1086
|
._ObjectField_1ua3y_5 {
|
|
1343
1087
|
display: flex;
|
|
@@ -1580,7 +1324,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
|
1580
1324
|
outline-offset: 2px;
|
|
1581
1325
|
}
|
|
1582
1326
|
[data-puck-overlay-portal]:focus-within {
|
|
1583
|
-
outline: 2px var(--puck-color-azure-07)
|
|
1327
|
+
outline: 2px var(--puck-color-azure-07) solid;
|
|
1584
1328
|
outline-offset: 2px;
|
|
1585
1329
|
}
|
|
1586
1330
|
|
package/dist/no-external.d.mts
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { Action, ActionBar, AutoField, Button, Drawer, DropZone, FieldLabel, Group, IconButton, Label, Puck, PuckApi, Render,
|
|
1
|
+
export { ad as Adaptor, A as AppState, ab as ArrayField, B as ArrayState, ar as AsFieldProps, X as BaseData, a5 as BaseField, af as CacheOpts, f as ComponentConfig, J as ComponentConfigExtensions, T as ComponentConfigParams, a as ComponentData, a0 as ComponentDataMap, _ as ComponentDataOptionalId, a3 as ComponentMetadata, C as Config, Q as ConfigParams, a1 as Content, ai as CustomField, ah as CustomFieldRender, j as Data, ao as DefaultComponentProps, L as DefaultComponents, al as DefaultRootFieldProps, an as DefaultRootProps, am as DefaultRootRenderProps, o as Direction, p as DragAxis, ag as ExternalField, ae as ExternalFieldWithAdaptor, N as ExtractConfigParams, at as ExtractField, h as Field, a4 as FieldMetadata, i as FieldProps, y as FieldRenderFunctions, u as FieldTransformFn, s as FieldTransformFnParams, g as FieldTransforms, F as Fields, H as History, I as IframeConfig, l as InitialHistory, z as ItemWithId, $ as MappedItem, M as Metadata, a7 as NumberField, ac as ObjectField, k as OnAction, x as OverrideKey, O as Overrides, P as Permissions, d as Plugin, b as PuckAction, G as PuckComponent, ak as PuckContext, a2 as PuckMetadata, aa as RadioField, c as ResolveDataTrigger, K as RootConfig, Z as RootData, R as RootDataWithProps, Y as RootDataWithoutProps, a9 as SelectField, S as Slot, E as SlotComponent, aj as SlotField, a6 as TextField, a8 as TextareaField, e as UiState, U as UserGenerics, q as Viewport, V as Viewports, as as WithChildren, ap as WithId, aq as WithPuckProps, W as WithSlotProps, m as migrate, v as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CgWnYC1X.mjs';
|
|
2
|
+
export { Action, ActionBar, AutoField, Button, Drawer, DropZone, FieldLabel, Group, IconButton, Label, Puck, PuckApi, Render, UsePuckData, createUsePuck, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck } from './index.mjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '@tiptap/react';
|
|
5
|
-
import '@tiptap/extension-blockquote';
|
|
6
|
-
import '@tiptap/extension-bold';
|
|
7
|
-
import '@tiptap/extension-code';
|
|
8
|
-
import '@tiptap/extension-code-block';
|
|
9
|
-
import '@tiptap/extension-hard-break';
|
|
10
|
-
import '@tiptap/extension-heading';
|
|
11
|
-
import '@tiptap/extension-horizontal-rule';
|
|
12
|
-
import '@tiptap/extension-italic';
|
|
13
|
-
import '@tiptap/extension-link';
|
|
14
|
-
import '@tiptap/extension-list';
|
|
15
|
-
import '@tiptap/extension-paragraph';
|
|
16
|
-
import '@tiptap/extension-strike';
|
|
17
|
-
import '@tiptap/extension-text-align';
|
|
18
|
-
import '@tiptap/extension-underline';
|
|
19
4
|
import 'react/jsx-runtime';
|
package/dist/no-external.d.ts
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { Action, ActionBar, AutoField, Button, Drawer, DropZone, FieldLabel, Group, IconButton, Label, Puck, PuckApi, Render,
|
|
1
|
+
export { ad as Adaptor, A as AppState, ab as ArrayField, B as ArrayState, ar as AsFieldProps, X as BaseData, a5 as BaseField, af as CacheOpts, f as ComponentConfig, J as ComponentConfigExtensions, T as ComponentConfigParams, a as ComponentData, a0 as ComponentDataMap, _ as ComponentDataOptionalId, a3 as ComponentMetadata, C as Config, Q as ConfigParams, a1 as Content, ai as CustomField, ah as CustomFieldRender, j as Data, ao as DefaultComponentProps, L as DefaultComponents, al as DefaultRootFieldProps, an as DefaultRootProps, am as DefaultRootRenderProps, o as Direction, p as DragAxis, ag as ExternalField, ae as ExternalFieldWithAdaptor, N as ExtractConfigParams, at as ExtractField, h as Field, a4 as FieldMetadata, i as FieldProps, y as FieldRenderFunctions, u as FieldTransformFn, s as FieldTransformFnParams, g as FieldTransforms, F as Fields, H as History, I as IframeConfig, l as InitialHistory, z as ItemWithId, $ as MappedItem, M as Metadata, a7 as NumberField, ac as ObjectField, k as OnAction, x as OverrideKey, O as Overrides, P as Permissions, d as Plugin, b as PuckAction, G as PuckComponent, ak as PuckContext, a2 as PuckMetadata, aa as RadioField, c as ResolveDataTrigger, K as RootConfig, Z as RootData, R as RootDataWithProps, Y as RootDataWithoutProps, a9 as SelectField, S as Slot, E as SlotComponent, aj as SlotField, a6 as TextField, a8 as TextareaField, e as UiState, U as UserGenerics, q as Viewport, V as Viewports, as as WithChildren, ap as WithId, aq as WithPuckProps, W as WithSlotProps, m as migrate, v as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CgWnYC1X.js';
|
|
2
|
+
export { Action, ActionBar, AutoField, Button, Drawer, DropZone, FieldLabel, Group, IconButton, Label, Puck, PuckApi, Render, UsePuckData, createUsePuck, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck } from './index.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '@tiptap/react';
|
|
5
|
-
import '@tiptap/extension-blockquote';
|
|
6
|
-
import '@tiptap/extension-bold';
|
|
7
|
-
import '@tiptap/extension-code';
|
|
8
|
-
import '@tiptap/extension-code-block';
|
|
9
|
-
import '@tiptap/extension-hard-break';
|
|
10
|
-
import '@tiptap/extension-heading';
|
|
11
|
-
import '@tiptap/extension-horizontal-rule';
|
|
12
|
-
import '@tiptap/extension-italic';
|
|
13
|
-
import '@tiptap/extension-link';
|
|
14
|
-
import '@tiptap/extension-list';
|
|
15
|
-
import '@tiptap/extension-paragraph';
|
|
16
|
-
import '@tiptap/extension-strike';
|
|
17
|
-
import '@tiptap/extension-text-align';
|
|
18
|
-
import '@tiptap/extension-underline';
|
|
19
4
|
import 'react/jsx-runtime';
|