@measured/puck 0.21.0-canary.f5820ce9 → 0.21.0-canary.fee2ba98
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/Editor-EHVB6NFF.mjs +204 -0
- package/dist/Editor-F2LSS6SE.css +403 -0
- package/dist/Render-OFE6QLI2.mjs +55 -0
- package/dist/Render-QEMDIDQC.css +101 -0
- package/dist/{walk-tree-Ctf3FZQI.d.mts → actions-DwdqNb63.d.mts} +265 -75
- package/dist/{walk-tree-Ctf3FZQI.d.ts → actions-DwdqNb63.d.ts} +265 -75
- package/dist/chunk-2334PLLL.mjs +111 -0
- package/dist/chunk-4N3WJM5Y.mjs +33 -0
- package/dist/{chunk-AO6Y47WD.mjs → chunk-6AGLD64M.mjs} +4819 -6477
- package/dist/chunk-CSSRLPHM.mjs +11 -0
- package/dist/chunk-D6RJOV2Z.mjs +1727 -0
- package/dist/chunk-M6W7YEVX.mjs +95 -0
- package/dist/chunk-NLUHDYVR.mjs +416 -0
- package/dist/chunk-NQEE2254.mjs +706 -0
- package/dist/chunk-PXYVL42X.mjs +53 -0
- package/dist/chunk-QBGM4ELA.mjs +528 -0
- package/dist/chunk-QLQZDFXM.mjs +63 -0
- package/dist/chunk-T3WX7XJ6.mjs +132 -0
- package/dist/chunk-V5I7CVLT.mjs +103 -0
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/chunk-Y656T6AQ.mjs +419 -0
- package/dist/full-2GJTAAZE.css +301 -0
- package/dist/full-TVZATY2K.mjs +93 -0
- package/dist/index-AfAtzigt.d.ts +117 -0
- package/dist/index-jxA1wrW4.d.mts +117 -0
- package/dist/index.css +278 -22
- package/dist/index.d.mts +99 -113
- package/dist/index.d.ts +99 -113
- package/dist/index.js +6647 -3315
- package/dist/index.mjs +26 -12
- package/dist/internal.d.mts +27 -0
- package/dist/internal.d.ts +27 -0
- package/dist/internal.js +908 -0
- package/dist/internal.mjs +13 -0
- package/dist/loaded-ICVILKS6.mjs +60 -0
- package/dist/loaded-IHAGHNLA.mjs +57 -0
- package/dist/loaded-ONU7LATV.mjs +57 -0
- package/dist/loaded-RVWBFK7L.css +87 -0
- package/dist/no-external.css +425 -165
- package/dist/no-external.d.mts +19 -2
- package/dist/no-external.d.ts +19 -2
- package/dist/no-external.js +6646 -3311
- package/dist/no-external.mjs +28 -9
- package/dist/rsc.css +101 -0
- package/dist/rsc.d.mts +17 -2
- package/dist/rsc.d.ts +17 -2
- package/dist/rsc.js +417 -30
- package/dist/rsc.mjs +18 -9
- package/dist/walk-tree-DRy9ca1P.d.ts +29 -0
- package/dist/walk-tree-Dppc3XGY.d.mts +29 -0
- package/package.json +31 -4
- package/dist/chunk-VBJEDLUM.mjs +0 -965
package/dist/no-external.css
CHANGED
|
@@ -1,151 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
:root {
|
|
3
|
-
--puck-color-rose-01: #4a001c;
|
|
4
|
-
--puck-color-rose-02: #670833;
|
|
5
|
-
--puck-color-rose-03: #87114c;
|
|
6
|
-
--puck-color-rose-04: #a81a66;
|
|
7
|
-
--puck-color-rose-05: #bc5089;
|
|
8
|
-
--puck-color-rose-06: #cc7ca5;
|
|
9
|
-
--puck-color-rose-07: #d89aba;
|
|
10
|
-
--puck-color-rose-08: #e3b8cf;
|
|
11
|
-
--puck-color-rose-09: #efd6e3;
|
|
12
|
-
--puck-color-rose-10: #f6eaf1;
|
|
13
|
-
--puck-color-rose-11: #faf4f8;
|
|
14
|
-
--puck-color-rose-12: #fef8fc;
|
|
15
|
-
--puck-color-azure-01: #00175d;
|
|
16
|
-
--puck-color-azure-02: #002c77;
|
|
17
|
-
--puck-color-azure-03: #014292;
|
|
18
|
-
--puck-color-azure-04: #0158ad;
|
|
19
|
-
--puck-color-azure-05: #3479be;
|
|
20
|
-
--puck-color-azure-06: #6499cf;
|
|
21
|
-
--puck-color-azure-07: #88b0da;
|
|
22
|
-
--puck-color-azure-08: #abc7e5;
|
|
23
|
-
--puck-color-azure-09: #cfdff0;
|
|
24
|
-
--puck-color-azure-10: #e7eef7;
|
|
25
|
-
--puck-color-azure-11: #f3f6fb;
|
|
26
|
-
--puck-color-azure-12: #f7faff;
|
|
27
|
-
--puck-color-green-01: #002000;
|
|
28
|
-
--puck-color-green-02: #043604;
|
|
29
|
-
--puck-color-green-03: #084e08;
|
|
30
|
-
--puck-color-green-04: #0c680c;
|
|
31
|
-
--puck-color-green-05: #1d882f;
|
|
32
|
-
--puck-color-green-06: #2faa53;
|
|
33
|
-
--puck-color-green-07: #56c16f;
|
|
34
|
-
--puck-color-green-08: #7dd78b;
|
|
35
|
-
--puck-color-green-09: #b8e8bf;
|
|
36
|
-
--puck-color-green-10: #ddf3e0;
|
|
37
|
-
--puck-color-green-11: #eff8f0;
|
|
38
|
-
--puck-color-green-12: #f3fcf4;
|
|
39
|
-
--puck-color-yellow-01: #211000;
|
|
40
|
-
--puck-color-yellow-02: #362700;
|
|
41
|
-
--puck-color-yellow-03: #4c4000;
|
|
42
|
-
--puck-color-yellow-04: #645a00;
|
|
43
|
-
--puck-color-yellow-05: #877614;
|
|
44
|
-
--puck-color-yellow-06: #ab9429;
|
|
45
|
-
--puck-color-yellow-07: #bfac4e;
|
|
46
|
-
--puck-color-yellow-08: #d4c474;
|
|
47
|
-
--puck-color-yellow-09: #e6deb1;
|
|
48
|
-
--puck-color-yellow-10: #f3efd9;
|
|
49
|
-
--puck-color-yellow-11: #f9f7ed;
|
|
50
|
-
--puck-color-yellow-12: #fcfaf0;
|
|
51
|
-
--puck-color-red-01: #4c0000;
|
|
52
|
-
--puck-color-red-02: #6a0a10;
|
|
53
|
-
--puck-color-red-03: #8a1422;
|
|
54
|
-
--puck-color-red-04: #ac1f35;
|
|
55
|
-
--puck-color-red-05: #bf5366;
|
|
56
|
-
--puck-color-red-06: #ce7e8e;
|
|
57
|
-
--puck-color-red-07: #d99ca8;
|
|
58
|
-
--puck-color-red-08: #e4b9c2;
|
|
59
|
-
--puck-color-red-09: #efd7db;
|
|
60
|
-
--puck-color-red-10: #f6eaec;
|
|
61
|
-
--puck-color-red-11: #faf4f5;
|
|
62
|
-
--puck-color-red-12: #fff9fa;
|
|
63
|
-
--puck-color-grey-01: #181818;
|
|
64
|
-
--puck-color-grey-02: #292929;
|
|
65
|
-
--puck-color-grey-03: #404040;
|
|
66
|
-
--puck-color-grey-04: #5a5a5a;
|
|
67
|
-
--puck-color-grey-05: #767676;
|
|
68
|
-
--puck-color-grey-06: #949494;
|
|
69
|
-
--puck-color-grey-07: #ababab;
|
|
70
|
-
--puck-color-grey-08: #c3c3c3;
|
|
71
|
-
--puck-color-grey-09: #dcdcdc;
|
|
72
|
-
--puck-color-grey-10: #efefef;
|
|
73
|
-
--puck-color-grey-11: #f5f5f5;
|
|
74
|
-
--puck-color-grey-12: #fafafa;
|
|
75
|
-
--puck-color-black: #000000;
|
|
76
|
-
--puck-color-white: #ffffff;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* styles/typography.css */
|
|
80
|
-
:root {
|
|
81
|
-
--puck-font-size-scale-base-unitless: 12;
|
|
82
|
-
--puck-font-size-xxxs-unitless: 12;
|
|
83
|
-
--puck-font-size-xxs-unitless: 14;
|
|
84
|
-
--puck-font-size-xs-unitless: 16;
|
|
85
|
-
--puck-font-size-s-unitless: 18;
|
|
86
|
-
--puck-font-size-m-unitless: 21;
|
|
87
|
-
--puck-font-size-l-unitless: 24;
|
|
88
|
-
--puck-font-size-xl-unitless: 28;
|
|
89
|
-
--puck-font-size-xxl-unitless: 36;
|
|
90
|
-
--puck-font-size-xxxl-unitless: 48;
|
|
91
|
-
--puck-font-size-xxxxl-unitless: 56;
|
|
92
|
-
--puck-font-size-xxxs: calc(1rem * var(--puck-font-size-xxxs-unitless) / 16);
|
|
93
|
-
--puck-font-size-xxs: calc(1rem * var(--puck-font-size-xxs-unitless) / 16);
|
|
94
|
-
--puck-font-size-xs: calc(1rem * var(--puck-font-size-xs-unitless) / 16);
|
|
95
|
-
--puck-font-size-s: calc(1rem * var(--puck-font-size-s-unitless) / 16);
|
|
96
|
-
--puck-font-size-m: calc(1rem * var(--puck-font-size-m-unitless) / 16);
|
|
97
|
-
--puck-font-size-l: calc(1rem * var(--puck-font-size-l-unitless) / 16);
|
|
98
|
-
--puck-font-size-xl: calc(1rem * var(--puck-font-size-xl-unitless) / 16);
|
|
99
|
-
--puck-font-size-xxl: calc(1rem * var(--puck-font-size-xxl-unitless) / 16);
|
|
100
|
-
--puck-font-size-xxxl: calc(1rem * var(--puck-font-size-xxxl-unitless) / 16);
|
|
101
|
-
--puck-font-size-xxxxl: calc( 1rem * var(--puck-font-size-xxxxl-unitless) / 16 );
|
|
102
|
-
--puck-font-size-base: var(--puck-font-size-xs);
|
|
103
|
-
--line-height-reset: 1;
|
|
104
|
-
--line-height-xs: calc( var(--space-m-unitless) / var(--puck-font-size-m-unitless) );
|
|
105
|
-
--line-height-s: calc( var(--space-m-unitless) / var(--puck-font-size-s-unitless) );
|
|
106
|
-
--line-height-m: calc( var(--space-m-unitless) / var(--puck-font-size-xs-unitless) );
|
|
107
|
-
--line-height-l: calc( var(--space-m-unitless) / var(--puck-font-size-xxs-unitless) );
|
|
108
|
-
--line-height-xl: calc( var(--space-m-unitless) / var(--puck-font-size-scale-base-unitless) );
|
|
109
|
-
--line-height-base: var(--line-height-m);
|
|
110
|
-
--fallback-font-stack:
|
|
111
|
-
-apple-system,
|
|
112
|
-
BlinkMacSystemFont,
|
|
113
|
-
Segoe UI,
|
|
114
|
-
Helvetica Neue,
|
|
115
|
-
sans-serif,
|
|
116
|
-
Apple Color Emoji,
|
|
117
|
-
Segoe UI Emoji,
|
|
118
|
-
Segoe UI Symbol;
|
|
119
|
-
--puck-font-family: Inter, var(--fallback-font-stack);
|
|
120
|
-
--puck-font-family-monospaced:
|
|
121
|
-
ui-monospace,
|
|
122
|
-
"Cascadia Code",
|
|
123
|
-
"Source Code Pro",
|
|
124
|
-
Menlo,
|
|
125
|
-
Consolas,
|
|
126
|
-
"DejaVu Sans Mono",
|
|
127
|
-
monospace;
|
|
128
|
-
}
|
|
129
|
-
@supports (font-variation-settings: normal) {
|
|
130
|
-
:root {
|
|
131
|
-
--puck-font-family: InterVariable, var(--fallback-font-stack);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* bundle/core.css */
|
|
136
|
-
#frame-root {
|
|
137
|
-
height: 1px;
|
|
138
|
-
min-height: 100vh;
|
|
139
|
-
}
|
|
140
|
-
[data-puck-entry] {
|
|
141
|
-
position: relative;
|
|
142
|
-
z-index: 0;
|
|
143
|
-
}
|
|
1
|
+
@import "https://rsms.me/inter/inter.css";
|
|
144
2
|
|
|
145
3
|
/* bundle/no-external.css */
|
|
146
4
|
|
|
147
5
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ActionBar/styles.module.css/#css-module-data */
|
|
148
|
-
.
|
|
6
|
+
._ActionBar_1nmyk_1 {
|
|
149
7
|
align-items: center;
|
|
150
8
|
cursor: default;
|
|
151
9
|
display: flex;
|
|
@@ -161,7 +19,7 @@
|
|
|
161
19
|
font-family: var(--puck-font-family);
|
|
162
20
|
min-height: 26px;
|
|
163
21
|
}
|
|
164
|
-
._ActionBar-
|
|
22
|
+
._ActionBar-label_1nmyk_18 {
|
|
165
23
|
color: var(--puck-color-grey-08);
|
|
166
24
|
font-size: var(--puck-font-size-xxxs);
|
|
167
25
|
font-weight: 500;
|
|
@@ -172,13 +30,13 @@
|
|
|
172
30
|
text-overflow: ellipsis;
|
|
173
31
|
white-space: nowrap;
|
|
174
32
|
}
|
|
175
|
-
.
|
|
33
|
+
._ActionBarAction_1nmyk_30 + ._ActionBar-label_1nmyk_18 {
|
|
176
34
|
padding-inline-start: 0;
|
|
177
35
|
}
|
|
178
|
-
._ActionBar-
|
|
36
|
+
._ActionBar-label_1nmyk_18 + ._ActionBarAction_1nmyk_30 {
|
|
179
37
|
margin-inline-start: -4px;
|
|
180
38
|
}
|
|
181
|
-
._ActionBar-
|
|
39
|
+
._ActionBar-group_1nmyk_38 {
|
|
182
40
|
align-items: center;
|
|
183
41
|
border-inline-start: 0.5px solid var(--puck-color-grey-05);
|
|
184
42
|
display: flex;
|
|
@@ -186,18 +44,18 @@
|
|
|
186
44
|
padding-inline-start: 4px;
|
|
187
45
|
padding-inline-end: 4px;
|
|
188
46
|
}
|
|
189
|
-
._ActionBar-
|
|
47
|
+
._ActionBar-group_1nmyk_38:first-of-type {
|
|
190
48
|
border-inline-start: 0;
|
|
191
49
|
}
|
|
192
|
-
._ActionBar-
|
|
50
|
+
._ActionBar-group_1nmyk_38:empty {
|
|
193
51
|
display: none;
|
|
194
52
|
}
|
|
195
|
-
.
|
|
53
|
+
._ActionBarAction_1nmyk_30 {
|
|
196
54
|
background: transparent;
|
|
197
55
|
border: none;
|
|
198
56
|
color: var(--puck-color-grey-08);
|
|
199
57
|
cursor: pointer;
|
|
200
|
-
padding: 6px
|
|
58
|
+
padding: 6px;
|
|
201
59
|
margin-inline-start: 4px;
|
|
202
60
|
margin-inline-end: 4px;
|
|
203
61
|
border-radius: 4px;
|
|
@@ -207,26 +65,37 @@
|
|
|
207
65
|
justify-content: center;
|
|
208
66
|
transition: color 50ms ease-in;
|
|
209
67
|
}
|
|
210
|
-
.
|
|
68
|
+
._ActionBarAction--disabled_1nmyk_71 {
|
|
69
|
+
cursor: auto;
|
|
70
|
+
color: var(--puck-color-grey-06);
|
|
71
|
+
}
|
|
72
|
+
._ActionBarAction_1nmyk_30 svg {
|
|
211
73
|
max-width: none !important;
|
|
212
74
|
}
|
|
213
|
-
.
|
|
75
|
+
._ActionBarAction_1nmyk_30:focus-visible {
|
|
214
76
|
outline: 2px solid var(--puck-color-azure-05);
|
|
215
77
|
outline-offset: -2px;
|
|
216
78
|
}
|
|
217
79
|
@media (hover: hover) and (pointer: fine) {
|
|
218
|
-
.
|
|
80
|
+
._ActionBarAction_1nmyk_30:hover:not(._ActionBarAction--disabled_1nmyk_71) {
|
|
219
81
|
color: var(--puck-color-azure-06);
|
|
220
82
|
transition: none;
|
|
221
83
|
}
|
|
222
84
|
}
|
|
223
|
-
.
|
|
85
|
+
._ActionBarAction_1nmyk_30:active:not(._ActionBarAction--disabled_1nmyk_71),
|
|
86
|
+
._ActionBarAction--active_1nmyk_93 {
|
|
224
87
|
color: var(--puck-color-azure-07);
|
|
225
88
|
transition: none;
|
|
226
89
|
}
|
|
227
|
-
._ActionBar-
|
|
90
|
+
._ActionBar-group_1nmyk_38 * {
|
|
228
91
|
margin: 0;
|
|
229
92
|
}
|
|
93
|
+
._ActionBar-separator_1nmyk_102 {
|
|
94
|
+
background: var(--puck-color-grey-05);
|
|
95
|
+
margin-inline: 4px;
|
|
96
|
+
width: 0.5px;
|
|
97
|
+
height: 100%;
|
|
98
|
+
}
|
|
230
99
|
|
|
231
100
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css/#css-module-data */
|
|
232
101
|
._InputWrapper_bsxfo_1 + ._InputWrapper_bsxfo_1 {
|
|
@@ -543,7 +412,7 @@ textarea._Input-input_bsxfo_26 {
|
|
|
543
412
|
}
|
|
544
413
|
|
|
545
414
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
|
|
546
|
-
.
|
|
415
|
+
._IconButton_ffob9_1 {
|
|
547
416
|
align-items: center;
|
|
548
417
|
background: transparent;
|
|
549
418
|
border: none;
|
|
@@ -555,23 +424,26 @@ textarea._Input-input_bsxfo_26 {
|
|
|
555
424
|
padding: 4px;
|
|
556
425
|
transition: background-color 50ms ease-in, color 50ms ease-in;
|
|
557
426
|
}
|
|
558
|
-
.
|
|
427
|
+
._IconButton--active_ffob9_14 {
|
|
428
|
+
color: var(--puck-color-azure-04);
|
|
429
|
+
}
|
|
430
|
+
._IconButton_ffob9_1:focus-visible {
|
|
559
431
|
outline: 2px solid var(--puck-color-azure-05);
|
|
560
432
|
outline-offset: -2px;
|
|
561
433
|
}
|
|
562
434
|
@media (hover: hover) and (pointer: fine) {
|
|
563
|
-
.
|
|
564
|
-
background: var(--puck-color-
|
|
435
|
+
._IconButton_ffob9_1:hover:not(._IconButton--disabled_ffob9_24) {
|
|
436
|
+
background: var(--puck-color-grey-10);
|
|
565
437
|
color: var(--puck-color-azure-04);
|
|
566
438
|
cursor: pointer;
|
|
567
439
|
transition: none;
|
|
568
440
|
}
|
|
569
441
|
}
|
|
570
|
-
.
|
|
442
|
+
._IconButton_ffob9_1:active {
|
|
571
443
|
background: var(--puck-color-azure-11);
|
|
572
444
|
transition: none;
|
|
573
445
|
}
|
|
574
|
-
._IconButton-
|
|
446
|
+
._IconButton-title_ffob9_37 {
|
|
575
447
|
clip: rect(0 0 0 0);
|
|
576
448
|
clip-path: inset(100%);
|
|
577
449
|
height: 1px;
|
|
@@ -580,7 +452,7 @@ textarea._Input-input_bsxfo_26 {
|
|
|
580
452
|
white-space: nowrap;
|
|
581
453
|
width: 1px;
|
|
582
454
|
}
|
|
583
|
-
._IconButton--
|
|
455
|
+
._IconButton--disabled_ffob9_24 {
|
|
584
456
|
color: var(--puck-color-grey-07);
|
|
585
457
|
}
|
|
586
458
|
|
|
@@ -636,6 +508,152 @@ textarea._Input-input_bsxfo_26 {
|
|
|
636
508
|
transition: none !important;
|
|
637
509
|
}
|
|
638
510
|
|
|
511
|
+
/* styles/color.css */
|
|
512
|
+
:root {
|
|
513
|
+
--puck-color-rose-01: #4a001c;
|
|
514
|
+
--puck-color-rose-02: #670833;
|
|
515
|
+
--puck-color-rose-03: #87114c;
|
|
516
|
+
--puck-color-rose-04: #a81a66;
|
|
517
|
+
--puck-color-rose-05: #bc5089;
|
|
518
|
+
--puck-color-rose-06: #cc7ca5;
|
|
519
|
+
--puck-color-rose-07: #d89aba;
|
|
520
|
+
--puck-color-rose-08: #e3b8cf;
|
|
521
|
+
--puck-color-rose-09: #efd6e3;
|
|
522
|
+
--puck-color-rose-10: #f6eaf1;
|
|
523
|
+
--puck-color-rose-11: #faf4f8;
|
|
524
|
+
--puck-color-rose-12: #fef8fc;
|
|
525
|
+
--puck-color-azure-01: #00175d;
|
|
526
|
+
--puck-color-azure-02: #002c77;
|
|
527
|
+
--puck-color-azure-03: #014292;
|
|
528
|
+
--puck-color-azure-04: #0158ad;
|
|
529
|
+
--puck-color-azure-05: #3479be;
|
|
530
|
+
--puck-color-azure-06: #6499cf;
|
|
531
|
+
--puck-color-azure-07: #88b0da;
|
|
532
|
+
--puck-color-azure-08: #abc7e5;
|
|
533
|
+
--puck-color-azure-09: #cfdff0;
|
|
534
|
+
--puck-color-azure-10: #e7eef7;
|
|
535
|
+
--puck-color-azure-11: #f3f6fb;
|
|
536
|
+
--puck-color-azure-12: #f7faff;
|
|
537
|
+
--puck-color-green-01: #002000;
|
|
538
|
+
--puck-color-green-02: #043604;
|
|
539
|
+
--puck-color-green-03: #084e08;
|
|
540
|
+
--puck-color-green-04: #0c680c;
|
|
541
|
+
--puck-color-green-05: #1d882f;
|
|
542
|
+
--puck-color-green-06: #2faa53;
|
|
543
|
+
--puck-color-green-07: #56c16f;
|
|
544
|
+
--puck-color-green-08: #7dd78b;
|
|
545
|
+
--puck-color-green-09: #b8e8bf;
|
|
546
|
+
--puck-color-green-10: #ddf3e0;
|
|
547
|
+
--puck-color-green-11: #eff8f0;
|
|
548
|
+
--puck-color-green-12: #f3fcf4;
|
|
549
|
+
--puck-color-yellow-01: #211000;
|
|
550
|
+
--puck-color-yellow-02: #362700;
|
|
551
|
+
--puck-color-yellow-03: #4c4000;
|
|
552
|
+
--puck-color-yellow-04: #645a00;
|
|
553
|
+
--puck-color-yellow-05: #877614;
|
|
554
|
+
--puck-color-yellow-06: #ab9429;
|
|
555
|
+
--puck-color-yellow-07: #bfac4e;
|
|
556
|
+
--puck-color-yellow-08: #d4c474;
|
|
557
|
+
--puck-color-yellow-09: #e6deb1;
|
|
558
|
+
--puck-color-yellow-10: #f3efd9;
|
|
559
|
+
--puck-color-yellow-11: #f9f7ed;
|
|
560
|
+
--puck-color-yellow-12: #fcfaf0;
|
|
561
|
+
--puck-color-red-01: #4c0000;
|
|
562
|
+
--puck-color-red-02: #6a0a10;
|
|
563
|
+
--puck-color-red-03: #8a1422;
|
|
564
|
+
--puck-color-red-04: #ac1f35;
|
|
565
|
+
--puck-color-red-05: #bf5366;
|
|
566
|
+
--puck-color-red-06: #ce7e8e;
|
|
567
|
+
--puck-color-red-07: #d99ca8;
|
|
568
|
+
--puck-color-red-08: #e4b9c2;
|
|
569
|
+
--puck-color-red-09: #efd7db;
|
|
570
|
+
--puck-color-red-10: #f6eaec;
|
|
571
|
+
--puck-color-red-11: #faf4f5;
|
|
572
|
+
--puck-color-red-12: #fff9fa;
|
|
573
|
+
--puck-color-grey-01: #181818;
|
|
574
|
+
--puck-color-grey-02: #292929;
|
|
575
|
+
--puck-color-grey-03: #404040;
|
|
576
|
+
--puck-color-grey-04: #5a5a5a;
|
|
577
|
+
--puck-color-grey-05: #767676;
|
|
578
|
+
--puck-color-grey-06: #949494;
|
|
579
|
+
--puck-color-grey-07: #ababab;
|
|
580
|
+
--puck-color-grey-08: #c3c3c3;
|
|
581
|
+
--puck-color-grey-09: #dcdcdc;
|
|
582
|
+
--puck-color-grey-10: #efefef;
|
|
583
|
+
--puck-color-grey-11: #f5f5f5;
|
|
584
|
+
--puck-color-grey-12: #fafafa;
|
|
585
|
+
--puck-color-black: #000000;
|
|
586
|
+
--puck-color-white: #ffffff;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/* styles/typography.css */
|
|
590
|
+
:root {
|
|
591
|
+
--puck-font-size-scale-base-unitless: 12;
|
|
592
|
+
--puck-font-size-xxxs-unitless: 12;
|
|
593
|
+
--puck-font-size-xxs-unitless: 14;
|
|
594
|
+
--puck-font-size-xs-unitless: 16;
|
|
595
|
+
--puck-font-size-s-unitless: 18;
|
|
596
|
+
--puck-font-size-m-unitless: 21;
|
|
597
|
+
--puck-font-size-l-unitless: 24;
|
|
598
|
+
--puck-font-size-xl-unitless: 28;
|
|
599
|
+
--puck-font-size-xxl-unitless: 36;
|
|
600
|
+
--puck-font-size-xxxl-unitless: 48;
|
|
601
|
+
--puck-font-size-xxxxl-unitless: 56;
|
|
602
|
+
--puck-font-size-xxxs: calc(1rem * var(--puck-font-size-xxxs-unitless) / 16);
|
|
603
|
+
--puck-font-size-xxs: calc(1rem * var(--puck-font-size-xxs-unitless) / 16);
|
|
604
|
+
--puck-font-size-xs: calc(1rem * var(--puck-font-size-xs-unitless) / 16);
|
|
605
|
+
--puck-font-size-s: calc(1rem * var(--puck-font-size-s-unitless) / 16);
|
|
606
|
+
--puck-font-size-m: calc(1rem * var(--puck-font-size-m-unitless) / 16);
|
|
607
|
+
--puck-font-size-l: calc(1rem * var(--puck-font-size-l-unitless) / 16);
|
|
608
|
+
--puck-font-size-xl: calc(1rem * var(--puck-font-size-xl-unitless) / 16);
|
|
609
|
+
--puck-font-size-xxl: calc(1rem * var(--puck-font-size-xxl-unitless) / 16);
|
|
610
|
+
--puck-font-size-xxxl: calc(1rem * var(--puck-font-size-xxxl-unitless) / 16);
|
|
611
|
+
--puck-font-size-xxxxl: calc( 1rem * var(--puck-font-size-xxxxl-unitless) / 16 );
|
|
612
|
+
--puck-font-size-base: var(--puck-font-size-xs);
|
|
613
|
+
--line-height-reset: 1;
|
|
614
|
+
--line-height-xs: calc( var(--space-m-unitless) / var(--puck-font-size-m-unitless) );
|
|
615
|
+
--line-height-s: calc( var(--space-m-unitless) / var(--puck-font-size-s-unitless) );
|
|
616
|
+
--line-height-m: calc( var(--space-m-unitless) / var(--puck-font-size-xs-unitless) );
|
|
617
|
+
--line-height-l: calc( var(--space-m-unitless) / var(--puck-font-size-xxs-unitless) );
|
|
618
|
+
--line-height-xl: calc( var(--space-m-unitless) / var(--puck-font-size-scale-base-unitless) );
|
|
619
|
+
--line-height-base: var(--line-height-m);
|
|
620
|
+
--fallback-font-stack:
|
|
621
|
+
-apple-system,
|
|
622
|
+
BlinkMacSystemFont,
|
|
623
|
+
Segoe UI,
|
|
624
|
+
Helvetica Neue,
|
|
625
|
+
sans-serif,
|
|
626
|
+
Apple Color Emoji,
|
|
627
|
+
Segoe UI Emoji,
|
|
628
|
+
Segoe UI Symbol;
|
|
629
|
+
--puck-font-family: Inter, var(--fallback-font-stack);
|
|
630
|
+
--puck-font-family-monospaced:
|
|
631
|
+
ui-monospace,
|
|
632
|
+
"Cascadia Code",
|
|
633
|
+
"Source Code Pro",
|
|
634
|
+
Menlo,
|
|
635
|
+
Consolas,
|
|
636
|
+
"DejaVu Sans Mono",
|
|
637
|
+
monospace;
|
|
638
|
+
}
|
|
639
|
+
@supports (font-variation-settings: normal) {
|
|
640
|
+
:root {
|
|
641
|
+
--puck-font-family: InterVariable, var(--fallback-font-stack);
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/* bundle/core.css */
|
|
646
|
+
#frame-root {
|
|
647
|
+
height: 1px;
|
|
648
|
+
min-height: 100vh;
|
|
649
|
+
}
|
|
650
|
+
[data-puck-entry] {
|
|
651
|
+
position: relative;
|
|
652
|
+
z-index: 0;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/* bundle/index.css */
|
|
656
|
+
|
|
639
657
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
|
|
640
658
|
._ExternalInput-actions_91ls0_1 {
|
|
641
659
|
display: flex;
|
|
@@ -1082,6 +1100,248 @@ textarea._Input-input_bsxfo_26 {
|
|
|
1082
1100
|
padding-inline-start: 8px;
|
|
1083
1101
|
}
|
|
1084
1102
|
|
|
1103
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/styles.module.css/#css-module-data */
|
|
1104
|
+
._RichTextMenu_k97eh_1 {
|
|
1105
|
+
display: flex;
|
|
1106
|
+
flex-direction: row;
|
|
1107
|
+
flex-wrap: nowrap;
|
|
1108
|
+
}
|
|
1109
|
+
._RichTextMenu--form_k97eh_7 {
|
|
1110
|
+
border-top-left-radius: 4px;
|
|
1111
|
+
border-top-right-radius: 4px;
|
|
1112
|
+
padding: 6px 6px;
|
|
1113
|
+
background-color: var(--puck-color-grey-12);
|
|
1114
|
+
position: relative;
|
|
1115
|
+
scrollbar-width: none;
|
|
1116
|
+
overflow-x: auto;
|
|
1117
|
+
}
|
|
1118
|
+
._RichTextMenu-group_k97eh_17 {
|
|
1119
|
+
display: flex;
|
|
1120
|
+
align-items: space-between;
|
|
1121
|
+
flex-direction: row;
|
|
1122
|
+
flex-wrap: nowrap;
|
|
1123
|
+
padding-inline: 6px;
|
|
1124
|
+
gap: 2px;
|
|
1125
|
+
position: relative;
|
|
1126
|
+
}
|
|
1127
|
+
._RichTextMenu-group_k97eh_17:first-of-type {
|
|
1128
|
+
padding-left: 0;
|
|
1129
|
+
}
|
|
1130
|
+
._RichTextMenu-group_k97eh_17:last-of-type {
|
|
1131
|
+
padding-right: 0;
|
|
1132
|
+
}
|
|
1133
|
+
._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 {
|
|
1134
|
+
color: var(--puck-color-grey-08);
|
|
1135
|
+
gap: 0px;
|
|
1136
|
+
flex-wrap: nowrap;
|
|
1137
|
+
}
|
|
1138
|
+
._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
|
|
1139
|
+
border-left: 1px solid var(--puck-color-grey-10);
|
|
1140
|
+
}
|
|
1141
|
+
._RichTextMenu--inline_k97eh_35 ._RichTextMenu-group_k97eh_17 + ._RichTextMenu-group_k97eh_17 {
|
|
1142
|
+
border-left: 0.5px solid var(--puck-color-grey-05);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
|
|
1146
|
+
._Control_1aveu_1 .lucide {
|
|
1147
|
+
height: 18px;
|
|
1148
|
+
width: 18px;
|
|
1149
|
+
}
|
|
1150
|
+
._Control--inline_1aveu_6 .lucide {
|
|
1151
|
+
height: 16px;
|
|
1152
|
+
width: 16px;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/Select/styles.module.css/#css-module-data */
|
|
1156
|
+
._Select_xjbef_1 {
|
|
1157
|
+
position: relative;
|
|
1158
|
+
z-index: 1;
|
|
1159
|
+
}
|
|
1160
|
+
._Select-button_xjbef_6 {
|
|
1161
|
+
align-items: center;
|
|
1162
|
+
background: transparent;
|
|
1163
|
+
border: none;
|
|
1164
|
+
border-radius: 4px;
|
|
1165
|
+
display: flex;
|
|
1166
|
+
justify-content: center;
|
|
1167
|
+
gap: 0px;
|
|
1168
|
+
height: 100%;
|
|
1169
|
+
padding: 4px;
|
|
1170
|
+
padding-right: 2px;
|
|
1171
|
+
}
|
|
1172
|
+
._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6 {
|
|
1173
|
+
color: currentColor;
|
|
1174
|
+
}
|
|
1175
|
+
._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6 {
|
|
1176
|
+
cursor: pointer;
|
|
1177
|
+
}
|
|
1178
|
+
._Select-buttonIcon_xjbef_27 {
|
|
1179
|
+
align-items: center;
|
|
1180
|
+
display: flex;
|
|
1181
|
+
justify-content: center;
|
|
1182
|
+
}
|
|
1183
|
+
._Select--standalone_xjbef_33 ._Select-buttonIcon_xjbef_27 .lucide {
|
|
1184
|
+
height: 18px;
|
|
1185
|
+
width: 18px;
|
|
1186
|
+
}
|
|
1187
|
+
._Select--actionBar_xjbef_38 ._Select-buttonIcon_xjbef_27 .lucide {
|
|
1188
|
+
height: 16px;
|
|
1189
|
+
width: 16px;
|
|
1190
|
+
}
|
|
1191
|
+
._Select--hasOptions_xjbef_19:not(._Select--disabled_xjbef_23) ._Select-button_xjbef_6:hover,
|
|
1192
|
+
._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
|
|
1193
|
+
background: var(--puck-color-grey-10);
|
|
1194
|
+
color: var(--puck-color-azure-04);
|
|
1195
|
+
}
|
|
1196
|
+
._Select--disabled_xjbef_23 ._Select-button_xjbef_6 {
|
|
1197
|
+
color: var(--puck-color-grey-07);
|
|
1198
|
+
}
|
|
1199
|
+
._Select--actionBar_xjbef_38 {
|
|
1200
|
+
&._Select--hasOptions_xjbef_19 ._Select-button_xjbef_6:hover,
|
|
1201
|
+
&._Select--hasValue_xjbef_44 ._Select-button_xjbef_6 {
|
|
1202
|
+
background: none;
|
|
1203
|
+
color: var(--puck-color-azure-07);
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
._Select-items_xjbef_61 {
|
|
1207
|
+
background: white;
|
|
1208
|
+
border: 1px solid var(--puck-color-grey-09);
|
|
1209
|
+
border-radius: 8px;
|
|
1210
|
+
margin: 10px 8px;
|
|
1211
|
+
margin-left: 0;
|
|
1212
|
+
padding: 4px;
|
|
1213
|
+
z-index: 2;
|
|
1214
|
+
list-style: none;
|
|
1215
|
+
}
|
|
1216
|
+
._SelectItem_xjbef_72 {
|
|
1217
|
+
background: transparent;
|
|
1218
|
+
border-radius: 4px;
|
|
1219
|
+
border: none;
|
|
1220
|
+
color: var(--puck-color-grey-04);
|
|
1221
|
+
cursor: pointer;
|
|
1222
|
+
display: flex;
|
|
1223
|
+
gap: 8px;
|
|
1224
|
+
align-items: center;
|
|
1225
|
+
font-size: var(--puck-font-size-xxs);
|
|
1226
|
+
margin: 0;
|
|
1227
|
+
padding: 8px 12px;
|
|
1228
|
+
width: 100%;
|
|
1229
|
+
}
|
|
1230
|
+
._SelectItem--isSelected_xjbef_87 {
|
|
1231
|
+
background: var(--puck-color-azure-11);
|
|
1232
|
+
color: var(--puck-color-azure-04);
|
|
1233
|
+
font-weight: 500;
|
|
1234
|
+
}
|
|
1235
|
+
._SelectItem--isSelected_xjbef_87 ._SelectItem-icon_xjbef_93 {
|
|
1236
|
+
color: var(--puck-color-azure-04);
|
|
1237
|
+
}
|
|
1238
|
+
._SelectItem_xjbef_72:hover {
|
|
1239
|
+
background: var(--puck-color-azure-11);
|
|
1240
|
+
color: var(--puck-color-azure-04);
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/* css-module:/home/runner/work/puck/puck/packages/core/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
1244
|
+
._RichTextEditor_1elol_1 .ProseMirror {
|
|
1245
|
+
white-space: pre-wrap;
|
|
1246
|
+
word-wrap: break-word;
|
|
1247
|
+
cursor: text;
|
|
1248
|
+
outline: none;
|
|
1249
|
+
position: relative;
|
|
1250
|
+
}
|
|
1251
|
+
._RichTextEditor_1elol_1 .rich-text * {
|
|
1252
|
+
white-space: pre-wrap;
|
|
1253
|
+
user-select: auto;
|
|
1254
|
+
-webkit-user-select: auto;
|
|
1255
|
+
}
|
|
1256
|
+
._RichTextEditor_1elol_1 .rich-text blockquote {
|
|
1257
|
+
margin: 1em 0;
|
|
1258
|
+
padding: 0 1em;
|
|
1259
|
+
border-left: 4px solid var(--puck-color-grey-09);
|
|
1260
|
+
}
|
|
1261
|
+
._RichTextEditor_1elol_1 .rich-text code {
|
|
1262
|
+
background-color: var(--puck-color-grey-11);
|
|
1263
|
+
padding: 4px 8px;
|
|
1264
|
+
border-radius: 4px;
|
|
1265
|
+
}
|
|
1266
|
+
._RichTextEditor_1elol_1 .rich-text p:empty::before {
|
|
1267
|
+
content: "\a0";
|
|
1268
|
+
}
|
|
1269
|
+
._RichTextEditor_1elol_1 .rich-text pre code {
|
|
1270
|
+
display: block;
|
|
1271
|
+
padding: 8px 12px;
|
|
1272
|
+
}
|
|
1273
|
+
._RichTextEditor_1elol_1 .rich-text > *:first-child,
|
|
1274
|
+
._RichTextEditor_1elol_1 .ProseMirror > *:first-child,
|
|
1275
|
+
._RichTextEditor_1elol_1 .rich-text * p:first-of-type {
|
|
1276
|
+
margin-top: 0;
|
|
1277
|
+
}
|
|
1278
|
+
._RichTextEditor_1elol_1 .rich-text > *:last-child,
|
|
1279
|
+
._RichTextEditor_1elol_1 .ProseMirror > *:last-child,
|
|
1280
|
+
._RichTextEditor_1elol_1 .rich-text * p:last-of-type {
|
|
1281
|
+
margin-bottom: 0;
|
|
1282
|
+
}
|
|
1283
|
+
._RichTextEditor--editor_1elol_50 {
|
|
1284
|
+
background: var(--puck-color-white);
|
|
1285
|
+
border-width: 1px;
|
|
1286
|
+
border-style: solid;
|
|
1287
|
+
border-color: var(--puck-color-grey-09);
|
|
1288
|
+
border-radius: 4px;
|
|
1289
|
+
box-sizing: border-box;
|
|
1290
|
+
display: flex;
|
|
1291
|
+
flex-direction: column;
|
|
1292
|
+
font-family: inherit;
|
|
1293
|
+
font-size: var(--puck-font-size-xxs);
|
|
1294
|
+
resize: vertical;
|
|
1295
|
+
transition: border-color 50ms ease-in;
|
|
1296
|
+
width: 100%;
|
|
1297
|
+
max-width: 100%;
|
|
1298
|
+
min-height: 128px;
|
|
1299
|
+
}
|
|
1300
|
+
._RichTextEditor--editor_1elol_50 .rich-text {
|
|
1301
|
+
flex-grow: 1;
|
|
1302
|
+
}
|
|
1303
|
+
._RichTextEditor--editor_1elol_50 .rich-text:not(:has(.ProseMirror)),
|
|
1304
|
+
._RichTextEditor--editor_1elol_50 .rich-text .ProseMirror {
|
|
1305
|
+
height: 100%;
|
|
1306
|
+
padding: 12px 15px;
|
|
1307
|
+
}
|
|
1308
|
+
._RichTextEditor--editor_1elol_50 .rich-text ul,
|
|
1309
|
+
._RichTextEditor--editor_1elol_50 .rich-text ol {
|
|
1310
|
+
padding-left: 24px;
|
|
1311
|
+
}
|
|
1312
|
+
._RichTextEditor--editor_1elol_50 .rich-text li {
|
|
1313
|
+
line-height: 1.5;
|
|
1314
|
+
}
|
|
1315
|
+
._RichTextEditor--editor_1elol_50 .rich-text p {
|
|
1316
|
+
margin-block: 12px;
|
|
1317
|
+
}
|
|
1318
|
+
._RichTextEditor--editor_1elol_50 .rich-text ul {
|
|
1319
|
+
list-style: disc;
|
|
1320
|
+
}
|
|
1321
|
+
._RichTextEditor--editor_1elol_50 .rich-text ol {
|
|
1322
|
+
list-style: decimal;
|
|
1323
|
+
}
|
|
1324
|
+
._RichTextEditor--editor_1elol_50:focus-within {
|
|
1325
|
+
border-color: var(--puck-color-grey-05);
|
|
1326
|
+
outline: 2px solid var(--puck-color-azure-05);
|
|
1327
|
+
transition: none;
|
|
1328
|
+
}
|
|
1329
|
+
._RichTextEditor--editor_1elol_50._RichTextEditor--disabled_1elol_106 {
|
|
1330
|
+
background: var(--puck-color-grey-11);
|
|
1331
|
+
}
|
|
1332
|
+
._RichTextEditor_1elol_1:not(:focus-within):not(._RichTextEditor--isActive_1elol_110) .ProseMirror ::selection {
|
|
1333
|
+
background-color: transparent;
|
|
1334
|
+
}
|
|
1335
|
+
._RichTextEditor-menu_1elol_116 {
|
|
1336
|
+
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
1337
|
+
position: sticky;
|
|
1338
|
+
top: 0;
|
|
1339
|
+
z-index: 1;
|
|
1340
|
+
}
|
|
1341
|
+
._RichTextEditor--disabled_1elol_106 ._RichTextEditor-menu_1elol_116 {
|
|
1342
|
+
border-bottom: 1px solid var(--puck-color-grey-09);
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1085
1345
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
|
|
1086
1346
|
._ObjectField_1ua3y_5 {
|
|
1087
1347
|
display: flex;
|
|
@@ -1324,7 +1584,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
|
1324
1584
|
outline-offset: 2px;
|
|
1325
1585
|
}
|
|
1326
1586
|
[data-puck-overlay-portal]:focus-within {
|
|
1327
|
-
outline: 2px var(--puck-color-azure-07)
|
|
1587
|
+
outline: 2px var(--puck-color-azure-07) dashed;
|
|
1328
1588
|
outline-offset: 2px;
|
|
1329
1589
|
}
|
|
1330
1590
|
|