@docsector/docsector-reader 3.6.0 → 4.0.1

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.
Files changed (56) hide show
  1. package/README.md +15 -15
  2. package/bin/docsector.js +1 -283
  3. package/package.json +1 -1
  4. package/src/components/{DPageBlockquote.vue → DBlockBlockquote.vue} +4 -0
  5. package/src/components/{DBlockCard.vue → DBlockCards.vue} +1 -1
  6. package/src/components/{DPageEmbeddedUrl.vue → DBlockEmbeddedUrl.vue} +1 -1
  7. package/src/components/{DPageExpandable.vue → DBlockExpandable.vue} +5 -0
  8. package/src/components/{DPageFile.vue → DBlockFile.vue} +1 -1
  9. package/src/components/{DPageImage.vue → DBlockImage.vue} +1 -1
  10. package/src/components/{DMermaidDiagram.vue → DBlockMermaidDiagram.vue} +4 -0
  11. package/src/components/{DQuickLinks.vue → DBlockQuickLinks.vue} +4 -0
  12. package/src/components/{DPageSourceCode.vue → DBlockSourceCode.vue} +6 -1
  13. package/src/components/DBlockStepper.vue +210 -0
  14. package/src/components/DBlockTimeline.vue +319 -0
  15. package/src/components/DPageSection.vue +5 -0
  16. package/src/components/DPageTokens.vue +56 -21
  17. package/src/components/DSubpage.vue +14 -2
  18. package/src/components/page-section-tokens.js +273 -10
  19. package/src/composables/useActiveAnchor.js +42 -0
  20. package/src/composables/useNavigator.js +24 -17
  21. package/src/home-page-mode.js +5 -0
  22. package/src/i18n/languages/en-US.hjson +5 -0
  23. package/src/i18n/languages/pt-BR.hjson +5 -0
  24. package/src/pages/guide/i18n-and-markdown.overview.en-US.md +6 -6
  25. package/src/pages/guide/i18n-and-markdown.overview.pt-BR.md +6 -6
  26. package/src/pages/guide/theming.overview.en-US.md +1 -1
  27. package/src/pages/guide/theming.overview.pt-BR.md +1 -1
  28. package/src/pages/manual/basic/d-page-anchor.overview.en-US.md +1 -1
  29. package/src/pages/manual/basic/d-page-anchor.overview.pt-BR.md +1 -1
  30. package/src/pages/manual/content/blocks/embedded-urls.overview.en-US.md +3 -3
  31. package/src/pages/manual/content/blocks/embedded-urls.overview.pt-BR.md +3 -3
  32. package/src/pages/manual/content/blocks/embedded-urls.showcase.en-US.md +8 -8
  33. package/src/pages/manual/content/blocks/embedded-urls.showcase.pt-BR.md +8 -8
  34. package/src/pages/manual/content/blocks/expandable.overview.en-US.md +8 -8
  35. package/src/pages/manual/content/blocks/expandable.overview.pt-BR.md +8 -8
  36. package/src/pages/manual/content/blocks/expandable.showcase.en-US.md +6 -6
  37. package/src/pages/manual/content/blocks/expandable.showcase.pt-BR.md +6 -6
  38. package/src/pages/manual/content/blocks/files.overview.en-US.md +3 -3
  39. package/src/pages/manual/content/blocks/files.overview.pt-BR.md +3 -3
  40. package/src/pages/manual/content/blocks/files.showcase.en-US.md +5 -5
  41. package/src/pages/manual/content/blocks/files.showcase.pt-BR.md +5 -5
  42. package/src/pages/manual/content/blocks/quick-links.overview.en-US.md +4 -4
  43. package/src/pages/manual/content/blocks/quick-links.overview.pt-BR.md +4 -4
  44. package/src/pages/manual/content/blocks/quick-links.showcase.en-US.md +9 -9
  45. package/src/pages/manual/content/blocks/quick-links.showcase.pt-BR.md +9 -9
  46. package/src/pages/manual/content/blocks/stepper.overview.en-US.md +59 -0
  47. package/src/pages/manual/content/blocks/stepper.overview.pt-BR.md +59 -0
  48. package/src/pages/manual/content/blocks/stepper.showcase.en-US.md +115 -0
  49. package/src/pages/manual/content/blocks/stepper.showcase.pt-BR.md +115 -0
  50. package/src/pages/manual/content/blocks/timeline.overview.en-US.md +47 -0
  51. package/src/pages/manual/content/blocks/timeline.overview.pt-BR.md +47 -0
  52. package/src/pages/manual/content/blocks/timeline.showcase.en-US.md +170 -0
  53. package/src/pages/manual/content/blocks/timeline.showcase.pt-BR.md +170 -0
  54. package/src/pages/manual.index.js +56 -0
  55. package/src/quasar.factory.js +13 -11
  56. package/src/store/Page.js +4 -2
