anentrypoint-design 0.0.26 → 0.0.28

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/247420.css CHANGED
@@ -1521,19 +1521,28 @@
1521
1521
 
1522
1522
  .ds-247420 .chat-msg {
1523
1523
  display: grid;
1524
- grid-template-columns: 32px 1fr;
1524
+ grid-template-columns: 32px minmax(0, 1fr);
1525
1525
  gap: 10px;
1526
- align-items: flex-start;
1526
+ align-items: start;
1527
1527
  max-width: 92%;
1528
1528
  }
1529
1529
  .ds-247420 .chat-msg.you {
1530
- grid-template-columns: 1fr 32px;
1530
+ grid-template-columns: minmax(0, 1fr) 32px;
1531
1531
  margin-left: auto;
1532
- text-align: right;
1532
+ justify-self: end;
1533
1533
  }
1534
+ .ds-247420 .chat-msg.you .chat-stack { align-items: flex-end; }
1534
1535
  .ds-247420 .chat-msg.you .chat-bubble { background: var(--panel-accent); color: var(--panel-accent-fg); border-radius: 18px 18px 4px 18px; }
1535
1536
  .ds-247420 .chat-msg.you .chat-meta { justify-content: flex-end; }
1536
1537
 
1538
+ .ds-247420 .chat-stack {
1539
+ display: flex;
1540
+ flex-direction: column;
1541
+ align-items: flex-start;
1542
+ gap: 4px;
1543
+ min-width: 0;
1544
+ }
1545
+
1537
1546
  .ds-247420 .chat-avatar {
1538
1547
  width: 32px; height: 32px;
1539
1548
  border-radius: 999px;
@@ -1559,14 +1568,13 @@
1559
1568
  line-height: 1.5;
1560
1569
  text-align: left;
1561
1570
  white-space: pre-wrap;
1562
- word-wrap: break-word;
1571
+ overflow-wrap: anywhere;
1572
+ max-width: 100%;
1563
1573
  }
1564
- .ds-247420 .chat-msg.you .chat-bubble { text-align: left; display: inline-block; }
1565
1574
 
1566
1575
  .ds-247420 .chat-meta {
1567
1576
  display: flex;
1568
1577
  gap: 6px;
1569
- margin-top: 4px;
1570
1578
  font-family: var(--ff-mono);
1571
1579
  font-size: 10.5px;
1572
1580
  color: var(--panel-text-3);
@@ -1668,3 +1676,201 @@
1668
1676
  line-height: 1.0;
1669
1677
  letter-spacing: -0.5px;
1670
1678
  }
