@tooark/angular 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
@@ -172,8 +172,8 @@ Installed automatically unless marked as peer; peer dependencies are yours to in
172
172
 
173
173
  | Package | Version | Description |
174
174
  | -------------------------------------------------------------------------------- | ----------------------- | ---------------------------------------------------------------- |
175
- | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.7.0 | Types, i18n, toast/announce services, motion and overlay helpers |
176
- | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.7.0 | The `ark-*` Custom Elements and their stylesheet |
175
+ | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.8.0 | Types, i18n, toast/announce services, motion and overlay helpers |
176
+ | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.8.0 | The `ark-*` Custom Elements and their stylesheet |
177
177
  | [`tslib`](https://www.npmjs.com/package/tslib) | ^2.9.1 | TypeScript runtime helpers |
178
178
  | [`@angular/common`](https://www.npmjs.com/package/@angular/common) | >=21.2.19 (peer) | Angular common |
179
179
  | [`@angular/core`](https://www.npmjs.com/package/@angular/core) | >=21.2.19 (peer) | Angular core (security floor of the workspace) |
package/README.pt-BR.md CHANGED
@@ -172,8 +172,8 @@ Instaladas automaticamente, salvo as marcadas como peer, que ficam por sua conta
172
172
 
173
173
  | Pacote | Versão | Descrição |
174
174
  | -------------------------------------------------------------------------------- | ----------------------- | -------------------------------------------------------------------- |
175
- | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.7.0 | Tipos, i18n, serviços de toast/announce, motion e helpers de overlay |
176
- | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.7.0 | Os Custom Elements `ark-*` e a folha de estilo deles |
175
+ | [`@tooark/core`](https://www.npmjs.com/package/@tooark/core) | ^1.8.0 | Tipos, i18n, serviços de toast/announce, motion e helpers de overlay |
176
+ | [`@tooark/web-components`](https://www.npmjs.com/package/@tooark/web-components) | ^1.8.0 | Os Custom Elements `ark-*` e a folha de estilo deles |
177
177
  | [`tslib`](https://www.npmjs.com/package/tslib) | ^2.9.1 | Helpers de runtime do TypeScript |
178
178
  | [`@angular/common`](https://www.npmjs.com/package/@angular/common) | >=21.2.19 (peer) | Angular common |
179
179
  | [`@angular/core`](https://www.npmjs.com/package/@angular/core) | >=21.2.19 (peer) | Núcleo do Angular (piso de segurança do workspace) |
@@ -255,11 +255,12 @@ class ArkButtonComponent {
255
255
  return this.host.nativeElement.querySelector(":scope > ark-button");
256
256
  }
257
257
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ArkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
258
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkButtonComponent, isStandalone: true, selector: "ark-button-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", type: "type", disabled: "disabled", loading: "loading", status: "status", statusLabel: "statusLabel", iconOnly: "iconOnly", fullWidth: "fullWidth", variant: "variant", intent: "intent", theme: "theme", size: "size", rounded: "rounded", href: "href", target: "target", download: "download", color: "color", textColor: "textColor" }, outputs: { arkNavigate: "arkNavigate" }, ngImport: i0, template: `
258
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkButtonComponent, isStandalone: true, selector: "ark-button-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", type: "type", form: "form", disabled: "disabled", loading: "loading", status: "status", statusLabel: "statusLabel", iconOnly: "iconOnly", fullWidth: "fullWidth", variant: "variant", intent: "intent", theme: "theme", size: "size", rounded: "rounded", href: "href", target: "target", download: "download", color: "color", textColor: "textColor" }, outputs: { arkNavigate: "arkNavigate" }, ngImport: i0, template: `
259
259
  <ark-button
260
260
  [attr.testid]="testid"
261
261
  [attr.aria-label]="ariaLabel"
262
262
  [attr.type]="type"
263
+ [attr.form]="form"
263
264
  [attr.disabled]="disabled ? '' : null"
264
265
  [attr.loading]="loading ? '' : null"
265
266
  [attr.status]="status"
@@ -291,6 +292,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
291
292
  [attr.testid]="testid"
292
293
  [attr.aria-label]="ariaLabel"
293
294
  [attr.type]="type"
295
+ [attr.form]="form"
294
296
  [attr.disabled]="disabled ? '' : null"
295
297
  [attr.loading]="loading ? '' : null"
296
298
  [attr.status]="status"
@@ -317,6 +319,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
317
319
  type: Input
318
320
  }], type: [{
319
321
  type: Input
322
+ }], form: [{
323
+ type: Input
320
324
  }], disabled: [{
321
325
  type: Input
322
326
  }], loading: [{
@@ -2040,7 +2044,7 @@ class ArkInputComponent {
2040
2044
  return this.spellcheck === undefined ? null : String(this.spellcheck);
2041
2045
  }
2042
2046
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ArkInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2043
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkInputComponent, isStandalone: true, selector: "ark-input-wrapper", inputs: { testid: "testid", type: "type", label: "label", placeholder: "placeholder", value: "value", name: "name", size: "size", intent: "intent", theme: "theme", rounded: "rounded", helper: "helper", error: "error", errorMessage: "errorMessage", disabled: "disabled", required: "required", readonly: "readonly", reveal: "reveal", lang: "lang", localeJson: "localeJson", autocomplete: "autocomplete", autofocus: "autofocus", inputmode: "inputmode", maxlength: "maxlength", minlength: "minlength", pattern: "pattern", min: "min", max: "max", step: "step", spellcheck: "spellcheck", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
2047
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkInputComponent, isStandalone: true, selector: "ark-input-wrapper", inputs: { testid: "testid", type: "type", label: "label", placeholder: "placeholder", value: "value", name: "name", size: "size", intent: "intent", theme: "theme", rounded: "rounded", helper: "helper", error: "error", errorMessage: "errorMessage", disabled: "disabled", required: "required", readonly: "readonly", reveal: "reveal", lang: "lang", localeJson: "localeJson", autocomplete: "autocomplete", autofocus: "autofocus", inputmode: "inputmode", list: "list", maxlength: "maxlength", minlength: "minlength", pattern: "pattern", min: "min", max: "max", step: "step", spellcheck: "spellcheck", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
2044
2048
  <ark-input
2045
2049
  [attr.testid]="testid"
2046
2050
  [attr.type]="type"
@@ -2064,6 +2068,7 @@ class ArkInputComponent {
2064
2068
  [attr.autocomplete]="autocomplete"
2065
2069
  [attr.autofocus]="autofocus ? '' : null"
2066
2070
  [attr.inputmode]="inputmode"
2071
+ [attr.list]="list"
2067
2072
  [attr.maxlength]="maxlength"
2068
2073
  [attr.minlength]="minlength"
2069
2074
  [attr.pattern]="pattern"
@@ -2105,6 +2110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
2105
2110
  [attr.autocomplete]="autocomplete"
2106
2111
  [attr.autofocus]="autofocus ? '' : null"
2107
2112
  [attr.inputmode]="inputmode"
2113
+ [attr.list]="list"
2108
2114
  [attr.maxlength]="maxlength"
2109
2115
  [attr.minlength]="minlength"
2110
2116
  [attr.pattern]="pattern"
@@ -2160,6 +2166,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
2160
2166
  type: Input
2161
2167
  }], inputmode: [{
2162
2168
  type: Input
2169
+ }], list: [{
2170
+ type: Input
2163
2171
  }], maxlength: [{
2164
2172
  type: Input
2165
2173
  }], minlength: [{
@@ -4403,7 +4411,7 @@ class ArkTreeComponent {
4403
4411
  return this.value || null;
4404
4412
  }
4405
4413
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ArkTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4406
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkTreeComponent, isStandalone: true, selector: "ark-tree-wrapper", inputs: { testid: "testid", selection: "selection", checkboxes: "checkboxes", propagate: "propagate", value: "value", label: "label", ariaLabel: "ariaLabel", size: "size", theme: "theme" }, outputs: { arkToggle: "arkToggle", arkSelectionChange: "arkSelectionChange", arkActivate: "arkActivate" }, ngImport: i0, template: `
4414
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkTreeComponent, isStandalone: true, selector: "ark-tree-wrapper", inputs: { testid: "testid", selection: "selection", checkboxes: "checkboxes", propagate: "propagate", value: "value", label: "label", ariaLabel: "ariaLabel", icons: "icons", iconColor: "iconColor", size: "size", theme: "theme" }, outputs: { arkToggle: "arkToggle", arkSelectionChange: "arkSelectionChange", arkActivate: "arkActivate" }, ngImport: i0, template: `
4407
4415
  <ark-tree
4408
4416
  [attr.testid]="testid"
4409
4417
  [attr.selection]="selection"
@@ -4412,6 +4420,8 @@ class ArkTreeComponent {
4412
4420
  [attr.value]="valueAttr"
4413
4421
  [attr.label]="label"
4414
4422
  [attr.aria-label]="ariaLabel"
4423
+ [attr.icons]="icons"
4424
+ [attr.icon-color]="iconColor"
4415
4425
  [attr.size]="size"
4416
4426
  [attr.theme]="theme"
4417
4427
  (ark-toggle)="toggleHandler($event)"
@@ -4435,6 +4445,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
4435
4445
  [attr.value]="valueAttr"
4436
4446
  [attr.label]="label"
4437
4447
  [attr.aria-label]="ariaLabel"
4448
+ [attr.icons]="icons"
4449
+ [attr.icon-color]="iconColor"
4438
4450
  [attr.size]="size"
4439
4451
  [attr.theme]="theme"
4440
4452
  (ark-toggle)="toggleHandler($event)"
@@ -4457,6 +4469,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
4457
4469
  type: Input
4458
4470
  }], ariaLabel: [{
4459
4471
  type: Input
4472
+ }], icons: [{
4473
+ type: Input
4474
+ }], iconColor: [{
4475
+ type: Input
4460
4476
  }], size: [{
4461
4477
  type: Input
4462
4478
  }], theme: [{
@@ -4486,11 +4502,12 @@ class ArkTreeItemComponent {
4486
4502
  return this.host.nativeElement.querySelector(":scope > ark-tree-item");
4487
4503
  }
4488
4504
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ArkTreeItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4489
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkTreeItemComponent, isStandalone: true, selector: "ark-tree-item-wrapper", inputs: { testid: "testid", value: "value", label: "label", expanded: "expanded", lazy: "lazy", loading: "loading", selected: "selected", checked: "checked", disabled: "disabled" }, host: { styleAttribute: "display: contents" }, ngImport: i0, template: `
4505
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ArkTreeItemComponent, isStandalone: true, selector: "ark-tree-item-wrapper", inputs: { testid: "testid", value: "value", label: "label", icon: "icon", expanded: "expanded", lazy: "lazy", loading: "loading", selected: "selected", checked: "checked", disabled: "disabled" }, host: { styleAttribute: "display: contents" }, ngImport: i0, template: `
4490
4506
  <ark-tree-item
4491
4507
  [attr.testid]="testid"
4492
4508
  [attr.value]="value"
4493
4509
  [attr.label]="label"
4510
+ [attr.icon]="icon"
4494
4511
  [attr.expanded]="expanded ? '' : null"
4495
4512
  [attr.lazy]="lazy ? '' : null"
4496
4513
  [attr.loading]="loading ? '' : null"
@@ -4512,6 +4529,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
4512
4529
  [attr.testid]="testid"
4513
4530
  [attr.value]="value"
4514
4531
  [attr.label]="label"
4532
+ [attr.icon]="icon"
4515
4533
  [attr.expanded]="expanded ? '' : null"
4516
4534
  [attr.lazy]="lazy ? '' : null"
4517
4535
  [attr.loading]="loading ? '' : null"
@@ -4527,6 +4545,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
4527
4545
  type: Input
4528
4546
  }], label: [{
4529
4547
  type: Input
4548
+ }], icon: [{
4549
+ type: Input
4530
4550
  }], expanded: [{
4531
4551
  type: Input
4532
4552
  }], lazy: [{