@ffid-br/tailor-ui 0.9.0 → 0.10.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.
- package/README.md +4 -1
- package/dist/index.es.js +441 -433
- package/dist/index.umd.js +1 -1
- package/dist/style.css +14 -3
- package/dist/types/components/TailorPageHeader.d.ts +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -221,7 +221,7 @@ const { theme, dark } = themeFromWhitelabel(client.account_info?.whitelabel);
|
|
|
221
221
|
breadcrumbs={[{ label: 'Início', href: '/' }, { label: 'Leads' }]}
|
|
222
222
|
back={{ label: 'Voltar', onClick: () => navigate(-1) }}
|
|
223
223
|
badge={<Badge>Beta</Badge>}
|
|
224
|
-
stats={[{ label: '
|
|
224
|
+
stats={[{ label: 'Novos', value: 128 }, { label: 'Sem resposta', value: 17, tone: 'danger' }]}
|
|
225
225
|
actions={<Button>Novo lead</Button>}
|
|
226
226
|
renderLink={({ href, ...p }) => <NavLink to={href} {...p} />}
|
|
227
227
|
>
|
|
@@ -379,6 +379,9 @@ Página pública: https://ffid-br.github.io/tailor-ui/ (publicada pelo workflow
|
|
|
379
379
|
|
|
380
380
|
## Mudanças
|
|
381
381
|
|
|
382
|
+
### 0.10.0
|
|
383
|
+
- `TailorPageHeader`: os `stats` saem do lado do título e ganham uma faixa própria, abaixo dele. Cada número tem rótulo em cima, valor grande embaixo e um fio à esquerda. `tone` (`danger`, `warning`, `success`) pinta o fio e o número; `hint` vira o title. Algarismos alinhados (`lining-nums`), para o Raleway não desalinhar "598". A lateral fica só para `actions`.
|
|
384
|
+
|
|
382
385
|
### 0.8.0
|
|
383
386
|
- `TailorButton`: botão da marca (`primary`, `secondary`, `ghost`, `dark`, `danger`; `sm`/`md`/`lg`; só ícone). `loading` troca o ícone pelo ponto correndo e bloqueia o clique; `done` mostra o check. O primário segue `--tailor-brand-primary` e o texto `--tailor-brand-on-primary` (o `themeFromWhitelabel` escolhe preto ou branco pelo contraste).
|
|
384
387
|
|