@q9labsai/chalk-ui 4.1.11 → 4.1.12

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.
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 80" fill="none">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 80" fill="none">
2
2
  <defs>
3
3
  <linearGradient id="grn" x1="0%" y1="0%" x2="100%" y2="0%">
4
4
  <stop offset="0%" stop-color="#C5E5C0"/><stop offset="100%" stop-color="#80B879"/>
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 80" fill="none">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 80" fill="none">
2
2
  <defs>
3
3
  <linearGradient id="grn" x1="0%" y1="0%" x2="100%" y2="0%">
4
4
  <stop offset="0%" stop-color="#C5E5C0"/><stop offset="100%" stop-color="#80B879"/>
package/dist/styles.css CHANGED
@@ -175,6 +175,8 @@
175
175
  --chalk-app-control-group: #f0efeb;
176
176
  --chalk-app-control-primary: #202329;
177
177
  --chalk-app-control-primary-hover: #343840;
178
+ --chalk-entrance-primary: #202329;
179
+ --chalk-entrance-primary-hover: #343840;
178
180
  --chalk-app-control-active: #dff2f7;
179
181
  --chalk-app-control-active-line: #9dcfe1;
180
182
  --chalk-app-control-active-text: #202329;
@@ -1726,6 +1728,199 @@ main[data-chalk][data-chalk-skin="chalk"][data-chalk-palette="cosmic-chalk"] > *
1726
1728
  animation: chalk-search-highlight 2s ease-in-out infinite;
1727
1729
  }
1728
1730
 
