@testgorilla/tgo-ui 11.22.2 → 12.0.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.
Files changed (227) hide show
  1. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +335 -229
  2. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  3. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +547 -465
  4. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
  5. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +160 -75
  6. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
  7. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +678 -278
  8. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
  9. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +337 -274
  10. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  11. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +351 -192
  12. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  13. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +1950 -960
  14. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
  15. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1206 -1044
  16. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  17. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +328 -182
  18. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
  19. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +383 -203
  20. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  21. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +553 -261
  22. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
  23. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +709 -739
  24. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
  25. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +219 -184
  26. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  27. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +515 -458
  28. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  29. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +423 -162
  30. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  31. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +10784 -10996
  32. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  33. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +810 -533
  34. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  35. package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs +473 -116
  36. package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs.map +1 -1
  37. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +1149 -540
  38. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  39. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +148 -84
  40. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
  41. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +239 -142
  42. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  43. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +599 -467
  44. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  45. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +126 -70
  46. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
  47. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +324 -329
  48. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  49. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +969 -648
  50. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  51. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +553 -419
  52. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
  53. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +847 -452
  54. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  55. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +398 -302
  56. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  57. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +162 -95
  58. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
  59. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1825 -1789
  60. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
  61. package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +1018 -672
  62. package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -1
  63. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +758 -368
  64. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  65. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +204 -212
  66. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
  67. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +183 -48
  68. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
  69. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +243 -79
  70. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
  71. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +751 -361
  72. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  73. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +1122 -385
  74. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  75. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +689 -413
  76. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  77. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +227 -92
  78. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
  79. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +174 -113
  80. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
  81. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +367 -165
  82. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
  83. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +253 -118
  84. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
  85. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +730 -444
  86. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  87. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +533 -221
  88. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
  89. package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs +274 -76
  90. package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs.map +1 -1
  91. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +184 -124
  92. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
  93. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1223 -574
  94. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  95. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +249 -160
  96. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
  97. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +447 -439
  98. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
  99. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +226 -150
  100. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
  101. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +255 -67
  102. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  103. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +205 -162
  104. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  105. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +245 -153
  106. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
  107. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +274 -140
  108. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
  109. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +319 -147
  110. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
  111. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +286 -84
  112. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  113. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +660 -208
  114. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
  115. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +579 -320
  116. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  117. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +419 -200
  118. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  119. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +132 -80
  120. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
  121. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +741 -390
  122. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
  123. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +455 -329
  124. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  125. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +543 -514
  126. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
  127. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +193 -104
  128. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
  129. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +760 -524
  130. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  131. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +714 -415
  132. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
  133. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +847 -438
  134. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  135. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +535 -275
  136. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  137. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +316 -246
  138. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
  139. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +404 -284
  140. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
  141. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +664 -383
  142. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
  143. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +201 -112
  144. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
  145. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +1014 -458
  146. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
  147. package/fesm2022/testgorilla-tgo-ui.mjs +147 -155
  148. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  149. package/mcp/catalog.json +1 -1
  150. package/package.json +16 -17
  151. package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-filled.svg +3 -0
  152. package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-in-line.svg +3 -0
  153. package/projects/tgo-canopy-ui/theme/_palette.scss +23 -18
  154. package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
  155. package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
  156. package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
  157. package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
  158. package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
  159. package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
  160. package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
  161. package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
  162. package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
  163. package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
  164. package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
  165. package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
  166. package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
  167. package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
  168. package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
  169. package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
  170. package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
  171. package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
  172. package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
  173. package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
  174. package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
  175. package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
  176. package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
  177. package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
  178. package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
  179. package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
  180. package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
  181. package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
  182. package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
  183. package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
  184. package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
  185. package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
  186. package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
  187. package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
  188. package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
  189. package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
  190. package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
  191. package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
  192. package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
  193. package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
  194. package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
  195. package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
  196. package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
  197. package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
  198. package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
  199. package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
  200. package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
  201. package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
  202. package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
  203. package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
  204. package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
  205. package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
  206. package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
  207. package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
  208. package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
  209. package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
  210. package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
  211. package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
  212. package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
  213. package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
  214. package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
  215. package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
  216. package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
  217. package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
  218. package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
  219. package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
  220. package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
  221. package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
  222. package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
  223. package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
  224. package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
  225. package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
  226. package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
  227. package/types/testgorilla-tgo-ui.d.ts +52 -45
