@testgorilla/tgo-ui 11.22.3 → 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 (225) 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 -1795
  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/theme/_palette.scss +23 -18
  152. package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
  153. package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
  154. package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
  155. package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
  156. package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
  157. package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
  158. package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
  159. package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
  160. package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
  161. package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
  162. package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
  163. package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
  164. package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
  165. package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
  166. package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
  167. package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
  168. package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
  169. package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
  170. package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
  171. package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
  172. package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
  173. package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
  174. package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
  175. package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
  176. package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
  177. package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
  178. package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
  179. package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
  180. package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
  181. package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
  182. package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
  183. package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
  184. package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
  185. package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
  186. package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
  187. package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
  188. package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
  189. package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
  190. package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
  191. package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
  192. package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
  193. package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
  194. package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
  195. package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
  196. package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
  197. package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
  198. package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
  199. package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
  200. package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
  201. package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
  202. package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
  203. package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
  204. package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
  205. package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
  206. package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
  207. package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
  208. package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
  209. package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
  210. package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
  211. package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
  212. package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
  213. package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
  214. package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
  215. package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
  216. package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
  217. package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
  218. package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
  219. package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
  220. package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
  221. package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
  222. package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
  223. package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
  224. package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
  225. package/types/testgorilla-tgo-ui.d.ts +52 -45
