@puckeditor/plugin-ai 0.6.1-canary.b83b09a1 → 0.6.1-canary.ced08d75
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/index.css +129 -45
- package/dist/index.js +228 -167
- package/dist/index.mjs +203 -142
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -265,7 +265,7 @@ p {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
|
|
268
|
-
.
|
|
268
|
+
._Button_1sk6w_1 {
|
|
269
269
|
appearance: none;
|
|
270
270
|
background: none;
|
|
271
271
|
border: 1px solid transparent;
|
|
@@ -287,31 +287,28 @@ p {
|
|
|
287
287
|
white-space: nowrap;
|
|
288
288
|
margin: 0;
|
|
289
289
|
}
|
|
290
|
-
.
|
|
291
|
-
.
|
|
290
|
+
._Button_1sk6w_1:hover,
|
|
291
|
+
._Button_1sk6w_1:active {
|
|
292
292
|
transition: none;
|
|
293
293
|
}
|
|
294
|
-
.
|
|
294
|
+
._Button_1sk6w_1:focus-visible {
|
|
295
295
|
outline: 2px solid var(--puck-color-azure-05);
|
|
296
296
|
outline-offset: 2px;
|
|
297
297
|
}
|
|
298
|
-
._Button--
|
|
298
|
+
._Button--medium_1sk6w_34 {
|
|
299
299
|
min-height: 34px;
|
|
300
300
|
padding-bottom: 7px;
|
|
301
|
-
padding-left:
|
|
302
|
-
padding-right:
|
|
301
|
+
padding-left: 15px;
|
|
302
|
+
padding-right: 15px;
|
|
303
303
|
padding-top: 7px;
|
|
304
304
|
}
|
|
305
|
-
._Button--
|
|
305
|
+
._Button--large_1sk6w_42 {
|
|
306
306
|
padding-bottom: 11px;
|
|
307
307
|
padding-left: 19px;
|
|
308
308
|
padding-right: 19px;
|
|
309
309
|
padding-top: 11px;
|
|
310
310
|
}
|
|
311
|
-
._Button
|
|
312
|
-
margin-top: 2px;
|
|
313
|
-
}
|
|
314
|
-
._Button--brand_1br4o_53 {
|
|
311
|
+
._Button--brand_1sk6w_49 {
|
|
315
312
|
background-image:
|
|
316
313
|
linear-gradient(
|
|
317
314
|
210deg,
|
|
@@ -322,78 +319,81 @@ p {
|
|
|
322
319
|
border-radius: 48px;
|
|
323
320
|
}
|
|
324
321
|
@media (hover: hover) and (pointer: fine) {
|
|
325
|
-
._Button--
|
|
322
|
+
._Button--brand_1sk6w_49:hover {
|
|
326
323
|
opacity: 0.8;
|
|
327
324
|
}
|
|
328
325
|
}
|
|
329
|
-
._Button--
|
|
326
|
+
._Button--brand_1sk6w_49:active {
|
|
330
327
|
opacity: 0.8;
|
|
331
328
|
}
|
|
332
|
-
._Button--
|
|
329
|
+
._Button--primary_1sk6w_70 {
|
|
333
330
|
background: var(--puck-color-azure-04);
|
|
334
331
|
}
|
|
335
332
|
@media (hover: hover) and (pointer: fine) {
|
|
336
|
-
._Button--
|
|
333
|
+
._Button--primary_1sk6w_70:hover {
|
|
337
334
|
background-color: var(--puck-color-azure-03);
|
|
338
335
|
}
|
|
339
336
|
}
|
|
340
|
-
._Button--
|
|
337
|
+
._Button--primary_1sk6w_70:active {
|
|
341
338
|
background-color: var(--puck-color-azure-02);
|
|
342
339
|
}
|
|
343
|
-
._Button--
|
|
340
|
+
._Button--secondary_1sk6w_84 {
|
|
344
341
|
border: 1px solid currentColor;
|
|
345
342
|
color: currentColor;
|
|
346
343
|
}
|
|
347
344
|
@media (hover: hover) and (pointer: fine) {
|
|
348
|
-
._Button--
|
|
345
|
+
._Button--secondary_1sk6w_84:hover {
|
|
349
346
|
background-color: var(--puck-color-azure-12);
|
|
350
347
|
color: var(--puck-color-black);
|
|
351
348
|
}
|
|
352
349
|
}
|
|
353
|
-
._Button--
|
|
350
|
+
._Button--secondary_1sk6w_84:active {
|
|
354
351
|
background-color: var(--puck-color-azure-11);
|
|
355
352
|
color: var(--puck-color-black);
|
|
356
353
|
}
|
|
357
|
-
._Button--
|
|
354
|
+
._Button--danger_1sk6w_101 {
|
|
358
355
|
background: var(--puck-color-red-04);
|
|
359
356
|
}
|
|
360
357
|
@media (hover: hover) and (pointer: fine) {
|
|
361
|
-
._Button--
|
|
358
|
+
._Button--danger_1sk6w_101:hover {
|
|
362
359
|
background-color: var(--puck-color-red-03);
|
|
363
360
|
}
|
|
364
361
|
}
|
|
365
|
-
._Button--
|
|
362
|
+
._Button--danger_1sk6w_101:active {
|
|
366
363
|
background-color: var(--puck-color-red-02);
|
|
367
364
|
}
|
|
368
|
-
._Button--
|
|
365
|
+
._Button--flush_1sk6w_115 {
|
|
369
366
|
border-radius: 0;
|
|
370
367
|
}
|
|
371
|
-
._Button--
|
|
368
|
+
._Button--ghost_1sk6w_119 {
|
|
372
369
|
align-items: center;
|
|
373
370
|
background-color: transparent;
|
|
374
371
|
border: none;
|
|
375
|
-
border-radius:
|
|
372
|
+
border-radius: 8px;
|
|
376
373
|
color: var(--puck-color-azure-04);
|
|
377
374
|
display: flex;
|
|
378
375
|
}
|
|
379
376
|
@media (hover: hover) and (pointer: fine) {
|
|
380
|
-
._Button--
|
|
377
|
+
._Button--ghost_1sk6w_119:hover {
|
|
381
378
|
background-color: var(--puck-color-grey-11);
|
|
382
379
|
color: var(--puck-color-azure-04);
|
|
383
380
|
cursor: pointer;
|
|
384
381
|
}
|
|
385
382
|
}
|
|
386
|
-
._Button--
|
|
387
|
-
._Button--
|
|
388
|
-
|
|
389
|
-
|
|
383
|
+
._Button--disabled_1sk6w_136,
|
|
384
|
+
._Button--disabled_1sk6w_136:hover,
|
|
385
|
+
._Button--secondary_1sk6w_84._Button--disabled_1sk6w_136,
|
|
386
|
+
._Button--secondary_1sk6w_84._Button--disabled_1sk6w_136:hover {
|
|
387
|
+
background-color: var(--puck-color-grey-12);
|
|
388
|
+
border-color: var(--puck-color-grey-08);
|
|
389
|
+
color: var(--puck-color-grey-07);
|
|
390
390
|
cursor: not-allowed;
|
|
391
391
|
}
|
|
392
|
-
._Button--
|
|
392
|
+
._Button--fullWidth_1sk6w_146 {
|
|
393
393
|
justify-content: center;
|
|
394
394
|
width: 100%;
|
|
395
395
|
}
|
|
396
|
-
._Button-
|
|
396
|
+
._Button-spinner_1sk6w_151 {
|
|
397
397
|
padding-left: 8px;
|
|
398
398
|
}
|
|
399
399
|
|
|
@@ -837,6 +837,82 @@ p {
|
|
|
837
837
|
color: var(--puck-color-azure-05);
|
|
838
838
|
}
|
|
839
839
|
|
|
840
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Menu/styles.module.css/#css-module-data */
|
|
841
|
+
._Menu_1tu16_1 {
|
|
842
|
+
display: flex;
|
|
843
|
+
position: relative;
|
|
844
|
+
}
|
|
845
|
+
._Menu-content_1tu16_6 {
|
|
846
|
+
outline: none;
|
|
847
|
+
z-index: 1;
|
|
848
|
+
}
|
|
849
|
+
._Menu-sections_1tu16_11 {
|
|
850
|
+
background-color: white;
|
|
851
|
+
border: 1px solid var(--puck-color-grey-09);
|
|
852
|
+
border-radius: 8px;
|
|
853
|
+
box-sizing: border-box;
|
|
854
|
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
855
|
+
min-width: 128px;
|
|
856
|
+
padding-bottom: 4px;
|
|
857
|
+
padding-top: 4px;
|
|
858
|
+
}
|
|
859
|
+
._Menu-action_1tu16_22 {
|
|
860
|
+
background: none;
|
|
861
|
+
border: none;
|
|
862
|
+
margin-left: auto;
|
|
863
|
+
padding: 0;
|
|
864
|
+
}
|
|
865
|
+
._Menu-action_1tu16_22:hover:not(:disabled) {
|
|
866
|
+
cursor: pointer;
|
|
867
|
+
opacity: 0.8;
|
|
868
|
+
}
|
|
869
|
+
._Menu-action_1tu16_22:disabled {
|
|
870
|
+
cursor: not-allowed;
|
|
871
|
+
opacity: 0.5;
|
|
872
|
+
}
|
|
873
|
+
._Menu-action_1tu16_22:focus-visible {
|
|
874
|
+
outline: 2px solid var(--puck-color-azure-05);
|
|
875
|
+
outline-offset: 2px;
|
|
876
|
+
}
|
|
877
|
+
._Menu-list_1tu16_44 {
|
|
878
|
+
list-style: none;
|
|
879
|
+
margin: 0;
|
|
880
|
+
padding: 0;
|
|
881
|
+
}
|
|
882
|
+
._Menu-list_1tu16_44 + ._Menu-list_1tu16_44 {
|
|
883
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
|
884
|
+
margin-top: 4px;
|
|
885
|
+
}
|
|
886
|
+
._Menu-item_1tu16_55 {
|
|
887
|
+
align-items: center;
|
|
888
|
+
background: none;
|
|
889
|
+
border: none;
|
|
890
|
+
box-sizing: border-box;
|
|
891
|
+
color: var(--puck-color-grey-02);
|
|
892
|
+
display: flex;
|
|
893
|
+
font-size: var(--puck-font-size-xxs);
|
|
894
|
+
font-weight: 500;
|
|
895
|
+
gap: 8px;
|
|
896
|
+
padding: 8px 12px;
|
|
897
|
+
text-align: start;
|
|
898
|
+
text-decoration: none;
|
|
899
|
+
white-space: nowrap;
|
|
900
|
+
width: 100%;
|
|
901
|
+
}
|
|
902
|
+
a._Menu-item_1tu16_55,
|
|
903
|
+
button._Menu-item_1tu16_55 {
|
|
904
|
+
cursor: pointer;
|
|
905
|
+
}
|
|
906
|
+
a._Menu-item_1tu16_55:hover,
|
|
907
|
+
button._Menu-item_1tu16_55:hover {
|
|
908
|
+
background-color: var(--puck-color-azure-11);
|
|
909
|
+
color: var(--puck-color-azure-04);
|
|
910
|
+
}
|
|
911
|
+
._Menu-item--disabled_1tu16_83 {
|
|
912
|
+
cursor: not-allowed;
|
|
913
|
+
opacity: 0.5;
|
|
914
|
+
}
|
|
915
|
+
|
|
840
916
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
|
|
841
917
|
._Page_nkzj9_1 {
|
|
842
918
|
display: flex;
|
|
@@ -1155,10 +1231,11 @@ p {
|
|
|
1155
1231
|
}
|
|
1156
1232
|
|
|
1157
1233
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
|
|
1158
|
-
.
|
|
1234
|
+
._Tag_s2h0n_1 {
|
|
1159
1235
|
align-items: center;
|
|
1160
|
-
display:
|
|
1236
|
+
display: flex;
|
|
1161
1237
|
text-transform: uppercase;
|
|
1238
|
+
font-family: var(--puck-font-family-monospaced);
|
|
1162
1239
|
font-weight: 600;
|
|
1163
1240
|
font-size: var(--puck-font-size-xxxs);
|
|
1164
1241
|
gap: 6px;
|
|
@@ -1167,34 +1244,38 @@ p {
|
|
|
1167
1244
|
color: var(--puck-color-grey-05);
|
|
1168
1245
|
padding: 4px 8px;
|
|
1169
1246
|
white-space: nowrap;
|
|
1247
|
+
line-height: 1;
|
|
1170
1248
|
position: relative;
|
|
1171
1249
|
z-index: 0;
|
|
1172
1250
|
}
|
|
1173
|
-
._Tag--
|
|
1251
|
+
._Tag--borderless_s2h0n_21 {
|
|
1252
|
+
border: none;
|
|
1253
|
+
}
|
|
1254
|
+
._Tag--colorBlue_s2h0n_25 {
|
|
1174
1255
|
color: var(--puck-color-azure-05);
|
|
1175
1256
|
}
|
|
1176
|
-
._Tag--
|
|
1257
|
+
._Tag--colorGreen_s2h0n_29 {
|
|
1177
1258
|
color: var(--puck-color-green-06);
|
|
1178
1259
|
}
|
|
1179
|
-
._Tag--
|
|
1260
|
+
._Tag--colorRed_s2h0n_33 {
|
|
1180
1261
|
color: var(--puck-color-red-04);
|
|
1181
1262
|
}
|
|
1182
|
-
._Tag--
|
|
1263
|
+
._Tag--colorMuted_s2h0n_37 {
|
|
1183
1264
|
color: var(--puck-color-grey-06);
|
|
1184
1265
|
}
|
|
1185
|
-
._Tag-
|
|
1266
|
+
._Tag-sprite_s2h0n_41 {
|
|
1186
1267
|
display: flex;
|
|
1187
1268
|
}
|
|
1188
|
-
._Tag--
|
|
1189
|
-
._Tag-
|
|
1269
|
+
._Tag--pulse_s2h0n_45 {
|
|
1270
|
+
._Tag-sprite_s2h0n_41 {
|
|
1190
1271
|
background: currentColor;
|
|
1191
1272
|
border-radius: 50%;
|
|
1192
1273
|
height: 5px;
|
|
1193
1274
|
position: relative;
|
|
1194
1275
|
width: 5px;
|
|
1195
1276
|
}
|
|
1196
|
-
._Tag-
|
|
1197
|
-
animation:
|
|
1277
|
+
._Tag-sprite_s2h0n_41::before {
|
|
1278
|
+
animation: _pulse_s2h0n_1 1s 0s infinite alternate;
|
|
1198
1279
|
animation-fill-mode: both;
|
|
1199
1280
|
background-color: color-mix(in srgb, currentColor 25%, transparent);
|
|
1200
1281
|
border-radius: 50%;
|
|
@@ -1208,7 +1289,7 @@ p {
|
|
|
1208
1289
|
z-index: -1;
|
|
1209
1290
|
}
|
|
1210
1291
|
}
|
|
1211
|
-
@keyframes
|
|
1292
|
+
@keyframes _pulse_s2h0n_1 {
|
|
1212
1293
|
0% {
|
|
1213
1294
|
transform: scale(1);
|
|
1214
1295
|
}
|
|
@@ -1216,6 +1297,9 @@ p {
|
|
|
1216
1297
|
transform: scale(2);
|
|
1217
1298
|
}
|
|
1218
1299
|
}
|
|
1300
|
+
._Tag-label_s2h0n_79 {
|
|
1301
|
+
margin-top: 1px;
|
|
1302
|
+
}
|
|
1219
1303
|
|
|
1220
1304
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
|
|
1221
1305
|
._Table_o345u_1 {
|