opus-react 0.6.8 → 0.6.10

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 CHANGED
@@ -1190,6 +1190,508 @@
1190
1190
  position: fixed;
1191
1191
  }
1192
1192
 
1193
+ /* components/fields/DatePickerPanel/OpusDateTimeInput.module.css */
1194
+ .opus_ccnMhZ_timeRow {
1195
+ grid-template-columns: 1fr 1fr;
1196
+ gap: 10px;
1197
+ display: grid;
1198
+ }
1199
+
1200
+ .opus_ccnMhZ_timeField {
1201
+ color: var(--opus-text-muted);
1202
+ gap: 5px;
1203
+ font-size: .78rem;
1204
+ font-weight: 650;
1205
+ display: grid;
1206
+ }
1207
+
1208
+ .opus_ccnMhZ_timeSelect {
1209
+ border: 1px solid var(--opus-border-strong);
1210
+ border-radius: var(--opus-input-radius, 10px);
1211
+ background: var(--opus-input-bg);
1212
+ width: 100%;
1213
+ min-height: 36px;
1214
+ color: var(--opus-text);
1215
+ font: inherit;
1216
+ padding: 0 10px;
1217
+ }
1218
+
1219
+ .opus_ccnMhZ_timeSelect:focus {
1220
+ border-color: var(--opus-accent);
1221
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1222
+ outline: none;
1223
+ }
1224
+
1225
+ .opus_ccnMhZ_footer {
1226
+ border-top: 1px solid color-mix(in srgb, var(--opus-border) 70%, transparent);
1227
+ justify-content: space-between;
1228
+ align-items: center;
1229
+ gap: 8px;
1230
+ padding-top: 2px;
1231
+ display: flex;
1232
+ }
1233
+
1234
+ .opus_ccnMhZ_footerAction, .opus_ccnMhZ_footerActionPrimary {
1235
+ color: var(--opus-accent);
1236
+ font: inherit;
1237
+ cursor: pointer;
1238
+ background: none;
1239
+ border: 0;
1240
+ padding: 4px 2px;
1241
+ font-size: .8rem;
1242
+ font-weight: 700;
1243
+ }
1244
+
1245
+ .opus_ccnMhZ_footerActionPrimary {
1246
+ margin-left: auto;
1247
+ }
1248
+
1249
+ .opus_ccnMhZ_footerAction:hover, .opus_ccnMhZ_footerActionPrimary:hover {
1250
+ text-decoration: underline;
1251
+ }
1252
+
1253
+ .opus_ccnMhZ_footerAction:focus-visible, .opus_ccnMhZ_footerActionPrimary:focus-visible {
1254
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1255
+ border-radius: 4px;
1256
+ outline: none;
1257
+ }
1258
+
1259
+ .opus_ccnMhZ_timeOnlyShell {
1260
+ border: 1px solid var(--opus-border);
1261
+ border-radius: var(--opus-input-radius-large);
1262
+ background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--opus-accent) 12%, transparent), transparent 36%),
1263
+ var(--opus-panel);
1264
+ width: min(240px, 100vw - 32px);
1265
+ box-shadow: 0 18px 40px #0000005c,
1266
+ 0 0 0 1px color-mix(in srgb, var(--opus-accent) 8%, transparent);
1267
+ gap: 12px;
1268
+ padding: 12px;
1269
+ display: grid;
1270
+ }
1271
+
1272
+ .opus_ccnMhZ_timePanel {
1273
+ min-width: 220px;
1274
+ }
1275
+
1276
+ /* components/fields/DatePickerPanel/OpusMonthInput.module.css */
1277
+ .opus_RtV775_panel {
1278
+ border: 1px solid var(--opus-border);
1279
+ border-radius: var(--opus-input-radius-large);
1280
+ background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--opus-accent) 12%, transparent), transparent 36%),
1281
+ var(--opus-panel);
1282
+ width: min(288px, 100vw - 32px);
1283
+ box-shadow: 0 18px 40px #0000005c,
1284
+ 0 0 0 1px color-mix(in srgb, var(--opus-accent) 8%, transparent);
1285
+ color: var(--opus-text);
1286
+ gap: 10px;
1287
+ padding: 12px;
1288
+ display: grid;
1289
+ }
1290
+
1291
+ .opus_RtV775_toolbar {
1292
+ grid-template-columns: auto 1fr auto;
1293
+ align-items: center;
1294
+ gap: 6px;
1295
+ display: grid;
1296
+ }
1297
+
1298
+ .opus_RtV775_nav {
1299
+ border: 1px solid color-mix(in srgb, var(--opus-border) 88%, transparent);
1300
+ background: var(--opus-input-bg);
1301
+ width: 30px;
1302
+ height: 30px;
1303
+ color: var(--opus-text);
1304
+ cursor: pointer;
1305
+ border-radius: 8px;
1306
+ place-items: center;
1307
+ font-size: 1.1rem;
1308
+ line-height: 1;
1309
+ display: grid;
1310
+ }
1311
+
1312
+ .opus_RtV775_nav:hover {
1313
+ border-color: color-mix(in srgb, var(--opus-accent) 40%, var(--opus-border));
1314
+ color: var(--opus-accent);
1315
+ }
1316
+
1317
+ .opus_RtV775_nav:focus-visible {
1318
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1319
+ outline: none;
1320
+ }
1321
+
1322
+ .opus_RtV775_year {
1323
+ text-align: center;
1324
+ font-size: .95rem;
1325
+ font-weight: 700;
1326
+ }
1327
+
1328
+ .opus_RtV775_grid {
1329
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1330
+ gap: 6px;
1331
+ display: grid;
1332
+ }
1333
+
1334
+ .opus_RtV775_month {
1335
+ background: color-mix(in srgb, var(--opus-input-bg) 88%, transparent);
1336
+ min-height: 40px;
1337
+ color: var(--opus-text);
1338
+ font: inherit;
1339
+ cursor: pointer;
1340
+ border: 1px solid #0000;
1341
+ border-radius: 10px;
1342
+ font-size: .85rem;
1343
+ font-weight: 650;
1344
+ }
1345
+
1346
+ .opus_RtV775_month:hover:not(:disabled) {
1347
+ border-color: color-mix(in srgb, var(--opus-accent) 40%, var(--opus-border));
1348
+ color: var(--opus-accent);
1349
+ }
1350
+
1351
+ .opus_RtV775_month:focus-visible {
1352
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1353
+ outline: none;
1354
+ }
1355
+
1356
+ .opus_RtV775_month:disabled {
1357
+ opacity: .4;
1358
+ cursor: not-allowed;
1359
+ }
1360
+
1361
+ .opus_RtV775_current {
1362
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--opus-accent) 45%, transparent);
1363
+ }
1364
+
1365
+ .opus_RtV775_selected {
1366
+ background: var(--opus-accent);
1367
+ color: #fff;
1368
+ border-color: #0000;
1369
+ }
1370
+
1371
+ .opus_RtV775_selected:hover:not(:disabled) {
1372
+ color: #fff;
1373
+ border-color: #0000;
1374
+ }
1375
+
1376
+ .opus_RtV775_footer {
1377
+ border-top: 1px solid color-mix(in srgb, var(--opus-border) 70%, transparent);
1378
+ justify-content: space-between;
1379
+ align-items: center;
1380
+ gap: 8px;
1381
+ padding-top: 2px;
1382
+ display: flex;
1383
+ }
1384
+
1385
+ .opus_RtV775_footerAction {
1386
+ color: var(--opus-accent);
1387
+ font: inherit;
1388
+ cursor: pointer;
1389
+ background: none;
1390
+ border: 0;
1391
+ padding: 4px 2px;
1392
+ font-size: .8rem;
1393
+ font-weight: 700;
1394
+ }
1395
+
1396
+ .opus_RtV775_footerAction:hover:not(:disabled) {
1397
+ text-decoration: underline;
1398
+ }
1399
+
1400
+ .opus_RtV775_footerAction:disabled {
1401
+ opacity: .4;
1402
+ cursor: not-allowed;
1403
+ }
1404
+
1405
+ .opus_RtV775_footerAction:focus-visible {
1406
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1407
+ border-radius: 4px;
1408
+ outline: none;
1409
+ }
1410
+
1411
+ /* components/fields/DatePickerPanel/OpusTimeInput.module.css */
1412
+ .opus_5GCnK5_panel {
1413
+ border: 1px solid var(--opus-border);
1414
+ border-radius: var(--opus-input-radius-large);
1415
+ background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--opus-accent) 12%, transparent), transparent 36%),
1416
+ var(--opus-panel);
1417
+ width: min(240px, 100vw - 32px);
1418
+ box-shadow: 0 18px 40px #0000005c,
1419
+ 0 0 0 1px color-mix(in srgb, var(--opus-accent) 8%, transparent);
1420
+ color: var(--opus-text);
1421
+ gap: 10px;
1422
+ padding: 12px;
1423
+ display: grid;
1424
+ }
1425
+
1426
+ .opus_5GCnK5_preview {
1427
+ text-align: center;
1428
+ letter-spacing: .04em;
1429
+ font-variant-numeric: tabular-nums;
1430
+ margin: 0;
1431
+ font-size: 1.35rem;
1432
+ font-weight: 750;
1433
+ }
1434
+
1435
+ .opus_5GCnK5_columns {
1436
+ grid-template-columns: 1fr 1fr;
1437
+ gap: 8px;
1438
+ display: grid;
1439
+ }
1440
+
1441
+ .opus_5GCnK5_column {
1442
+ gap: 6px;
1443
+ min-width: 0;
1444
+ display: grid;
1445
+ }
1446
+
1447
+ .opus_5GCnK5_columnLabel {
1448
+ color: var(--opus-text-muted);
1449
+ letter-spacing: .04em;
1450
+ text-align: center;
1451
+ text-transform: uppercase;
1452
+ font-size: .72rem;
1453
+ font-weight: 700;
1454
+ }
1455
+
1456
+ .opus_5GCnK5_columnList {
1457
+ border: 1px solid color-mix(in srgb, var(--opus-border) 80%, transparent);
1458
+ background: color-mix(in srgb, var(--opus-input-bg) 88%, transparent);
1459
+ scrollbar-width: thin;
1460
+ border-radius: 10px;
1461
+ gap: 2px;
1462
+ max-height: 220px;
1463
+ padding: 4px;
1464
+ display: grid;
1465
+ overflow: auto;
1466
+ }
1467
+
1468
+ .opus_5GCnK5_option {
1469
+ min-height: 34px;
1470
+ color: var(--opus-text);
1471
+ font: inherit;
1472
+ font-variant-numeric: tabular-nums;
1473
+ cursor: pointer;
1474
+ background: none;
1475
+ border: 0;
1476
+ border-radius: 8px;
1477
+ place-items: center;
1478
+ font-size: .92rem;
1479
+ display: grid;
1480
+ }
1481
+
1482
+ .opus_5GCnK5_option:hover {
1483
+ background: color-mix(in srgb, var(--opus-accent) 12%, transparent);
1484
+ color: var(--opus-accent);
1485
+ }
1486
+
1487
+ .opus_5GCnK5_option:focus-visible {
1488
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1489
+ outline: none;
1490
+ }
1491
+
1492
+ .opus_5GCnK5_optionSelected {
1493
+ background: var(--opus-accent);
1494
+ color: #fff;
1495
+ font-weight: 700;
1496
+ }
1497
+
1498
+ .opus_5GCnK5_optionSelected:hover {
1499
+ background: var(--opus-accent);
1500
+ color: #fff;
1501
+ }
1502
+
1503
+ .opus_5GCnK5_footer {
1504
+ border-top: 1px solid color-mix(in srgb, var(--opus-border) 70%, transparent);
1505
+ justify-content: space-between;
1506
+ align-items: center;
1507
+ gap: 8px;
1508
+ padding-top: 2px;
1509
+ display: flex;
1510
+ }
1511
+
1512
+ .opus_5GCnK5_footerAction, .opus_5GCnK5_footerActionPrimary {
1513
+ color: var(--opus-accent);
1514
+ font: inherit;
1515
+ cursor: pointer;
1516
+ background: none;
1517
+ border: 0;
1518
+ padding: 4px 2px;
1519
+ font-size: .8rem;
1520
+ font-weight: 700;
1521
+ }
1522
+
1523
+ .opus_5GCnK5_footerActionPrimary {
1524
+ margin-left: auto;
1525
+ }
1526
+
1527
+ .opus_5GCnK5_footerAction:hover, .opus_5GCnK5_footerActionPrimary:hover {
1528
+ text-decoration: underline;
1529
+ }
1530
+
1531
+ .opus_5GCnK5_footerAction:focus-visible, .opus_5GCnK5_footerActionPrimary:focus-visible {
1532
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1533
+ border-radius: 4px;
1534
+ outline: none;
1535
+ }
1536
+
1537
+ /* components/fields/DatePickerPanel/OpusWeekInput.module.css */
1538
+ .opus_Oe8kca_panel {
1539
+ border: 1px solid var(--opus-border);
1540
+ border-radius: var(--opus-input-radius-large);
1541
+ background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--opus-accent) 12%, transparent), transparent 36%),
1542
+ var(--opus-panel);
1543
+ width: min(300px, 100vw - 32px);
1544
+ box-shadow: 0 18px 40px #0000005c,
1545
+ 0 0 0 1px color-mix(in srgb, var(--opus-accent) 8%, transparent);
1546
+ color: var(--opus-text);
1547
+ gap: 10px;
1548
+ padding: 12px;
1549
+ display: grid;
1550
+ }
1551
+
1552
+ .opus_Oe8kca_toolbar {
1553
+ grid-template-columns: auto 1fr auto;
1554
+ align-items: center;
1555
+ gap: 6px;
1556
+ display: grid;
1557
+ }
1558
+
1559
+ .opus_Oe8kca_nav {
1560
+ border: 1px solid color-mix(in srgb, var(--opus-border) 88%, transparent);
1561
+ background: var(--opus-input-bg);
1562
+ width: 30px;
1563
+ height: 30px;
1564
+ color: var(--opus-text);
1565
+ cursor: pointer;
1566
+ border-radius: 8px;
1567
+ place-items: center;
1568
+ font-size: 1.1rem;
1569
+ line-height: 1;
1570
+ display: grid;
1571
+ }
1572
+
1573
+ .opus_Oe8kca_nav:hover {
1574
+ border-color: color-mix(in srgb, var(--opus-accent) 40%, var(--opus-border));
1575
+ color: var(--opus-accent);
1576
+ }
1577
+
1578
+ .opus_Oe8kca_nav:focus-visible {
1579
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1580
+ outline: none;
1581
+ }
1582
+
1583
+ .opus_Oe8kca_year {
1584
+ text-align: center;
1585
+ font-size: .95rem;
1586
+ font-weight: 700;
1587
+ }
1588
+
1589
+ .opus_Oe8kca_list {
1590
+ scrollbar-width: thin;
1591
+ gap: 4px;
1592
+ max-height: 280px;
1593
+ padding: 2px;
1594
+ display: grid;
1595
+ overflow: auto;
1596
+ }
1597
+
1598
+ .opus_Oe8kca_week {
1599
+ background: color-mix(in srgb, var(--opus-input-bg) 88%, transparent);
1600
+ min-height: 40px;
1601
+ color: var(--opus-text);
1602
+ font: inherit;
1603
+ text-align: left;
1604
+ cursor: pointer;
1605
+ border: 1px solid #0000;
1606
+ border-radius: 10px;
1607
+ grid-template-columns: auto 1fr;
1608
+ align-items: center;
1609
+ gap: 10px;
1610
+ padding: 0 12px;
1611
+ display: grid;
1612
+ }
1613
+
1614
+ .opus_Oe8kca_week:hover:not(:disabled) {
1615
+ border-color: color-mix(in srgb, var(--opus-accent) 40%, var(--opus-border));
1616
+ color: var(--opus-accent);
1617
+ }
1618
+
1619
+ .opus_Oe8kca_week:focus-visible {
1620
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1621
+ outline: none;
1622
+ }
1623
+
1624
+ .opus_Oe8kca_week:disabled {
1625
+ opacity: .4;
1626
+ cursor: not-allowed;
1627
+ }
1628
+
1629
+ .opus_Oe8kca_weekNumber {
1630
+ font-variant-numeric: tabular-nums;
1631
+ font-size: .82rem;
1632
+ font-weight: 750;
1633
+ }
1634
+
1635
+ .opus_Oe8kca_weekRange {
1636
+ color: var(--opus-text-muted);
1637
+ font-size: .8rem;
1638
+ font-weight: 600;
1639
+ }
1640
+
1641
+ .opus_Oe8kca_week:hover:not(:disabled) .opus_Oe8kca_weekRange, .opus_Oe8kca_selected .opus_Oe8kca_weekRange {
1642
+ color: inherit;
1643
+ }
1644
+
1645
+ .opus_Oe8kca_current {
1646
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--opus-accent) 45%, transparent);
1647
+ }
1648
+
1649
+ .opus_Oe8kca_selected {
1650
+ background: var(--opus-accent);
1651
+ color: #fff;
1652
+ border-color: #0000;
1653
+ }
1654
+
1655
+ .opus_Oe8kca_selected:hover:not(:disabled) {
1656
+ color: #fff;
1657
+ border-color: #0000;
1658
+ }
1659
+
1660
+ .opus_Oe8kca_footer {
1661
+ border-top: 1px solid color-mix(in srgb, var(--opus-border) 70%, transparent);
1662
+ justify-content: space-between;
1663
+ align-items: center;
1664
+ gap: 8px;
1665
+ padding-top: 2px;
1666
+ display: flex;
1667
+ }
1668
+
1669
+ .opus_Oe8kca_footerAction {
1670
+ color: var(--opus-accent);
1671
+ font: inherit;
1672
+ cursor: pointer;
1673
+ background: none;
1674
+ border: 0;
1675
+ padding: 4px 2px;
1676
+ font-size: .8rem;
1677
+ font-weight: 700;
1678
+ }
1679
+
1680
+ .opus_Oe8kca_footerAction:hover:not(:disabled) {
1681
+ text-decoration: underline;
1682
+ }
1683
+
1684
+ .opus_Oe8kca_footerAction:disabled {
1685
+ opacity: .4;
1686
+ cursor: not-allowed;
1687
+ }
1688
+
1689
+ .opus_Oe8kca_footerAction:focus-visible {
1690
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1691
+ border-radius: 4px;
1692
+ outline: none;
1693
+ }
1694
+
1193
1695
  /* components/fields/HiddenField/HiddenField.module.css */
