opus-react 0.2.32 → 0.2.33
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.cjs +1872 -1781
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +106 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +1870 -1781
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1387,6 +1387,112 @@
|
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
|
+
/* components/fields/ChoiceChipsField/ChoiceChipsField.module.css */
|
|
1391
|
+
.opus_X6xFEA_shell {
|
|
1392
|
+
width: 100%;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
.opus_X6xFEA_root {
|
|
1396
|
+
flex-wrap: wrap;
|
|
1397
|
+
align-items: center;
|
|
1398
|
+
gap: 8px;
|
|
1399
|
+
width: 100%;
|
|
1400
|
+
display: flex;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
.opus_X6xFEA_chip {
|
|
1404
|
+
--choice-chip-bg: var(--opus-input-bg);
|
|
1405
|
+
--choice-chip-border: var(--opus-border-strong);
|
|
1406
|
+
--choice-chip-color: var(--opus-text);
|
|
1407
|
+
min-height: var(--opus-control-height);
|
|
1408
|
+
padding: 0 var(--opus-control-padding-x, 14px);
|
|
1409
|
+
border: 1px solid var(--choice-chip-border);
|
|
1410
|
+
background: var(--choice-chip-bg);
|
|
1411
|
+
color: var(--choice-chip-color);
|
|
1412
|
+
font-family: inherit;
|
|
1413
|
+
font-size: var(--opus-control-font-size);
|
|
1414
|
+
cursor: pointer;
|
|
1415
|
+
border-radius: 999px;
|
|
1416
|
+
justify-content: center;
|
|
1417
|
+
align-items: center;
|
|
1418
|
+
gap: 7px;
|
|
1419
|
+
font-weight: 700;
|
|
1420
|
+
line-height: 1;
|
|
1421
|
+
transition: background .16s, border-color .16s, box-shadow .16s, color .16s, transform .16s;
|
|
1422
|
+
display: inline-flex;
|
|
1423
|
+
box-shadow: 0 12px 26px #00000012;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
.opus_X6xFEA_chip:hover:not(:disabled) {
|
|
1427
|
+
border-color: color-mix(in srgb, var(--opus-accent) 42%, var(--opus-border-strong));
|
|
1428
|
+
transform: translateY(-1px);
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
.opus_X6xFEA_chip:focus-visible {
|
|
1432
|
+
box-shadow: 0 0 0 4px color-mix(in srgb, var(--opus-accent) 22%, transparent),
|
|
1433
|
+
0 12px 26px #00000012;
|
|
1434
|
+
outline: 0;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
.opus_X6xFEA_indicator {
|
|
1438
|
+
background: color-mix(in srgb, var(--opus-muted) 52%, transparent);
|
|
1439
|
+
width: .56rem;
|
|
1440
|
+
height: .56rem;
|
|
1441
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--opus-border-strong) 82%, transparent);
|
|
1442
|
+
border-radius: 999px;
|
|
1443
|
+
transition: background .16s, box-shadow .16s, transform .16s;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
.opus_X6xFEA_selected .opus_X6xFEA_indicator {
|
|
1447
|
+
background: var(--opus-accent-contrast);
|
|
1448
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent-contrast) 20%, transparent);
|
|
1449
|
+
transform: scale(1.08);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.opus_X6xFEA_selected {
|
|
1453
|
+
--choice-chip-bg: var(--opus-accent);
|
|
1454
|
+
--choice-chip-border: color-mix(in srgb, var(--opus-accent) 82%, white);
|
|
1455
|
+
--choice-chip-color: var(--opus-accent-contrast);
|
|
1456
|
+
box-shadow: 0 14px 30px color-mix(in srgb, var(--opus-accent) 28%, transparent);
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.opus_X6xFEA_disabled {
|
|
1460
|
+
opacity: .62;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
.opus_X6xFEA_optionDisabled {
|
|
1464
|
+
cursor: not-allowed;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
.opus_X6xFEA_root[data-choice-chip-variant="filled"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1468
|
+
--choice-chip-bg: color-mix(in srgb, var(--opus-text) 8%, var(--opus-input-bg));
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
.opus_X6xFEA_root[data-choice-chip-variant="outlined"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1472
|
+
--choice-chip-bg: transparent;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.opus_X6xFEA_root[data-choice-chip-variant="soft"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1476
|
+
--choice-chip-bg: var(--opus-accent-soft);
|
|
1477
|
+
--choice-chip-border: color-mix(in srgb, var(--opus-accent) 34%, var(--opus-border-strong));
|
|
1478
|
+
--choice-chip-color: color-mix(in srgb, var(--opus-accent) 82%, var(--opus-text));
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.opus_X6xFEA_root[data-choice-chip-variant="glass"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1482
|
+
--choice-chip-bg: color-mix(in srgb, var(--opus-input-bg) 58%, transparent);
|
|
1483
|
+
backdrop-filter: blur(10px);
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1487
|
+
.opus_X6xFEA_chip, .opus_X6xFEA_indicator {
|
|
1488
|
+
transition: none;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
.opus_X6xFEA_chip:hover:not(:disabled) {
|
|
1492
|
+
transform: none;
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1390
1496
|
/* components/fields/RangeField/RangeField.module.css */
|
|
1391
1497
|
.opus_iRHQuG_wrap {
|
|
1392
1498
|
gap: 10px;
|