@puckeditor/plugin-pages 0.8.0-canary.fdb02235 → 0.8.0

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.
Files changed (4) hide show
  1. package/dist/index.css +184 -200
  2. package/dist/index.js +1340 -6801
  3. package/dist/index.mjs +1330 -6791
  4. package/package.json +20 -20
package/dist/index.css CHANGED
@@ -281,11 +281,11 @@ p {
281
281
  }
282
282
 
283
283
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
284
- ._ActionModal_r3pvy_1 {
284
+ ._ActionModal_1g44k_1 {
285
285
  display: block;
286
286
  min-width: 356px;
287
287
  }
288
- ._ActionModal-header_r3pvy_6 {
288
+ ._ActionModal-header_1g44k_6 {
289
289
  color: var(--puck-color-grey-02);
290
290
  display: flex;
291
291
  justify-content: center;
@@ -295,11 +295,14 @@ p {
295
295
  padding: 24px;
296
296
  padding-bottom: 16px;
297
297
  }
298
- ._ActionModal-body_r3pvy_17 {
298
+ ._ActionModal-body_1g44k_17 {
299
+ display: flex;
300
+ flex-direction: column;
301
+ gap: 16px;
299
302
  padding: 24px;
300
303
  padding-top: 8px;
301
304
  }
302
- ._ActionModal-footer_r3pvy_22 {
305
+ ._ActionModal-footer_1g44k_25 {
303
306
  border-top: 1px solid var(--puck-color-grey-09);
304
307
  background-color: var(--puck-color-grey-12);
305
308
  display: flex;
@@ -337,7 +340,7 @@ p {
337
340
  }
338
341
 
339
342
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
340
- ._Button_1tog0_1 {
343
+ ._Button_16or4_1 {
341
344
  appearance: none;
342
345
  background: none;
343
346
  border: 1px solid transparent;
@@ -359,28 +362,36 @@ p {
359
362
  white-space: nowrap;
360
363
  margin: 0;
361
364
  }
362
- ._Button_1tog0_1:hover,
363
- ._Button_1tog0_1:active {
365
+ ._Button_16or4_1:hover,
366
+ ._Button_16or4_1:active {
364
367
  transition: none;
365
368
  }
366
- ._Button_1tog0_1:focus-visible {
369
+ ._Button_16or4_1:focus-visible {
367
370
  outline: 2px solid var(--puck-color-azure-05);
368
371
  outline-offset: 2px;
369
372
  }
370
- ._Button--medium_1tog0_34 {
373
+ ._Button--tiny_16or4_34 {
374
+ font-size: var(--puck-font-size-xxxs);
375
+ padding: 2px 8px;
376
+ }
377
+ ._Button--small_16or4_39 {
378
+ font-size: var(--puck-font-size-xxs);
379
+ padding: 4px 8px;
380
+ }
381
+ ._Button--medium_16or4_44 {
371
382
  min-height: 34px;
372
383
  padding-bottom: 7px;
373
384
  padding-left: 15px;
374
385
  padding-right: 15px;
375
386
  padding-top: 7px;
376
387
  }
377
- ._Button--large_1tog0_42 {
388
+ ._Button--large_16or4_52 {
378
389
  padding-bottom: 11px;
379
390
  padding-left: 19px;
380
391
  padding-right: 19px;
381
392
  padding-top: 11px;
382
393
  }
383
- ._Button--brand_1tog0_49 {
394
+ ._Button--brand_16or4_59 {
384
395
  background-image:
385
396
  linear-gradient(
386
397
  210deg,
@@ -390,53 +401,54 @@ p {
390
401
  border: none;
391
402
  }
392
403
  @media (hover: hover) and (pointer: fine) {
393
- ._Button--brand_1tog0_49:hover {
404
+ ._Button--brand_16or4_59:hover {
394
405
  opacity: 0.8;
395
406
  }
396
407
  }
397
- ._Button--brand_1tog0_49:active {
408
+ ._Button--brand_16or4_59:active {
398
409
  opacity: 0.8;
399
410
  }
400
- ._Button--primary_1tog0_69 {
411
+ ._Button--primary_16or4_79 {
401
412
  background: var(--puck-color-azure-04);
402
413
  }
403
414
  @media (hover: hover) and (pointer: fine) {
404
- ._Button--primary_1tog0_69:hover {
415
+ ._Button--primary_16or4_79:hover {
405
416
  background-color: var(--puck-color-azure-03);
406
417
  }
407
418
  }
408
- ._Button--primary_1tog0_69:active {
419
+ ._Button--primary_16or4_79:active {
409
420
  background-color: var(--puck-color-azure-02);
410
421
  }
411
- ._Button--secondary_1tog0_83 {
422
+ ._Button--secondary_16or4_93 {
412
423
  border: 1px solid currentColor;
413
424
  color: currentColor;
414
425
  }
415
426
  @media (hover: hover) and (pointer: fine) {
416
- ._Button--secondary_1tog0_83:hover {
427
+ ._Button--secondary_16or4_93:hover {
417
428
  background-color: var(--puck-color-azure-12);
418
- color: var(--puck-color-black);
429
+ border-color: var(--puck-color-azure-12);
430
+ color: var(--puck-color-azure-04);
419
431
  }
420
432
  }
421
- ._Button--secondary_1tog0_83:active {
433
+ ._Button--secondary_16or4_93:active {
422
434
  background-color: var(--puck-color-azure-11);
423
435
  color: var(--puck-color-black);
424
436
  }
425
- ._Button--danger_1tog0_100 {
437
+ ._Button--danger_16or4_111 {
426
438
  background: var(--puck-color-red-04);
427
439
  }
428
440
  @media (hover: hover) and (pointer: fine) {
429
- ._Button--danger_1tog0_100:hover {
441
+ ._Button--danger_16or4_111:hover {
430
442
  background-color: var(--puck-color-red-03);
431
443
  }
432
444
  }
433
- ._Button--danger_1tog0_100:active {
445
+ ._Button--danger_16or4_111:active {
434
446
  background-color: var(--puck-color-red-02);
435
447
  }
436
- ._Button--flush_1tog0_114 {
448
+ ._Button--flush_16or4_125 {
437
449
  border-radius: 0;
438
450
  }
439
- ._Button--ghost_1tog0_118 {
451
+ ._Button--ghost_16or4_129 {
440
452
  align-items: center;
441
453
  background-color: transparent;
442
454
  border: none;
@@ -445,26 +457,26 @@ p {
445
457
  display: flex;
446
458
  }
447
459
  @media (hover: hover) and (pointer: fine) {
448
- ._Button--ghost_1tog0_118:hover {
460
+ ._Button--ghost_16or4_129:hover {
449
461
  background-color: var(--puck-color-grey-11);
450
462
  color: var(--puck-color-azure-04);
451
463
  cursor: pointer;
452
464
  }
453
465
  }
454
- ._Button--disabled_1tog0_135,
455
- ._Button--disabled_1tog0_135:hover,
456
- ._Button--secondary_1tog0_83._Button--disabled_1tog0_135,
457
- ._Button--secondary_1tog0_83._Button--disabled_1tog0_135:hover {
466
+ ._Button--disabled_16or4_146,
467
+ ._Button--disabled_16or4_146:hover,
468
+ ._Button--secondary_16or4_93._Button--disabled_16or4_146,
469
+ ._Button--secondary_16or4_93._Button--disabled_16or4_146:hover {
458
470
  background-color: var(--puck-color-grey-12);
459
471
  border-color: var(--puck-color-grey-08);
460
472
  color: var(--puck-color-grey-07);
461
473
  cursor: not-allowed;
462
474
  }
463
- ._Button--fullWidth_1tog0_145 {
475
+ ._Button--fullWidth_16or4_156 {
464
476
  justify-content: center;
465
477
  width: 100%;
466
478
  }
467
- ._Button-spinner_1tog0_150 {
479
+ ._Button-spinner_16or4_161 {
468
480
  padding-left: 8px;
469
481
  }
470
482
 
@@ -1080,215 +1092,187 @@ button._Menu-item_1tu16_55:hover {
1080
1092
  }
1081
1093
 
1082
1094
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1083
- ._PlanGrid--loading_97rn7_1 {
1084
- opacity: 0;
1085
- }
1086
- ._PlanGrid-grid_97rn7_5 {
1095
+ ._PlanGrid_1ar8g_1 {
1087
1096
  color: var(--puck-color-grey-02);
1088
- display: grid;
1089
- gap: 16px;
1090
1097
  text-align: left;
1091
- @media (min-width: 768px) {
1092
- grid-template-columns: 1fr 1fr 1fr;
1093
- }
1098
+ position: relative;
1099
+ z-index: 0;
1094
1100
  }
1095
- ._PlanGrid-enterprise_97rn7_16 {
1096
- color: var(--puck-color-grey-04);
1097
- font-size: var(--puck-font-size-xxs);
1098
- margin-left: auto;
1099
- margin-right: auto;
1100
- padding-inline: 4px;
1101
- padding-top: 20px;
1102
- text-align: center;
1101
+ ._PlanGrid-billingNote_1ar8g_8,
1102
+ ._PlanGrid-planKicker_1ar8g_9 {
1103
+ font-size: var(--puck-font-size-xxxs);
1104
+ letter-spacing: 0.12em;
1103
1105
  }
1104
- ._PlanGrid-enterprise_97rn7_16 a {
1105
- color: var(--puck-color-azure-04);
1106
- cursor: pointer;
1107
- font-weight: 500;
1106
+ ._PlanGrid-billingNote_1ar8g_8 {
1107
+ color: var(--puck-color-grey-05);
1108
1108
  }
1109
-
1110
- /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1111
- ._PlanCard_16zmu_1 {
1109
+ ._PlanGrid-tableWrapper_1ar8g_18 {
1112
1110
  border: 1px solid var(--puck-color-grey-09);
1113
1111
  border-radius: 16px;
1114
- display: flex;
1115
- gap: 8px;
1116
- flex-direction: column;
1117
- min-width: 256px;
1118
- padding: 8px;
1119
- position: relative;
1120
- }
1121
- ._PlanCard--enterprise_16zmu_12 {
1122
- flex-direction: row;
1123
- grid-column: span 3;
1112
+ overflow-x: auto;
1113
+ }
1114
+ ._PlanGrid-table_1ar8g_18 {
1115
+ border-collapse: separate;
1116
+ border-spacing: 0;
1117
+ max-width: 1440px;
1118
+ min-width: 880px;
1119
+ table-layout: fixed;
1120
+ width: 100%;
1124
1121
  }
1125
- ._PlanCard-title_16zmu_17 {
1126
- display: flex;
1127
- gap: 8px;
1128
- justify-content: space-between;
1129
- font-size: var(--puck-font-size-xs);
1130
- font-weight: 700;
1122
+ ._PlanGrid-caption_1ar8g_33 {
1123
+ clip: rect(0 0 0 0);
1124
+ clip-path: inset(50%);
1125
+ height: 1px;
1126
+ overflow: hidden;
1127
+ position: absolute;
1131
1128
  white-space: nowrap;
1129
+ width: 1px;
1132
1130
  }
1133
- ._PlanCard-header_16zmu_26 {
1134
- box-sizing: border-box;
1135
- display: flex;
1136
- flex-direction: column;
1137
- gap: 4px;
1138
- padding: 12px 16px;
1139
- width: 100%;
1131
+ ._PlanGrid-featureHeader_1ar8g_43,
1132
+ ._PlanGrid-featureName_1ar8g_44,
1133
+ ._PlanGrid-planHeader_1ar8g_45,
1134
+ ._PlanGrid-featureValue_1ar8g_46 {
1135
+ border-bottom: 1px solid var(--puck-color-grey-09);
1136
+ border-right: 1px solid var(--puck-color-grey-09);
1140
1137
  }
1141
- ._PlanCard-features_16zmu_35 {
1142
- display: grid;
1143
- gap: 4px;
1144
- list-style: none;
1145
- margin: 0;
1138
+ ._PlanGrid-featureHeader_1ar8g_43,
1139
+ ._PlanGrid-featureName_1ar8g_44 {
1140
+ background: var(--puck-color-white);
1141
+ position: sticky;
1142
+ left: 0;
1143
+ width: 24%;
1144
+ z-index: 2;
1145
+ }
1146
+ ._PlanGrid-featureHeader_1ar8g_43 {
1147
+ font-size: var(--puck-font-size-s);
1148
+ padding: 28px 24px;
1149
+ text-align: left;
1150
+ vertical-align: top;
1151
+ }
1152
+ ._PlanGrid-planHeader_1ar8g_45 {
1153
+ background: var(--puck-color-white);
1154
+ height: 336px;
1146
1155
  padding: 0;
1156
+ text-align: left;
1157
+ vertical-align: top;
1158
+ width: 25.333%;
1147
1159
  }
1148
- ._PlanCard-feature_16zmu_35 {
1149
- align-items: center;
1160
+ ._PlanGrid-planHeaderInner_1ar8g_76 {
1161
+ box-sizing: border-box;
1150
1162
  display: flex;
1151
- gap: 4px;
1152
- color: var(--puck-color-grey-05);
1153
- font-size: var(--puck-font-size-xxs);
1154
- }
1155
- ._PlanCard-featureIcon_16zmu_51 {
1156
- align-self: flex-start;
1157
- margin-top: 5px;
1163
+ flex-direction: column;
1164
+ height: 100%;
1165
+ padding: 28px 24px 24px;
1158
1166
  }
1159
- ._PlanCard-featureTitle_16zmu_56 {
1160
- color: var(--puck-color-grey-04);
1161
- font-weight: 600;
1167
+ ._PlanGrid-planKicker_1ar8g_9 {
1168
+ color: var(--puck-color-azure-04);
1169
+ font-weight: 700;
1170
+ min-height: 20px;
1171
+ text-transform: uppercase;
1162
1172
  }
1163
- ._PlanCard-priceValue_16zmu_61 {
1164
- font-size: var(--puck-font-size-m);
1173
+ ._PlanGrid-planTitle_1ar8g_91 {
1174
+ font-size: var(--puck-font-size-l);
1175
+ line-height: 1.2;
1176
+ margin: 12px 0 0;
1165
1177
  }
1166
- ._PlanCard-priceInterval_16zmu_65 {
1178
+ ._PlanGrid-planDescription_1ar8g_97 {
1167
1179
  color: var(--puck-color-grey-05);
1180
+ font-size: var(--puck-font-size-xxs);
1181
+ margin: 8px 0 0;
1182
+ min-height: 44px;
1183
+ font-weight: 400;
1168
1184
  }
1169
- ._PlanCard-body_16zmu_69 {
1170
- background-color: var(--puck-color-grey-12);
1171
- border: 1px solid var(--puck-color-grey-11);
1172
- border-radius: 8px;
1173
- padding: 16px;
1174
- flex-grow: 1;
1185
+ ._PlanGrid-priceBlock_1ar8g_105 {
1186
+ margin-top: auto;
1187
+ padding: 20px 0 16px;
1175
1188
  }
1176
- ._PlanCard--enterprise_16zmu_12 ._PlanCard-body_16zmu_69 {
1189
+ ._PlanGrid-price_1ar8g_105 {
1190
+ align-items: baseline;
1177
1191
  display: flex;
1178
- gap: 8px;
1179
- width: 100%;
1180
- }
1181
- ._PlanCard-section_16zmu_83 {
1182
- padding-bottom: 16px;
1183
- min-width: 192px;
1184
- }
1185
- ._PlanCard-section_16zmu_83:last-of-type {
1186
- padding-bottom: 0;
1187
- }
1188
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1189
- border-top: 1px solid var(--puck-color-grey-09);
1190
- padding-top: 16px;
1191
- }
1192
- ._PlanCard--enterprise_16zmu_12 {
1193
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1194
- border-left: 1px solid var(--puck-color-grey-09);
1195
- border-top: none;
1196
- padding-left: 16px;
1197
- padding-top: 0;
1198
- }
1192
+ gap: 4px;
1193
+ white-space: nowrap;
1199
1194
  }
1200
- ._PlanCard-sectionTitle_16zmu_106 {
1195
+ ._PlanGrid-standardPrice_1ar8g_117 {
1196
+ color: var(--puck-color-grey-06);
1201
1197
  font-size: var(--puck-font-size-xs);
1202
1198
  font-weight: 500;
1203
- margin-bottom: 8px;
1199
+ text-decoration: line-through;
1204
1200
  }
1205
- ._PlanCard-sectionBody_16zmu_112 + ._PlanCard-sectionTitle_16zmu_106 {
1206
- border-top: 1px solid var(--puck-color-grey-09);
1207
- margin-top: 16px;
1208
- padding-top: 16px;
1201
+ ._PlanGrid-priceValue_1ar8g_124 {
1202
+ font-size: var(--puck-font-size-xl);
1203
+ font-weight: 600;
1204
+ letter-spacing: -0.02em;
1209
1205
  }
1210
- ._PlanCard-sectionBody_16zmu_112 {
1211
- color: var(--puck-color-grey-03);
1206
+ ._PlanGrid-priceInterval_1ar8g_130 {
1207
+ color: var(--puck-color-grey-05);
1212
1208
  font-size: var(--puck-font-size-xxs);
1213
- display: grid;
1214
- gap: 2px;
1209
+ font-weight: 400;
1215
1210
  }
1216
- ._PlanCard-usageItem_16zmu_125 {
1217
- display: flex;
1218
- gap: 8px;
1211
+ ._PlanGrid-priceNote_1ar8g_136 {
1212
+ color: var(--puck-color-azure-04);
1213
+ font-size: var(--puck-font-size-xxxs);
1214
+ font-weight: 600;
1215
+ margin-top: 2px;
1216
+ }
1217
+ ._PlanGrid-action_1ar8g_143 {
1218
+ width: 100%;
1219
+ }
1220
+ ._PlanGrid-featureName_1ar8g_44,
1221
+ ._PlanGrid-featureValue_1ar8g_46 {
1219
1222
  font-size: var(--puck-font-size-xxs);
1223
+ min-height: 68px;
1224
+ padding: 20px 24px;
1220
1225
  }
1221
- ._PlanCard-usageLabel_16zmu_131 {
1222
- color: var(--puck-color-grey-04);
1223
- font-weight: 500;
1226
+ ._PlanGrid-featureName_1ar8g_44 {
1227
+ font-weight: 600;
1228
+ text-align: left;
1224
1229
  }
1225
- ._PlanCard-usageValue_16zmu_136 {
1226
- color: var(--puck-color-grey-05);
1227
- font-family: var(--puck-font-family-monospaced);
1228
- margin-left: auto;
1230
+ ._PlanGrid-featureValue_1ar8g_46 {
1231
+ background: var(--puck-color-white);
1232
+ color: var(--puck-color-grey-04);
1229
1233
  }
1230
- ._PlanCard-action_16zmu_142 {
1231
- align-items: flex-end;
1232
- display: flex;
1233
- justify-content: flex-end;
1234
- width: 100%;
1234
+ ._PlanGrid-featureValue_1ar8g_46 a {
1235
+ color: var(--puck-color-azure-04);
1235
1236
  }
1236
- ._PlanCard-description_16zmu_149 {
1237
+ ._PlanGrid-included_1ar8g_168 {
1238
+ align-items: center;
1237
1239
  color: var(--puck-color-grey-03);
1238
- margin-top: 8px;
1240
+ display: inline-flex;
1241
+ gap: 8px;
1239
1242
  }
1240
- ._PlanCard--highlight_16zmu_154 {
1241
- border: transparent;
1243
+ ._PlanGrid-included_1ar8g_168 svg {
1244
+ color: var(--puck-color-azure-04);
1242
1245
  }
1243
- ._PlanCard--highlight_16zmu_154::before {
1244
- content: "";
1245
- position: absolute;
1246
- inset: 0;
1247
- padding: 1px;
1248
- border-radius: inherit;
1249
- background-image:
1250
- linear-gradient(
1251
- 210deg,
1252
- var(--puck-color-azure-01) 0%,
1253
- var(--puck-color-azure-03) 40%,
1254
- var(--puck-color-red-05) 100%);
1255
- background-size: cover;
1256
- background-position: center;
1257
- -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1258
- -webkit-mask-composite: xor;
1259
- mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1260
- mask-composite: exclude;
1261
- pointer-events: none;
1246
+ ._PlanGrid-unavailable_1ar8g_179 {
1247
+ color: var(--puck-color-grey-07);
1262
1248
  }
1263
- ._PlanCard-highlightText_16zmu_184 {
1264
- @supports (background-clip: text) or (-webkit-background-clip: text) {
1265
- color: transparent;
1266
- background-clip: text;
1267
- -webkit-background-clip: text;
1268
- background-image:
1269
- linear-gradient(
1270
- 210deg,
1271
- var(--puck-color-azure-01) 0%,
1272
- var(--puck-color-azure-03) 40%,
1273
- var(--puck-color-red-05) 100%);
1274
- background-size: cover;
1275
- background-position: center;
1276
- }
1249
+ ._PlanGrid-highlightCell_1ar8g_183 {
1250
+ background: var(--puck-color-azure-12);
1277
1251
  }
1278
- ._PlanCard--fullWidth_16zmu_200 {
1279
- flex-direction: row;
1280
- grid-column: 1 / -1;
1252
+ ._PlanGrid-planHeader_1ar8g_45._PlanGrid-highlightCell_1ar8g_183 {
1253
+ box-shadow: inset 0 3px 0 var(--puck-color-azure-04);
1281
1254
  }
1282
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-header_16zmu_26 {
1283
- max-width: 312px;
1255
+ ._PlanGrid-planHeader_1ar8g_45:last-child,
1256
+ ._PlanGrid-featureValue_1ar8g_46:last-child {
1257
+ border-right: 0;
1284
1258
  }
1285
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-action_16zmu_142 {
1286
- max-width: 256px;
1259
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureName_1ar8g_44,
1260
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureValue_1ar8g_46 {
1261
+ border-bottom: 0;
1287
1262
  }
1288
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-sectionBody_16zmu_112 {
1289
- display: grid;
1290
- grid-template-rows: 1fr 1fr 1fr 1fr;
1291
- grid-auto-flow: column;
1263
+ ._PlanGrid-enterprise_1ar8g_201 {
1264
+ color: var(--puck-color-grey-04);
1265
+ font-size: var(--puck-font-size-xxs);
1266
+ margin-left: auto;
1267
+ margin-right: auto;
1268
+ padding-inline: 4px;
1269
+ padding-top: 20px;
1270
+ text-align: center;
1271
+ }
1272
+ ._PlanGrid-enterprise_1ar8g_201 a {
1273
+ color: var(--puck-color-azure-04);
1274
+ cursor: pointer;
1275
+ font-weight: 500;
1292
1276
  }
1293
1277
 
1294
1278
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */