@measured/puck 0.19.0-canary.15d05558 → 0.19.0-canary.1e8a3ae2
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 +50 -43
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -229,10 +229,10 @@
|
|
229
229
|
}
|
230
230
|
|
231
231
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css/#css-module-data */
|
232
|
-
.
|
232
|
+
._InputWrapper_py9hf_1 + ._InputWrapper_py9hf_1 {
|
233
233
|
margin-top: 12px;
|
234
234
|
}
|
235
|
-
._Input-
|
235
|
+
._Input-label_py9hf_5 {
|
236
236
|
align-items: center;
|
237
237
|
color: var(--puck-color-grey-04);
|
238
238
|
display: flex;
|
@@ -240,17 +240,17 @@
|
|
240
240
|
font-size: var(--puck-font-size-xxs);
|
241
241
|
font-weight: 600;
|
242
242
|
}
|
243
|
-
._Input-
|
243
|
+
._Input-labelIcon_py9hf_14 {
|
244
244
|
color: var(--puck-color-grey-07);
|
245
245
|
display: flex;
|
246
246
|
margin-inline-end: 4px;
|
247
247
|
padding-inline-start: 4px;
|
248
248
|
}
|
249
|
-
._Input-
|
249
|
+
._Input-disabledIcon_py9hf_21 {
|
250
250
|
color: var(--puck-color-grey-05);
|
251
251
|
margin-inline-start: auto;
|
252
252
|
}
|
253
|
-
._Input-
|
253
|
+
._Input-input_py9hf_26 {
|
254
254
|
background: var(--puck-color-white);
|
255
255
|
border-width: 1px;
|
256
256
|
border-style: solid;
|
@@ -262,8 +262,9 @@
|
|
262
262
|
padding: 12px 15px;
|
263
263
|
transition: border-color 50ms ease-in;
|
264
264
|
width: 100%;
|
265
|
+
max-width: 100%;
|
265
266
|
}
|
266
|
-
select._Input-
|
267
|
+
select._Input-input_py9hf_26 {
|
267
268
|
appearance: none;
|
268
269
|
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;
|
269
270
|
background-size: 12px;
|
@@ -272,29 +273,29 @@ select._Input-input_4xor1_26 {
|
|
272
273
|
background-color: var(--puck-color-white);
|
273
274
|
cursor: pointer;
|
274
275
|
}
|
275
|
-
select._Input-
|
276
|
+
select._Input-input_py9hf_26:dir(rtl) {
|
276
277
|
background-position: 12px calc(50% + 3px);
|
277
278
|
}
|
278
279
|
@media (hover: hover) and (pointer: fine) {
|
279
|
-
.
|
280
|
-
.
|
280
|
+
._Input_py9hf_1:has(> input):hover ._Input-input_py9hf_26:not([readonly]),
|
281
|
+
._Input_py9hf_1:has(> textarea):hover ._Input-input_py9hf_26:not([readonly]) {
|
281
282
|
border-color: var(--puck-color-grey-05);
|
282
283
|
transition: none;
|
283
284
|
}
|
284
|
-
.
|
285
|
+
._Input_py9hf_1:has(> select):hover ._Input-input_py9hf_26:not([disabled]) {
|
285
286
|
background-color: var(--puck-color-azure-12);
|
286
287
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");
|
287
288
|
border-color: var(--puck-color-grey-05);
|
288
289
|
transition: none;
|
289
290
|
}
|
290
291
|
}
|
291
|
-
._Input-
|
292
|
+
._Input-input_py9hf_26:focus {
|
292
293
|
border-color: var(--puck-color-grey-05);
|
293
294
|
outline: 2px solid var(--puck-color-azure-05);
|
294
295
|
transition: none;
|
295
296
|
}
|
296
|
-
._Input--
|
297
|
-
._Input--
|
297
|
+
._Input--readOnly_py9hf_76 > ._Input-input_py9hf_26,
|
298
|
+
._Input--readOnly_py9hf_76 > select._Input-input_py9hf_26 {
|
298
299
|
background-color: var(--puck-color-grey-11);
|
299
300
|
border-color: var(--puck-color-grey-09);
|
300
301
|
color: var(--puck-color-grey-04);
|
@@ -303,34 +304,34 @@ select._Input-input_4xor1_26:dir(rtl) {
|
|
303
304
|
outline: 0;
|
304
305
|
transition: none;
|
305
306
|
}
|
306
|
-
._Input-
|
307
|
+
._Input-radioGroupItems_py9hf_87 {
|
307
308
|
display: flex;
|
308
309
|
border: 1px solid var(--puck-color-grey-09);
|
309
310
|
border-radius: 4px;
|
310
311
|
flex-wrap: wrap;
|
311
312
|
}
|
312
|
-
._Input-
|
313
|
+
._Input-radio_py9hf_87 {
|
313
314
|
border-inline-end: 1px solid var(--puck-color-grey-09);
|
314
315
|
flex-grow: 1;
|
315
316
|
}
|
316
|
-
._Input-
|
317
|
+
._Input-radio_py9hf_87:first-of-type {
|
317
318
|
border-bottom-left-radius: 4px;
|
318
319
|
border-top-left-radius: 4px;
|
319
320
|
}
|
320
|
-
._Input-
|
321
|
+
._Input-radio_py9hf_87:first-of-type ._Input-radioInner_py9hf_104 {
|
321
322
|
border-bottom-left-radius: 3px;
|
322
323
|
border-top-left-radius: 3px;
|
323
324
|
}
|
324
|
-
._Input-
|
325
|
+
._Input-radio_py9hf_87:last-of-type {
|
325
326
|
border-bottom-right-radius: 4px;
|
326
327
|
border-inline-end: 0;
|
327
328
|
border-top-right-radius: 4px;
|
328
329
|
}
|
329
|
-
._Input-
|
330
|
+
._Input-radio_py9hf_87:last-of-type ._Input-radioInner_py9hf_104 {
|
330
331
|
border-bottom-right-radius: 3px;
|
331
332
|
border-top-right-radius: 3px;
|
332
333
|
}
|
333
|
-
._Input-
|
334
|
+
._Input-radioInner_py9hf_104 {
|
334
335
|
background-color: var(--puck-color-white);
|
335
336
|
color: var(--puck-color-grey-04);
|
336
337
|
cursor: pointer;
|
@@ -339,32 +340,32 @@ select._Input-input_4xor1_26:dir(rtl) {
|
|
339
340
|
text-align: center;
|
340
341
|
transition: background-color 50ms ease-in;
|
341
342
|
}
|
342
|
-
._Input-
|
343
|
+
._Input-radio_py9hf_87:has(:focus-visible) {
|
343
344
|
outline: 2px solid var(--puck-color-azure-05);
|
344
345
|
outline-offset: 2px;
|
345
346
|
position: relative;
|
346
347
|
}
|
347
348
|
@media (hover: hover) and (pointer: fine) {
|
348
|
-
._Input-
|
349
|
+
._Input-radioInner_py9hf_104:hover {
|
349
350
|
background-color: var(--puck-color-azure-12);
|
350
351
|
transition: none;
|
351
352
|
}
|
352
353
|
}
|
353
|
-
._Input--
|
354
|
+
._Input--readOnly_py9hf_76 ._Input-radioInner_py9hf_104 {
|
354
355
|
background-color: var(--puck-color-white);
|
355
356
|
color: var(--puck-color-grey-04);
|
356
357
|
cursor: default;
|
357
358
|
}
|
358
|
-
._Input-
|
359
|
+
._Input-radio_py9hf_87 ._Input-radioInput_py9hf_149:checked ~ ._Input-radioInner_py9hf_104 {
|
359
360
|
background-color: var(--puck-color-azure-11);
|
360
361
|
color: var(--puck-color-azure-04);
|
361
362
|
font-weight: 500;
|
362
363
|
}
|
363
|
-
._Input--
|
364
|
+
._Input--readOnly_py9hf_76 ._Input-radioInput_py9hf_149:checked ~ ._Input-radioInner_py9hf_104 {
|
364
365
|
background-color: var(--puck-color-grey-11);
|
365
366
|
color: var(--puck-color-grey-04);
|
366
367
|
}
|
367
|
-
._Input-
|
368
|
+
._Input-radio_py9hf_87 ._Input-radioInput_py9hf_149 {
|
368
369
|
clip: rect(0 0 0 0);
|
369
370
|
clip-path: inset(100%);
|
370
371
|
height: 1px;
|
@@ -373,7 +374,7 @@ select._Input-input_4xor1_26:dir(rtl) {
|
|
373
374
|
white-space: nowrap;
|
374
375
|
width: 1px;
|
375
376
|
}
|
376
|
-
textarea._Input-
|
377
|
+
textarea._Input-input_py9hf_26 {
|
377
378
|
margin-bottom: -4px;
|
378
379
|
}
|
379
380
|
|
@@ -1393,15 +1394,21 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
1393
1394
|
}
|
1394
1395
|
|
1395
1396
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
|
1396
|
-
.
|
1397
|
+
._Puck_dnlfp_19 {
|
1397
1398
|
--puck-space-px: 16px;
|
1398
1399
|
font-family: var(--puck-font-family);
|
1400
|
+
overflow-x: hidden;
|
1401
|
+
}
|
1402
|
+
@media (min-width: 766px) {
|
1403
|
+
._Puck_dnlfp_19 {
|
1404
|
+
overflow-x: auto;
|
1405
|
+
}
|
1399
1406
|
}
|
1400
|
-
._Puck-
|
1407
|
+
._Puck-portal_dnlfp_31 {
|
1401
1408
|
position: relative;
|
1402
1409
|
z-index: 2;
|
1403
1410
|
}
|
1404
|
-
._PuckLayout-
|
1411
|
+
._PuckLayout-inner_dnlfp_38 {
|
1405
1412
|
--puck-frame-width: auto;
|
1406
1413
|
--puck-side-bar-width: 0px;
|
1407
1414
|
display: grid;
|
@@ -1412,54 +1419,54 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
1412
1419
|
position: relative;
|
1413
1420
|
z-index: 0;
|
1414
1421
|
}
|
1415
|
-
._PuckLayout--
|
1422
|
+
._PuckLayout--mounted_dnlfp_50 ._PuckLayout-inner_dnlfp_38 {
|
1416
1423
|
--puck-side-bar-width: 186px;
|
1417
1424
|
}
|
1418
|
-
._PuckLayout--
|
1425
|
+
._PuckLayout--leftSideBarVisible_dnlfp_54 ._PuckLayout-inner_dnlfp_38 {
|
1419
1426
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
|
1420
1427
|
}
|
1421
|
-
._PuckLayout--
|
1428
|
+
._PuckLayout--rightSideBarVisible_dnlfp_60 ._PuckLayout-inner_dnlfp_38 {
|
1422
1429
|
grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
|
1423
1430
|
}
|
1424
|
-
._PuckLayout--
|
1431
|
+
._PuckLayout--leftSideBarVisible_dnlfp_54._PuckLayout--rightSideBarVisible_dnlfp_60 ._PuckLayout-inner_dnlfp_38 {
|
1425
1432
|
grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
|
1426
1433
|
}
|
1427
1434
|
@media (min-width: 458px) {
|
1428
|
-
._PuckLayout-
|
1435
|
+
._PuckLayout-mounted_dnlfp_74 ._PuckLayout-inner_dnlfp_38 {
|
1429
1436
|
--puck-frame-width: minmax(266px, auto);
|
1430
1437
|
}
|
1431
1438
|
}
|
1432
1439
|
@media (min-width: 638px) {
|
1433
|
-
.
|
1440
|
+
._PuckLayout_dnlfp_38 ._PuckLayout-inner_dnlfp_38 {
|
1434
1441
|
--puck-side-bar-width: minmax(186px, 250px);
|
1435
1442
|
}
|
1436
1443
|
}
|
1437
1444
|
@media (min-width: 766px) {
|
1438
|
-
.
|
1445
|
+
._PuckLayout_dnlfp_38 ._PuckLayout-inner_dnlfp_38 {
|
1439
1446
|
--puck-frame-width: auto;
|
1440
1447
|
}
|
1441
1448
|
}
|
1442
1449
|
@media (min-width: 990px) {
|
1443
|
-
.
|
1450
|
+
._PuckLayout_dnlfp_38 ._PuckLayout-inner_dnlfp_38 {
|
1444
1451
|
--puck-side-bar-width: 256px;
|
1445
1452
|
}
|
1446
1453
|
}
|
1447
1454
|
@media (min-width: 1198px) {
|
1448
|
-
.
|
1455
|
+
._PuckLayout_dnlfp_38 ._PuckLayout-inner_dnlfp_38 {
|
1449
1456
|
--puck-side-bar-width: 274px;
|
1450
1457
|
}
|
1451
1458
|
}
|
1452
1459
|
@media (min-width: 1398px) {
|
1453
|
-
.
|
1460
|
+
._PuckLayout_dnlfp_38 ._PuckLayout-inner_dnlfp_38 {
|
1454
1461
|
--puck-side-bar-width: 290px;
|
1455
1462
|
}
|
1456
1463
|
}
|
1457
1464
|
@media (min-width: 1598px) {
|
1458
|
-
.
|
1465
|
+
._PuckLayout_dnlfp_38 ._PuckLayout-inner_dnlfp_38 {
|
1459
1466
|
--puck-side-bar-width: 320px;
|
1460
1467
|
}
|
1461
1468
|
}
|
1462
|
-
._PuckLayout-
|
1469
|
+
._PuckLayout-leftSideBar_dnlfp_115 {
|
1463
1470
|
background: var(--puck-color-grey-12);
|
1464
1471
|
border-inline-end: 1px solid var(--puck-color-grey-09);
|
1465
1472
|
display: flex;
|
@@ -1467,7 +1474,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
1467
1474
|
grid-area: left;
|
1468
1475
|
overflow-y: auto;
|
1469
1476
|
}
|
1470
|
-
._PuckLayout-
|
1477
|
+
._PuckLayout-rightSideBar_dnlfp_124 {
|
1471
1478
|
background: var(--puck-color-white);
|
1472
1479
|
border-inline-start: 1px solid var(--puck-color-grey-09);
|
1473
1480
|
display: flex;
|
package/dist/index.js
CHANGED
@@ -303,7 +303,7 @@ init_react_import();
|
|
303
303
|
|
304
304
|
// css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css#css-module
|
305
305
|
init_react_import();
|
306
|
-
var styles_module_default2 = { "InputWrapper": "
|
306
|
+
var styles_module_default2 = { "InputWrapper": "_InputWrapper_py9hf_1", "Input-label": "_Input-label_py9hf_5", "Input-labelIcon": "_Input-labelIcon_py9hf_14", "Input-disabledIcon": "_Input-disabledIcon_py9hf_21", "Input-input": "_Input-input_py9hf_26", "Input": "_Input_py9hf_1", "Input--readOnly": "_Input--readOnly_py9hf_76", "Input-radioGroupItems": "_Input-radioGroupItems_py9hf_87", "Input-radio": "_Input-radio_py9hf_87", "Input-radioInner": "_Input-radioInner_py9hf_104", "Input-radioInput": "_Input-radioInput_py9hf_149" };
|
307
307
|
|
308
308
|
// components/AutoField/index.tsx
|
309
309
|
var import_react22 = require("react");
|
@@ -6659,7 +6659,7 @@ var SidebarSection = ({
|
|
6659
6659
|
|
6660
6660
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css#css-module
|
6661
6661
|
init_react_import();
|
6662
|
-
var styles_module_default14 = { "Puck": "
|
6662
|
+
var styles_module_default14 = { "Puck": "_Puck_dnlfp_19", "Puck-portal": "_Puck-portal_dnlfp_31", "PuckLayout-inner": "_PuckLayout-inner_dnlfp_38", "PuckLayout--mounted": "_PuckLayout--mounted_dnlfp_50", "PuckLayout--leftSideBarVisible": "_PuckLayout--leftSideBarVisible_dnlfp_54", "PuckLayout--rightSideBarVisible": "_PuckLayout--rightSideBarVisible_dnlfp_60", "PuckLayout-mounted": "_PuckLayout-mounted_dnlfp_74", "PuckLayout": "_PuckLayout_dnlfp_38", "PuckLayout-leftSideBar": "_PuckLayout-leftSideBar_dnlfp_115", "PuckLayout-rightSideBar": "_PuckLayout-rightSideBar_dnlfp_124" };
|
6663
6663
|
|
6664
6664
|
// components/Puck/components/Fields/index.tsx
|
6665
6665
|
init_react_import();
|
package/dist/index.mjs
CHANGED
@@ -214,7 +214,7 @@ init_react_import();
|
|
214
214
|
|
215
215
|
// css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css#css-module
|
216
216
|
init_react_import();
|
217
|
-
var styles_module_default2 = { "InputWrapper": "
|
217
|
+
var styles_module_default2 = { "InputWrapper": "_InputWrapper_py9hf_1", "Input-label": "_Input-label_py9hf_5", "Input-labelIcon": "_Input-labelIcon_py9hf_14", "Input-disabledIcon": "_Input-disabledIcon_py9hf_21", "Input-input": "_Input-input_py9hf_26", "Input": "_Input_py9hf_1", "Input--readOnly": "_Input--readOnly_py9hf_76", "Input-radioGroupItems": "_Input-radioGroupItems_py9hf_87", "Input-radio": "_Input-radio_py9hf_87", "Input-radioInner": "_Input-radioInner_py9hf_104", "Input-radioInput": "_Input-radioInput_py9hf_149" };
|
218
218
|
|
219
219
|
// components/AutoField/index.tsx
|
220
220
|
import {
|
@@ -6004,7 +6004,7 @@ var SidebarSection = ({
|
|
6004
6004
|
|
6005
6005
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css#css-module
|
6006
6006
|
init_react_import();
|
6007
|
-
var styles_module_default14 = { "Puck": "
|
6007
|
+
var styles_module_default14 = { "Puck": "_Puck_dnlfp_19", "Puck-portal": "_Puck-portal_dnlfp_31", "PuckLayout-inner": "_PuckLayout-inner_dnlfp_38", "PuckLayout--mounted": "_PuckLayout--mounted_dnlfp_50", "PuckLayout--leftSideBarVisible": "_PuckLayout--leftSideBarVisible_dnlfp_54", "PuckLayout--rightSideBarVisible": "_PuckLayout--rightSideBarVisible_dnlfp_60", "PuckLayout-mounted": "_PuckLayout-mounted_dnlfp_74", "PuckLayout": "_PuckLayout_dnlfp_38", "PuckLayout-leftSideBar": "_PuckLayout-leftSideBar_dnlfp_115", "PuckLayout-rightSideBar": "_PuckLayout-rightSideBar_dnlfp_124" };
|
6008
6008
|
|
6009
6009
|
// components/Puck/components/Fields/index.tsx
|
6010
6010
|
init_react_import();
|
package/package.json
CHANGED