1194
1696
  .opus_kL1YXS_preview {
1195
1697
  padding: var(--opus-control-padding-y, 8px) var(--opus-control-padding-x, 10px);
@@ -9633,6 +10135,65 @@ button.opus_7Zs_d5_docCard:hover, .opus_7Zs_d5_docCard[data-kind="folder"]:hover
9633
10135
  }
9634
10136
  }
9635
10137
 
10138
+ /* components/fields/ComboboxField/ComboboxField.module.css */
10139
+ .opus_tXYPoZ_root {
10140
+ width: 100%;
10141
+ position: relative;
10142
+ }
10143
+
10144
+ .opus_tXYPoZ_input {
10145
+ width: 100%;
10146
+ min-height: var(--opus-control-height);
10147
+ border: 1px solid var(--opus-border);
10148
+ background: var(--opus-input-bg);
10149
+ color: var(--opus-text);
10150
+ box-sizing: border-box;
10151
+ font: inherit;
10152
+ border-radius: 10px;
10153
+ padding: 0 12px;
10154
+ }
10155
+
10156
+ .opus_tXYPoZ_input:focus {
10157
+ border-color: var(--opus-accent);
10158
+ outline: 2px solid color-mix(in srgb, var(--opus-accent) 30%, transparent);
10159
+ outline-offset: 1px;
10160
+ }
10161
+
10162
+ .opus_tXYPoZ_inputError {
10163
+ border-color: color-mix(in srgb, var(--opus-error, #dc2626) 75%, transparent);
10164
+ }
10165
+
10166
+ .opus_tXYPoZ_portal {
10167
+ z-index: 1000;
10168
+ margin: 0;
10169
+ position: fixed;
10170
+ }
10171
+
10172
+ .opus_tXYPoZ_list {
10173
+ border: 1px solid var(--opus-border-strong);
10174
+ border-radius: var(--opus-input-radius-large, 12px);
10175
+ background: var(--opus-panel);
10176
+ max-height: min(280px, 50vh);
10177
+ box-shadow: var(--opus-shadow);
10178
+ overflow: auto;
10179
+ }
10180
+
10181
+ .opus_tXYPoZ_option {
10182
+ width: 100%;
10183
+ color: var(--opus-text);
10184
+ font: inherit;
10185
+ text-align: left;
10186
+ cursor: pointer;
10187
+ background: none;
10188
+ border: 0;
10189
+ padding: 10px 12px;
10190
+ display: block;
10191
+ }
10192
+
10193
+ .opus_tXYPoZ_option:hover, .opus_tXYPoZ_optionActive {
10194
+ background: color-mix(in srgb, var(--opus-accent) 14%, var(--opus-panel));
10195
+ }
10196
+
9636
10197
  /* components/fields/AdvancedFields/AdvancedFields.module.css */
9637
10198
  .opus_ymQ4nN_input, .opus_ymQ4nN_rangeGrid input, .opus_ymQ4nN_affixed {
9638
10199
  width: 100%;