1679
+
1680
+ /* Inline elements inside bubbles */
1681
+ .ds-247420 .chat-bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
1682
+ .ds-247420 .chat-bubble strong { font-weight: 600; }
1683
+ .ds-247420 .chat-bubble em { font-style: italic; }
1684
+ .ds-247420 .chat-bubble code.chat-tick {
1685
+ font-family: var(--ff-mono);
1686
+ font-size: 12px;
1687
+ background: rgba(0,0,0,0.18);
1688
+ padding: 1px 5px;
1689
+ border-radius: 5px;
1690
+ }
1691
+ .ds-247420 .chat-msg.you .chat-bubble code.chat-tick { background: rgba(255,255,255,0.22); }
1692
+
1693
+ /* Markdown-lite block bubble */
1694
+ .ds-247420 .chat-md p { margin: 0 0 8px 0; }
1695
+ .ds-247420 .chat-md p:last-child { margin-bottom: 0; }
1696
+ .ds-247420 .chat-md ul { margin: 4px 0 4px 0; padding-left: 18px; }
1697
+ .ds-247420 .chat-md li { margin: 2px 0; }
1698
+
1699
+ /* Code attachment */
1700
+ .ds-247420 .chat-code {
1701
+ padding: 0;
1702
+ overflow: hidden;
1703
+ max-width: 100%;
1704
+ background: var(--panel-1);
1705
+ border-radius: 14px 14px 14px 6px;
1706
+ width: 100%;
1707
+ box-sizing: border-box;
1708
+ }
1709
+ .ds-247420 .chat-msg.you .chat-code { border-radius: 14px 14px 6px 14px; background: var(--panel-1); color: var(--panel-text); }
1710
+ .ds-247420 .chat-code-head {
1711
+ display: flex;
1712
+ align-items: center;
1713
+ gap: 10px;
1714
+ padding: 8px 14px;
1715
+ background: var(--panel-2);
1716
+ color: var(--panel-text-2);
1717
+ font-family: var(--ff-mono);
1718
+ font-size: 11.5px;
1719
+ letter-spacing: 0.02em;
1720
+ }
1721
+ .ds-247420 .chat-code-head .lang { color: var(--panel-accent); font-weight: 600; text-transform: lowercase; }
1722
+ .ds-247420 .chat-code-head .name { color: var(--panel-text-2); }
1723
+ .ds-247420 .chat-code pre {
1724
+ margin: 0;
1725
+ padding: 12px 14px;
1726
+ background: var(--panel-1);
1727
+ color: var(--panel-text);
1728
+ font-family: var(--ff-mono);
1729
+ font-size: 12.5px;
1730
+ line-height: 1.55;
1731
+ overflow-x: auto;
1732
+ max-width: 100%;
1733
+ box-sizing: border-box;
1734
+ }
1735
+ .ds-247420 .chat-code pre code { background: transparent; padding: 0; font-family: inherit; font-size: inherit; }
1736
+
1737
+ /* Image attachment */
1738
+ .ds-247420 .chat-image {
1739
+ display: block;
1740
+ max-width: 100%;
1741
+ border-radius: 14px 14px 14px 6px;
1742
+ overflow: hidden;
1743
+ background: var(--panel-2);
1744
+ text-decoration: none;
1745
+ color: inherit;
1746
+ }
1747
+ .ds-247420 .chat-msg.you .chat-image { border-radius: 14px 14px 6px 14px; }
1748
+ .ds-247420 .chat-image img { display: block; max-width: 360px; max-height: 320px; width: 100%; height: auto; object-fit: cover; }
1749
+ .ds-247420 .chat-image .cap {
1750
+ display: block;
1751
+ padding: 6px 12px 8px 12px;
1752
+ font-size: 12px;
1753
+ color: var(--panel-text-2);
1754
+ }
1755
+
1756
+ /* PDF attachment */
1757
+ .ds-247420 .chat-pdf {
1758
+ background: var(--panel-2);
1759
+ border-radius: 14px 14px 14px 6px;
1760
+ overflow: hidden;
1761
+ max-width: 100%;
1762
+ width: 360px;
1763
+ }
1764
+ .ds-247420 .chat-msg.you .chat-pdf { border-radius: 14px 14px 6px 14px; }
1765
+ .ds-247420 .chat-pdf-head {
1766
+ display: flex;
1767
+ align-items: center;
1768
+ gap: 8px;
1769
+ padding: 10px 12px;
1770
+ font-family: var(--ff-mono);
1771
+ font-size: 12px;
1772
+ color: var(--panel-text);
1773
+ background: var(--panel-1);
1774
+ }
1775
+ .ds-247420 .chat-pdf-head .glyph { color: var(--mascot, #e0a200); font-size: 16px; }
1776
+ .ds-247420 .chat-pdf-head .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1777
+ .ds-247420 .chat-pdf-head .size { color: var(--panel-text-3); font-size: 11px; }
1778
+ .ds-247420 .chat-pdf-head .open { color: var(--panel-accent); text-decoration: none; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); }
1779
+ .ds-247420 .chat-pdf-head .open:hover { filter: brightness(1.1); }
1780
+ .ds-247420 .chat-pdf embed { display: block; width: 100%; height: 280px; background: var(--panel-0); border: 0; }
1781
+
1782
+ /* Generic file attachment */
1783
+ .ds-247420 .chat-file {
1784
+ display: grid;
1785
+ grid-template-columns: 36px 1fr 28px;
1786
+ gap: 12px;
1787
+ align-items: center;
1788
+ background: var(--panel-2);
1789
+ color: var(--panel-text);
1790
+ text-decoration: none;
1791
+ padding: 10px 14px;
1792
+ border-radius: 14px 14px 14px 6px;
1793
+ max-width: 360px;
1794
+ transition: background 80ms ease;
1795
+ }
1796
+ .ds-247420 .chat-msg.you .chat-file { border-radius: 14px 14px 6px 14px; background: rgba(255,255,255,0.18); color: var(--panel-accent-fg); }
1797
+ .ds-247420 .chat-file:hover { background: var(--panel-3); }
1798
+ .ds-247420 .chat-msg.you .chat-file:hover { background: rgba(255,255,255,0.28); }
1799
+ .ds-247420 .chat-file .glyph {
1800
+ width: 36px; height: 36px;
1801
+ display: inline-flex; align-items: center; justify-content: center;
1802
+ background: var(--panel-1);
1803
+ color: var(--panel-accent);
1804
+ border-radius: 10px;
1805
+ font-family: var(--ff-mono);
1806
+ font-size: 16px;
1807
+ }
1808
+ .ds-247420 .chat-msg.you .chat-file .glyph { background: rgba(0,0,0,0.18); color: var(--panel-accent-fg); }
1809
+ .ds-247420 .chat-file .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
1810
+ .ds-247420 .chat-file .name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1811
+ .ds-247420 .chat-file .size { font-family: var(--ff-mono); font-size: 11px; color: var(--panel-text-3); letter-spacing: 0.02em; text-transform: uppercase; }
1812
+ .ds-247420 .chat-msg.you .chat-file .size { color: rgba(255,255,255,0.7); }
1813
+ .ds-247420 .chat-file .go { color: var(--panel-text-3); font-size: 14px; text-align: right; }
1814
+ .ds-247420 .chat-msg.you .chat-file .go { color: rgba(255,255,255,0.7); }
1815
+
1816
+ /* Link card */
1817
+ .ds-247420 .chat-link {
1818
+ display: flex;
1819
+ gap: 12px;
1820
+ background: var(--panel-2);
1821
+ color: var(--panel-text);
1822
+ text-decoration: none;
1823
+ padding: 10px 12px;
1824
+ border-radius: 14px 14px 14px 6px;
1825
+ max-width: 420px;
1826
+ transition: background 80ms ease;
1827
+ }
1828
+ .ds-247420 .chat-msg.you .chat-link { border-radius: 14px 14px 6px 14px; background: rgba(255,255,255,0.18); color: var(--panel-accent-fg); }
1829
+ .ds-247420 .chat-link:hover { background: var(--panel-3); }
1830
+ .ds-247420 .chat-link .thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--panel-1); }
1831
+ .ds-247420 .chat-link .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
1832
+ .ds-247420 .chat-link .host { font-family: var(--ff-mono); font-size: 10.5px; color: var(--panel-text-3); letter-spacing: 0.02em; text-transform: uppercase; }
1833
+ .ds-247420 .chat-msg.you .chat-link .host { color: rgba(255,255,255,0.7); }
1834
+ .ds-247420 .chat-link .title { font-size: 13px; font-weight: 600; line-height: 1.35; }
1835
+ .ds-247420 .chat-link .desc { font-size: 12px; color: var(--panel-text-2); line-height: 1.4; max-height: 2.8em; overflow: hidden; }
1836
+ .ds-247420 .chat-msg.you .chat-link .desc { color: rgba(255,255,255,0.78); }
1837
+
1838
+ /* Reactions */
1839
+ .ds-247420 .chat-reactions {
1840
+ display: flex;
1841
+ flex-wrap: wrap;
1842
+ gap: 4px;
1843
+ }
1844
+ .ds-247420 .chat-reactions .rxn {
1845
+ display: inline-flex;
1846
+ align-items: center;
1847
+ gap: 4px;
1848
+ padding: 2px 8px;
1849
+ background: var(--panel-2);
1850
+ color: var(--panel-text-2);
1851
+ border-radius: 999px;
1852
+ font-family: var(--ff-ui);
1853
+ font-size: 11.5px;
1854
+ line-height: 1.3;
1855
+ cursor: pointer;
1856
+ transition: background 80ms ease;
1857
+ }
1858
+ .ds-247420 .chat-reactions .rxn:hover { background: var(--panel-3); }
1859
+ .ds-247420 .chat-reactions .rxn.you {
1860
+ background: color-mix(in oklab, var(--panel-accent) 26%, var(--panel-2));
1861
+ color: var(--panel-text);
1862
+ }
1863
+ .ds-247420 .chat-reactions .rxn .e { font-size: 13px; }
1864
+ .ds-247420 .chat-reactions .rxn .n { font-family: var(--ff-mono); font-size: 11px; }
1865
+
1866
+ /* Meta meta — name + tick */
1867
+ .ds-247420 .chat-meta .who { color: var(--panel-text-2); font-family: var(--ff-ui); font-weight: 600; font-size: 11px; }
1868
+ .ds-247420 .chat-meta .tick { color: var(--panel-text-3); }
1869
+ .ds-247420 .chat-meta .tick.read { color: var(--panel-accent); }
1870
+
1871
+ /* Stack: when bubble is a card kind, give them a little gap */
1872
+ .ds-247420 .chat-stack > .chat-image,
1873
+ .ds-247420 .chat-stack > .chat-code,
1874
+ .ds-247420 .chat-stack > .chat-pdf,
1875
+ .ds-247420 .chat-stack > .chat-file,
1876
+ .ds-247420 .chat-stack > .chat-link { max-width: 100%; }