@@ -1,195 +1,268 @@
1
- import * as rxjs from 'rxjs';
2
- import * as _angular_core from '@angular/core';
3
- import { ElementRef } from '@angular/core';
4
- import * as i6 from '@testgorilla/tgo-ui/components/core';
5
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
6
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
7
- import * as i2 from '@testgorilla/tgo-ui/components/icon';
8
- import { IconName, IconColor } from '@testgorilla/tgo-ui/components/icon';
9
- import * as i1 from '@angular/common';
10
- import * as i3 from '@testgorilla/tgo-ui/components/tooltip';
11
- import * as i4 from '@angular/material/tooltip';
12
- import * as i5 from '@angular/material/input';
13
-
14
- declare class TagComponent {
15
- /**
16
- * Tag's label
17
- *
18
- * @memberof TagComponent
19
- */
20
- label: _angular_core.InputSignal<string>;
21
- /**
22
- * Icon
23
- *
24
- * @type {string}
25
- * @memberof TagComponent
26
- */
27
- icon: _angular_core.InputSignal<IconName>;
28
- /**
29
- * Whether to allow the tag to be closed.
30
- *
31
- * @type {boolean}
32
- * @default false
33
- * @memberof TagComponent
34
- */
35
- allowClose: _angular_core.InputSignalWithTransform<boolean, unknown>;
36
- /**
37
- * Whether the tag is in read-only mode.
38
- *
39
- * @type {boolean}
40
- * @default false
41
- * @memberof TagComponent
42
- */
43
- readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
44
- /**
45
- * Whether the tag is selected.
46
- *
47
- * @type {boolean}
48
- * @default false
49
- * @memberof TagComponent
50
- */
51
- isSelected: _angular_core.ModelSignal<boolean>;
52
- /**
53
- * Display icon when is selected
54
- *
55
- * @type {boolean}
56
- * @default false
57
- * @memberof TagComponent
58
- */
59
- showIconWhenSelected: _angular_core.InputSignalWithTransform<boolean, unknown>;
60
- /**
61
- * Pins the tag to its filled background at rest, without tying that background
62
- * to the selected state — pressing the tag never flips its fill. Interactive
63
- * states (hover, focus ring, press scale) and the `press` output are unaffected,
64
- * so the tag stays clickable; use `readOnly` when it should not be.
65
- *
66
- * The fill follows the theme: grayscale in `light` / `dark`, petrol in `classic`.
67
- *
68
- * @type {boolean}
69
- * @default false
70
- * @memberof TagComponent
71
- */
72
- pinnedBackground: _angular_core.InputSignalWithTransform<boolean, unknown>;
73
- /**
74
- * Clamps the tag to its parent's width, truncating the label, instead of overflowing it.
75
- *
76
- * Opt-in: enabling it gives the host a real layout box, so `width`, `height` and vertical
77
- * margins set on `ui-tag` start applying, bare sibling tags flow inline instead of stacking,
78
- * and a tag in an `overflow-x` strip shrinks rather than scrolls (`flex: 0 0 auto` opts out).
79
- * Becomes the default in the next major.
80
- *
81
- * @type {boolean}
82
- * @default false
83
- * @memberof TagComponent
84
- */
85
- constrainWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
86
- /**
87
- * Specifies whether the element is disabled.
88
- *
89
- * @type {boolean}
90
- * @default false
91
- * @memberof TagComponent
92
- */
93
- isDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
94
- /**
95
- *
96
- * Defines the application theme
97
- *
98
- * @type {ApplicationTheme | undefined}
99
- * @memberof TagComponent
100
- *
101
- * When not provided, the component falls back to the injected
102
- * `CANOPYUI_DEFAULT_APPLICATION_THEME` token (if any), then to `'light'`.
103
- */
104
- applicationTheme: _angular_core.InputSignal<ApplicationTheme | undefined>;
105
- private readonly defaultAppTheme;
106
- readonly theme: _angular_core.Signal<ApplicationTheme>;
107
- /**
108
- * A string representing the ARIA label for accessibility.
109
- * This label is used to provide an accessible name for the input element.
110
- * @type {string}
111
- * @memberof TagComponent
112
- */
113
- ariaLabel: _angular_core.InputSignal<string | undefined>;
114
- readonly testId: _angular_core.InputSignal<string | null>;
115
- protected readonly closeTestId: _angular_core.Signal<string | null>;
116
- /**
117
- * A string representing the ARIA requirement for accessibility.
118
- * This attribute is used to indicate whether an input field is required for form submission.
119
- * @type {boolean}
120
- * @memberof TagComponent
121
- */
122
- ariaRequired: _angular_core.InputSignalWithTransform<boolean, unknown>;
123
- /**
124
- * Whether to show the badge on the tag.
125
- * @type {boolean}
126
- * @default false
127
- * @memberof TagComponent
128
- */
129
- showBadge: _angular_core.InputSignal<boolean>;
130
- /**
131
- * The notifications amount to be displayed on the badge.
132
- * @type {number}
133
- * @default 0
134
- * @memberof TagComponent
135
- */
136
- notificationsAmount: _angular_core.InputSignal<number>;
137
- /**
138
- * Event triggered when the tag should be closed.
139
- *
140
- * @event
141
- * @memberof TagComponent
142
- */
143
- close: _angular_core.OutputEmitterRef<void>;
144
- /**
145
- * Event triggered when a press action occurs.
146
- *
147
- * @event
148
- * @memberof TagComponent
149
- */
150
- press: _angular_core.OutputEmitterRef<boolean>;
151
- /**
152
- * Subject that needs to be triggered when Label input changes, to check if it's truncated
153
- * @private
154
- * @type {void}
155
- * @memberof TagComponent
156
- */
157
- private readonly checkLabelEllipsis$;
158
- /**
159
- * Observable that indicates if the Label is truncated
160
- * debounceTime is used to wait for view to be initialized after receiving a new Label input
161
- * @protected
162
- * @type {boolean}
163
- * @memberof TagComponent
164
- */
165
- protected isEllipseActiveObs$: rxjs.Observable<boolean>;
166
- protected readonly isHovered: _angular_core.WritableSignal<boolean>;
167
- protected shrink: boolean;
168
- protected iconColor: IconColor;
169
- protected closeBtnFocused: _angular_core.WritableSignal<boolean>;
170
- protected readonly labelElement: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
171
- protected readonly containerElement: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
172
- private readonly ngZone;
173
- constructor();
174
- onPress(): void;
175
- setHoverState(state: boolean): void;
176
- setShrinkState(state: boolean): void;
177
- onClose(): void;
178
- private isLabelEllipseActive;
179
- readonly tabIndex: _angular_core.Signal<0 | -1>;
180
- readonly filled: _angular_core.Signal<boolean>;
181
- onKeydown($event: KeyboardEvent): void;
182
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
183
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "ui-tag", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "allowClose": { "alias": "allowClose"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; "isSignal": true; }; "pinnedBackground": { "alias": "pinnedBackground"; "required": false; "isSignal": true; }; "constrainWidth": { "alias": "constrainWidth"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; "isSignal": true; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "notificationsAmount": { "alias": "notificationsAmount"; "required": false; "isSignal": true; }; }, { "isSelected": "isSelectedChange"; "close": "close"; "press": "press"; }, never, ["[uiTagSuffix]"], true, never>;
1
+ import * as i0 from "@angular/core";
2
+ import { ElementRef } from "@angular/core";
3
+ import * as i6 from "@testgorilla/tgo-ui/components/core";
4
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
5
+ import * as i2 from "@testgorilla/tgo-ui/components/icon";
6
+ import { IconColor, IconName } from "@testgorilla/tgo-ui/components/icon";
7
+ import * as i1 from "@angular/common";
8
+ import * as i3 from "@testgorilla/tgo-ui/components/tooltip";
9
+ import * as i4 from "@angular/material/tooltip";
10
+ import * as i5 from "@angular/material/input";
11
+ export declare class TagComponent {
12
+ /**
13
+ * Tag's label
14
+ *
15
+ * @memberof TagComponent
16
+ */
17
+ label: import("@angular/core").InputSignal<string>;
18
+ /**
19
+ * Icon
20
+ *
21
+ * @type {string}
22
+ * @memberof TagComponent
23
+ */
24
+ icon: import("@angular/core").InputSignal<IconName>;
25
+ /**
26
+ * Whether to allow the tag to be closed.
27
+ *
28
+ * @type {boolean}
29
+ * @default false
30
+ * @memberof TagComponent
31
+ */
32
+ allowClose: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
33
+ /**
34
+ * Whether the tag is in read-only mode.
35
+ *
36
+ * @type {boolean}
37
+ * @default false
38
+ * @memberof TagComponent
39
+ */
40
+ readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
41
+ /**
42
+ * Whether the tag is selected.
43
+ *
44
+ * @type {boolean}
45
+ * @default false
46
+ * @memberof TagComponent
47
+ */
48
+ isSelected: import("@angular/core").ModelSignal<boolean>;
49
+ /**
50
+ * Display icon when is selected
51
+ *
52
+ * @type {boolean}
53
+ * @default false
54
+ * @memberof TagComponent
55
+ */
56
+ showIconWhenSelected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
57
+ /**
58
+ * Pins the tag to its filled background at rest, without tying that background
59
+ * to the selected state — pressing the tag never flips its fill. Interactive
60
+ * states (hover, focus ring, press scale) and the `press` output are unaffected,
61
+ * so the tag stays clickable; use `readOnly` when it should not be.
62
+ *
63
+ * The fill follows the theme: grayscale in `light` / `dark`, petrol in `classic`.
64
+ *
65
+ * @type {boolean}
66
+ * @default false
67
+ * @memberof TagComponent
68
+ */
69
+ pinnedBackground: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
70
+ /**
71
+ * Clamps the tag to its parent's width, truncating the label, instead of overflowing it.
72
+ *
73
+ * Opt-in: enabling it gives the host a real layout box, so `width`, `height` and vertical
74
+ * margins set on `ui-tag` start applying, bare sibling tags flow inline instead of stacking,
75
+ * and a tag in an `overflow-x` strip shrinks rather than scrolls (`flex: 0 0 auto` opts out).
76
+ * Becomes the default in the next major.
77
+ *
78
+ * @type {boolean}
79
+ * @default false
80
+ * @memberof TagComponent
81
+ */
82
+ constrainWidth: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
83
+ /**
84
+ * Specifies whether the element is disabled.
85
+ *
86
+ * @type {boolean}
87
+ * @default false
88
+ * @memberof TagComponent
89
+ */
90
+ isDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
91
+ /**
92
+ *
93
+ * Defines the application theme
94
+ *
95
+ * @type {ApplicationTheme | undefined}
96
+ * @memberof TagComponent
97
+ *
98
+ * When not provided, the component falls back to the injected
99
+ * `CANOPYUI_DEFAULT_APPLICATION_THEME` token (if any), then to `'light'`.
100
+ */
101
+ applicationTheme: import("@angular/core").InputSignal<ApplicationTheme$1 | undefined>;
102
+ private readonly defaultAppTheme;
103
+ readonly theme: import("@angular/core").Signal<ApplicationTheme$1>;
104
+ /**
105
+ * A string representing the ARIA label for accessibility.
106
+ * This label is used to provide an accessible name for the input element.
107
+ * @type {string}
108
+ * @memberof TagComponent
109
+ */
110
+ ariaLabel: import("@angular/core").InputSignal<string | undefined>;
111
+ readonly testId: import("@angular/core").InputSignal<string | null>;
112
+ protected readonly closeTestId: import("@angular/core").Signal<string | null>;
113
+ /**
114
+ * A string representing the ARIA requirement for accessibility.
115
+ * This attribute is used to indicate whether an input field is required for form submission.
116
+ * @type {boolean}
117
+ * @memberof TagComponent
118
+ */
119
+ ariaRequired: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
120
+ /**
121
+ * Whether to show the badge on the tag.
122
+ * @type {boolean}
123
+ * @default false
124
+ * @memberof TagComponent
125
+ */
126
+ showBadge: import("@angular/core").InputSignal<boolean>;
127
+ /**
128
+ * The notifications amount to be displayed on the badge.
129
+ * @type {number}
130
+ * @default 0
131
+ * @memberof TagComponent
132
+ */
133
+ notificationsAmount: import("@angular/core").InputSignal<number>;
134
+ /**
135
+ * Event triggered when the tag should be closed.
136
+ *
137
+ * @event
138
+ * @memberof TagComponent
139
+ */
140
+ close: import("@angular/core").OutputEmitterRef<void>;
141
+ /**
142
+ * Event triggered when a press action occurs.
143
+ *
144
+ * @event
145
+ * @memberof TagComponent
146
+ */
147
+ press: import("@angular/core").OutputEmitterRef<boolean>;
148
+ /**
149
+ * Subject that needs to be triggered when Label input changes, to check if it's truncated
150
+ * @private
151
+ * @type {void}
152
+ * @memberof TagComponent
153
+ */
154
+ private readonly checkLabelEllipsis$;
155
+ /**
156
+ * Observable that indicates if the Label is truncated
157
+ * debounceTime is used to wait for view to be initialized after receiving a new Label input
158
+ * @protected
159
+ * @type {boolean}
160
+ * @memberof TagComponent
161
+ */
162
+ protected isEllipseActiveObs$: import("rxjs").Observable<boolean>;
163
+ protected readonly isHovered: import("@angular/core").WritableSignal<boolean>;
164
+ protected shrink: boolean;
165
+ protected iconColor: IconColor;
166
+ protected closeBtnFocused: import("@angular/core").WritableSignal<boolean>;
167
+ protected readonly labelElement: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
168
+ protected readonly containerElement: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
169
+ private readonly ngZone;
170
+ constructor();
171
+ onPress(): void;
172
+ setHoverState(state: boolean): void;
173
+ setShrinkState(state: boolean): void;
174
+ onClose(): void;
175
+ private isLabelEllipseActive;
176
+ readonly tabIndex: import("@angular/core").Signal<0 | -1>;
177
+ readonly filled: import("@angular/core").Signal<boolean>;
178
+ onKeydown($event: KeyboardEvent): void;
179
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
180
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ui-tag", never, {
181
+ "label": {
182
+ "alias": "label";
183
+ "required": false;
184
+ "isSignal": true;
185
+ };
186
+ "icon": {
187
+ "alias": "icon";
188
+ "required": false;
189
+ "isSignal": true;
190
+ };
191
+ "allowClose": {
192
+ "alias": "allowClose";
193
+ "required": false;
194
+ "isSignal": true;
195
+ };
196
+ "readOnly": {
197
+ "alias": "readOnly";
198
+ "required": false;
199
+ "isSignal": true;
200
+ };
201
+ "isSelected": {
202
+ "alias": "isSelected";
203
+ "required": false;
204
+ "isSignal": true;
205
+ };
206
+ "showIconWhenSelected": {
207
+ "alias": "showIconWhenSelected";
208
+ "required": false;
209
+ "isSignal": true;
210
+ };
211
+ "pinnedBackground": {
212
+ "alias": "pinnedBackground";
213
+ "required": false;
214
+ "isSignal": true;
215
+ };
216
+ "constrainWidth": {
217
+ "alias": "constrainWidth";
218
+ "required": false;
219
+ "isSignal": true;
220
+ };
221
+ "isDisabled": {
222
+ "alias": "isDisabled";
223
+ "required": false;
224
+ "isSignal": true;
225
+ };
226
+ "applicationTheme": {
227
+ "alias": "applicationTheme";
228
+ "required": false;
229
+ "isSignal": true;
230
+ };
231
+ "ariaLabel": {
232
+ "alias": "ariaLabel";
233
+ "required": false;
234
+ "isSignal": true;
235
+ };
236
+ "testId": {
237
+ "alias": "testId";
238
+ "required": false;
239
+ "isSignal": true;
240
+ };
241
+ "ariaRequired": {
242
+ "alias": "ariaRequired";
243
+ "required": false;
244
+ "isSignal": true;
245
+ };
246
+ "showBadge": {
247
+ "alias": "showBadge";
248
+ "required": false;
249
+ "isSignal": true;
250
+ };
251
+ "notificationsAmount": {
252
+ "alias": "notificationsAmount";
253
+ "required": false;
254
+ "isSignal": true;
255
+ };
256
+ }, {
257
+ "isSelected": "isSelectedChange";
258
+ "close": "close";
259
+ "press": "press";
260
+ }, never, ["[uiTagSuffix]"], true, never>;
184
261
  }
185
-
186
- declare class TagComponentModule {
187
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponentModule, never>;
188
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TagComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.TooltipComponentModule, typeof i4.MatTooltipModule, typeof i5.MatInputModule, typeof i6.UiTranslatePipe, typeof TagComponent], [typeof TagComponent]>;
189
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<TagComponentModule>;
262
+ export declare class TagComponentModule {
263
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagComponentModule, never>;
264
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TagComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.TooltipComponentModule, typeof i4.MatTooltipModule, typeof i5.MatInputModule, typeof i6.UiTranslatePipe, typeof TagComponent], [typeof TagComponent]>;
265
+ static ɵinj: i0.ɵɵInjectorDeclaration<TagComponentModule>;
190
266
  }
191
-
192
- type TagColor = 'teal' | 'petrol' | 'grey' | 'red' | 'gold';
193
-
194
- export { TagComponent, TagComponentModule };
195
- export type { TagColor };
267
+ export type TagColor = 'teal' | 'petrol' | 'grey' | 'red' | 'gold';
268
+ export { ApplicationTheme };