@bendyline/docblocks-react 1.1.1 → 1.1.2

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.
@@ -1902,6 +1902,81 @@ html:has(.db-shell[data-theme='dark'])
1902
1902
  already autosaved on every keystroke; this just confirms it
1903
1903
  so muscle-memory savers feel at ease. */
1904
1904
 
1905
+ /* ── Welcome gateway ─────────────────────────────────────────── */
1906
+ /* One-time first-run callout floated over the welcome doc's Play
1907
+ view. Names the mode the user landed in and offers a one-click
1908
+ path into the editor. Dismissed forever via localStorage. */
1909
+
1910
+ .db-welcome-gateway {
1911
+ position: absolute;
1912
+ bottom: 56px;
1913
+ left: 50%;
1914
+ transform: translateX(-50%);
1915
+ z-index: 60;
1916
+ display: flex;
1917
+ align-items: center;
1918
+ gap: 12px;
1919
+ max-width: min(640px, calc(100% - 32px));
1920
+ padding: 10px 10px 10px 16px;
1921
+ background: var(--db-bg);
1922
+ border: 1px solid var(--db-border-strong);
1923
+ border-radius: 10px;
1924
+ box-shadow: 0 10px 32px var(--db-shadow);
1925
+ color: var(--db-text);
1926
+ font-size: 13px;
1927
+ line-height: 1.45;
1928
+ animation: db-welcome-gateway-in 0.4s ease-out;
1929
+ }
1930
+
1931
+ .db-welcome-gateway-cta {
1932
+ flex-shrink: 0;
1933
+ padding: 6px 14px;
1934
+ font-size: 13px;
1935
+ font-weight: 600;
1936
+ background: var(--db-accent);
1937
+ color: var(--db-bg);
1938
+ border: none;
1939
+ border-radius: 6px;
1940
+ cursor: pointer;
1941
+ white-space: nowrap;
1942
+ }
1943
+
1944
+ .db-welcome-gateway-cta:hover {
1945
+ background: var(--db-accent-hover);
1946
+ }
1947
+
1948
+ .db-welcome-gateway-dismiss {
1949
+ flex-shrink: 0;
1950
+ display: inline-flex;
1951
+ align-items: center;
1952
+ justify-content: center;
1953
+ width: 26px;
1954
+ height: 26px;
1955
+ font-size: 16px;
1956
+ line-height: 1;
1957
+ background: transparent;
1958
+ color: var(--db-text-muted);
1959
+ border: none;
1960
+ border-radius: 6px;
1961
+ cursor: pointer;
1962
+ }
1963
+
1964
+ .db-welcome-gateway-dismiss:hover {
1965
+ background: var(--db-bg-hover);
1966
+ color: var(--db-text);
1967
+ }
1968
+
1969
+ @keyframes db-welcome-gateway-in {
1970
+ from {
1971
+ opacity: 0;
1972
+ transform: translate(-50%, 8px);
1973
+ }
1974
+ to {
1975
+ opacity: 1;
1976
+ transform: translate(-50%, 0);
1977
+ }
1978
+ }
1979
+
1905
1980
  .db-save-toast {
1906
1981
  position: fixed;
1907
1982
  bottom: 32px;