@@ -0,0 +1,115 @@
1
+ ## Showcase
2
+
3
+ The examples below use the native vertical Quasar Stepper renderer. Click a step header or use the navigation buttons inside the active step.
4
+
5
+ ### Basic Setup Flow
6
+
7
+ <d-block-stepper>
8
+ <d-block-step title="Install dependencies">
9
+
10
+ Run `npm install` in the project root.
11
+
12
+ </d-block-step>
13
+
14
+ <d-block-step title="Start the development server">
15
+
16
+ Run `npm run dev` and keep the terminal open while you work.
17
+
18
+ </d-block-step>
19
+
20
+ <d-block-step title="Open the app">
21
+
22
+ Visit the local URL printed by the CLI and confirm the homepage loads.
23
+
24
+ </d-block-step>
25
+ </d-block-stepper>
26
+
27
+ ### Rich Markdown
28
+
29
+ <d-block-stepper>
30
+ <d-block-step title="Check the prerequisites">
31
+
32
+ - Node.js 20 or newer
33
+ - npm 9 or newer
34
+ - Access to the project repository
35
+
36
+ </d-block-step>
37
+
38
+ <d-block-step title="Run the smoke checks">
39
+
40
+ > [!TIP]
41
+ > Fix lint or test failures before opening a pull request.
42
+
43
+ ```bash
44
+ npm run lint
45
+ npm run test
46
+ ```
47
+
48
+ </d-block-step>
49
+
50
+ <d-block-step title="Capture the outcome">
51
+
52
+ Attach the command output, note any warnings, and link the related issue or pull request.
53
+
54
+ </d-block-step>
55
+ </d-block-stepper>
56
+
57
+ ### Troubleshooting Sequence
58
+
59
+ <d-block-stepper>
60
+ <d-block-step title="Reproduce the issue">
61
+
62
+ Describe the exact page, browser, and action that triggered the problem.
63
+
64
+ </d-block-step>
65
+
66
+ <d-block-step title="Collect evidence">
67
+
68
+ Take a screenshot, copy the console output, and note whether the issue also happens on mobile.
69
+
70
+ </d-block-step>
71
+
72
+ <d-block-step title="Validate the fix">
73
+
74
+ Repeat the same flow after the change and confirm the original failure no longer appears.
75
+
76
+ </d-block-step>
77
+ </d-block-stepper>
78
+
79
+ ### Custom Header Icons
80
+
81
+ <d-block-stepper>
82
+ <d-block-step title="Connect the repository" icon="folder_open" active-icon="folder_open" done-icon="task_alt">
83
+
84
+ Clone the repository or open the existing local workspace before starting the workflow.
85
+
86
+ </d-block-step>
87
+
88
+ <d-block-step title="Review the issue" icon="manage_search" active-icon="manage_search" done-icon="task_alt">
89
+
90
+ Read the reproduction steps, confirm the scope, and identify the narrowest possible fix.
91
+
92
+ </d-block-step>
93
+
94
+ <d-block-step title="Ship the patch" icon="rocket_launch" active-icon="rocket_launch" done-icon="verified">
95
+
96
+ Run the focused checks, update the docs, and prepare the change for review.
97
+
98
+ </d-block-step>
99
+ </d-block-stepper>
100
+
101
+ ### Different Icons Per State
102
+
103
+ <d-block-stepper>
104
+ <d-block-step title="Draft the plan" active-icon="edit_note" done-icon="task_alt">
105
+
106
+ Keep the numeric prefix while the step is idle, then switch to a clearer icon while it is active or completed.
107
+
108
+ </d-block-step>
109
+
110
+ <d-block-step title="Validate the output" active-icon="play_circle" done-icon="check_circle">
111
+
112
+ This pattern is useful when you want numbered headers by default but still want visual feedback during execution.
113
+
114
+ </d-block-step>
115
+ </d-block-stepper>
@@ -0,0 +1,115 @@
1
+ ## Showcase
2
+
3
+ Os exemplos abaixo usam o renderer nativo do Stepper vertical do Quasar. Clique no cabeçalho de uma etapa ou use os botões de navegação dentro da etapa ativa.
4
+
5
+ ### Fluxo básico de setup
6
+
7
+ <d-block-stepper>
8
+ <d-block-step title="Instale as dependências">
9
+
10
+ Execute `npm install` na raiz do projeto.
11
+
12
+ </d-block-step>
13
+
14
+ <d-block-step title="Inicie o servidor de desenvolvimento">
15
+
16
+ Execute `npm run dev` e mantenha o terminal aberto durante o trabalho.
17
+
18
+ </d-block-step>
19
+
20
+ <d-block-step title="Abra a aplicação">
21
+
22
+ Visite a URL local impressa pela CLI e confirme que a homepage foi carregada.
23
+
24
+ </d-block-step>
25
+ </d-block-stepper>
26
+
27
+ ### Markdown rico
28
+
29
+ <d-block-stepper>
30
+ <d-block-step title="Confira os pré-requisitos">
31
+
32
+ - Node.js 20 ou superior
33
+ - npm 9 ou superior
34
+ - Acesso ao repositório do projeto
35
+
36
+ </d-block-step>
37
+
38
+ <d-block-step title="Execute os smoke checks">
39
+
40
+ > [!TIP]
41
+ > Corrija falhas de lint ou teste antes de abrir um pull request.
42
+
43
+ ```bash
44
+ npm run lint
45
+ npm run test
46
+ ```
47
+
48
+ </d-block-step>
49
+
50
+ <d-block-step title="Registre o resultado">
51
+
52
+ Anexe a saída dos comandos, documente warnings relevantes e adicione o link da issue ou do pull request relacionado.
53
+
54
+ </d-block-step>
55
+ </d-block-stepper>
56
+
57
+ ### Sequência de troubleshooting
58
+
59
+ <d-block-stepper>
60
+ <d-block-step title="Reproduza o problema">
61
+
62
+ Descreva exatamente a página, o navegador e a ação que dispararam o erro.
63
+
64
+ </d-block-step>
65
+
66
+ <d-block-step title="Colete evidências">
67
+
68
+ Tire uma captura de tela, copie a saída do console e anote se o problema também acontece no mobile.
69
+
70
+ </d-block-step>
71
+
72
+ <d-block-step title="Valide a correção">
73
+
74
+ Repita o mesmo fluxo depois da mudança e confirme que a falha original deixou de aparecer.
75
+
76
+ </d-block-step>
77
+ </d-block-stepper>
78
+
79
+ ### Ícones personalizados no cabeçalho
80
+
81
+ <d-block-stepper>
82
+ <d-block-step title="Conecte o repositório" icon="folder_open" active-icon="folder_open" done-icon="task_alt">
83
+
84
+ Clone o repositório ou abra o workspace local existente antes de começar o fluxo.
85
+
86
+ </d-block-step>
87
+
88
+ <d-block-step title="Revise a issue" icon="manage_search" active-icon="manage_search" done-icon="task_alt">
89
+
90
+ Leia a reprodução, confirme o escopo e identifique a menor correção possível.
91
+
92
+ </d-block-step>
93
+
94
+ <d-block-step title="Entregue o patch" icon="rocket_launch" active-icon="rocket_launch" done-icon="verified">
95
+
96
+ Execute os checks focados, atualize a documentação e prepare a mudança para revisão.
97
+
98
+ </d-block-step>
99
+ </d-block-stepper>
100
+
101
+ ### Ícones diferentes por estado
102
+
103
+ <d-block-stepper>
104
+ <d-block-step title="Esboce o plano" active-icon="edit_note" done-icon="task_alt">
105
+
106
+ Mantenha a numeração enquanto a etapa está inativa e troque para um ícone mais claro quando ela estiver ativa ou concluída.
107
+
108
+ </d-block-step>
109
+
110
+ <d-block-step title="Valide a saída" active-icon="play_circle" done-icon="check_circle">
111
+
112
+ Esse padrão é útil quando você quer cabeçalhos numerados por padrão, mas ainda deseja feedback visual durante a execução.
113
+
114
+ </d-block-step>
115
+ </d-block-stepper>
@@ -0,0 +1,47 @@
1
+ ## Overview
2
+
3
+ Timeline blocks render chronological updates inside Markdown, making them a good fit for changelogs, release notes, migration logs, and rollout journals.
4
+
5
+ Each item requires a date, can expose optional tags, supports a stable hash anchor, and renders rich body content inside the entry.
6
+
7
+ The block is authored with the custom Markdown elements `<d-block-timeline>`, `<d-block-timeline-item>`, and optional `<d-block-timeline-tag>` children.
8
+
9
+ ## HTML Example
10
+
11
+ ````html
12
+ <d-block-timeline>
13
+ <d-block-timeline-item date="2025-12-25" anchor="brand-new-update">
14
+
15
+ <d-block-timeline-tag color="warning" icon="rocket_launch">beta</d-block-timeline-tag>
16
+ <d-block-timeline-tag color="secondary" text-color="white">docs</d-block-timeline-tag>
17
+
18
+ ## A brand new update
19
+
20
+ Use this block for release notes, product announcements, migration notices, or operational updates.
21
+
22
+ <d-block-quick-links title="Related links">
23
+ <d-block-quick-link title="Install" description="Set up the project" to="/guide/getting-started" />
24
+ </d-block-quick-links>
25
+
26
+ </d-block-timeline-item>
27
+
28
+ <d-block-timeline-item date="2026-01-10">
29
+
30
+ ## General availability
31
+
32
+ This second entry gets its own generated anchor even when dates repeat.
33
+
34
+ </d-block-timeline-item>
35
+ </d-block-timeline>
36
+ ````
37
+
38
+ ## Notes
39
+
40
+ - Every `<d-block-timeline-item>` must define a `date` attribute.
41
+ - Timeline tags are optional and should be declared with `<d-block-timeline-tag>` inside the item body.
42
+ - `<d-block-timeline-tag>` supports plain text content or a `label` attribute, plus optional `color`, `text-color`, and `icon` attributes.
43
+ - `anchor` is optional. When omitted, Docsector generates a unique hash from the item date plus the first visible text block inside the item.
44
+ - Item bodies support regular Markdown, alerts, fenced code, math, tables, images, and nested Docsector blocks that already work in normal page sections.
45
+ - Headings inside timeline items are flattened into paragraph output so the page-level table of contents stays stable.
46
+ - Timeline items do not add extra nodes to the right-side page TOC; deep links still work through normal hash URLs.
47
+ - Keep a clear leading heading or paragraph near the top of each item so generated anchors stay readable.
@@ -0,0 +1,47 @@
1
+ ## Visão geral
2
+
3
+ Os blocos Timeline renderizam atualizações cronológicas dentro do Markdown, sendo uma boa escolha para changelogs, notas de versão, históricos de migração e diários de rollout.
4
+
5
+ Cada item exige uma data, pode expor tags opcionais, aceita uma âncora estável e renderiza conteúdo rico dentro da entrada.
6
+
7
+ O bloco é escrito com os elementos Markdown customizados `<d-block-timeline>`, `<d-block-timeline-item>` e os filhos opcionais `<d-block-timeline-tag>`.
8
+
9
+ ## Exemplo em HTML
10
+
11
+ ````html
12
+ <d-block-timeline>
13
+ <d-block-timeline-item date="2025-12-25" anchor="brand-new-update">
14
+
15
+ <d-block-timeline-tag color="warning" icon="rocket_launch">beta</d-block-timeline-tag>
16
+ <d-block-timeline-tag color="secondary" text-color="white">docs</d-block-timeline-tag>
17
+
18
+ ## Uma atualização novinha
19
+
20
+ Use este bloco para notas de versão, anúncios de produto, avisos de migração ou atualizações operacionais.
21
+
22
+ <d-block-quick-links title="Links relacionados">
23
+ <d-block-quick-link title="Instalar" description="Prepare o projeto" to="/guide/getting-started" />
24
+ </d-block-quick-links>
25
+
26
+ </d-block-timeline-item>
27
+
28
+ <d-block-timeline-item date="2026-01-10">
29
+
30
+ ## Disponibilidade geral
31
+
32
+ Esta segunda entrada recebe sua própria âncora gerada automaticamente, mesmo quando datas se repetem.
33
+
34
+ </d-block-timeline-item>
35
+ </d-block-timeline>
36
+ ````
37
+
38
+ ## Observações
39
+
40
+ - Todo `<d-block-timeline-item>` precisa definir o atributo `date`.
41
+ - As tags do timeline são opcionais e devem ser declaradas com `<d-block-timeline-tag>` dentro do corpo do item.
42
+ - `<d-block-timeline-tag>` aceita texto simples ou um atributo `label`, além de `color`, `text-color` e `icon` opcionais.
43
+ - `anchor` é opcional. Quando omitido, o Docsector gera um hash único a partir da data do item e do primeiro bloco de texto visível dentro da entrada.
44
+ - O corpo do item suporta Markdown comum, alertas, blocos de código, matemática, tabelas, imagens e blocos Docsector aninhados que já funcionam em seções normais da página.
45
+ - Títulos dentro dos itens são achatados para saída de parágrafo, para manter estável o sumário principal da página.
46
+ - Itens de Timeline não adicionam novos nós ao sumário lateral; links profundos continuam funcionando com hashes normais.
47
+ - Mantenha um título ou parágrafo inicial claro no topo de cada item para que as âncoras geradas fiquem legíveis.
@@ -0,0 +1,170 @@
1
+ ## Showcase
2
+
3
+ The examples below show changelog-style timelines with rich content, tags, repeated dates, and direct-link anchors.
4
+
5
+ ### Long scrolling content with multiple entries
6
+
7
+ <d-block-timeline>
8
+ <d-block-timeline-item date="2025-12-18">
9
+
10
+ <d-block-timeline-tag color="warning" icon="rocket_launch">release</d-block-timeline-tag>
11
+ <d-block-timeline-tag color="secondary" text-color="white">migration</d-block-timeline-tag>
12
+
13
+ ## Migration preparation
14
+
15
+ Start by documenting the exact scope of the rollout, including the pages, integrations, and deployment windows that are affected by the change.
16
+
17
+ Create a short checklist for the team, then confirm which parts of the rollout can happen in parallel and which ones must stay serialized.
18
+
19
+ - Confirm the affected environments
20
+ - Capture rollback steps
21
+ - Note any user-facing communication that must ship together with the release
22
+
23
+ ~~~bash
24
+ npm run lint
25
+ npm run test
26
+ npm run build
27
+ ~~~
28
+
29
+ </d-block-timeline-item>
30
+
31
+ <d-block-timeline-item date="2025-12-19">
32
+
33
+ <d-block-timeline-tag color="primary" text-color="white">operations</d-block-timeline-tag>
34
+ <d-block-timeline-tag color="orange" text-color="white">rollout</d-block-timeline-tag>
35
+
36
+ ## Incremental rollout
37
+
38
+ Ship the first slice to a smaller audience, watch the error budget, and log any unexpected behavior before widening exposure.
39
+
40
+ If the metrics remain healthy, continue with the second rollout wave and update the changelog entry with the exact time and the observed result.
41
+
42
+ > [!TIP]
43
+ > Sticky dates and dots are easier to verify when each item contains enough body content to scroll independently.
44
+
45
+ </d-block-timeline-item>
46
+
47
+ <d-block-timeline-item date="2025-12-20">
48
+
49
+ <d-block-timeline-tag color="teal" text-color="white">follow-up</d-block-timeline-tag>
50
+ <d-block-timeline-tag color="grey-8" text-color="white">docs</d-block-timeline-tag>
51
+
52
+ ## Post-release follow-up
53
+
54
+ After the rollout finishes, collect the final metrics, summarize what changed, and add links to the support article, incident notes, or migration guide.
55
+
56
+ This entry is intentionally long enough to help verify the comfortable-layout sticky behavior on later timeline items, not only on the first one.
57
+
58
+ </d-block-timeline-item>
59
+ </d-block-timeline>
60
+
61
+ ### Single long entry
62
+
63
+ <d-block-timeline>
64
+ <d-block-timeline-item date="2025-11-30">
65
+
66
+ <d-block-timeline-tag color="brown-5" text-color="white">single</d-block-timeline-tag>
67
+ <d-block-timeline-tag color="indigo" text-color="white" icon="push_pin">sticky-check</d-block-timeline-tag>
68
+
69
+ ## One long entry for sticky checks
70
+
71
+ Use a single-item timeline when you want to confirm that the date and dot still stick correctly even without later entries extending the rail.
72
+
73
+ Repeat enough explanatory content here to create real scroll distance for the item and confirm the left-side metadata remains visible while the body moves.
74
+
75
+ Repeat enough explanatory content here to create real scroll distance for the item and confirm the left-side metadata remains visible while the body moves.
76
+
77
+ Repeat enough explanatory content here to create real scroll distance for the item and confirm the left-side metadata remains visible while the body moves.
78
+
79
+ </d-block-timeline-item>
80
+ </d-block-timeline>
81
+
82
+ ### Product updates
83
+
84
+ <d-block-timeline>
85
+ <d-block-timeline-item date="2026-05-07">
86
+
87
+ <d-block-timeline-tag color="warning" icon="campaign">release</d-block-timeline-tag>
88
+ <d-block-timeline-tag color="amber-8" text-color="white">permissions</d-block-timeline-tag>
89
+
90
+ ## Site permissions update
91
+
92
+ We simplified inheritance so site-level permissions are now easier to reason about across linked content.
93
+
94
+ </d-block-timeline-item>
95
+
96
+ <d-block-timeline-item date="2026-04-28">
97
+
98
+ <d-block-timeline-tag color="positive" text-color="white">improvement</d-block-timeline-tag>
99
+ <d-block-timeline-tag color="primary" text-color="white" icon="search">search</d-block-timeline-tag>
100
+
101
+ ## Faster site search
102
+
103
+ Readers now get faster results from a local index, followed by remote refinement when more matches arrive.
104
+
105
+ </d-block-timeline-item>
106
+ </d-block-timeline>
107
+
108
+ ### Rich markdown inside entries
109
+
110
+ <d-block-timeline>
111
+ <d-block-timeline-item date="2026-03-04">
112
+
113
+ <d-block-timeline-tag color="warning" icon="science">beta</d-block-timeline-tag>
114
+ <d-block-timeline-tag color="deep-orange" text-color="white">rss</d-block-timeline-tag>
115
+
116
+ ## Update blocks with RSS support
117
+
118
+ > [!TIP]
119
+ > Use tags to label beta or rollout-specific entries.
120
+
121
+ ~~~bash
122
+ npm run build
123
+ npm run release
124
+ ~~~
125
+
126
+ <d-block-quick-links title="Related links">
127
+ <d-block-quick-link title="Guide" description="Open the getting started guide" to="/guide/getting-started" />
128
+ <d-block-quick-link title="Repository" description="View the source code" href="https://github.com/docsector/docsector-reader" icon="launch" />
129
+ </d-block-quick-links>
130
+
131
+ </d-block-timeline-item>
132
+ </d-block-timeline>
133
+
134
+ ### Explicit anchors
135
+
136
+ <d-block-timeline>
137
+ <d-block-timeline-item date="2026-02-11" anchor="custom-icons-release">
138
+
139
+ <d-block-timeline-tag color="purple" text-color="white" icon="palette">ux</d-block-timeline-tag>
140
+
141
+ ## Custom icons in hint blocks
142
+
143
+ Use the `anchor` attribute when you want a stable fragment that does not depend on the visible title copy.
144
+
145
+ </d-block-timeline-item>
146
+ </d-block-timeline>
147
+
148
+ ### Repeated dates with unique generated anchors
149
+
150
+ <d-block-timeline>
151
+ <d-block-timeline-item date="2026-01-05">
152
+
153
+ <d-block-timeline-tag color="positive" text-color="white">improvement</d-block-timeline-tag>
154
+
155
+ ## New year improvements
156
+
157
+ Generated anchors stay unique even if another item reuses the same date and title.
158
+
159
+ </d-block-timeline-item>
160
+
161
+ <d-block-timeline-item date="2026-01-05">
162
+
163
+ <d-block-timeline-tag color="negative" text-color="white">fixes</d-block-timeline-tag>
164
+
165
+ ## New year improvements
166
+
167
+ This second entry gets a deduplicated hash suffix automatically.
168
+
169
+ </d-block-timeline-item>
170
+ </d-block-timeline>
@@ -0,0 +1,170 @@
1
+ ## Showcase
2
+
3
+ Os exemplos abaixo mostram timelines no estilo changelog com conteúdo rico, tags, datas repetidas e âncoras diretas.
4
+
5
+ ### Conteúdo longo com múltiplas entradas
6
+
7
+ <d-block-timeline>
8
+ <d-block-timeline-item date="2025-12-18">
9
+
10
+ <d-block-timeline-tag color="warning" icon="rocket_launch">release</d-block-timeline-tag>
11
+ <d-block-timeline-tag color="secondary" text-color="white">migração</d-block-timeline-tag>
12
+
13
+ ## Preparação da migração
14
+
15
+ Comece documentando o escopo exato do rollout, incluindo as páginas, integrações e janelas de deploy afetadas pela mudança.
16
+
17
+ Crie uma checklist curta para o time e depois confirme quais partes do rollout podem acontecer em paralelo e quais precisam permanecer serializadas.
18
+
19
+ - Confirmar os ambientes afetados
20
+ - Registrar os passos de rollback
21
+ - Anotar qualquer comunicação ao usuário que precise sair junto com o release
22
+
23
+ ~~~bash
24
+ npm run lint
25
+ npm run test
26
+ npm run build
27
+ ~~~
28
+
29
+ </d-block-timeline-item>
30
+
31
+ <d-block-timeline-item date="2025-12-19">
32
+
33
+ <d-block-timeline-tag color="primary" text-color="white">operações</d-block-timeline-tag>
34
+ <d-block-timeline-tag color="orange" text-color="white">rollout</d-block-timeline-tag>
35
+
36
+ ## Rollout incremental
37
+
38
+ Envie a primeira fatia para uma audiência menor, acompanhe o orçamento de erros e registre qualquer comportamento inesperado antes de ampliar a exposição.
39
+
40
+ Se as métricas continuarem saudáveis, avance para a segunda onda do rollout e atualize a entrada do changelog com o horário exato e o resultado observado.
41
+
42
+ > [!TIP]
43
+ > Datas e dots sticky ficam mais fáceis de validar quando cada item tem conteúdo suficiente para rolar de forma independente.
44
+
45
+ </d-block-timeline-item>
46
+
47
+ <d-block-timeline-item date="2025-12-20">
48
+
49
+ <d-block-timeline-tag color="teal" text-color="white">follow-up</d-block-timeline-tag>
50
+ <d-block-timeline-tag color="grey-8" text-color="white">docs</d-block-timeline-tag>
51
+
52
+ ## Acompanhamento pós-release
53
+
54
+ Depois que o rollout terminar, colete as métricas finais, resuma o que mudou e adicione links para o artigo de suporte, notas de incidente ou guia de migração.
55
+
56
+ Esta entrada foi deixada propositalmente longa para ajudar a verificar o comportamento sticky do layout confortável também nos itens posteriores, não apenas no primeiro.
57
+
58
+ </d-block-timeline-item>
59
+ </d-block-timeline>
60
+
61
+ ### Entrada única longa
62
+
63
+ <d-block-timeline>
64
+ <d-block-timeline-item date="2025-11-30">
65
+
66
+ <d-block-timeline-tag color="brown-5" text-color="white">único</d-block-timeline-tag>
67
+ <d-block-timeline-tag color="indigo" text-color="white" icon="push_pin">sticky-check</d-block-timeline-tag>
68
+
69
+ ## Uma entrada longa para validar sticky
70
+
71
+ Use um timeline com item único quando quiser confirmar que a data e o dot continuam sticky corretamente mesmo sem outras entradas posteriores estendendo a trilha.
72
+
73
+ Repita conteúdo explicativo suficiente aqui para criar distância real de scroll dentro do item e confirmar que os metadados do lado esquerdo continuam visíveis enquanto o corpo se move.
74
+
75
+ Repita conteúdo explicativo suficiente aqui para criar distância real de scroll dentro do item e confirmar que os metadados do lado esquerdo continuam visíveis enquanto o corpo se move.
76
+
77
+ Repita conteúdo explicativo suficiente aqui para criar distância real de scroll dentro do item e confirmar que os metadados do lado esquerdo continuam visíveis enquanto o corpo se move.
78
+
79
+ </d-block-timeline-item>
80
+ </d-block-timeline>
81
+
82
+ ### Atualizações de produto
83
+
84
+ <d-block-timeline>
85
+ <d-block-timeline-item date="2026-05-07">
86
+
87
+ <d-block-timeline-tag color="warning" icon="campaign">release</d-block-timeline-tag>
88
+ <d-block-timeline-tag color="amber-8" text-color="white">permissões</d-block-timeline-tag>
89
+
90
+ ## Atualização nas permissões do site
91
+
92
+ Simplificamos a herança para que as permissões no nível do site fiquem mais fáceis de entender em conteúdos vinculados.
93
+
94
+ </d-block-timeline-item>
95
+
96
+ <d-block-timeline-item date="2026-04-28">
97
+
98
+ <d-block-timeline-tag color="positive" text-color="white">melhoria</d-block-timeline-tag>
99
+ <d-block-timeline-tag color="primary" text-color="white" icon="search">busca</d-block-timeline-tag>
100
+
101
+ ## Busca do site mais rápida
102
+
103
+ Leitores agora recebem resultados mais rápidos a partir de um índice local, seguidos por refinamento remoto quando novas correspondências aparecem.
104
+
105
+ </d-block-timeline-item>
106
+ </d-block-timeline>
107
+
108
+ ### Markdown rico dentro das entradas
109
+
110
+ <d-block-timeline>
111
+ <d-block-timeline-item date="2026-03-04">
112
+
113
+ <d-block-timeline-tag color="warning" icon="science">beta</d-block-timeline-tag>
114
+ <d-block-timeline-tag color="deep-orange" text-color="white">rss</d-block-timeline-tag>
115
+
116
+ ## Blocos de update com suporte a RSS
117
+
118
+ > [!TIP]
119
+ > Use tags para marcar entradas beta ou específicas de rollout.
120
+
121
+ ~~~bash
122
+ npm run build
123
+ npm run release
124
+ ~~~
125
+
126
+ <d-block-quick-links title="Links relacionados">
127
+ <d-block-quick-link title="Guia" description="Abra o guia de introdução" to="/guide/getting-started" />
128
+ <d-block-quick-link title="Repositório" description="Veja o código-fonte" href="https://github.com/docsector/docsector-reader" icon="launch" />
129
+ </d-block-quick-links>
130
+
131
+ </d-block-timeline-item>
132
+ </d-block-timeline>
133
+
134
+ ### Âncoras explícitas
135
+
136
+ <d-block-timeline>
137
+ <d-block-timeline-item date="2026-02-11" anchor="custom-icons-release">
138
+
139
+ <d-block-timeline-tag color="purple" text-color="white" icon="palette">ux</d-block-timeline-tag>
140
+
141
+ ## Ícones customizados em hint blocks
142
+
143
+ Use o atributo `anchor` quando quiser um fragmento estável que não dependa do texto visível do título.
144
+
145
+ </d-block-timeline-item>
146
+ </d-block-timeline>
147
+
148
+ ### Datas repetidas com âncoras geradas únicas
149
+
150
+ <d-block-timeline>
151
+ <d-block-timeline-item date="2026-01-05">
152
+
153
+ <d-block-timeline-tag color="positive" text-color="white">melhoria</d-block-timeline-tag>
154
+
155
+ ## Melhorias de ano novo
156
+
157
+ Âncoras geradas continuam únicas mesmo quando outra entrada reutiliza a mesma data e o mesmo título.
158
+
159
+ </d-block-timeline-item>
160
+
161
+ <d-block-timeline-item date="2026-01-05">
162
+
163
+ <d-block-timeline-tag color="negative" text-color="white">correções</d-block-timeline-tag>
164
+
165
+ ## Melhorias de ano novo
166
+
167
+ Esta segunda entrada recebe automaticamente um sufixo deduplicado no hash.
168
+
169
+ </d-block-timeline-item>
170
+ </d-block-timeline>