@puckeditor/plugin-pages 0.6.1-canary.b4fc2343 → 0.6.1-canary.f665bfc7
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 +167 -167
- package/dist/index.d.mts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +10272 -10423
- package/dist/index.mjs +10222 -10242
- package/package.json +16 -18
- package/dist/api/edit.js +0 -163
- package/dist/api/edit.mjs +0 -58
- package/dist/api/view.js +0 -114
- package/dist/api/view.mjs +0 -8
- package/dist/chunk-BZD7XJC3.mjs +0 -6
- package/dist/chunk-CFUMG5V5.mjs +0 -26
- package/dist/chunk-UYZYALB5.mjs +0 -128
- package/dist/server.js +0 -129
- package/dist/server.mjs +0 -13
package/dist/index.css
CHANGED
|
@@ -1,3 +1,142 @@
|
|
|
1
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Toast/Toast.module.css/#css-module-data */
|
|
2
|
+
._Viewport_13rvx_1 {
|
|
3
|
+
position: fixed;
|
|
4
|
+
width: 250px;
|
|
5
|
+
margin: 0 auto;
|
|
6
|
+
bottom: 1rem;
|
|
7
|
+
right: 1rem;
|
|
8
|
+
left: auto;
|
|
9
|
+
top: auto;
|
|
10
|
+
@media (min-width: 500px) {
|
|
11
|
+
bottom: 2rem;
|
|
12
|
+
right: 2rem;
|
|
13
|
+
width: 300px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
._Toast_13rvx_17 {
|
|
17
|
+
--gap: 0.75rem;
|
|
18
|
+
--offset-y: calc( var(--toast-offset-y) * -1 + (var(--toast-index) * var(--gap) * -1) + var(--toast-swipe-movement-y) );
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 0;
|
|
21
|
+
margin: 0 auto;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
background: var(--puck-color-white);
|
|
24
|
+
color: var(--puck-color-grey-01);
|
|
25
|
+
border: 1px solid var(--puck-color-grey-09);
|
|
26
|
+
padding: 1rem;
|
|
27
|
+
width: 100%;
|
|
28
|
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
29
|
+
background-clip: padding-box;
|
|
30
|
+
border-radius: 0.5rem;
|
|
31
|
+
bottom: 0;
|
|
32
|
+
left: auto;
|
|
33
|
+
margin-right: 0;
|
|
34
|
+
-webkit-user-select: none;
|
|
35
|
+
user-select: none;
|
|
36
|
+
transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s;
|
|
37
|
+
cursor: default;
|
|
38
|
+
z-index: calc(1000 - var(--toast-index));
|
|
39
|
+
transform: translateX(var(--toast-swipe-movement-x)) translateY(calc(var(--toast-swipe-movement-y) + (min(var(--toast-index), 10) * -20%))) scale(calc(max(0, 1 - (var(--toast-index) * 0.1))));
|
|
40
|
+
&::after {
|
|
41
|
+
content: "";
|
|
42
|
+
position: absolute;
|
|
43
|
+
width: 100%;
|
|
44
|
+
top: 100%;
|
|
45
|
+
left: 0;
|
|
46
|
+
height: calc(var(--gap) + 1px);
|
|
47
|
+
}
|
|
48
|
+
&[data-expanded] {
|
|
49
|
+
transform: translateX(var(--toast-swipe-movement-x)) translateY(var(--offset-y));
|
|
50
|
+
}
|
|
51
|
+
&[data-starting-style],
|
|
52
|
+
&[data-ending-style] {
|
|
53
|
+
transform: translateY(150%);
|
|
54
|
+
}
|
|
55
|
+
&[data-limited] {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
}
|
|
58
|
+
&[data-ending-style] {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
&[data-swipe-direction=up] {
|
|
61
|
+
transform: translateY(calc(var(--toast-swipe-movement-y) - 150%));
|
|
62
|
+
}
|
|
63
|
+
&[data-swipe-direction=left] {
|
|
64
|
+
transform: translateX(calc(var(--toast-swipe-movement-x) - 150%)) translateY(var(--offset-y));
|
|
65
|
+
}
|
|
66
|
+
&[data-swipe-direction=right] {
|
|
67
|
+
transform: translateX(calc(var(--toast-swipe-movement-x) + 150%)) translateY(var(--offset-y));
|
|
68
|
+
}
|
|
69
|
+
&[data-swipe-direction=down] {
|
|
70
|
+
transform: translateY(calc(var(--toast-swipe-movement-y) + 150%));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
._Title_13rvx_95 {
|
|
75
|
+
font-weight: 500;
|
|
76
|
+
font-size: 0.975rem;
|
|
77
|
+
line-height: 1.25rem;
|
|
78
|
+
margin: 0;
|
|
79
|
+
}
|
|
80
|
+
._Description_13rvx_102 {
|
|
81
|
+
font-size: 0.925rem;
|
|
82
|
+
line-height: 1.25rem;
|
|
83
|
+
margin: 0;
|
|
84
|
+
margin-top: 0.25rem;
|
|
85
|
+
}
|
|
86
|
+
._Action_13rvx_109 {
|
|
87
|
+
appearance: none;
|
|
88
|
+
background: var(--puck-color-azure-04);
|
|
89
|
+
border: 1px solid transparent;
|
|
90
|
+
border-radius: 8px;
|
|
91
|
+
color: var(--puck-color-white);
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
gap: 8px;
|
|
95
|
+
letter-spacing: 0.05ch;
|
|
96
|
+
font-family: var(--puck-font-family);
|
|
97
|
+
font-size: 14px;
|
|
98
|
+
font-weight: 400;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
line-height: 1;
|
|
101
|
+
text-align: center;
|
|
102
|
+
text-decoration: none;
|
|
103
|
+
transition: background-color 50ms ease-in;
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
margin: 8px 0 0;
|
|
107
|
+
padding: 8px 12px;
|
|
108
|
+
}
|
|
109
|
+
@media (hover: hover) and (pointer: fine) {
|
|
110
|
+
._Action_13rvx_109:hover {
|
|
111
|
+
background-color: var(--puck-color-azure-03);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
._Action_13rvx_109:active {
|
|
115
|
+
background-color: var(--puck-color-azure-02);
|
|
116
|
+
}
|
|
117
|
+
._Close_13rvx_143 {
|
|
118
|
+
position: absolute;
|
|
119
|
+
top: 0.5rem;
|
|
120
|
+
right: 0.5rem;
|
|
121
|
+
border: none;
|
|
122
|
+
background: transparent;
|
|
123
|
+
width: 1.25rem;
|
|
124
|
+
height: 1.25rem;
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
border-radius: 0.25rem;
|
|
129
|
+
}
|
|
130
|
+
@media (hover: hover) and (pointer: fine) {
|
|
131
|
+
._Close_13rvx_143:hover {
|
|
132
|
+
background-color: var(--puck-color-grey-11);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
._Icon_13rvx_163 {
|
|
136
|
+
width: 1rem;
|
|
137
|
+
height: 1rem;
|
|
138
|
+
}
|
|
139
|
+
|
|
1
140
|
/* ../platform-client/styles/color.css */
|
|
2
141
|
:root {
|
|
3
142
|
--puck-color-rose-01: #4a001c;
|
|
@@ -141,7 +280,7 @@ p {
|
|
|
141
280
|
margin: 0;
|
|
142
281
|
}
|
|
143
282
|
|
|
144
|
-
/* css-module:/
|
|
283
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
|
|
145
284
|
._ActionModal_r3pvy_1 {
|
|
146
285
|
display: block;
|
|
147
286
|
min-width: 356px;
|
|
@@ -168,7 +307,7 @@ p {
|
|
|
168
307
|
padding: 16px 24px;
|
|
169
308
|
}
|
|
170
309
|
|
|
171
|
-
/* css-module:/
|
|
310
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
|
|
172
311
|
._Modal-background_1bedq_1 {
|
|
173
312
|
align-items: center;
|
|
174
313
|
display: flex;
|
|
@@ -197,7 +336,7 @@ p {
|
|
|
197
336
|
overflow: auto;
|
|
198
337
|
}
|
|
199
338
|
|
|
200
|
-
/* css-module:/
|
|
339
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
|
|
201
340
|
._Button_1sk6w_1 {
|
|
202
341
|
appearance: none;
|
|
203
342
|
background: none;
|
|
@@ -330,7 +469,7 @@ p {
|
|
|
330
469
|
padding-left: 8px;
|
|
331
470
|
}
|
|
332
471
|
|
|
333
|
-
/* css-module:/
|
|
472
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Loader/styles.module.css/#css-module-data */
|
|
334
473
|
@keyframes _loader-animation_nacdm_1 {
|
|
335
474
|
0% {
|
|
336
475
|
transform: rotate(0deg) scale(1);
|
|
@@ -352,7 +491,7 @@ p {
|
|
|
352
491
|
animation-fill-mode: both;
|
|
353
492
|
}
|
|
354
493
|
|
|
355
|
-
/* css-module:/
|
|
494
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Heading/Heading.module.css/#css-module-data */
|
|
356
495
|
._Heading_qkzg9_1 {
|
|
357
496
|
display: block;
|
|
358
497
|
font-weight: 700;
|
|
@@ -420,7 +559,7 @@ p {
|
|
|
420
559
|
}
|
|
421
560
|
}
|
|
422
561
|
|
|
423
|
-
/* css-module:/
|
|
562
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Align/Align.module.css/#css-module-data */
|
|
424
563
|
._Align_oewlu_1 {
|
|
425
564
|
align-items: flex-start;
|
|
426
565
|
display: flex;
|
|
@@ -444,7 +583,7 @@ p {
|
|
|
444
583
|
position: relative;
|
|
445
584
|
}
|
|
446
585
|
|
|
447
|
-
/* css-module:/
|
|
586
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/AutoForm/AutoForm.module.css/#css-module-data */
|
|
448
587
|
._AutoForm_1vmh9_1 {
|
|
449
588
|
display: flex;
|
|
450
589
|
gap: 16px;
|
|
@@ -455,7 +594,7 @@ p {
|
|
|
455
594
|
padding: 0px !important;
|
|
456
595
|
}
|
|
457
596
|
|
|
458
|
-
/* css-module:/
|
|
597
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Card/Card.module.css/#css-module-data */
|
|
459
598
|
._Card_rpnal_1 {
|
|
460
599
|
background-color: white;
|
|
461
600
|
border: 1px solid var(--puck-color-grey-08);
|
|
@@ -495,7 +634,7 @@ p {
|
|
|
495
634
|
color: var(--puck-color-azure-04);
|
|
496
635
|
}
|
|
497
636
|
|
|
498
|
-
/* css-module:/
|
|
637
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/CardSelector/styles.module.css/#css-module-data */
|
|
499
638
|
._CardSelector_1ogry_1 {
|
|
500
639
|
display: grid;
|
|
501
640
|
gap: 16px;
|
|
@@ -533,7 +672,7 @@ p {
|
|
|
533
672
|
cursor: pointer;
|
|
534
673
|
}
|
|
535
674
|
|
|
536
|
-
/* css-module:/
|
|
675
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Code/Code.module.css/#css-module-data */
|
|
537
676
|
._Code_d4378_1 {
|
|
538
677
|
border-radius: 8px;
|
|
539
678
|
position: relative;
|
|
@@ -653,7 +792,7 @@ p {
|
|
|
653
792
|
background: var(--puck-color-grey-11);
|
|
654
793
|
}
|
|
655
794
|
|
|
656
|
-
/* css-module:/
|
|
795
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
|
|
657
796
|
._IconButton_thegm_1 {
|
|
658
797
|
align-items: center;
|
|
659
798
|
background: transparent;
|
|
@@ -698,7 +837,7 @@ p {
|
|
|
698
837
|
color: var(--puck-color-grey-07);
|
|
699
838
|
}
|
|
700
839
|
|
|
701
|
-
/* css-module:/
|
|
840
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/InfoBar/InfoBar.module.css/#css-module-data */
|
|
702
841
|
._InfoBar_kchdj_1 {
|
|
703
842
|
border: 1px solid var(--puck-color-grey-10);
|
|
704
843
|
border-radius: 8px;
|
|
@@ -721,7 +860,7 @@ p {
|
|
|
721
860
|
font-weight: 600;
|
|
722
861
|
}
|
|
723
862
|
|
|
724
|
-
/* css-module:/
|
|
863
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Inline/Inline.module.css/#css-module-data */
|
|
725
864
|
._Inline_6o5on_3 {
|
|
726
865
|
display: block;
|
|
727
866
|
}
|
|
@@ -761,7 +900,7 @@ p {
|
|
|
761
900
|
flex-grow: 1;
|
|
762
901
|
}
|
|
763
902
|
|
|
764
|
-
/* css-module:/
|
|
903
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Link/Link.module.css/#css-module-data */
|
|
765
904
|
._Link_1j70m_1 {
|
|
766
905
|
color: var(--puck-color-azure-04);
|
|
767
906
|
text-decoration: none;
|
|
@@ -770,7 +909,7 @@ p {
|
|
|
770
909
|
color: var(--puck-color-azure-05);
|
|
771
910
|
}
|
|
772
911
|
|
|
773
|
-
/* css-module:/
|
|
912
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Menu/styles.module.css/#css-module-data */
|
|
774
913
|
._Menu_1tu16_1 {
|
|
775
914
|
display: flex;
|
|
776
915
|
position: relative;
|
|
@@ -846,7 +985,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
846
985
|
opacity: 0.5;
|
|
847
986
|
}
|
|
848
987
|
|
|
849
|
-
/* css-module:/
|
|
988
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
|
|
850
989
|
._Page_nkzj9_1 {
|
|
851
990
|
display: flex;
|
|
852
991
|
flex-direction: column;
|
|
@@ -905,7 +1044,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
905
1044
|
padding: 16px 24px;
|
|
906
1045
|
}
|
|
907
1046
|
|
|
908
|
-
/* css-module:/
|
|
1047
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
|
|
909
1048
|
._Pagination_1okv2_1 {
|
|
910
1049
|
align-items: baseline;
|
|
911
1050
|
display: flex;
|
|
@@ -933,7 +1072,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
933
1072
|
color: var(--puck-color-grey-05);
|
|
934
1073
|
}
|
|
935
1074
|
|
|
936
|
-
/* css-module:/
|
|
1075
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
|
|
937
1076
|
._PlanGrid--loading_97rn7_1 {
|
|
938
1077
|
opacity: 0;
|
|
939
1078
|
}
|
|
@@ -961,7 +1100,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
961
1100
|
font-weight: 500;
|
|
962
1101
|
}
|
|
963
1102
|
|
|
964
|
-
/* css-module:/
|
|
1103
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
|
|
965
1104
|
._PlanCard_16zmu_1 {
|
|
966
1105
|
border: 1px solid var(--puck-color-grey-09);
|
|
967
1106
|
border-radius: 16px;
|
|
@@ -1145,7 +1284,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1145
1284
|
grid-auto-flow: column;
|
|
1146
1285
|
}
|
|
1147
1286
|
|
|
1148
|
-
/* css-module:/
|
|
1287
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
|
|
1149
1288
|
._Section-inner_1uwo0_1 {
|
|
1150
1289
|
margin-left: auto;
|
|
1151
1290
|
margin-right: auto;
|
|
@@ -1163,7 +1302,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1163
1302
|
max-width: unset;
|
|
1164
1303
|
}
|
|
1165
1304
|
|
|
1166
|
-
/* css-module:/
|
|
1305
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
|
|
1167
1306
|
._Tag_s2h0n_1 {
|
|
1168
1307
|
align-items: center;
|
|
1169
1308
|
display: flex;
|
|
@@ -1234,7 +1373,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1234
1373
|
margin-top: 1px;
|
|
1235
1374
|
}
|
|
1236
1375
|
|
|
1237
|
-
/* css-module:/
|
|
1376
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
|
|
1238
1377
|
._Table_o345u_1 {
|
|
1239
1378
|
color: black;
|
|
1240
1379
|
display: flex;
|
|
@@ -1334,146 +1473,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1334
1473
|
background-color: var(--puck-color-grey-12);
|
|
1335
1474
|
}
|
|
1336
1475
|
|
|
1337
|
-
/* css-module:/
|
|
1338
|
-
._Viewport_13rvx_1 {
|
|
1339
|
-
position: fixed;
|
|
1340
|
-
width: 250px;
|
|
1341
|
-
margin: 0 auto;
|
|
1342
|
-
bottom: 1rem;
|
|
1343
|
-
right: 1rem;
|
|
1344
|
-
left: auto;
|
|
1345
|
-
top: auto;
|
|
1346
|
-
@media (min-width: 500px) {
|
|
1347
|
-
bottom: 2rem;
|
|
1348
|
-
right: 2rem;
|
|
1349
|
-
width: 300px;
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
._Toast_13rvx_17 {
|
|
1353
|
-
--gap: 0.75rem;
|
|
1354
|
-
--offset-y: calc( var(--toast-offset-y) * -1 + (var(--toast-index) * var(--gap) * -1) + var(--toast-swipe-movement-y) );
|
|
1355
|
-
position: absolute;
|
|
1356
|
-
right: 0;
|
|
1357
|
-
margin: 0 auto;
|
|
1358
|
-
box-sizing: border-box;
|
|
1359
|
-
background: var(--puck-color-white);
|
|
1360
|
-
color: var(--puck-color-grey-01);
|
|
1361
|
-
border: 1px solid var(--puck-color-grey-09);
|
|
1362
|
-
padding: 1rem;
|
|
1363
|
-
width: 100%;
|
|
1364
|
-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
1365
|
-
background-clip: padding-box;
|
|
1366
|
-
border-radius: 0.5rem;
|
|
1367
|
-
bottom: 0;
|
|
1368
|
-
left: auto;
|
|
1369
|
-
margin-right: 0;
|
|
1370
|
-
-webkit-user-select: none;
|
|
1371
|
-
user-select: none;
|
|
1372
|
-
transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s;
|
|
1373
|
-
cursor: default;
|
|
1374
|
-
z-index: calc(1000 - var(--toast-index));
|
|
1375
|
-
transform: translateX(var(--toast-swipe-movement-x)) translateY(calc(var(--toast-swipe-movement-y) + (min(var(--toast-index), 10) * -20%))) scale(calc(max(0, 1 - (var(--toast-index) * 0.1))));
|
|
1376
|
-
&::after {
|
|
1377
|
-
content: "";
|
|
1378
|
-
position: absolute;
|
|
1379
|
-
width: 100%;
|
|
1380
|
-
top: 100%;
|
|
1381
|
-
left: 0;
|
|
1382
|
-
height: calc(var(--gap) + 1px);
|
|
1383
|
-
}
|
|
1384
|
-
&[data-expanded] {
|
|
1385
|
-
transform: translateX(var(--toast-swipe-movement-x)) translateY(var(--offset-y));
|
|
1386
|
-
}
|
|
1387
|
-
&[data-starting-style],
|
|
1388
|
-
&[data-ending-style] {
|
|
1389
|
-
transform: translateY(150%);
|
|
1390
|
-
}
|
|
1391
|
-
&[data-limited] {
|
|
1392
|
-
opacity: 0;
|
|
1393
|
-
}
|
|
1394
|
-
&[data-ending-style] {
|
|
1395
|
-
opacity: 0;
|
|
1396
|
-
&[data-swipe-direction=up] {
|
|
1397
|
-
transform: translateY(calc(var(--toast-swipe-movement-y) - 150%));
|
|
1398
|
-
}
|
|
1399
|
-
&[data-swipe-direction=left] {
|
|
1400
|
-
transform: translateX(calc(var(--toast-swipe-movement-x) - 150%)) translateY(var(--offset-y));
|
|
1401
|
-
}
|
|
1402
|
-
&[data-swipe-direction=right] {
|
|
1403
|
-
transform: translateX(calc(var(--toast-swipe-movement-x) + 150%)) translateY(var(--offset-y));
|
|
1404
|
-
}
|
|
1405
|
-
&[data-swipe-direction=down] {
|
|
1406
|
-
transform: translateY(calc(var(--toast-swipe-movement-y) + 150%));
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
._Title_13rvx_95 {
|
|
1411
|
-
font-weight: 500;
|
|
1412
|
-
font-size: 0.975rem;
|
|
1413
|
-
line-height: 1.25rem;
|
|
1414
|
-
margin: 0;
|
|
1415
|
-
}
|
|
1416
|
-
._Description_13rvx_102 {
|
|
1417
|
-
font-size: 0.925rem;
|
|
1418
|
-
line-height: 1.25rem;
|
|
1419
|
-
margin: 0;
|
|
1420
|
-
margin-top: 0.25rem;
|
|
1421
|
-
}
|
|
1422
|
-
._Action_13rvx_109 {
|
|
1423
|
-
appearance: none;
|
|
1424
|
-
background: var(--puck-color-azure-04);
|
|
1425
|
-
border: 1px solid transparent;
|
|
1426
|
-
border-radius: 8px;
|
|
1427
|
-
color: var(--puck-color-white);
|
|
1428
|
-
display: inline-flex;
|
|
1429
|
-
align-items: center;
|
|
1430
|
-
gap: 8px;
|
|
1431
|
-
letter-spacing: 0.05ch;
|
|
1432
|
-
font-family: var(--puck-font-family);
|
|
1433
|
-
font-size: 14px;
|
|
1434
|
-
font-weight: 400;
|
|
1435
|
-
box-sizing: border-box;
|
|
1436
|
-
line-height: 1;
|
|
1437
|
-
text-align: center;
|
|
1438
|
-
text-decoration: none;
|
|
1439
|
-
transition: background-color 50ms ease-in;
|
|
1440
|
-
cursor: pointer;
|
|
1441
|
-
white-space: nowrap;
|
|
1442
|
-
margin: 8px 0 0;
|
|
1443
|
-
padding: 8px 12px;
|
|
1444
|
-
}
|
|
1445
|
-
@media (hover: hover) and (pointer: fine) {
|
|
1446
|
-
._Action_13rvx_109:hover {
|
|
1447
|
-
background-color: var(--puck-color-azure-03);
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
._Action_13rvx_109:active {
|
|
1451
|
-
background-color: var(--puck-color-azure-02);
|
|
1452
|
-
}
|
|
1453
|
-
._Close_13rvx_143 {
|
|
1454
|
-
position: absolute;
|
|
1455
|
-
top: 0.5rem;
|
|
1456
|
-
right: 0.5rem;
|
|
1457
|
-
border: none;
|
|
1458
|
-
background: transparent;
|
|
1459
|
-
width: 1.25rem;
|
|
1460
|
-
height: 1.25rem;
|
|
1461
|
-
display: flex;
|
|
1462
|
-
align-items: center;
|
|
1463
|
-
justify-content: center;
|
|
1464
|
-
border-radius: 0.25rem;
|
|
1465
|
-
}
|
|
1466
|
-
@media (hover: hover) and (pointer: fine) {
|
|
1467
|
-
._Close_13rvx_143:hover {
|
|
1468
|
-
background-color: var(--puck-color-grey-11);
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
._Icon_13rvx_163 {
|
|
1472
|
-
width: 1rem;
|
|
1473
|
-
height: 1rem;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
/* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
|
|
1476
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
|
|
1477
1477
|
._VerticalSpace_1tjaw_1 {
|
|
1478
1478
|
padding-top: 16px;
|
|
1479
1479
|
}
|
|
@@ -1505,7 +1505,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1505
1505
|
padding-top: 128px;
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
1508
|
-
/* css-module:/
|
|
1508
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Viewport/styles.module.css/#css-module-data */
|
|
1509
1509
|
._Viewport_1vvhm_3 {
|
|
1510
1510
|
}
|
|
1511
1511
|
._Viewport--standard_1vvhm_6,
|
|
@@ -1540,7 +1540,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
1542
|
|
|
1543
|
-
/* css-module:/
|
|
1543
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/PagePlugin/styles.module.css/#css-module-data */
|
|
1544
1544
|
._Pages_ey49w_5 {
|
|
1545
1545
|
display: flex;
|
|
1546
1546
|
flex-direction: column;
|
|
@@ -1720,7 +1720,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1720
1720
|
white-space: nowrap;
|
|
1721
1721
|
}
|
|
1722
1722
|
|
|
1723
|
-
/* css-module:/
|
|
1723
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/CreateForm/styles.module.css/#css-module-data */
|
|
1724
1724
|
._CreateForm_kkdt2_1 {
|
|
1725
1725
|
width: 100%;
|
|
1726
1726
|
}
|
|
@@ -1765,7 +1765,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1765
1765
|
line-height: 1.2;
|
|
1766
1766
|
}
|
|
1767
1767
|
|
|
1768
|
-
/* css-module:/
|
|
1768
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/ConfirmModal/styles.module.css/#css-module-data */
|
|
1769
1769
|
._ConfirmModal_1r63q_1 {
|
|
1770
1770
|
width: 100%;
|
|
1771
1771
|
}
|
|
@@ -1836,7 +1836,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1836
1836
|
padding: 16px 24px;
|
|
1837
1837
|
}
|
|
1838
1838
|
|
|
1839
|
-
/* css-module:/
|
|
1839
|
+
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/HeaderActions/styles.module.css/#css-module-data */
|
|
1840
1840
|
._HeaderActions_1dhws_1 {
|
|
1841
1841
|
position: relative;
|
|
1842
1842
|
display: inline-flex;
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
type PagePluginOptions = {
|
|
5
|
+
host?: string;
|
|
6
|
+
siteId?: string;
|
|
7
|
+
parentOrigin?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
declare function createPagesPlugin(opts?: PagePluginOptions): {
|
|
11
|
+
label: string;
|
|
12
|
+
name: string;
|
|
13
|
+
render: () => react_jsx_runtime.JSX.Element;
|
|
14
|
+
icon: react_jsx_runtime.JSX.Element;
|
|
15
|
+
overrides: {
|
|
16
|
+
headerActions: () => react_jsx_runtime.JSX.Element;
|
|
17
|
+
preview: ({ children }: {
|
|
18
|
+
children: react.ReactNode;
|
|
19
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { createPagesPlugin };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
type PagePluginOptions = {
|
|
5
|
+
host?: string;
|
|
6
|
+
siteId?: string;
|
|
7
|
+
parentOrigin?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
declare function createPagesPlugin(opts?: PagePluginOptions): {
|
|
11
|
+
label: string;
|
|
12
|
+
name: string;
|
|
13
|
+
render: () => react_jsx_runtime.JSX.Element;
|
|
14
|
+
icon: react_jsx_runtime.JSX.Element;
|
|
15
|
+
overrides: {
|
|
16
|
+
headerActions: () => react_jsx_runtime.JSX.Element;
|
|
17
|
+
preview: ({ children }: {
|
|
18
|
+
children: react.ReactNode;
|
|
19
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { createPagesPlugin };
|