synthesisui 0.16.435 → 0.16.436

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,12 @@
1
1
  import { FAMILY_SEAM_PREFIX } from "./fonts.js";
2
+ /**
3
+ * A PÁGINA QUE O BOTÃO ABRE (dono, 19/09) - e ela SOMA ao passo a passo, nunca o substitui.
4
+ *
5
+ * Um endereço não é uma requisição: a página desenha inteira sem rede, e o navegador só o segue se
6
+ * a pessoa clicar. É por isso que ele convive com o auto-contido - e é por isso que os três
7
+ * comandos continuam escritos aqui dentro, para quem abrir o arquivo offline.
8
+ */
9
+ const INSTALL_URL = "https://www.synthesisui.com/install";
2
10
  import { HALOGEN_TOKENS, HALOGEN_VERSION } from "./report-theme.js";
3
11
  import { semCor } from "./transcript.js";
4
12
  /**
@@ -143,9 +151,11 @@ function desenharPassos(passos) {
143
151
  </li>`)
144
152
  .join("\n");
145
153
  return ` <section class="chapter passos" style="--ordem:12">
146
- <h2><span>How to install it, start to finish</span></h2>
147
- <p class="callout">Three commands, in this order. Each one says what it does before it says what to type - a command without a stated consequence is somebody pasting into their terminal on faith.</p>
148
- <a class="botao" href="#passo-1">Install SynthesisUI</a>
154
+ <div class="passos-topo">
155
+ <h2><span>How to install it, start to finish</span></h2>
156
+ <a class="botao" href="${INSTALL_URL}" target="_blank" rel="noreferrer">Open the install page</a>
157
+ </div>
158
+ <p class="callout">Three commands, in this order. Each one says what it does before it says what to type - a command without a stated consequence is somebody pasting into their terminal on faith. They are all here, so this works with no internet at all.</p>
149
159
  <ol class="lista-passos" id="passo-1">
150
160
  ${itens}
151
161
  </ol>
@@ -730,11 +740,20 @@ footer { margin-top: 40px; color: var(--ds-color-semantic-muted); font-size: 13p
730
740
  .lado { position: static; max-height: none; padding-bottom: 20px; }
731
741
  }
732
742
 
733
- /* O BOTAO: um alvo unico para quem leu a conta e decidiu. Ele leva para o primeiro passo DENTRO da
734
- pagina - sair para a internet contradiria o arquivo que nao faz requisicao nenhuma. */
743
+ /* O BOTAO: um alvo unico para quem leu a conta e decidiu, no topo direito do capitulo. Ele abre a
744
+ pagina publica de instalacao - e isso nao quebra o auto-contido, porque um endereco so e buscado
745
+ se a pessoa clicar. Os tres comandos seguem escritos aqui embaixo, para quem esta sem rede. */
746
+ .passos-topo {
747
+ display: flex;
748
+ align-items: center;
749
+ justify-content: space-between;
750
+ gap: 16px;
751
+ flex-wrap: wrap;
752
+ }
753
+ .passos-topo h2 { margin-bottom: 0; }
735
754
  .botao {
736
755
  display: inline-block;
737
- margin: 4px 0 20px;
756
+ margin: 0;
738
757
  padding: 12px 22px;
739
758
  border-radius: var(--ds-radius-lg, 12px);
740
759
  background: var(--ds-color-semantic-accent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.16.435",
3
+ "version": "0.16.436",
4
4
  "description": "Bring SynthesisUI design systems into any project - tokens, typed components, whole pages and an agent-ready CLAUDE.md manifest.",
5
5
  "type": "module",
6
6
  "bin": {