@puckeditor/plugin-pages 0.8.0-canary.643b2b6d → 0.8.0-canary.672c7a1c

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