@1doc/1ds-vue 2.12.2 → 2.13.0
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/CHANGELOG.md +22 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.mjs +578 -567
- package/dist/index.umd.js +3 -3
- package/package.json +2 -2
- package/src/teste/breadcrumb-truncado.test.mjs +46 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @1doc/1ds-vue
|
|
2
2
|
|
|
3
|
+
## 2.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ab0ee2b: feat(breadcrumb): `truncate`, a trilha numa linha só
|
|
8
|
+
|
|
9
|
+
O `Breadcrumb` ganha `truncate`. A trilha passa a ocupar uma linha só e, quando não cabe, a página atual (o último item) encolhe
|
|
10
|
+
primeiro, com reticências, até 80px (separador incluído); só então os níveis anteriores encolhem. O separador nunca encolhe e o rótulo inteiro fica no
|
|
11
|
+
`title` de cada item. Feito para barras de altura fixa, como o `AppSubheader`, quando o último nível é um texto longo: o CrisDoc
|
|
12
|
+
mostra ali o número e o assunto do processo aberto, e sem isto a trilha quebrava em três linhas no celular. Sem a prop, nada muda.
|
|
13
|
+
|
|
14
|
+
```vue
|
|
15
|
+
<Breadcrumb
|
|
16
|
+
truncate
|
|
17
|
+
:items="[
|
|
18
|
+
{ label: '1Doc', href: '/' },
|
|
19
|
+
{ label: 'Proc. Administrativo 412/2026' },
|
|
20
|
+
{ label: assunto },
|
|
21
|
+
]"
|
|
22
|
+
/>
|
|
23
|
+
```
|
|
24
|
+
|
|
3
25
|
## 2.12.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|