@tecof/theme-editor 0.0.24 → 0.0.25
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.d.mts +35 -2
- package/dist/index.d.ts +35 -2
- package/dist/index.js +154 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +155 -34
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +57 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1630,4 +1630,61 @@
|
|
|
1630
1630
|
align-items: center;
|
|
1631
1631
|
justify-content: center;
|
|
1632
1632
|
position: relative;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
/* ─── FieldErrorBoundary ─── */
|
|
1636
|
+
.tecof-field-error-boundary {
|
|
1637
|
+
display: flex;
|
|
1638
|
+
align-items: flex-start;
|
|
1639
|
+
gap: 10px;
|
|
1640
|
+
padding: 12px 14px;
|
|
1641
|
+
background: #fef2f2;
|
|
1642
|
+
border: 1px solid #fecaca;
|
|
1643
|
+
border-radius: 10px;
|
|
1644
|
+
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
.tecof-field-error-icon {
|
|
1648
|
+
font-size: 18px;
|
|
1649
|
+
flex-shrink: 0;
|
|
1650
|
+
line-height: 1;
|
|
1651
|
+
margin-top: 1px;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
.tecof-field-error-content {
|
|
1655
|
+
flex: 1;
|
|
1656
|
+
min-width: 0;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
.tecof-field-error-title {
|
|
1660
|
+
font-size: 13px;
|
|
1661
|
+
font-weight: 600;
|
|
1662
|
+
color: #991b1b;
|
|
1663
|
+
margin: 0;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
.tecof-field-error-detail {
|
|
1667
|
+
font-size: 11px;
|
|
1668
|
+
color: #b91c1c;
|
|
1669
|
+
margin: 4px 0 0;
|
|
1670
|
+
word-break: break-word;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
.tecof-field-error-retry {
|
|
1674
|
+
flex-shrink: 0;
|
|
1675
|
+
padding: 6px 12px;
|
|
1676
|
+
font-size: 12px;
|
|
1677
|
+
font-weight: 500;
|
|
1678
|
+
color: #991b1b;
|
|
1679
|
+
background: #ffffff;
|
|
1680
|
+
border: 1px solid #fca5a5;
|
|
1681
|
+
border-radius: 6px;
|
|
1682
|
+
cursor: pointer;
|
|
1683
|
+
transition: all 0.15s ease;
|
|
1684
|
+
align-self: center;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
.tecof-field-error-retry:hover {
|
|
1688
|
+
background: #fef2f2;
|
|
1689
|
+
border-color: #f87171;
|
|
1633
1690
|
}
|