@@ -1,334 +1,475 @@
1
- import { FocusOrigin } from '@angular/cdk/a11y';
2
- import * as i0 from '@angular/core';
3
- import { OnInit, AfterViewInit, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
4
- import * as i2 from '@angular/material/button';
5
- import { MatButton } from '@angular/material/button';
6
- import * as i5 from '@angular/material/tooltip';
7
- import { TooltipPosition } from '@angular/material/tooltip';
8
- import * as i7 from '@testgorilla/tgo-ui/components/core';
9
- import { ApplicationTheme, Color } from '@testgorilla/tgo-ui/components/core';
10
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
11
- import * as i3 from '@testgorilla/tgo-ui/components/icon';
12
- import { IconName } from '@testgorilla/tgo-ui/components/icon';
13
- import * as i6 from '@testgorilla/tgo-ui/components/badge';
14
- import { BadgeVariant, RebrandBadgeColor } from '@testgorilla/tgo-ui/components/badge';
15
- import * as i1 from '@angular/common';
16
- import * as i4 from '@angular/material/progress-spinner';
17
- import * as i8 from '@angular/material/radio';
18
-
19
- type ButtonIconPosition = 'left' | 'right';
20
- type ButtonColor = 'primary' | 'secondary' | 'secondary-inverted' | 'ghost' | 'ghost-ai' | 'outlined' | 'destructive' | 'tertiary' | 'link' | 'tab' | 'text' | 'text-inline' | 'menuTrigger' | 'menuCell' | 'icon-button' | 'linkedin';
21
- type ButtonSize = 'big' | 'medium' | 'small';
22
- type LinkUrlTarget = '' | '_self' | '_blank' | '_parent' | '_top';
23
- type IconButtonSize = '24' | '32' | '40';
24
- type ButtonType = 'button' | 'submit' | 'reset';
25
- type ButtonState = 'hover' | 'pressed' | 'disabled' | 'default';
26
- interface ButtonBadgeConfig {
27
- badgeType: BadgeVariant | null;
28
- badgeLabel?: string;
29
- badgeNotificationAmount: number;
30
- rebrandColor?: RebrandBadgeColor;
1
+ import { FocusOrigin } from "@angular/cdk/a11y";
2
+ import * as i0 from "@angular/core";
3
+ import { AfterViewInit, ElementRef, EventEmitter, OnInit, SimpleChanges } from "@angular/core";
4
+ import * as i2 from "@angular/material/button";
5
+ import { MatButton } from "@angular/material/button";
6
+ import * as i5 from "@angular/material/tooltip";
7
+ import { TooltipPosition } from "@angular/material/tooltip";
8
+ import * as i7 from "@testgorilla/tgo-ui/components/core";
9
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1, Color } from "@testgorilla/tgo-ui/components/core";
10
+ import * as i3 from "@testgorilla/tgo-ui/components/icon";
11
+ import { IconName } from "@testgorilla/tgo-ui/components/icon";
12
+ import * as i6 from "@testgorilla/tgo-ui/components/badge";
13
+ import { BadgeVariant, RebrandBadgeColor } from "@testgorilla/tgo-ui/components/badge";
14
+ import * as i1 from "@angular/common";
15
+ import * as i4 from "@angular/material/progress-spinner";
16
+ import * as i8 from "@angular/material/radio";
17
+ export type ButtonIconPosition = 'left' | 'right';
18
+ export type ButtonColor = 'primary' | 'secondary' | 'secondary-inverted' | 'ghost' | 'ghost-ai' | 'outlined' | 'destructive' | 'tertiary' | 'link' | 'tab' | 'text' | 'text-inline' | 'menuTrigger' | 'menuCell' | 'icon-button' | 'linkedin';
19
+ export type ButtonSize = 'big' | 'medium' | 'small';
20
+ export type LinkUrlTarget = '' | '_self' | '_blank' | '_parent' | '_top';
21
+ export type IconButtonSize = '24' | '32' | '40';
22
+ export type ButtonType = 'button' | 'submit' | 'reset';
23
+ export type ButtonState = 'hover' | 'pressed' | 'disabled' | 'default';
24
+ export interface ButtonBadgeConfig {
25
+ badgeType: BadgeVariant | null;
26
+ badgeLabel?: string;
27
+ badgeNotificationAmount: number;
28
+ rebrandColor?: RebrandBadgeColor;
31
29
  }
32
-
33
- declare class ButtonComponent implements OnInit, AfterViewInit {
34
- private readonly defaultAppTheme;
35
- get enabled(): string;
36
- tooltipElement: ElementRef<HTMLElement>;
37
- /**
38
- * Define button height
39
- *
40
- * @type {ButtonSize}
41
- * @memberof ButtonComponent
42
- */
43
- size: ButtonSize;
44
- /**
45
- * Background color of the button while in active state
46
- *
47
- * @type {ButtonColor}
48
- * @memberof ButtonComponent
49
- */
50
- variant: ButtonColor;
51
- /**
52
- * Text content to appear on the button
53
- *
54
- * @memberof ButtonComponent
55
- */
56
- label: string;
57
- /**
58
- * Positioning of the icon (when existant)
59
- *
60
- * @type {ButtonIconPosition}
61
- * @memberof ButtonComponent
62
- */
63
- iconPosition?: ButtonIconPosition;
64
- /**
65
- * Define if button has only icon without text
66
- *
67
- * @memberof ButtonComponent
68
- */
69
- justIcon: boolean;
70
- /**
71
- * Name of ui-icon
72
- *
73
- * @type {IconName}
74
- * @memberof ButtonComponent
75
- */
76
- iconName: IconName | undefined;
77
- /**
78
- * Name of a second ui-icon rendered after the label, in addition to `iconName`.
79
- * Pair it with `iconPosition="left"` to show a leading and a trailing icon at once.
80
- *
81
- * @type {IconName}
82
- * @memberof ButtonComponent
83
- */
84
- trailingIconName: IconName | undefined;
85
- /**
86
- * Renders the trailing icon filled, independently of `iconFilled`.
87
- *
88
- * @memberof ButtonComponent
89
- */
90
- trailingIconFilled: boolean;
91
- /**
92
- * Indicator if the button should be disabled
93
- *
94
- * @memberof ButtonComponent
95
- */
96
- disabled: boolean;
97
- /**
98
- * Indicator if the loading icon should be shown
99
- *
100
- * @memberof ButtonComponent
101
- */
102
- loading: boolean;
103
- /**
104
- * Show a small inline spinner to the left of the label while keeping the
105
- * label visible. Pair with `disabled` to make the button non-interactive.
106
- * If `loading` is also true, `loading` takes precedence.
107
- *
108
- * @memberof ButtonComponent
109
- */
110
- loadingWithLabel: boolean;
111
- /**
112
- * Indicator of the button width
113
- *
114
- * @memberof ButtonComponent
115
- */
116
- fullWidth: boolean;
117
- /**
118
- * Url of button if it is a link
119
- *
120
- * @memberof ButtonComponent
121
- */
122
- url?: string;
123
- /**
124
- * Url's target of button if it is a link
125
- *
126
- * @type {@type {LinkUrlTarget}}
127
- * @memberof ButtonComponent
128
- */
129
- urlTarget?: LinkUrlTarget;
130
- /**
131
- * Button value
132
- *
133
- * @memberof ButtonComponent
134
- */
135
- value?: string;
136
- /**
137
- * @property tooltip
138
- * @description The tooltip that is displayed on hover. Required for icon-button type
139
- * @type {string}
140
- * @memberof ButtonComponent
141
- */
142
- tooltip: string;
143
- /**
144
- * @property isPremium
145
- * @description The icon that is displayed for Premium button
146
- * @type {boolean}
147
- * @memberof ButtonComponent
148
- */
149
- isPremium: boolean;
150
- /**
151
- * The type of the button.
152
- *
153
- * @type {ButtonType}
154
- * @memberof ButtonComponent
155
- * @default 'button'
156
- */
157
- type: ButtonType;
158
- /**
159
- * Color of the button.
160
- * Defaults to Test Gorilla primary color.
161
- *
162
- * @type {string}
163
- * @memberof ButtonComponent
164
- */
165
- companyColor: string | null;
166
- /**
167
- * Config for the button badge variation
168
- * @type {ButtonBadgeConfig}
169
- * @property badgeType Type of badge on the button
170
- * @property badgeLabel Label text for the badge
171
- * @property badgeNotificationAmount The amount for notification in the badge
172
- */
173
- buttonBadgeConfig: ButtonBadgeConfig | undefined;
174
- /**
175
- *
176
- * Defines the application theme where buttons is used
177
- *
178
- * @type {ApplicationTheme}
179
- * @memberof ButtonComponent
180
- */
181
- applicationTheme: ApplicationTheme;
182
- /** The premium marker reads as the warning badge does, so the two are recognisably the same signal. */
183
- protected readonly premiumMarkerColor = Color.BLACK;
184
- /**
185
- *
186
- * Disabled button scale on click
187
- *
188
- * @type {boolean}
189
- * @memberof ButtonComponent
190
- */
191
- disabledScaleOnClick: boolean;
192
- /**
193
- * A string representing the ARIA label for accessibility.
194
- * This label is used to provide an accessible name for the input element.
195
- * @type {string}
196
- * @memberof ButtonComponent
197
- */
198
- ariaLabel: string;
199
- /**
200
- * Whether the button controls a disclosure widget that is currently expanded.
201
- * Set to `true` for an expanded disclosure, `false` for collapsed, or leave
202
- * undefined when the button is not a disclosure trigger.
203
- * @memberof ButtonComponent
204
- */
205
- ariaExpanded?: boolean;
206
- /**
207
- * The id of the element controlled by this button (used together with
208
- * `ariaExpanded` for disclosure semantics).
209
- * @memberof ButtonComponent
210
- */
211
- ariaControls?: string;
212
- /**
213
- * Whether the button is a toggle button currently in the pressed state.
214
- * Use `true` / `false` for two-state toggles. Leave undefined when the
215
- * button is not a toggle.
216
- * @memberof ButtonComponent
217
- */
218
- ariaPressed?: boolean;
219
- /**
220
- * A string representing the ARIA requirement for accessibility.
221
- * This attribute is used to indicate whether an input field is required for form submission.
222
- * @type {boolean}
223
- * @memberof ButtonComponent
224
- */
225
- ariaRequired: boolean;
226
- /**
227
- * A string representing the ARIA requirement for accessibility.
228
- * This attribute is used to indicate whether an input field is required for form submission.
229
- * @type {string}
230
- * @memberof ButtonComponent
231
- */
232
- ariaLabelledby: string;
233
- /**
234
- * A string representing the ARIA requirement for accessibility.
235
- * This attribute is used to indicate whether an input field is required for form submission.
236
- * @type {string}
237
- * @memberof ButtonComponent
238
- */
239
- ariaDescribedby: string;
240
- /**
241
- * Prevents default button click behavior
242
- * @type {boolean}
243
- * @memberof ButtonComponent
244
- */
245
- preventDefault: boolean;
246
- /**
247
- * Ghost variant with white background
248
- * @type {boolean}
249
- * @memberof ButtonComponent
250
- */
251
- hasBackground: boolean;
252
- /**
253
- * Sets tooltip position
254
- *
255
- * @type {TooltipPosition}
256
- * @memberof ButtonComponent
257
- */
258
- tooltipPosition: TooltipPosition;
259
- role: string;
260
- iconFilled: boolean;
261
- testId: string | null;
262
- buttonClickEvent: EventEmitter<Event>;
263
- buttonHoverEvent: EventEmitter<Event>;
264
- buttonElement: MatButton;
265
- get isDisabled(): boolean;
266
- get compColor(): string;
267
- classCss: string;
268
- styleCss: Record<string, string>;
269
- isButtonLink: boolean;
270
- isLabel: boolean;
271
- buttonState: ButtonState;
272
- hover: boolean;
273
- iconButtonSize: IconButtonSize;
274
- allowButtonTypeForPremium: ButtonColor[];
275
- isFilledIcon: boolean;
276
- coloredIcons: string[];
277
- labelEllipsis: boolean;
278
- icon: IconName;
279
- trailingIcon: IconName;
280
- private static nextAriaLabelledId;
281
- ariaLabelledbyId: string;
282
- get typeIncluded(): boolean;
283
- constructor(defaultAppTheme: ApplicationTheme);
284
- ngOnInit(): void;
285
- ngOnChanges(changes: SimpleChanges): void;
286
- private hasCssAffectingChange;
287
- private isIconButtonSizeChange;
288
- private isFilledIconVariant;
289
- ngAfterViewInit(): void;
290
- buttonClick(event: Event): void;
291
- buttonHover(event: Event): void;
292
- showLabel(): boolean;
293
- setCssClass(): string;
294
- setCssStyle(): Record<string, string>;
295
- private get isColorVariant();
296
- private get isTextVariant();
297
- private getInteractiveStyle;
298
- private getClassicInteractiveStyle;
299
- private getCompanyColorStyle;
300
- private getGhostBackgroundStyle;
301
- get showSpinner(): boolean;
302
- get showInlineSpinner(): boolean;
303
- showButtonLink(): boolean;
304
- setIconButtonSize(): IconButtonSize;
305
- onPressed(ev: Event): void;
306
- focus(origin?: FocusOrigin): void;
307
- get getCompanyColor(): string;
308
- get shouldChangeFilledStatus(): boolean;
309
- /**
310
- * Whether this specific icon may be swapped to its filled variant on hover. Takes the icon as an
311
- * argument because a button can render two, and a brand icon in one slot must not freeze the other.
312
- */
313
- canToggleFilled(icon: IconName): boolean;
314
- onKeydown(event: KeyboardEvent): void;
315
- onKeyup(event: KeyboardEvent): void;
316
- onLabelEllipsisChange(state: boolean): void;
317
- getIconName(iconName: string, defaultValue: string): IconName;
318
- private isKnownIconName;
319
- private createAriaLabelledById;
320
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
321
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "trailingIconName": { "alias": "trailingIconName"; "required": false; }; "trailingIconFilled": { "alias": "trailingIconFilled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingWithLabel": { "alias": "loadingWithLabel"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaControls": { "alias": "ariaControls"; "required": false; }; "ariaPressed": { "alias": "ariaPressed"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "iconFilled": { "alias": "iconFilled"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, true, never>;
322
- static ngAcceptInputType_preventDefault: unknown;
323
- static ngAcceptInputType_hasBackground: unknown;
30
+ export declare class ButtonComponent implements OnInit, AfterViewInit {
31
+ private readonly defaultAppTheme;
32
+ get enabled(): string;
33
+ tooltipElement: ElementRef<HTMLElement>;
34
+ /**
35
+ * Define button height
36
+ *
37
+ * @type {ButtonSize}
38
+ * @memberof ButtonComponent
39
+ */
40
+ size: ButtonSize;
41
+ /**
42
+ * Background color of the button while in active state
43
+ *
44
+ * @type {ButtonColor}
45
+ * @memberof ButtonComponent
46
+ */
47
+ variant: ButtonColor;
48
+ /**
49
+ * Text content to appear on the button
50
+ *
51
+ * @memberof ButtonComponent
52
+ */
53
+ label: string;
54
+ /**
55
+ * Positioning of the icon (when existant)
56
+ *
57
+ * @type {ButtonIconPosition}
58
+ * @memberof ButtonComponent
59
+ */
60
+ iconPosition?: ButtonIconPosition;
61
+ /**
62
+ * Define if button has only icon without text
63
+ *
64
+ * @memberof ButtonComponent
65
+ */
66
+ justIcon: boolean;
67
+ /**
68
+ * Name of ui-icon
69
+ *
70
+ * @type {IconName}
71
+ * @memberof ButtonComponent
72
+ */
73
+ iconName: IconName | undefined;
74
+ /**
75
+ * Name of a second ui-icon rendered after the label, in addition to `iconName`.
76
+ * Pair it with `iconPosition="left"` to show a leading and a trailing icon at once.
77
+ *
78
+ * @type {IconName}
79
+ * @memberof ButtonComponent
80
+ */
81
+ trailingIconName: IconName | undefined;
82
+ /**
83
+ * Renders the trailing icon filled, independently of `iconFilled`.
84
+ *
85
+ * @memberof ButtonComponent
86
+ */
87
+ trailingIconFilled: boolean;
88
+ /**
89
+ * Indicator if the button should be disabled
90
+ *
91
+ * @memberof ButtonComponent
92
+ */
93
+ disabled: boolean;
94
+ /**
95
+ * Indicator if the loading icon should be shown
96
+ *
97
+ * @memberof ButtonComponent
98
+ */
99
+ loading: boolean;
100
+ /**
101
+ * Show a small inline spinner to the left of the label while keeping the
102
+ * label visible. Pair with `disabled` to make the button non-interactive.
103
+ * If `loading` is also true, `loading` takes precedence.
104
+ *
105
+ * @memberof ButtonComponent
106
+ */
107
+ loadingWithLabel: boolean;
108
+ /**
109
+ * Indicator of the button width
110
+ *
111
+ * @memberof ButtonComponent
112
+ */
113
+ fullWidth: boolean;
114
+ /**
115
+ * Url of button if it is a link
116
+ *
117
+ * @memberof ButtonComponent
118
+ */
119
+ url?: string;
120
+ /**
121
+ * Url's target of button if it is a link
122
+ *
123
+ * @type {@type {LinkUrlTarget}}
124
+ * @memberof ButtonComponent
125
+ */
126
+ urlTarget?: LinkUrlTarget;
127
+ /**
128
+ * Button value
129
+ *
130
+ * @memberof ButtonComponent
131
+ */
132
+ value?: string;
133
+ /**
134
+ * @property tooltip
135
+ * @description The tooltip that is displayed on hover. Required for icon-button type
136
+ * @type {string}
137
+ * @memberof ButtonComponent
138
+ */
139
+ tooltip: string;
140
+ /**
141
+ * @property isPremium
142
+ * @description The icon that is displayed for Premium button
143
+ * @type {boolean}
144
+ * @memberof ButtonComponent
145
+ */
146
+ isPremium: boolean;
147
+ /**
148
+ * The type of the button.
149
+ *
150
+ * @type {ButtonType}
151
+ * @memberof ButtonComponent
152
+ * @default 'button'
153
+ */
154
+ type: ButtonType;
155
+ /**
156
+ * Color of the button.
157
+ * Defaults to Test Gorilla primary color.
158
+ *
159
+ * @type {string}
160
+ * @memberof ButtonComponent
161
+ */
162
+ companyColor: string | null;
163
+ /**
164
+ * Config for the button badge variation
165
+ * @type {ButtonBadgeConfig}
166
+ * @property badgeType Type of badge on the button
167
+ * @property badgeLabel Label text for the badge
168
+ * @property badgeNotificationAmount The amount for notification in the badge
169
+ */
170
+ buttonBadgeConfig: ButtonBadgeConfig | undefined;
171
+ /**
172
+ *
173
+ * Defines the application theme where buttons is used
174
+ *
175
+ * @type {ApplicationTheme}
176
+ * @memberof ButtonComponent
177
+ */
178
+ applicationTheme: ApplicationTheme$1;
179
+ /** The premium marker reads as the warning badge does, so the two are recognisably the same signal. */
180
+ protected readonly premiumMarkerColor = Color.BLACK;
181
+ /**
182
+ *
183
+ * Disabled button scale on click
184
+ *
185
+ * @type {boolean}
186
+ * @memberof ButtonComponent
187
+ */
188
+ disabledScaleOnClick: boolean;
189
+ /**
190
+ * A string representing the ARIA label for accessibility.
191
+ * This label is used to provide an accessible name for the input element.
192
+ * @type {string}
193
+ * @memberof ButtonComponent
194
+ */
195
+ ariaLabel: string;
196
+ /**
197
+ * Whether the button controls a disclosure widget that is currently expanded.
198
+ * Set to `true` for an expanded disclosure, `false` for collapsed, or leave
199
+ * undefined when the button is not a disclosure trigger.
200
+ * @memberof ButtonComponent
201
+ */
202
+ ariaExpanded?: boolean;
203
+ /**
204
+ * The id of the element controlled by this button (used together with
205
+ * `ariaExpanded` for disclosure semantics).
206
+ * @memberof ButtonComponent
207
+ */
208
+ ariaControls?: string;
209
+ /**
210
+ * Whether the button is a toggle button currently in the pressed state.
211
+ * Use `true` / `false` for two-state toggles. Leave undefined when the
212
+ * button is not a toggle.
213
+ * @memberof ButtonComponent
214
+ */
215
+ ariaPressed?: boolean;
216
+ /**
217
+ * A string representing the ARIA requirement for accessibility.
218
+ * This attribute is used to indicate whether an input field is required for form submission.
219
+ * @type {boolean}
220
+ * @memberof ButtonComponent
221
+ */
222
+ ariaRequired: boolean;
223
+ /**
224
+ * A string representing the ARIA requirement for accessibility.
225
+ * This attribute is used to indicate whether an input field is required for form submission.
226
+ * @type {string}
227
+ * @memberof ButtonComponent
228
+ */
229
+ ariaLabelledby: string;
230
+ /**
231
+ * A string representing the ARIA requirement for accessibility.
232
+ * This attribute is used to indicate whether an input field is required for form submission.
233
+ * @type {string}
234
+ * @memberof ButtonComponent
235
+ */
236
+ ariaDescribedby: string;
237
+ /**
238
+ * Prevents default button click behavior
239
+ * @type {boolean}
240
+ * @memberof ButtonComponent
241
+ */
242
+ preventDefault: boolean;
243
+ /**
244
+ * Ghost variant with white background
245
+ * @type {boolean}
246
+ * @memberof ButtonComponent
247
+ */
248
+ hasBackground: boolean;
249
+ /**
250
+ * Sets tooltip position
251
+ *
252
+ * @type {TooltipPosition}
253
+ * @memberof ButtonComponent
254
+ */
255
+ tooltipPosition: TooltipPosition;
256
+ role: string;
257
+ iconFilled: boolean;
258
+ testId: string | null;
259
+ buttonClickEvent: EventEmitter<Event>;
260
+ buttonHoverEvent: EventEmitter<Event>;
261
+ buttonElement: MatButton;
262
+ get isDisabled(): boolean;
263
+ get compColor(): string;
264
+ classCss: string;
265
+ styleCss: Record<string, string>;
266
+ isButtonLink: boolean;
267
+ isLabel: boolean;
268
+ buttonState: ButtonState;
269
+ hover: boolean;
270
+ iconButtonSize: IconButtonSize;
271
+ allowButtonTypeForPremium: ButtonColor[];
272
+ isFilledIcon: boolean;
273
+ coloredIcons: string[];
274
+ labelEllipsis: boolean;
275
+ icon: IconName;
276
+ trailingIcon: IconName;
277
+ private static nextAriaLabelledId;
278
+ ariaLabelledbyId: string;
279
+ get typeIncluded(): boolean;
280
+ constructor(defaultAppTheme: ApplicationTheme$1);
281
+ ngOnInit(): void;
282
+ ngOnChanges(changes: SimpleChanges): void;
283
+ private hasCssAffectingChange;
284
+ private isIconButtonSizeChange;
285
+ private isFilledIconVariant;
286
+ ngAfterViewInit(): void;
287
+ buttonClick(event: Event): void;
288
+ buttonHover(event: Event): void;
289
+ showLabel(): boolean;
290
+ setCssClass(): string;
291
+ setCssStyle(): Record<string, string>;
292
+ private get isColorVariant();
293
+ private get isTextVariant();
294
+ private getInteractiveStyle;
295
+ private getClassicInteractiveStyle;
296
+ private getCompanyColorStyle;
297
+ private getGhostBackgroundStyle;
298
+ get showSpinner(): boolean;
299
+ get showInlineSpinner(): boolean;
300
+ showButtonLink(): boolean;
301
+ setIconButtonSize(): IconButtonSize;
302
+ onPressed(ev: Event): void;
303
+ focus(origin?: FocusOrigin): void;
304
+ get getCompanyColor(): string;
305
+ get shouldChangeFilledStatus(): boolean;
306
+ /**
307
+ * Whether this specific icon may be swapped to its filled variant on hover. Takes the icon as an
308
+ * argument because a button can render two, and a brand icon in one slot must not freeze the other.
309
+ */
310
+ canToggleFilled(icon: IconName): boolean;
311
+ onKeydown(event: KeyboardEvent): void;
312
+ onKeyup(event: KeyboardEvent): void;
313
+ onLabelEllipsisChange(state: boolean): void;
314
+ getIconName(iconName: string, defaultValue: string): IconName;
315
+ private isKnownIconName;
316
+ private createAriaLabelledById;
317
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{
318
+ optional: true;
319
+ }]>;
320
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, {
321
+ "size": {
322
+ "alias": "size";
323
+ "required": false;
324
+ };
325
+ "variant": {
326
+ "alias": "variant";
327
+ "required": false;
328
+ };
329
+ "label": {
330
+ "alias": "label";
331
+ "required": false;
332
+ };
333
+ "iconPosition": {
334
+ "alias": "iconPosition";
335
+ "required": false;
336
+ };
337
+ "justIcon": {
338
+ "alias": "justIcon";
339
+ "required": false;
340
+ };
341
+ "iconName": {
342
+ "alias": "iconName";
343
+ "required": false;
344
+ };
345
+ "trailingIconName": {
346
+ "alias": "trailingIconName";
347
+ "required": false;
348
+ };
349
+ "trailingIconFilled": {
350
+ "alias": "trailingIconFilled";
351
+ "required": false;
352
+ };
353
+ "disabled": {
354
+ "alias": "disabled";
355
+ "required": false;
356
+ };
357
+ "loading": {
358
+ "alias": "loading";
359
+ "required": false;
360
+ };
361
+ "loadingWithLabel": {
362
+ "alias": "loadingWithLabel";
363
+ "required": false;
364
+ };
365
+ "fullWidth": {
366
+ "alias": "fullWidth";
367
+ "required": false;
368
+ };
369
+ "url": {
370
+ "alias": "url";
371
+ "required": false;
372
+ };
373
+ "urlTarget": {
374
+ "alias": "urlTarget";
375
+ "required": false;
376
+ };
377
+ "value": {
378
+ "alias": "value";
379
+ "required": false;
380
+ };
381
+ "tooltip": {
382
+ "alias": "tooltip";
383
+ "required": false;
384
+ };
385
+ "isPremium": {
386
+ "alias": "isPremium";
387
+ "required": false;
388
+ };
389
+ "type": {
390
+ "alias": "type";
391
+ "required": false;
392
+ };
393
+ "companyColor": {
394
+ "alias": "companyColor";
395
+ "required": false;
396
+ };
397
+ "buttonBadgeConfig": {
398
+ "alias": "buttonBadgeConfig";
399
+ "required": false;
400
+ };
401
+ "applicationTheme": {
402
+ "alias": "applicationTheme";
403
+ "required": false;
404
+ };
405
+ "disabledScaleOnClick": {
406
+ "alias": "disabledScaleOnClick";
407
+ "required": false;
408
+ };
409
+ "ariaLabel": {
410
+ "alias": "ariaLabel";
411
+ "required": false;
412
+ };
413
+ "ariaExpanded": {
414
+ "alias": "ariaExpanded";
415
+ "required": false;
416
+ };
417
+ "ariaControls": {
418
+ "alias": "ariaControls";
419
+ "required": false;
420
+ };
421
+ "ariaPressed": {
422
+ "alias": "ariaPressed";
423
+ "required": false;
424
+ };
425
+ "ariaRequired": {
426
+ "alias": "ariaRequired";
427
+ "required": false;
428
+ };
429
+ "ariaLabelledby": {
430
+ "alias": "ariaLabelledby";
431
+ "required": false;
432
+ };
433
+ "ariaDescribedby": {
434
+ "alias": "ariaDescribedby";
435
+ "required": false;
436
+ };
437
+ "preventDefault": {
438
+ "alias": "preventDefault";
439
+ "required": false;
440
+ };
441
+ "hasBackground": {
442
+ "alias": "hasBackground";
443
+ "required": false;
444
+ };
445
+ "tooltipPosition": {
446
+ "alias": "tooltipPosition";
447
+ "required": false;
448
+ };
449
+ "role": {
450
+ "alias": "role";
451
+ "required": false;
452
+ };
453
+ "iconFilled": {
454
+ "alias": "iconFilled";
455
+ "required": false;
456
+ };
457
+ "testId": {
458
+ "alias": "testId";
459
+ "required": false;
460
+ };
461
+ }, {
462
+ "buttonClickEvent": "buttonClickEvent";
463
+ "buttonHoverEvent": "buttonHoverEvent";
464
+ }, never, never, true, never>;
465
+ static ngAcceptInputType_preventDefault: unknown;
466
+ static ngAcceptInputType_hasBackground: unknown;
324
467
  }
325
-
326
- declare class ButtonComponentModule {
327
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponentModule, never>;
328
- static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.IconComponentModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule, typeof i6.BadgeComponentModule, typeof i7.EllipseTextDirective, typeof i8.MatRadioModule, typeof i7.UiTranslatePipe, typeof ButtonComponent], [typeof ButtonComponent]>;
329
- static ɵinj: i0.ɵɵInjectorDeclaration<ButtonComponentModule>;
468
+ export declare class ButtonComponentModule {
469
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponentModule, never>;
470
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.IconComponentModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule, typeof i6.BadgeComponentModule, typeof i7.EllipseTextDirective, typeof i8.MatRadioModule, typeof i7.UiTranslatePipe, typeof ButtonComponent], [typeof ButtonComponent]>;
471
+ static ɵinj: i0.ɵɵInjectorDeclaration<ButtonComponentModule>;
330
472
  }
331
-
332
473
  /**
333
474
  * Function for adjusting the lightness of a color based on different events (hover, pressed, disabled).
334
475
  * Accepts a hex color, transforms it to HSL, and based on color's L and event darkens or lightens it.
@@ -339,25 +480,23 @@ declare class ButtonComponentModule {
339
480
  * @param theme
340
481
  */
341
482
  type LightnessEvent = 'hover' | 'pressed' | 'disabled';
342
- declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
483
+ export declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
343
484
  /**
344
485
  * Transforms hex color to HSL in object variation.
345
486
  * @param hexColor string value with hex color
346
487
  */
347
- declare const hexToHsl: (hexColor: string) => {
348
- h: number;
349
- s: number;
350
- l: number;
488
+ export declare const hexToHsl: (hexColor: string) => {
489
+ h: number;
490
+ s: number;
491
+ l: number;
351
492
  };
352
493
  /**
353
494
  * Transforms HSL color, represented as an object and transforms it to hex string.
354
495
  * @param hslColor accepts the HSL color like an object.
355
496
  */
356
- declare const hslToHex: (hslColor: {
357
- h: number;
358
- s: number;
359
- l: number;
497
+ export declare const hslToHex: (hslColor: {
498
+ h: number;
499
+ s: number;
500
+ l: number;
360
501
  }) => string;
361
-
362
- export { ButtonComponent, ButtonComponentModule, adjustLightness, hexToHsl, hslToHex };
363
- export type { ButtonBadgeConfig, ButtonColor, ButtonIconPosition, ButtonSize, ButtonState, ButtonType, IconButtonSize, LinkUrlTarget };
502
+ export { ApplicationTheme };