@tooark/angular 1.2.2 → 1.4.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
@@ -9,7 +9,7 @@ Standalone Angular wrappers for the Tooark Web Components: `@Input()`s for the a
9
9
 
10
10
  ---
11
11
 
12
- ## Contents
12
+ ## 📑 Contents
13
13
 
14
14
  - [Overview](#-overview)
15
15
  - [Installation](#-installation)
@@ -18,6 +18,8 @@ Standalone Angular wrappers for the Tooark Web Components: `@Input()`s for the a
18
18
  - [Usage examples](#-usage-examples)
19
19
  - [Dependencies](#-dependencies)
20
20
  - [Contributing](#-contributing)
21
+ - [Help & Security](#-help--security)
22
+ - [Support](#-support)
21
23
  - [License](#-license)
22
24
 
23
25
  ---
@@ -62,9 +64,10 @@ Add the stylesheet to `angular.json` (or import it from your global `styles.css`
62
64
 
63
65
  One standalone component per element: `ark-button` → `ArkButtonComponent` (`<ark-button-wrapper>`), `ark-kv-editor` → `ArkKvEditorComponent` (`<ark-kv-editor-wrapper>`), and so on.
64
66
 
65
- - Inputs: the element's attributes in camelCase (`iconOnly`, `stepMinutes`, `localeJson`) plus `ariaLabel` on the input, textarea, select, checkbox, radio, switch, toggle, color-swatches, shape-picker, button, copy-button, avatar, dialog, drawer, command palette and menu; object inputs where they matter (`events`, `rows`, `options`).
67
+ - Inputs: the element's attributes in camelCase (`iconOnly`, `stepMinutes`, `localeJson`) plus `ariaLabel` on the input, textarea, select, checkbox, radio, switch, toggle, color-swatches, shape-picker, button, copy-button, avatar, dialog, drawer, command palette and menu; object inputs where they matter (`events`, `rows`, `options`, and `valueField` on the key/value editor).
66
68
  - Outputs: the custom events in camelCase (`(arkClose)` on the dialog and drawer, `(arkSelect)` on the menu and palette, `(changed)` on the select and the key/value editor, …) delivering the `CustomEvent`; `(arkChange)` on the calendar, clock and datepicker, `(arkSlideChange)` on the carousel and `(arkEventClick)`/`(arkSlotClick)`/`(arkViewChange)`/`(arkRangeChange)` on the scheduler deliver the `detail` itself; native events bubble from the inner control (`(input)` on the input: read `$any($event.target).value`).
67
69
  - State: attributes like `open` are the source of truth (`[open]="bool"` + `(arkClose)`).
70
+ - Element: every wrapper exposes the `ark-*` element it renders as `element`, typed as the element class (`null` before the view): `@ViewChild(ArkDialogComponent) dialog!: ArkDialogComponent;`, then `this.dialog.element?.show()`. The `*Ref` view children a few wrappers already had stay for compatibility.
68
71
  - Raw `ark-*` tags (side packages): add `schemas: [CUSTOM_ELEMENTS_SCHEMA]` to your component and call the `registerTooark*()` function in the browser.
69
72
 
70
73
  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/).
@@ -164,8 +167,8 @@ Installed automatically unless marked as peer; peer dependencies are yours to in
164
167
 
165
168
  | Package | Version | Description |
166
169
  | -------------------------------------------------------------------------------- | ---------------- | ---------------------------------------------------------------- |
167
- | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.2.2 | Types, i18n, toast/announce services, motion and overlay helpers |
168
- | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.2.2 | The `ark-*` Custom Elements and their stylesheet |
170
+ | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.4.0 | Types, i18n, toast/announce services, motion and overlay helpers |
171
+ | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.4.0 | The `ark-*` Custom Elements and their stylesheet |
169
172
  | [`tslib`](https://www.npmjs.com/package/tslib) | ^2.8.1 | TypeScript runtime helpers |
170
173
  | [`@angular/common`](https://www.npmjs.com/package/@angular/common) | >=21.2.19 (peer) | Angular common |
171
174
  | [`@angular/core`](https://www.npmjs.com/package/@angular/core) | >=21.2.19 (peer) | Angular core (security floor of the workspace) |
@@ -178,6 +181,24 @@ Contributions are welcome! Open issues and pull requests in the [Tooark/web-comp
178
181
 
179
182
  ---
180
183
 
184
+ ## 🆘 Help & Security
185
+
186
+ - ❓ **Questions, bugs, feature ideas** — see [SUPPORT.md](https://github.com/Tooark/web-components/blob/main/SUPPORT.md) for the right channel
187
+ - 🔒 **Security vulnerabilities** — do **not** open a public issue; follow [SECURITY.md](https://github.com/Tooark/web-components/blob/main/SECURITY.md)
188
+
189
+ ---
190
+
191
+ ## 💖 Support
192
+
193
+ If this project helps your workflow, consider supporting its development:
194
+
195
+ - 💙 [GitHub Sponsors](https://github.com/sponsors/paulosfjunior)
196
+ - ☕ [Ko-fi](https://ko-fi.com/paulosfjunior)
197
+
198
+ Every contribution helps keep the project maintained and improving. Thank you! 🙏
199
+
200
+ ---
201
+
181
202
  ## 📄 License
182
203
 
183
204
  This project is licensed under the Apache License 2.0. See the [LICENSE](https://github.com/Tooark/web-components/blob/main/LICENSE) file for details.
package/README.pt-BR.md CHANGED
@@ -9,7 +9,7 @@ Wrappers Angular standalone dos Tooark Web Components: `@Input()` para os atribu
9
9
 
10
10
  ---
11
11
 
12
- ## Conteúdo
12
+ ## 📑 Conteúdo
13
13
 
14
14
  - [Visão Geral](#-visão-geral)
15
15
  - [Instalação](#-instalação)
@@ -18,6 +18,8 @@ Wrappers Angular standalone dos Tooark Web Components: `@Input()` para os atribu
18
18
  - [Exemplos de Uso](#-exemplos-de-uso)
19
19
  - [Dependências](#-dependências)
20
20
  - [Contribuição](#-contribuição)
21
+ - [Ajuda & Segurança](#-ajuda--segurança)
22
+ - [Apoie](#-apoie)
21
23
  - [Licença](#-licença)
22
24
 
23
25
  ---
@@ -62,9 +64,10 @@ Adicione a folha de estilo ao `angular.json` (ou importe-a do seu `styles.css` g
62
64
 
63
65
  Um componente standalone por elemento: `ark-button` → `ArkButtonComponent` (`<ark-button-wrapper>`), `ark-kv-editor` → `ArkKvEditorComponent` (`<ark-kv-editor-wrapper>`), e assim por diante.
64
66
 
65
- - Inputs: os atributos do elemento em camelCase (`iconOnly`, `stepMinutes`, `localeJson`) mais `ariaLabel` no input, textarea, select, checkbox, radio, switch, toggle, color-swatches, shape-picker, button, copy-button, avatar, dialog, drawer, paleta de comandos e menu; inputs de objeto onde importam (`events`, `rows`, `options`).
67
+ - Inputs: os atributos do elemento em camelCase (`iconOnly`, `stepMinutes`, `localeJson`) mais `ariaLabel` no input, textarea, select, checkbox, radio, switch, toggle, color-swatches, shape-picker, button, copy-button, avatar, dialog, drawer, paleta de comandos e menu; inputs de objeto onde importam (`events`, `rows`, `options`, e `valueField` no editor chave/valor).
66
68
  - Outputs: os eventos customizados em camelCase (`(arkClose)` no dialog e no drawer, `(arkSelect)` no menu e na paleta, `(changed)` no select e no editor chave/valor, …) entregando o `CustomEvent`; `(arkChange)` no calendário, no relógio e no datepicker, `(arkSlideChange)` no carrossel e `(arkEventClick)`/`(arkSlotClick)`/`(arkViewChange)`/`(arkRangeChange)` na agenda entregam o próprio `detail`; eventos nativos sobem do controle interno (`(input)` no input: leia `$any($event.target).value`).
67
69
  - Estado: atributos como `open` são a fonte da verdade (`[open]="bool"` + `(arkClose)`).
70
+ - Elemento: todo wrapper expõe o elemento `ark-*` que renderiza em `element`, tipado como a classe do elemento (`null` antes da view): `@ViewChild(ArkDialogComponent) dialog!: ArkDialogComponent;` e depois `this.dialog.element?.show()`. As view children `*Ref` que alguns wrappers já tinham continuam, por compatibilidade.
68
71
  - Tags `ark-*` cruas (pacotes laterais): adicione `schemas: [CUSTOM_ELEMENTS_SCHEMA]` ao seu componente e chame a função `registerTooark*()` no navegador.
69
72
 
70
73
  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/).
@@ -164,8 +167,8 @@ Instaladas automaticamente, salvo as marcadas como peer, que ficam por sua conta
164
167
 
165
168
  | Pacote | Versão | Descrição |
166
169
  | -------------------------------------------------------------------------------- | ---------------- | -------------------------------------------------------------------- |
167
- | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.2.2 | Tipos, i18n, serviços de toast/announce, motion e helpers de overlay |
168
- | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.2.2 | Os Custom Elements `ark-*` e a folha de estilo deles |
170
+ | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.4.0 | Tipos, i18n, serviços de toast/announce, motion e helpers de overlay |
171
+ | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.4.0 | Os Custom Elements `ark-*` e a folha de estilo deles |
169
172
  | [`tslib`](https://www.npmjs.com/package/tslib) | ^2.8.1 | Helpers de runtime do TypeScript |
170
173
  | [`@angular/common`](https://www.npmjs.com/package/@angular/common) | >=21.2.19 (peer) | Angular common |
171
174
  | [`@angular/core`](https://www.npmjs.com/package/@angular/core) | >=21.2.19 (peer) | Núcleo do Angular (piso de segurança do workspace) |
@@ -178,6 +181,24 @@ Contribuições são bem-vindas! Abra issues e pull requests no repositório [To
178
181
 
179
182
  ---
180
183
 
184
+ ## 🆘 Ajuda & Segurança
185
+
186
+ - ❓ **Dúvidas, bugs e ideias** — veja o [SUPPORT.md](https://github.com/Tooark/web-components/blob/main/SUPPORT.md) para escolher o canal certo
187
+ - 🔒 **Vulnerabilidades de segurança** — **não** abra issue pública; siga o [SECURITY.md](https://github.com/Tooark/web-components/blob/main/SECURITY.md)
188
+
189
+ ---
190
+
191
+ ## 💖 Apoie
192
+
193
+ Se este projeto ajuda no seu dia a dia, considere apoiar o desenvolvimento:
194
+
195
+ - 💙 [GitHub Sponsors](https://github.com/sponsors/paulosfjunior)
196
+ - ☕ [Ko-fi](https://ko-fi.com/paulosfjunior)
197
+
198
+ Cada contribuição ajuda a manter o projeto ativo e em evolução. Obrigado! 🙏
199
+
200
+ ---
201
+
181
202
  ## 📄 Licença
182
203
 
183
204
  Este projeto está licenciado sob a licença Apache 2.0. Veja o arquivo [LICENSE](https://github.com/Tooark/web-components/blob/main/LICENSE) para mais detalhes.