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