@measured/puck 0.14.0-canary.03dd90b → 0.14.0-canary.053d4c6
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/README.md +8 -0
- package/dist/{Config-29dc2731.d.ts → Config-09628f3c.d.ts} +17 -24
- package/dist/index.css +136 -111
- package/dist/index.d.ts +53 -48
- package/dist/index.js +445 -389
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +4 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
@@ -137,7 +137,7 @@
|
|
137
137
|
/* styles.css */
|
138
138
|
|
139
139
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Button/Button.module.css/#css-module-data */
|
140
|
-
.
|
140
|
+
._Button_1t64k_1 {
|
141
141
|
appearance: none;
|
142
142
|
background: none;
|
143
143
|
border: 1px solid transparent;
|
@@ -159,67 +159,69 @@
|
|
159
159
|
white-space: nowrap;
|
160
160
|
margin: 0;
|
161
161
|
}
|
162
|
-
.
|
163
|
-
.
|
162
|
+
._Button_1t64k_1:hover,
|
163
|
+
._Button_1t64k_1:active {
|
164
164
|
transition: none;
|
165
165
|
}
|
166
|
-
._Button--
|
166
|
+
._Button--medium_1t64k_29 {
|
167
167
|
min-height: 34px;
|
168
168
|
padding-bottom: 7px;
|
169
169
|
padding-left: 19px;
|
170
170
|
padding-right: 19px;
|
171
171
|
padding-top: 7px;
|
172
172
|
}
|
173
|
-
._Button--
|
173
|
+
._Button--large_1t64k_37 {
|
174
174
|
padding-bottom: 11px;
|
175
175
|
padding-left: 19px;
|
176
176
|
padding-right: 19px;
|
177
177
|
padding-top: 11px;
|
178
178
|
}
|
179
|
-
._Button-
|
179
|
+
._Button-icon_1t64k_44 {
|
180
180
|
margin-top: 2px;
|
181
181
|
}
|
182
|
-
._Button--
|
182
|
+
._Button--primary_1t64k_48 {
|
183
183
|
background: var(--puck-color-azure-04);
|
184
184
|
}
|
185
|
-
.
|
185
|
+
._Button_1t64k_1:focus-visible {
|
186
186
|
outline: 2px solid var(--puck-color-azure-05);
|
187
187
|
outline-offset: 2px;
|
188
188
|
}
|
189
189
|
@media (hover: hover) and (pointer: fine) {
|
190
|
-
._Button--
|
190
|
+
._Button--primary_1t64k_48:hover {
|
191
191
|
background-color: var(--puck-color-azure-03);
|
192
192
|
}
|
193
193
|
}
|
194
|
-
._Button--
|
194
|
+
._Button--primary_1t64k_48:active {
|
195
195
|
background-color: var(--puck-color-azure-02);
|
196
196
|
}
|
197
|
-
._Button--
|
198
|
-
border: 1px solid
|
199
|
-
color:
|
197
|
+
._Button--secondary_1t64k_67 {
|
198
|
+
border: 1px solid currentColor;
|
199
|
+
color: currentColor;
|
200
200
|
}
|
201
201
|
@media (hover: hover) and (pointer: fine) {
|
202
|
-
._Button--
|
202
|
+
._Button--secondary_1t64k_67:hover {
|
203
203
|
background-color: var(--puck-color-azure-12);
|
204
|
+
color: var(--puck-color-black);
|
204
205
|
}
|
205
206
|
}
|
206
|
-
._Button--
|
207
|
+
._Button--secondary_1t64k_67:active {
|
207
208
|
background-color: var(--puck-color-azure-11);
|
209
|
+
color: var(--puck-color-black);
|
208
210
|
}
|
209
|
-
._Button--
|
211
|
+
._Button--flush_1t64k_84 {
|
210
212
|
border-radius: 0;
|
211
213
|
}
|
212
|
-
._Button--
|
213
|
-
._Button--
|
214
|
+
._Button--disabled_1t64k_88,
|
215
|
+
._Button--disabled_1t64k_88:hover {
|
214
216
|
background-color: var(--puck-color-grey-07);
|
215
217
|
color: var(--puck-color-grey-03);
|
216
218
|
cursor: not-allowed;
|
217
219
|
}
|
218
|
-
._Button--
|
220
|
+
._Button--fullWidth_1t64k_95 {
|
219
221
|
justify-content: center;
|
220
222
|
width: 100%;
|
221
223
|
}
|
222
|
-
._Button-
|
224
|
+
._Button-spinner_1t64k_100 {
|
223
225
|
padding-left: 8px;
|
224
226
|
}
|
225
227
|
|
@@ -419,7 +421,7 @@
|
|
419
421
|
}
|
420
422
|
|
421
423
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css/#css-module-data */
|
422
|
-
.
|
424
|
+
._DropZone_w4btq_1 {
|
423
425
|
margin-left: auto;
|
424
426
|
margin-right: auto;
|
425
427
|
position: relative;
|
@@ -427,36 +429,36 @@
|
|
427
429
|
outline-offset: -1px;
|
428
430
|
width: 100%;
|
429
431
|
}
|
430
|
-
._DropZone-
|
432
|
+
._DropZone-content_w4btq_10 {
|
431
433
|
min-height: 128px;
|
432
434
|
height: 100%;
|
433
435
|
}
|
434
|
-
._DropZone--
|
436
|
+
._DropZone--userIsDragging_w4btq_15 ._DropZone-content_w4btq_10 {
|
435
437
|
pointer-events: all;
|
436
438
|
}
|
437
|
-
._DropZone--
|
439
|
+
._DropZone--userIsDragging_w4btq_15:not(._DropZone--draggingOverArea_w4btq_19):not(._DropZone--draggingNewComponent_w4btq_20) > ._DropZone-content_w4btq_10 {
|
438
440
|
pointer-events: none;
|
439
441
|
}
|
440
|
-
._DropZone--
|
441
|
-
._DropZone--
|
442
|
-
._DropZone--
|
442
|
+
._DropZone--isAreaSelected_w4btq_26,
|
443
|
+
._DropZone--draggingOverArea_w4btq_19:not(:has(._DropZone--hoveringOverArea_w4btq_27)),
|
444
|
+
._DropZone--hoveringOverArea_w4btq_27:not(._DropZone--isDisabled_w4btq_28):not(._DropZone--isRootZone_w4btq_29):not(._DropZone--hasChildren_w4btq_30) {
|
443
445
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
444
446
|
outline: 2px dashed var(--puck-color-azure-08);
|
445
447
|
}
|
446
|
-
.
|
448
|
+
._DropZone_w4btq_1:not(._DropZone--hasChildren_w4btq_30) {
|
447
449
|
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent);
|
448
450
|
outline: 2px dashed var(--puck-color-azure-08);
|
449
451
|
}
|
450
|
-
._DropZone--
|
452
|
+
._DropZone--isDestination_w4btq_40 {
|
451
453
|
outline: 2px dashed var(--puck-color-azure-04) !important;
|
452
454
|
}
|
453
|
-
._DropZone--
|
454
|
-
background: var(--puck-color-azure-
|
455
|
+
._DropZone--isDestination_w4btq_40:not(._DropZone--isRootZone_w4btq_29) {
|
456
|
+
background: color-mix(in srgb, var(--puck-color-azure-09) 30%, transparent) !important;
|
455
457
|
}
|
456
|
-
._DropZone-
|
458
|
+
._DropZone-item_w4btq_52 {
|
457
459
|
position: relative;
|
458
460
|
}
|
459
|
-
._DropZone-
|
461
|
+
._DropZone-hitbox_w4btq_56 {
|
460
462
|
position: absolute;
|
461
463
|
bottom: -12px;
|
462
464
|
height: 24px;
|
@@ -674,9 +676,9 @@
|
|
674
676
|
}
|
675
677
|
|
676
678
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
677
|
-
.
|
679
|
+
._Puck_u70b9_19 {
|
678
680
|
--puck-frame-width: auto;
|
679
|
-
--puck-side-bar-width:
|
681
|
+
--puck-side-bar-width: 0px;
|
680
682
|
--puck-space-px: 16px;
|
681
683
|
bottom: 0;
|
682
684
|
display: grid;
|
@@ -690,51 +692,54 @@
|
|
690
692
|
right: 0;
|
691
693
|
top: 0;
|
692
694
|
}
|
693
|
-
._Puck--
|
695
|
+
._Puck--mounted_u70b9_36 {
|
696
|
+
--puck-side-bar-width: 186px;
|
697
|
+
}
|
698
|
+
._Puck--leftSideBarVisible_u70b9_40 {
|
694
699
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
695
700
|
}
|
696
|
-
._Puck--
|
701
|
+
._Puck--rightSideBarVisible_u70b9_46 {
|
697
702
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
698
703
|
}
|
699
|
-
._Puck--
|
704
|
+
._Puck--leftSideBarVisible_u70b9_40._Puck--rightSideBarVisible_u70b9_46 {
|
700
705
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
701
706
|
}
|
702
707
|
@media (min-width: 458px) {
|
703
|
-
.
|
708
|
+
._Puck-mounted_u70b9_59 {
|
704
709
|
--puck-frame-width: minmax(266px, auto);
|
705
710
|
}
|
706
711
|
}
|
707
712
|
@media (min-width: 638px) {
|
708
|
-
.
|
713
|
+
._Puck_u70b9_19 {
|
709
714
|
--puck-side-bar-width: minmax(186px, 250px);
|
710
715
|
}
|
711
716
|
}
|
712
717
|
@media (min-width: 766px) {
|
713
|
-
.
|
718
|
+
._Puck_u70b9_19 {
|
714
719
|
--puck-frame-width: auto;
|
715
720
|
}
|
716
721
|
}
|
717
722
|
@media (min-width: 990px) {
|
718
|
-
.
|
723
|
+
._Puck_u70b9_19 {
|
719
724
|
--puck-side-bar-width: 256px;
|
720
725
|
}
|
721
726
|
}
|
722
727
|
@media (min-width: 1198px) {
|
723
|
-
.
|
728
|
+
._Puck_u70b9_19 {
|
724
729
|
--puck-side-bar-width: 274px;
|
725
730
|
}
|
726
731
|
}
|
727
732
|
@media (min-width: 1398px) {
|
728
|
-
.
|
733
|
+
._Puck_u70b9_19 {
|
729
734
|
--puck-side-bar-width: 290px;
|
730
735
|
}
|
731
736
|
}
|
732
737
|
@media (min-width: 1598px) {
|
733
|
-
.
|
738
|
+
._Puck_u70b9_19 {
|
734
739
|
--puck-side-bar-width: 320px;
|
735
740
|
}
|
736
741
|
}
|
737
|
-
._Puck-
|
742
|
+
._Puck-header_u70b9_100 {
|
738
743
|
background: var(--puck-color-white);
|
739
744
|
border-bottom: 1px solid var(--puck-color-grey-09);
|
740
745
|
color: var(--puck-color-black);
|
@@ -742,7 +747,7 @@
|
|
742
747
|
position: relative;
|
743
748
|
max-width: 100vw;
|
744
749
|
}
|
745
|
-
._Puck-
|
750
|
+
._Puck-headerInner_u70b9_109 {
|
746
751
|
align-items: end;
|
747
752
|
display: grid;
|
748
753
|
gap: var(--puck-space-px);
|
@@ -751,43 +756,43 @@
|
|
751
756
|
grid-template-rows: auto;
|
752
757
|
padding: var(--puck-space-px);
|
753
758
|
}
|
754
|
-
._Puck-
|
759
|
+
._Puck-headerToggle_u70b9_119 {
|
755
760
|
color: var(--puck-color-grey-05);
|
756
761
|
display: flex;
|
757
762
|
margin-left: -4px;
|
758
763
|
padding-top: 2px;
|
759
764
|
}
|
760
|
-
._Puck--
|
761
|
-
._Puck--
|
765
|
+
._Puck--rightSideBarVisible_u70b9_46 ._Puck-rightSideBarToggle_u70b9_126,
|
766
|
+
._Puck--leftSideBarVisible_u70b9_40 ._Puck-leftSideBarToggle_u70b9_127 {
|
762
767
|
color: var(--puck-color-black);
|
763
768
|
}
|
764
|
-
._Puck-
|
769
|
+
._Puck-headerTitle_u70b9_131 {
|
765
770
|
align-self: center;
|
766
771
|
}
|
767
|
-
._Puck-
|
772
|
+
._Puck-headerPath_u70b9_135 {
|
768
773
|
font-family: var(--puck-font-family-monospaced);
|
769
774
|
font-size: var(--puck-font-size-xxs);
|
770
775
|
font-weight: normal;
|
771
776
|
word-break: break-all;
|
772
777
|
}
|
773
|
-
._Puck-
|
778
|
+
._Puck-headerTools_u70b9_142 {
|
774
779
|
display: flex;
|
775
780
|
gap: 16px;
|
776
781
|
justify-content: flex-end;
|
777
782
|
}
|
778
|
-
._Puck-
|
783
|
+
._Puck-menuButton_u70b9_148 {
|
779
784
|
color: var(--puck-color-grey-05);
|
780
785
|
margin-left: -4px;
|
781
786
|
}
|
782
|
-
._Puck--
|
787
|
+
._Puck--menuOpen_u70b9_153 ._Puck-menuButton_u70b9_148 {
|
783
788
|
color: var(--puck-color-black);
|
784
789
|
}
|
785
790
|
@media (min-width: 638px) {
|
786
|
-
._Puck-
|
791
|
+
._Puck-menuButton_u70b9_148 {
|
787
792
|
display: none;
|
788
793
|
}
|
789
794
|
}
|
790
|
-
._Puck-
|
795
|
+
._Puck-leftSideBar_u70b9_127 {
|
791
796
|
background: var(--puck-color-grey-12);
|
792
797
|
border-right: 1px solid var(--puck-color-grey-09);
|
793
798
|
display: flex;
|
@@ -795,7 +800,7 @@
|
|
795
800
|
grid-area: left;
|
796
801
|
overflow-y: auto;
|
797
802
|
}
|
798
|
-
._Puck-
|
803
|
+
._Puck-rightSideBar_u70b9_126 {
|
799
804
|
background: var(--puck-color-white);
|
800
805
|
border-left: 1px solid var(--puck-color-grey-09);
|
801
806
|
display: flex;
|
@@ -803,6 +808,9 @@
|
|
803
808
|
grid-area: right;
|
804
809
|
overflow-y: auto;
|
805
810
|
}
|
811
|
+
._Puck-portal_u70b9_181 {
|
812
|
+
z-index: 2;
|
813
|
+
}
|
806
814
|
|
807
815
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css/#css-module-data */
|
808
816
|
._Input_1qi5b_1 {
|
@@ -966,78 +974,89 @@ textarea._Input-input_1qi5b_46 {
|
|
966
974
|
}
|
967
975
|
|
968
976
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css/#css-module-data */
|
969
|
-
.
|
977
|
+
._ArrayField_1lr58_5 {
|
970
978
|
display: flex;
|
971
979
|
flex-direction: column;
|
972
980
|
background-color: var(--puck-color-grey-09);
|
973
981
|
border: 1px solid var(--puck-color-grey-09);
|
974
982
|
border-radius: 4px;
|
975
983
|
}
|
976
|
-
._ArrayField--
|
984
|
+
._ArrayField--isDraggingFrom_1lr58_13 {
|
977
985
|
background-color: var(--puck-color-azure-11);
|
986
|
+
overflow: hidden;
|
978
987
|
}
|
979
|
-
._ArrayField-
|
988
|
+
._ArrayField-addButton_1lr58_18 {
|
980
989
|
background-color: var(--puck-color-white);
|
981
990
|
border: none;
|
982
|
-
border-radius:
|
991
|
+
border-radius: 3px;
|
983
992
|
display: flex;
|
984
993
|
color: var(--puck-color-azure-05);
|
985
994
|
justify-content: center;
|
986
995
|
cursor: pointer;
|
987
996
|
width: 100%;
|
988
997
|
margin: 0;
|
989
|
-
padding:
|
998
|
+
padding: 14px;
|
990
999
|
text-align: left;
|
991
1000
|
transition: background-color 50ms ease-in;
|
992
1001
|
}
|
993
|
-
._ArrayField--
|
1002
|
+
._ArrayField--hasItems_1lr58_33 > ._ArrayField-addButton_1lr58_18 {
|
1003
|
+
border-top: 1px solid var(--puck-color-grey-09);
|
994
1004
|
border-top-left-radius: 0;
|
995
1005
|
border-top-right-radius: 0;
|
996
1006
|
}
|
997
|
-
._ArrayField-
|
1007
|
+
._ArrayField-addButton_1lr58_18:focus-visible {
|
998
1008
|
outline: 2px solid var(--puck-color-azure-05);
|
999
1009
|
outline-offset: 2px;
|
1000
1010
|
position: relative;
|
1001
1011
|
}
|
1002
1012
|
@media (hover: hover) and (pointer: fine) {
|
1003
|
-
.
|
1013
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:hover {
|
1004
1014
|
background: var(--puck-color-azure-12);
|
1005
1015
|
color: var(--puck-color-azure-04);
|
1006
1016
|
transition: none;
|
1007
1017
|
}
|
1008
1018
|
}
|
1009
|
-
.
|
1019
|
+
._ArrayField_1lr58_5:not(._ArrayField--isDraggingFrom_1lr58_13) > ._ArrayField-addButton_1lr58_18:active {
|
1010
1020
|
background: var(--puck-color-azure-11);
|
1011
1021
|
color: var(--puck-color-azure-04);
|
1012
1022
|
transition: none;
|
1013
1023
|
}
|
1014
|
-
.
|
1015
|
-
|
1016
|
-
border-top-
|
1017
|
-
border-top-right-radius: 4px;
|
1024
|
+
._ArrayFieldItem_1lr58_63 {
|
1025
|
+
border-top-left-radius: 3px;
|
1026
|
+
border-top-right-radius: 3px;
|
1018
1027
|
display: block;
|
1019
|
-
|
1028
|
+
position: relative;
|
1020
1029
|
}
|
1021
|
-
.
|
1022
|
-
|
1023
|
-
|
1030
|
+
._ArrayFieldItem_1lr58_63:not(._ArrayFieldItem--isDragging_1lr58_71):not(:first-of-type)::before {
|
1031
|
+
background-color: var(--puck-color-grey-09);
|
1032
|
+
position: absolute;
|
1033
|
+
width: 100%;
|
1034
|
+
height: 1px;
|
1035
|
+
content: "";
|
1036
|
+
z-index: 1;
|
1037
|
+
top: -1px;
|
1038
|
+
}
|
1039
|
+
._ArrayFieldItem--isExpanded_1lr58_81::before {
|
1040
|
+
display: none;
|
1024
1041
|
}
|
1025
|
-
._ArrayFieldItem--
|
1042
|
+
._ArrayFieldItem--isExpanded_1lr58_81 {
|
1026
1043
|
border-bottom: 0;
|
1027
1044
|
outline-offset: 0px !important;
|
1028
1045
|
outline: 1px solid var(--puck-color-azure-07) !important;
|
1046
|
+
z-index: 2;
|
1029
1047
|
}
|
1030
|
-
._ArrayFieldItem--
|
1048
|
+
._ArrayFieldItem--isDragging_1lr58_71 {
|
1031
1049
|
box-shadow: color-mix(in srgb, var(--puck-color-grey-06) 25%, transparent) 0 3px 6px 0;
|
1032
1050
|
}
|
1033
|
-
._ArrayFieldItem--
|
1051
|
+
._ArrayFieldItem--isDragging_1lr58_71 ._ArrayFieldItem-summary_1lr58_97:active {
|
1034
1052
|
background-color: var(--puck-color-white);
|
1035
1053
|
}
|
1036
|
-
.
|
1054
|
+
._ArrayFieldItem_1lr58_63 + ._ArrayFieldItem_1lr58_63 {
|
1037
1055
|
border-top-left-radius: 0;
|
1038
1056
|
border-top-right-radius: 0;
|
1039
1057
|
}
|
1040
|
-
._ArrayFieldItem-
|
1058
|
+
._ArrayFieldItem-summary_1lr58_97 {
|
1059
|
+
background: var(--puck-color-white);
|
1041
1060
|
color: var(--puck-color-grey-04);
|
1042
1061
|
cursor: pointer;
|
1043
1062
|
display: flex;
|
@@ -1047,63 +1066,69 @@ textarea._Input-input_1qi5b_46 {
|
|
1047
1066
|
font-size: var(--puck-font-size-xxs);
|
1048
1067
|
list-style: none;
|
1049
1068
|
padding: 12px 15px;
|
1069
|
+
padding-bottom: 13px;
|
1050
1070
|
position: relative;
|
1051
1071
|
overflow: hidden;
|
1052
1072
|
transition: background-color 50ms ease-in;
|
1053
1073
|
}
|
1054
|
-
.
|
1055
|
-
|
1056
|
-
|
1074
|
+
._ArrayFieldItem_1lr58_63:first-of-type > ._ArrayFieldItem-summary_1lr58_97 {
|
1075
|
+
border-top-left-radius: 3px;
|
1076
|
+
border-top-right-radius: 3px;
|
1057
1077
|
}
|
1058
|
-
.
|
1059
|
-
border-
|
1060
|
-
border-
|
1078
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem_1lr58_63:last-of-type:not(._ArrayFieldItem--isExpanded_1lr58_81) > ._ArrayFieldItem-summary_1lr58_97 {
|
1079
|
+
border-bottom-left-radius: 3px;
|
1080
|
+
border-bottom-right-radius: 3px;
|
1061
1081
|
}
|
1062
|
-
._ArrayFieldItem
|
1082
|
+
._ArrayField--addDisabled_1lr58_128 > ._ArrayFieldItem--isExpanded_1lr58_81:last-of-type {
|
1083
|
+
border-bottom-left-radius: 3px;
|
1084
|
+
border-bottom-right-radius: 3px;
|
1085
|
+
}
|
1086
|
+
._ArrayFieldItem-summary_1lr58_97:focus-visible {
|
1063
1087
|
outline: 2px solid var(--puck-color-azure-05);
|
1064
1088
|
outline-offset: 2px;
|
1065
1089
|
}
|
1066
1090
|
@media (hover: hover) and (pointer: fine) {
|
1067
|
-
._ArrayFieldItem-
|
1091
|
+
._ArrayFieldItem-summary_1lr58_97:hover {
|
1068
1092
|
background-color: var(--puck-color-azure-12);
|
1069
1093
|
transition: none;
|
1070
1094
|
}
|
1071
1095
|
}
|
1072
|
-
._ArrayFieldItem-
|
1096
|
+
._ArrayFieldItem-summary_1lr58_97:active {
|
1073
1097
|
background-color: var(--puck-color-azure-11);
|
1074
1098
|
transition: none;
|
1075
1099
|
}
|
1076
|
-
._ArrayFieldItem--
|
1100
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-summary_1lr58_97 {
|
1077
1101
|
background: var(--puck-color-azure-11);
|
1078
1102
|
color: var(--puck-color-azure-04);
|
1079
1103
|
font-weight: 600;
|
1080
1104
|
transition: none;
|
1081
1105
|
}
|
1082
|
-
._ArrayFieldItem-
|
1106
|
+
._ArrayFieldItem-body_1lr58_164 {
|
1107
|
+
background: var(--puck-color-white);
|
1083
1108
|
display: none;
|
1084
1109
|
}
|
1085
|
-
._ArrayFieldItem--
|
1110
|
+
._ArrayFieldItem--isExpanded_1lr58_81 > ._ArrayFieldItem-body_1lr58_164 {
|
1086
1111
|
display: block;
|
1087
1112
|
}
|
1088
|
-
._ArrayFieldItem-
|
1113
|
+
._ArrayFieldItem-fieldset_1lr58_173 {
|
1089
1114
|
border: none;
|
1090
1115
|
border-top: 1px solid var(--puck-color-grey-09);
|
1091
1116
|
margin: 0;
|
1092
1117
|
padding: 16px 15px;
|
1093
1118
|
}
|
1094
|
-
._ArrayFieldItem-
|
1119
|
+
._ArrayFieldItem-rhs_1lr58_180 {
|
1095
1120
|
display: flex;
|
1096
1121
|
gap: 4px;
|
1097
1122
|
align-items: center;
|
1098
1123
|
}
|
1099
|
-
._ArrayFieldItem-
|
1124
|
+
._ArrayFieldItem-actions_1lr58_186 {
|
1100
1125
|
color: var(--puck-color-grey-04);
|
1101
1126
|
display: flex;
|
1102
1127
|
gap: 4px;
|
1103
1128
|
opacity: 0;
|
1104
1129
|
}
|
1105
|
-
._ArrayFieldItem-
|
1106
|
-
._ArrayFieldItem-
|
1130
|
+
._ArrayFieldItem-summary_1lr58_97:focus-within > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186,
|
1131
|
+
._ArrayFieldItem-summary_1lr58_97:hover > ._ArrayFieldItem-rhs_1lr58_180 > ._ArrayFieldItem-actions_1lr58_186 {
|
1107
1132
|
opacity: 1;
|
1108
1133
|
}
|
1109
1134
|
|
@@ -1615,25 +1640,25 @@ textarea._Input-input_1qi5b_46 {
|
|
1615
1640
|
}
|
1616
1641
|
|
1617
1642
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
|
1618
|
-
.
|
1643
|
+
._ViewportControls_3zdvn_1 {
|
1619
1644
|
display: flex;
|
1620
1645
|
background: var(--puck-color-grey-11);
|
1621
1646
|
box-sizing: border-box;
|
1622
1647
|
border-left: 2px solid var(--puck-color-grey-11);
|
1623
1648
|
justify-content: center;
|
1624
1649
|
gap: 8px;
|
1625
|
-
min-width:
|
1650
|
+
min-width: 358px;
|
1626
1651
|
padding-bottom: 16px;
|
1627
1652
|
padding-left: var(--puck-space-px);
|
1628
1653
|
padding-right: var(--puck-space-px);
|
1629
1654
|
z-index: 1;
|
1630
1655
|
}
|
1631
|
-
._ViewportControls-
|
1656
|
+
._ViewportControls-divider_3zdvn_15 {
|
1632
1657
|
border-right: 1px solid var(--puck-color-grey-09);
|
1633
1658
|
margin-left: 8px;
|
1634
1659
|
margin-right: 8px;
|
1635
1660
|
}
|
1636
|
-
._ViewportControls-
|
1661
|
+
._ViewportControls-zoomSelect_3zdvn_21 {
|
1637
1662
|
appearance: none;
|
1638
1663
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
|
1639
1664
|
background-size: 10px;
|
@@ -1643,12 +1668,12 @@ textarea._Input-input_1qi5b_46 {
|
|
1643
1668
|
font-size: var(--puck-font-size-xxxs);
|
1644
1669
|
width: 96px;
|
1645
1670
|
}
|
1646
|
-
._ViewportButton--
|
1671
|
+
._ViewportButton--isActive_3zdvn_33 ._ViewportButton-inner_3zdvn_33 {
|
1647
1672
|
color: var(--puck-color-azure-04);
|
1648
1673
|
}
|
1649
1674
|
|
1650
1675
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
|
1651
|
-
.
|
1676
|
+
._PuckCanvas_6zd4y_1 {
|
1652
1677
|
background: var(--puck-color-grey-11);
|
1653
1678
|
display: flex;
|
1654
1679
|
grid-area: editor;
|
@@ -1657,25 +1682,25 @@ textarea._Input-input_1qi5b_46 {
|
|
1657
1682
|
overflow: auto;
|
1658
1683
|
}
|
1659
1684
|
@media (min-width: 1198px) {
|
1660
|
-
.
|
1685
|
+
._PuckCanvas_6zd4y_1 {
|
1661
1686
|
padding: calc(var(--puck-space-px) * 1.5);
|
1662
1687
|
padding-top: var(--puck-space-px);
|
1663
1688
|
}
|
1664
|
-
.
|
1689
|
+
._PuckCanvas_6zd4y_1:not(._PuckCanvas_6zd4y_1:has(._PuckCanvas-controls_6zd4y_16)) {
|
1665
1690
|
padding-top: calc(var(--puck-space-px) * 1.5);
|
1666
1691
|
}
|
1667
1692
|
}
|
1668
|
-
._PuckCanvas-
|
1693
|
+
._PuckCanvas-inner_6zd4y_21 {
|
1669
1694
|
box-sizing: border-box;
|
1670
1695
|
display: flex;
|
1671
1696
|
height: 100%;
|
1672
1697
|
justify-content: center;
|
1673
|
-
min-width:
|
1698
|
+
min-width: 358px;
|
1674
1699
|
overflow: hidden;
|
1675
1700
|
position: relative;
|
1676
1701
|
width: 100%;
|
1677
1702
|
}
|
1678
|
-
._PuckCanvas-
|
1703
|
+
._PuckCanvas-root_6zd4y_32 {
|
1679
1704
|
background: white;
|
1680
1705
|
border: 1px solid var(--puck-color-grey-09);
|
1681
1706
|
box-sizing: border-box;
|
@@ -1687,16 +1712,16 @@ textarea._Input-input_1qi5b_46 {
|
|
1687
1712
|
opacity: 0;
|
1688
1713
|
}
|
1689
1714
|
@media (min-width: 1198px) {
|
1690
|
-
._PuckCanvas-
|
1715
|
+
._PuckCanvas-root_6zd4y_32 {
|
1691
1716
|
min-width: unset;
|
1692
1717
|
}
|
1693
1718
|
}
|
1694
1719
|
@media (prefers-reduced-motion: reduce) {
|
1695
|
-
._PuckCanvas-
|
1720
|
+
._PuckCanvas-root_6zd4y_32 {
|
1696
1721
|
transition: none !important;
|
1697
1722
|
}
|
1698
1723
|
}
|
1699
|
-
._PuckCanvas--
|
1724
|
+
._PuckCanvas--ready_6zd4y_56 ._PuckCanvas-root_6zd4y_32 {
|
1700
1725
|
opacity: 1;
|
1701
1726
|
transition: opacity 150ms ease-out;
|
1702
1727
|
}
|