opus-react 0.2.10 → 0.2.16

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
@@ -177,7 +177,7 @@
177
177
 
178
178
  .opus_zNi12Z_flagged {
179
179
  align-items: start;
180
- gap: 8px 12px;
180
+ gap: 0 12px;
181
181
  width: 100%;
182
182
  display: grid;
183
183
  }
@@ -277,6 +277,7 @@
277
277
 
278
278
  .opus_zNi12Z_errorFlagged {
279
279
  grid-area: opus_zNi12Z_error;
280
+ margin-top: 8px;
280
281
  }
281
282
 
282
283
  .opus_zNi12Z_required {
@@ -1509,6 +1510,126 @@
1509
1510
  cursor: default;
1510
1511
  }
1511
1512
 
1513
+ .opus_6HFqZH_modalOverlay {
1514
+ z-index: 60;
1515
+ backdrop-filter: blur(2px);
1516
+ background: #0406148c;
1517
+ justify-content: center;
1518
+ align-items: center;
1519
+ padding: 24px;
1520
+ display: flex;
1521
+ position: fixed;
1522
+ inset: 0;
1523
+ }
1524
+
1525
+ .opus_6HFqZH_modal {
1526
+ border: 1px solid var(--opus-border-strong);
1527
+ background: var(--opus-panel);
1528
+ width: 100%;
1529
+ max-width: 340px;
1530
+ color: var(--opus-text);
1531
+ box-shadow: var(--opus-shadow, 0 24px 60px #0006);
1532
+ border-radius: 14px;
1533
+ gap: 14px;
1534
+ padding: 18px;
1535
+ display: grid;
1536
+ }
1537
+
1538
+ .opus_6HFqZH_modalTitle {
1539
+ color: var(--opus-text);
1540
+ margin: 0;
1541
+ font-size: .95rem;
1542
+ font-weight: 700;
1543
+ }
1544
+
1545
+ .opus_6HFqZH_modalField {
1546
+ gap: 5px;
1547
+ display: grid;
1548
+ }
1549
+
1550
+ .opus_6HFqZH_modalLabel {
1551
+ color: var(--opus-muted);
1552
+ font-size: .72rem;
1553
+ font-weight: 600;
1554
+ display: block;
1555
+ }
1556
+
1557
+ .opus_6HFqZH_modalInput, .opus_6HFqZH_modalNumber {
1558
+ border: 1px solid var(--opus-border-strong);
1559
+ background: var(--opus-input-fill);
1560
+ width: 100%;
1561
+ min-height: 34px;
1562
+ color: var(--opus-text);
1563
+ border-radius: 8px;
1564
+ padding: 0 10px;
1565
+ font-size: .85rem;
1566
+ }
1567
+
1568
+ .opus_6HFqZH_modalInput:focus-visible, .opus_6HFqZH_modalNumber:focus-visible {
1569
+ border-color: var(--opus-accent);
1570
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1571
+ outline: none;
1572
+ }
1573
+
1574
+ .opus_6HFqZH_modalDimensions {
1575
+ align-items: flex-end;
1576
+ gap: 10px;
1577
+ display: flex;
1578
+ }
1579
+
1580
+ .opus_6HFqZH_modalDimensionField {
1581
+ flex: 1;
1582
+ gap: 5px;
1583
+ display: grid;
1584
+ }
1585
+
1586
+ .opus_6HFqZH_modalTimes {
1587
+ color: var(--opus-muted);
1588
+ padding-bottom: 7px;
1589
+ font-size: 1rem;
1590
+ font-weight: 700;
1591
+ }
1592
+
1593
+ .opus_6HFqZH_modalActions {
1594
+ justify-content: flex-end;
1595
+ gap: 8px;
1596
+ display: flex;
1597
+ }
1598
+
1599
+ .opus_6HFqZH_modalCancel, .opus_6HFqZH_modalConfirm {
1600
+ cursor: pointer;
1601
+ border-radius: 8px;
1602
+ min-height: 34px;
1603
+ padding: 0 14px;
1604
+ font-size: .8rem;
1605
+ font-weight: 600;
1606
+ }
1607
+
1608
+ .opus_6HFqZH_modalCancel {
1609
+ border: 1px solid var(--opus-border-strong);
1610
+ background: var(--opus-input-fill);
1611
+ color: var(--opus-text);
1612
+ }
1613
+
1614
+ .opus_6HFqZH_modalCancel:hover {
1615
+ background: color-mix(in srgb, var(--opus-accent-soft) 70%, var(--opus-input-fill));
1616
+ }
1617
+
1618
+ .opus_6HFqZH_modalConfirm {
1619
+ border: 1px solid var(--opus-accent);
1620
+ background: var(--opus-accent);
1621
+ color: var(--opus-accent-contrast, #fff);
1622
+ }
1623
+
1624
+ .opus_6HFqZH_modalConfirm:hover:not(:disabled) {
1625
+ filter: brightness(1.05);
1626
+ }
1627
+
1628
+ .opus_6HFqZH_modalConfirm:disabled {
1629
+ opacity: .5;
1630
+ cursor: not-allowed;
1631
+ }
1632
+
1512
1633
  /* components/fields/TextField/TextField.module.css */
1513
1634
  .opus_SOck2f_input {
1514
1635
  width: 100%;