@helpway/react 0.17.2 → 0.17.3
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.ts +18 -2
- package/dist/index.js +222 -94
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/themed/styles.css +23 -6
package/package.json
CHANGED
package/src/themed/styles.css
CHANGED
|
@@ -1628,19 +1628,36 @@
|
|
|
1628
1628
|
|
|
1629
1629
|
/* ── Streaming cursor ────────────────────── */
|
|
1630
1630
|
|
|
1631
|
-
|
|
1631
|
+
/* Drawn at the end of the last line of the answer: after the last paragraph's
|
|
1632
|
+
text, or the last item of a list that ends it. A code block that ends an
|
|
1633
|
+
answer gets none.
|
|
1634
|
+
|
|
1635
|
+
It fades, it does not switch. The old cursor went from 0.6 to 0 in one step
|
|
1636
|
+
every 0.8s, a hard flash at the end of text that is itself moving. */
|
|
1637
|
+
.hw-msg-bubble--live > span > :last-child:not(ol, ul, pre)::after,
|
|
1638
|
+
.hw-msg-bubble--live > span > :is(ol, ul):last-child > li:last-child::after {
|
|
1639
|
+
content: "";
|
|
1632
1640
|
display: inline-block;
|
|
1633
1641
|
width: 2px;
|
|
1634
1642
|
height: 1em;
|
|
1643
|
+
border-radius: 1px;
|
|
1635
1644
|
background: currentColor;
|
|
1636
|
-
opacity: 0.
|
|
1637
|
-
margin-left:
|
|
1645
|
+
opacity: 0.5;
|
|
1646
|
+
margin-left: 2px;
|
|
1638
1647
|
vertical-align: text-bottom;
|
|
1639
|
-
animation: hw-cursor-
|
|
1648
|
+
animation: hw-cursor-breathe 1.1s ease-in-out infinite;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
@keyframes hw-cursor-breathe {
|
|
1652
|
+
0%, 100% { opacity: 0.5; }
|
|
1653
|
+
50% { opacity: 0.12; }
|
|
1640
1654
|
}
|
|
1641
1655
|
|
|
1642
|
-
@
|
|
1643
|
-
|
|
1656
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1657
|
+
.hw-msg-bubble--live > span > :last-child:not(ol, ul, pre)::after,
|
|
1658
|
+
.hw-msg-bubble--live > span > :is(ol, ul):last-child > li:last-child::after {
|
|
1659
|
+
animation: none;
|
|
1660
|
+
}
|
|
1644
1661
|
}
|
|
1645
1662
|
|
|
1646
1663
|
/* ── Link preview card ───────────────────── */
|