@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,94 +1,164 @@
1
- import * as _angular_core from '@angular/core';
2
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
3
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
- import { IconName } from '@testgorilla/tgo-ui/components/icon';
5
- import { MenuConfig, OverflowMenuButtonsType } from '@testgorilla/tgo-ui/components/overflow-menu';
6
- import { TooltipPositionType } from '@testgorilla/tgo-ui/components/tooltip';
7
- import * as i1 from '@angular/common';
8
-
1
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
2
+ import { IconName } from "@testgorilla/tgo-ui/components/icon";
3
+ import { MenuConfig, OverflowMenuButtonsType } from "@testgorilla/tgo-ui/components/overflow-menu";
4
+ import { TooltipPositionType } from "@testgorilla/tgo-ui/components/tooltip";
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
9
7
  /** One entry of the device dropdown. */
10
- interface DeviceControlOption {
11
- /** Value handed back when the entry is picked. */
12
- value: string;
13
- /** Text shown in the dropdown. */
14
- label: string;
8
+ export interface DeviceControlOption {
9
+ /** Value handed back when the entry is picked. */
10
+ value: string;
11
+ /** Text shown in the dropdown. */
12
+ label: string;
15
13
  }
16
14
  /**
17
15
  * Shape of the control.
18
16
  * `toggle` renders a main button that switches the device on and off, plus a chevron that opens the
19
17
  * dropdown. `menu` renders a single control where both halves open the dropdown.
20
18
  */
21
- type DeviceControlVariant = 'toggle' | 'menu';
22
-
19
+ export type DeviceControlVariant = 'toggle' | 'menu';
23
20
  /**
24
21
  * Media device control: an on/off button paired with a device dropdown, generic across microphones,
25
22
  * speakers and similar. The dropdown is `ui-overflow-menu`, so it behaves like every other menu.
26
23
  */
27
- declare class DeviceControlComponent {
28
- /**
29
- * Shape of the control: `toggle` pairs an on/off button with the dropdown chevron; `menu` is a
30
- * single button that opens the dropdown. Default: 'toggle'.
31
- */
32
- readonly variant: _angular_core.InputSignal<DeviceControlVariant>;
33
- readonly iconName: _angular_core.InputSignal<IconName>;
34
- /** Icon shown while the device is off. Only used by the toggle variant. */
35
- readonly offIconName: _angular_core.InputSignal<IconName>;
36
- readonly isOn: _angular_core.InputSignalWithTransform<boolean, unknown>;
37
- /** Plays the icon's activity animation, for example while a test sound runs. */
38
- readonly isActive: _angular_core.InputSignalWithTransform<boolean, unknown>;
39
- readonly options: _angular_core.InputSignal<DeviceControlOption[]>;
40
- readonly selectedValue: _angular_core.InputSignal<string>;
41
- /** Tooltip and accessible name of the main button while the device is on. Rendered by the toggle variant. */
42
- readonly onTooltip: _angular_core.InputSignal<string>;
43
- /** Tooltip and accessible name of the main button while the device is off. Rendered by the toggle variant. */
44
- readonly offTooltip: _angular_core.InputSignal<string>;
45
- /** Tooltip and accessible name of the button that opens the dropdown, which every variant renders. */
46
- readonly menuTooltip: _angular_core.InputSignal<string>;
47
- /** Shows the error badge, for example when the device cannot be opened. */
48
- readonly hasError: _angular_core.InputSignalWithTransform<boolean, unknown>;
49
- readonly errorLabel: _angular_core.InputSignal<string>;
50
- /**
51
- * Defines the application theme. Defaults to dark, the primary use case for this control; the
52
- * light variant is available for reuse on light surfaces.
53
- */
54
- readonly applicationTheme: _angular_core.InputSignal<ApplicationTheme | undefined>;
55
- readonly testId: _angular_core.InputSignal<string | null>;
56
- protected readonly mainTestId: _angular_core.Signal<string>;
57
- protected readonly menuTestId: _angular_core.Signal<string | null>;
58
- /** Emits when the main button is used to switch the device on or off, with the new state. */
59
- readonly toggled: _angular_core.OutputEmitterRef<boolean>;
60
- /**
61
- * Emits the value of the entry the user picked. An entry with an empty value is a placeholder,
62
- * not a selectable option: picking it closes the dropdown without emitting.
63
- */
64
- readonly optionSelected: _angular_core.OutputEmitterRef<string>;
65
- /** Emits when the dropdown opens, so the consumer can refresh the entries. */
66
- readonly menuOpened: _angular_core.OutputEmitterRef<void>;
67
- readonly menuClosed: _angular_core.OutputEmitterRef<void>;
68
- private readonly overflowMenu;
69
- private readonly defaultAppTheme;
70
- protected readonly theme: _angular_core.Signal<ApplicationTheme>;
71
- /** Open state of the dropdown, derived from the overflow menu so there is no mirror to drift. */
72
- readonly isMenuOpen: _angular_core.Signal<boolean>;
73
- /** Tooltips sit above the control, which is anchored to the bottom of a call surface. */
74
- protected readonly tooltipPosition = TooltipPositionType.TOP;
75
- /** The dropdown opens upwards, over the call surface the control sits at the bottom of. */
76
- protected readonly menuConfig: MenuConfig;
77
- protected readonly menuButtons: _angular_core.Signal<OverflowMenuButtonsType[]>;
78
- protected readonly mainTooltip: _angular_core.Signal<string>;
79
- protected readonly currentIconName: _angular_core.Signal<IconName>;
80
- toggleDevice(): void;
81
- closeMenu(): void;
82
- selectOption(value: string): void;
83
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DeviceControlComponent, never>;
84
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DeviceControlComponent, "ui-device-control", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "offIconName": { "alias": "offIconName"; "required": false; "isSignal": true; }; "isOn": { "alias": "isOn"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; "onTooltip": { "alias": "onTooltip"; "required": true; "isSignal": true; }; "offTooltip": { "alias": "offTooltip"; "required": true; "isSignal": true; }; "menuTooltip": { "alias": "menuTooltip"; "required": true; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "errorLabel": { "alias": "errorLabel"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, { "toggled": "toggled"; "optionSelected": "optionSelected"; "menuOpened": "menuOpened"; "menuClosed": "menuClosed"; }, never, ["[uiDeviceControlMenuFooter]"], true, never>;
24
+ export declare class DeviceControlComponent {
25
+ /**
26
+ * Shape of the control: `toggle` pairs an on/off button with the dropdown chevron; `menu` is a
27
+ * single button that opens the dropdown. Default: 'toggle'.
28
+ */
29
+ readonly variant: import("@angular/core").InputSignal<DeviceControlVariant>;
30
+ readonly iconName: import("@angular/core").InputSignal<IconName>;
31
+ /** Icon shown while the device is off. Only used by the toggle variant. */
32
+ readonly offIconName: import("@angular/core").InputSignal<IconName>;
33
+ readonly isOn: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
34
+ /** Plays the icon's activity animation, for example while a test sound runs. */
35
+ readonly isActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
36
+ readonly options: import("@angular/core").InputSignal<DeviceControlOption[]>;
37
+ readonly selectedValue: import("@angular/core").InputSignal<string>;
38
+ /** Tooltip and accessible name of the main button while the device is on. Rendered by the toggle variant. */
39
+ readonly onTooltip: import("@angular/core").InputSignal<string>;
40
+ /** Tooltip and accessible name of the main button while the device is off. Rendered by the toggle variant. */
41
+ readonly offTooltip: import("@angular/core").InputSignal<string>;
42
+ /** Tooltip and accessible name of the button that opens the dropdown, which every variant renders. */
43
+ readonly menuTooltip: import("@angular/core").InputSignal<string>;
44
+ /** Shows the error badge, for example when the device cannot be opened. */
45
+ readonly hasError: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
46
+ readonly errorLabel: import("@angular/core").InputSignal<string>;
47
+ /**
48
+ * Defines the application theme. Defaults to dark, the primary use case for this control; the
49
+ * light variant is available for reuse on light surfaces.
50
+ */
51
+ readonly applicationTheme: import("@angular/core").InputSignal<ApplicationTheme$1 | undefined>;
52
+ readonly testId: import("@angular/core").InputSignal<string | null>;
53
+ protected readonly mainTestId: import("@angular/core").Signal<string>;
54
+ protected readonly menuTestId: import("@angular/core").Signal<string | null>;
55
+ /** Emits when the main button is used to switch the device on or off, with the new state. */
56
+ readonly toggled: import("@angular/core").OutputEmitterRef<boolean>;
57
+ /**
58
+ * Emits the value of the entry the user picked. An entry with an empty value is a placeholder,
59
+ * not a selectable option: picking it closes the dropdown without emitting.
60
+ */
61
+ readonly optionSelected: import("@angular/core").OutputEmitterRef<string>;
62
+ /** Emits when the dropdown opens, so the consumer can refresh the entries. */
63
+ readonly menuOpened: import("@angular/core").OutputEmitterRef<void>;
64
+ readonly menuClosed: import("@angular/core").OutputEmitterRef<void>;
65
+ private readonly overflowMenu;
66
+ private readonly defaultAppTheme;
67
+ protected readonly theme: import("@angular/core").Signal<ApplicationTheme$1>;
68
+ /** Open state of the dropdown, derived from the overflow menu so there is no mirror to drift. */
69
+ readonly isMenuOpen: import("@angular/core").Signal<boolean>;
70
+ /** Tooltips sit above the control, which is anchored to the bottom of a call surface. */
71
+ protected readonly tooltipPosition = TooltipPositionType.TOP;
72
+ /** The dropdown opens upwards, over the call surface the control sits at the bottom of. */
73
+ protected readonly menuConfig: MenuConfig;
74
+ protected readonly menuButtons: import("@angular/core").Signal<OverflowMenuButtonsType[]>;
75
+ protected readonly mainTooltip: import("@angular/core").Signal<string>;
76
+ protected readonly currentIconName: import("@angular/core").Signal<IconName>;
77
+ toggleDevice(): void;
78
+ closeMenu(): void;
79
+ selectOption(value: string): void;
80
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeviceControlComponent, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeviceControlComponent, "ui-device-control", never, {
82
+ "variant": {
83
+ "alias": "variant";
84
+ "required": false;
85
+ "isSignal": true;
86
+ };
87
+ "iconName": {
88
+ "alias": "iconName";
89
+ "required": false;
90
+ "isSignal": true;
91
+ };
92
+ "offIconName": {
93
+ "alias": "offIconName";
94
+ "required": false;
95
+ "isSignal": true;
96
+ };
97
+ "isOn": {
98
+ "alias": "isOn";
99
+ "required": false;
100
+ "isSignal": true;
101
+ };
102
+ "isActive": {
103
+ "alias": "isActive";
104
+ "required": false;
105
+ "isSignal": true;
106
+ };
107
+ "options": {
108
+ "alias": "options";
109
+ "required": false;
110
+ "isSignal": true;
111
+ };
112
+ "selectedValue": {
113
+ "alias": "selectedValue";
114
+ "required": false;
115
+ "isSignal": true;
116
+ };
117
+ "onTooltip": {
118
+ "alias": "onTooltip";
119
+ "required": true;
120
+ "isSignal": true;
121
+ };
122
+ "offTooltip": {
123
+ "alias": "offTooltip";
124
+ "required": true;
125
+ "isSignal": true;
126
+ };
127
+ "menuTooltip": {
128
+ "alias": "menuTooltip";
129
+ "required": true;
130
+ "isSignal": true;
131
+ };
132
+ "hasError": {
133
+ "alias": "hasError";
134
+ "required": false;
135
+ "isSignal": true;
136
+ };
137
+ "errorLabel": {
138
+ "alias": "errorLabel";
139
+ "required": false;
140
+ "isSignal": true;
141
+ };
142
+ "applicationTheme": {
143
+ "alias": "applicationTheme";
144
+ "required": false;
145
+ "isSignal": true;
146
+ };
147
+ "testId": {
148
+ "alias": "testId";
149
+ "required": false;
150
+ "isSignal": true;
151
+ };
152
+ }, {
153
+ "toggled": "toggled";
154
+ "optionSelected": "optionSelected";
155
+ "menuOpened": "menuOpened";
156
+ "menuClosed": "menuClosed";
157
+ }, never, ["[uiDeviceControlMenuFooter]"], true, never>;
85
158
  }
86
-
87
- declare class DeviceControlComponentModule {
88
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DeviceControlComponentModule, never>;
89
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<DeviceControlComponentModule, never, [typeof i1.CommonModule, typeof DeviceControlComponent], [typeof DeviceControlComponent]>;
90
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<DeviceControlComponentModule>;
159
+ export declare class DeviceControlComponentModule {
160
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeviceControlComponentModule, never>;
161
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeviceControlComponentModule, never, [typeof i1.CommonModule, typeof DeviceControlComponent], [typeof DeviceControlComponent]>;
162
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeviceControlComponentModule>;
91
163
  }
92
-
93
- export { DeviceControlComponent, DeviceControlComponentModule };
94
- export type { DeviceControlOption, DeviceControlVariant };
164
+ export { ApplicationTheme };