@tooark/web-components 1.7.0 → 1.8.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/README.md CHANGED
@@ -74,7 +74,7 @@ Declare the page's `color-scheme` to pick the theme (`light`, `dark` or `light d
74
74
  - `ark-alert` — Alert/banner: the host is the box in the intent's soft color, your children are the message (free text or elements), `slot="icon"` left, `slot="action"` right, `heading`, `dismissible` with animated exit, `live` region (`status`/`alert`).
75
75
  - `ark-avatar` — Avatar (`role="img"` named by `name`): initials from `name`, `src` image that falls back to the initials on load error, `size`, `shape` circle/square, custom `color`, `variant` soft/solid.
76
76
  - `ark-badge` — Short status/category label: intents, `soft`/`solid`/`outline`, `xs`–`md`, `rounded`, custom `color` via `color-mix`. The host is the badge; icon and text stay as its children.
77
- - `ark-button` — Intents, sizes, style variants (solid/outline/ghost), `rounded` (up to `full`), `loading`/`icon-only`/`full-width` states, `status` feedback (success/error glyph + announcement), link mode (`href`), forms (`type="submit"` is the form's default button, so Enter in its text fields submits).
77
+ - `ark-button` — Intents, sizes, style variants (solid/outline/ghost/soft), `rounded` (up to `full`), `loading`/`icon-only`/`full-width` states, `status` feedback (success/error glyph + announcement), link mode (`href`), forms (`type="submit"` is the form's default button, so Enter in its text fields submits).
78
78
  - `ark-calendar` — Inline month grid (MUI DateCalendar-style): localized, WAI-ARIA keyboard navigation, motion, month/year views from the title and colored events (`dots`/`count`/`list`).
79
79
  - `ark-card` — Card: the host is the box (`surface`, `border`, `rounded`) and a grid: `heading` (h2) or `slot="header"` with `slot="actions"` on the top row, unslotted children as the body, `slot="footer"` last with a divider; `padding` none–lg.
80
80
  - `ark-carousel` — Native CSS scroll snap (touch/trackpad scroll natively, mouse drag emulated), autoplay, loop, dots and arrows. Slides stay as your direct children.
@@ -119,7 +119,7 @@ Declare the page's `color-scheme` to pick the theme (`light`, `dark` or `light d
119
119
  - `ark-toggle` — Pressed-state button (`aria-pressed`), standalone (outline/tinted per intent) or as a group item.
120
120
  - `ark-toggle-group` — Segmented control: exclusive (default) or multiple selection, synced `value`, propagates `size`/`intent`/`theme`/`disabled` to items.
121
121
  - `ark-tooltip` — Tooltip on the Popover API: wraps your trigger without moving it, text via `content` or rich `slot="content"`, `side` with flip, `delay`, hover/focus/Esc, `aria-describedby` on the trigger.
122
- - `ark-tree` / `ark-tree-item` — Declarative tree: nested items stay in place; selection none / single / multiple, checkboxes with propagate, lazy loading, WAI-ARIA keyboard and typeahead.
122
+ - `ark-tree` / `ark-tree-item` — Declarative tree: nested items stay in place; selection none / single / multiple, checkboxes with propagate, lazy loading, built-in folder/file icons (`icons`, `icon-color`), WAI-ARIA keyboard and typeahead.
123
123
 
124
124
  Full attribute reference, theming guide and E2E hooks: [https://github.com/Tooark/web-components#readme](https://github.com/Tooark/web-components#readme) · live examples with interaction tests: [Storybook](https://tooark.com/web-components/).
125
125
 
@@ -194,8 +194,8 @@ Installed automatically unless marked as peer; peer dependencies are yours to in
194
194
 
195
195
  | Package | Version | Description |
196
196
  | ---------------------------------------------------------------- | ------- | ---------------------------------------------------------------- |
197
- | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.7.0 | Types, i18n, toast/announce services, motion and overlay helpers |
198
- | [`@tooark/tokens`](https://www.npmjs.com/package/@tooark/tokens) | ^1.7.0 | Design tokens (colors, sizes, motion) and primitive types |
197
+ | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.8.0 | Types, i18n, toast/announce services, motion and overlay helpers |
198
+ | [`@tooark/tokens`](https://www.npmjs.com/package/@tooark/tokens) | ^1.8.0 | Design tokens (colors, sizes, motion) and primitive types |
199
199
  | [`tslib`](https://www.npmjs.com/package/tslib) | ^2.9.1 | TypeScript runtime helpers |
200
200
 
201
201
  ---
package/README.pt-BR.md CHANGED
@@ -74,7 +74,7 @@ Declare o `color-scheme` da página para escolher o tema (`light`, `dark` ou `li
74
74
  - `ark-alert` — Alerta/banner: o host é a caixa na cor suave do intent, os filhos são a mensagem (texto livre ou elementos), `slot="icon"` à esquerda, `slot="action"` à direita, `heading`, `dismissible` com saída animada, `live` region (`status`/`alert`).
75
75
  - `ark-avatar` — Avatar (`role="img"` nomeado por `name`): iniciais de `name`, imagem `src` que cai para as iniciais em erro de carga, `size`, `shape` circle/square, `color` própria, `variant` soft/solid.
76
76
  - `ark-badge` — Rótulo curto de status/categoria: intents, `soft`/`solid`/`outline`, `xs`–`md`, `rounded`, `color` própria via `color-mix`. O host é o badge; ícone e texto ficam como filhos.
77
- - `ark-button` — Intents, tamanhos, variantes (solid/outline/ghost), `rounded` (até `full`), estados `loading`/`icon-only`/`full-width`, feedback `status` (glifo de sucesso/erro + anúncio), modo link (`href`) e formulário (`type="submit"` é o botão padrão do formulário, então Enter nos campos de texto envia).
77
+ - `ark-button` — Intents, tamanhos, variantes (solid/outline/ghost/soft), `rounded` (até `full`), estados `loading`/`icon-only`/`full-width`, feedback `status` (glifo de sucesso/erro + anúncio), modo link (`href`) e formulário (`type="submit"` é o botão padrão do formulário, então Enter nos campos de texto envia).
78
78
  - `ark-calendar` — Grid de mês inline (no estilo do DateCalendar do MUI): localizado, teclado WAI-ARIA, motion, views de mês/ano no título e eventos com cor (`dots`/`count`/`list`).
79
79
  - `ark-card` — Cartão: o host é a caixa (`surface`, `border`, `rounded`) e uma grid: `heading` (h2) ou `slot="header"` com `slot="actions"` na linha de cima, filhos sem slot como corpo, `slot="footer"` por último com divisor; `padding` none–lg.
80
80
  - `ark-carousel` — CSS scroll snap nativo (touch/trackpad rolam nativamente, arrasto com mouse emulado), autoplay, loop, dots e setas. Os slides continuam sendo seus filhos diretos.
@@ -119,7 +119,7 @@ Declare o `color-scheme` da página para escolher o tema (`light`, `dark` ou `li
119
119
  - `ark-toggle` — Botão de estado pressionado (`aria-pressed`), standalone (outline/tinted por intent) ou como item de grupo.
120
120
  - `ark-toggle-group` — Segmented control: seleção exclusiva (padrão) ou múltipla, `value` sincronizado, propaga `size`/`intent`/`theme`/`disabled` aos itens.
121
121
  - `ark-tooltip` — Tooltip sobre a Popover API: envolve o gatilho sem movê-lo, texto por `content` ou `slot="content"` rico, `side` com flip, `delay`, hover/foco/Esc, `aria-describedby` no gatilho.
122
- - `ark-tree` / `ark-tree-item` — Árvore declarativa: os itens aninhados ficam onde estão; seleção none / single / multiple, caixas com propagate, carga lazy, teclado WAI-ARIA e busca por digitação.
122
+ - `ark-tree` / `ark-tree-item` — Árvore declarativa: os itens aninhados ficam onde estão; seleção none / single / multiple, caixas com propagate, carga lazy, ícones próprios de pasta e arquivo (`icons`, `icon-color`), teclado WAI-ARIA e busca por digitação.
123
123
 
124
124
  Referência completa de atributos, guia de tema e hooks de E2E: [https://github.com/Tooark/web-components/blob/main/README.pt-BR.md](https://github.com/Tooark/web-components/blob/main/README.pt-BR.md) · exemplos vivos com testes de interação: [Storybook](https://tooark.com/web-components/).
125
125
 
@@ -194,8 +194,8 @@ Instaladas automaticamente, salvo as marcadas como peer, que ficam por sua conta
194
194
 
195
195
  | Pacote | Versão | Descrição |
196
196
  | ---------------------------------------------------------------- | ------ | -------------------------------------------------------------------- |
197
- | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.7.0 | Tipos, i18n, serviços de toast/announce, motion e helpers de overlay |
198
- | [`@tooark/tokens`](https://www.npmjs.com/package/@tooark/tokens) | ^1.7.0 | Design tokens (cores, tamanhos, motion) e tipos primitivos |
197
+ | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.8.0 | Tipos, i18n, serviços de toast/announce, motion e helpers de overlay |
198
+ | [`@tooark/tokens`](https://www.npmjs.com/package/@tooark/tokens) | ^1.8.0 | Design tokens (cores, tamanhos, motion) e tipos primitivos |
199
199
  | [`tslib`](https://www.npmjs.com/package/tslib) | ^2.9.1 | Helpers de runtime do TypeScript |
200
200
 
201
201
  ---