1731
+ /* Canonical logo motion: the chalk sticks move while the wordmark stays fixed. */
1732
+ .chalk-logo {
1733
+ display: block;
1734
+ overflow: visible;
1735
+ }
1736
+
1737
+ .chalk-logo__stick {
1738
+ transform-box: fill-box;
1739
+ transform-origin: center;
1740
+ }
1741
+
1742
+ @keyframes chalk-logo-orbit-green {
1743
+ 0%,
1744
+ 100% {
1745
+ transform: translate(0, 0) rotate(0deg);
1746
+ }
1747
+
1748
+ 50% {
1749
+ transform: translate(-4px, 3px) rotate(-5deg);
1750
+ }
1751
+ }
1752
+
1753
+ @keyframes chalk-logo-orbit-yellow {
1754
+ 0%,
1755
+ 100% {
1756
+ transform: translate(0, 0) rotate(0deg);
1757
+ }
1758
+
1759
+ 50% {
1760
+ transform: translate(3px, -4px) rotate(4deg);
1761
+ }
1762
+ }
1763
+
1764
+ @keyframes chalk-logo-orbit-blue {
1765
+ 0%,
1766
+ 100% {
1767
+ transform: translate(0, 0) rotate(0deg);
1768
+ }
1769
+
1770
+ 50% {
1771
+ transform: translate(5px, 2px) rotate(5deg);
1772
+ }
1773
+ }
1774
+
1775
+ @keyframes chalk-logo-orbit-pink {
1776
+ 0%,
1777
+ 100% {
1778
+ transform: translate(0, 0) rotate(0deg);
1779
+ }
1780
+
1781
+ 50% {
1782
+ transform: translate(-3px, -3px) rotate(-4deg);
1783
+ }
1784
+ }
1785
+
1786
+ @keyframes chalk-logo-burst-green {
1787
+ 0%,
1788
+ 100% {
1789
+ transform: translate(0, 0) scale(1) rotate(0deg);
1790
+ }
1791
+
1792
+ 24% {
1793
+ transform: translate(-14px, -9px) scale(1.14) rotate(-8deg);
1794
+ }
1795
+
1796
+ 54% {
1797
+ transform: translate(-2px, 2px) scale(0.98) rotate(2deg);
1798
+ }
1799
+ }
1800
+
1801
+ @keyframes chalk-logo-burst-yellow {
1802
+ 0%,
1803
+ 100% {
1804
+ transform: translate(0, 0) scale(1) rotate(0deg);
1805
+ }
1806
+
1807
+ 24% {
1808
+ transform: translate(-4px, -14px) scale(1.14) rotate(-4deg);
1809
+ }
1810
+
1811
+ 54% {
1812
+ transform: translate(1px, 1px) scale(0.98) rotate(1deg);
1813
+ }
1814
+ }
1815
+
1816
+ @keyframes chalk-logo-burst-blue {
1817
+ 0%,
1818
+ 100% {
1819
+ transform: translate(0, 0) scale(1) rotate(0deg);
1820
+ }
1821
+
1822
+ 24% {
1823
+ transform: translate(14px, -6px) scale(1.16) rotate(8deg);
1824
+ }
1825
+
1826
+ 54% {
1827
+ transform: translate(2px, 1px) scale(0.98) rotate(-2deg);
1828
+ }
1829
+ }
1830
+
1831
+ @keyframes chalk-logo-burst-pink {
1832
+ 0%,
1833
+ 100% {
1834
+ transform: translate(0, 0) scale(1) rotate(0deg);
1835
+ }
1836
+
1837
+ 24% {
1838
+ transform: translate(11px, 12px) scale(1.13) rotate(7deg);
1839
+ }
1840
+
1841
+ 54% {
1842
+ transform: translate(1px, -1px) scale(0.98) rotate(-1deg);
1843
+ }
1844
+ }
1845
+
1846
+ [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick {
1847
+ animation-duration: 4.8s;
1848
+ animation-iteration-count: infinite;
1849
+ animation-timing-function: ease-in-out;
1850
+ will-change: transform;
1851
+ }
1852
+
1853
+ [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--green {
1854
+ animation-name: chalk-logo-orbit-green;
1855
+ animation-delay: -120ms;
1856
+ }
1857
+
1858
+ [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--yellow {
1859
+ animation-name: chalk-logo-orbit-yellow;
1860
+ animation-delay: -760ms;
1861
+ }
1862
+
1863
+ [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--blue {
1864
+ animation-name: chalk-logo-orbit-blue;
1865
+ animation-delay: -1.35s;
1866
+ }
1867
+
1868
+ [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--pink {
1869
+ animation-name: chalk-logo-orbit-pink;
1870
+ animation-delay: -2.05s;
1871
+ }
1872
+
1873
+ @media (hover: hover) and (pointer: fine) {
1874
+ [data-chalk-logo-motion="orbit-burst"]:hover .chalk-logo__stick {
1875
+ animation-duration: 1.1s;
1876
+ animation-delay: 0ms;
1877
+ animation-timing-function: var(--chalk-ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
1878
+ }
1879
+
1880
+ [data-chalk-logo-motion="orbit-burst"]:hover .chalk-logo__stick--green {
1881
+ animation-name: chalk-logo-burst-green;
1882
+ }
1883
+
1884
+ [data-chalk-logo-motion="orbit-burst"]:hover .chalk-logo__stick--yellow {
1885
+ animation-name: chalk-logo-burst-yellow;
1886
+ }
1887
+
1888
+ [data-chalk-logo-motion="orbit-burst"]:hover .chalk-logo__stick--blue {
1889
+ animation-name: chalk-logo-burst-blue;
1890
+ }
1891
+
1892
+ [data-chalk-logo-motion="orbit-burst"]:hover .chalk-logo__stick--pink {
1893
+ animation-name: chalk-logo-burst-pink;
1894
+ }
1895
+ }
1896
+
1897
+ :where(a, button):focus-visible [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick,
1898
+ [data-chalk-logo-motion="orbit-burst"]:focus-visible .chalk-logo__stick {
1899
+ animation-duration: 1.1s;
1900
+ animation-delay: 0ms;
1901
+ animation-timing-function: var(--chalk-ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
1902
+ }
1903
+
1904
+ :where(a, button):focus-visible [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--green,
1905
+ [data-chalk-logo-motion="orbit-burst"]:focus-visible .chalk-logo__stick--green {
1906
+ animation-name: chalk-logo-burst-green;
1907
+ }
1908
+
1909
+ :where(a, button):focus-visible [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--yellow,
1910
+ [data-chalk-logo-motion="orbit-burst"]:focus-visible .chalk-logo__stick--yellow {
1911
+ animation-name: chalk-logo-burst-yellow;
1912
+ }
1913
+
1914
+ :where(a, button):focus-visible [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--blue,
1915
+ [data-chalk-logo-motion="orbit-burst"]:focus-visible .chalk-logo__stick--blue {
1916
+ animation-name: chalk-logo-burst-blue;
1917
+ }
1918
+
1919
+ :where(a, button):focus-visible [data-chalk-logo-motion="orbit-burst"] .chalk-logo__stick--pink,
1920
+ [data-chalk-logo-motion="orbit-burst"]:focus-visible .chalk-logo__stick--pink {
1921
+ animation-name: chalk-logo-burst-pink;
1922
+ }
1923
+
1729
1924
  /* Low confidence text styling */
1730
1925
  .chalk-low-confidence {
1731
1926
  text-decoration: underline;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q9labsai/chalk-ui",
3
- "version": "4.1.11",
3
+ "version": "4.1.12",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -179,7 +179,7 @@
179
179
  },
180
180
  "dependencies": {
181
181
  "@base-ui/react": "^1.0.0",
182
- "@q9labsai/chalk-assets": "^4.1.11",
182
+ "@q9labsai/chalk-assets": "^4.1.12",
183
183
  "class-variance-authority": "^0.7.1",
184
184
  "clsx": "^2.1.1",
185
185
  "tailwind-merge": "^3.6.0"