@kenlo/kdls-design-system 2.18.0 → 2.19.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "package": {
3
3
  "name": "@kenlo/kdls-design-system",
4
- "version": "2.18.0"
4
+ "version": "2.19.0"
5
5
  },
6
6
  "install": {
7
7
  "add": "npm install @kenlo/kdls-design-system",
@@ -5635,21 +5635,21 @@
5635
5635
  "type": "string",
5636
5636
  "default": "—",
5637
5637
  "required": true,
5638
- "description": "Texto exibido no toast — 1º argumento de toast()",
5638
+ "description": "Texto exibido no toast — 1º argumento de toast(). Um problema por toast: com vários, eles formam uma pilha (o primeiro na frente, a ponta de mais dois em cima; o clique abre todos e o \"Fechar todos\" fecha de uma vez)",
5639
5639
  "example": "toast('Cadastro salvo!')"
5640
5640
  },
5641
5641
  {
5642
5642
  "name": "feedback",
5643
5643
  "type": "'neutral'|'success'|'alert'|'error'",
5644
5644
  "default": "'neutral'",
5645
- "description": "Estado visual — 'neutral' sem ícone · 'success' verde · 'alert' amarelo · 'error' vermelho. Atalhos: toast.neutral/success/alert/error. 'error' fica 8s, os demais 4s",
5645
+ "description": "Estado visual — 'neutral' sem ícone · 'success' verde · 'alert' amarelo · 'error' vermelho. Atalhos: toast.neutral/success/alert/error. 'error' fica 8s, os demais 4s — o tempo só conta para o toast da frente da pilha; o próximo começa quando ele sai",
5646
5646
  "example": "toast('...', { feedback: 'neutral' })"
5647
5647
  },
5648
5648
  {
5649
5649
  "name": "actionLabel",
5650
5650
  "type": "string",
5651
5651
  "default": "—",
5652
- "description": "Label do botão de ação exibido à direita da mensagem. Requer onAction",
5652
+ "description": "Label do botão de ação, numa linha só dele embaixo da mensagem, alinhado ao texto — a mensagem fica com a largura toda. Requer onAction",
5653
5653
  "example": "actionLabel: 'Desfazer'"
5654
5654
  },
5655
5655
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenlo/kdls-design-system",
3
- "version": "2.18.0",
3
+ "version": "2.19.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "KDLS Design System — componentes React + TypeScript",