@tectra-ng/ui 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/data-view/README.md +9 -1
  2. package/dialog/README.md +3 -0
  3. package/fesm2022/tectra-ng-ui-accordion.mjs.map +1 -1
  4. package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
  5. package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
  6. package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
  7. package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
  8. package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
  9. package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  11. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-ui-confirm.mjs.map +1 -1
  13. package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
  15. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  17. package/fesm2022/tectra-ng-ui-dialog.mjs +51 -0
  18. package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
  19. package/fesm2022/tectra-ng-ui-email-suggestion.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-ui-export-font.mjs.map +1 -1
  21. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
  23. package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
  24. package/fesm2022/tectra-ng-ui-highlight-text.mjs.map +1 -1
  25. package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
  27. package/fesm2022/tectra-ng-ui-input-mask.mjs.map +1 -1
  28. package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
  29. package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -1
  30. package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
  31. package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
  32. package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
  33. package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
  34. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  35. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  36. package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -1
  37. package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
  38. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
  39. package/fesm2022/tectra-ng-ui-sparkline.mjs.map +1 -1
  40. package/fesm2022/tectra-ng-ui-splitter.mjs.map +1 -1
  41. package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
  42. package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
  43. package/fesm2022/tectra-ng-ui-table.mjs +2 -2
  44. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  45. package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
  46. package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
  47. package/fesm2022/tectra-ng-ui-toolbar.mjs.map +1 -1
  48. package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
  49. package/fesm2022/tectra-ng-ui-tree-select.mjs +20 -3
  50. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  51. package/fesm2022/tectra-ng-ui-tree-table.mjs +2 -2
  52. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  53. package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
  54. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
  55. package/fesm2022/tectra-ng-ui.mjs +1 -1
  56. package/fesm2022/tectra-ng-ui.mjs.map +1 -1
  57. package/package.json +9 -9
  58. package/table/README.md +1 -0
  59. package/tree-select/README.md +1 -0
  60. package/types/tectra-ng-ui-accordion.d.ts +96 -65
  61. package/types/tectra-ng-ui-accordion.d.ts.map +1 -1
  62. package/types/tectra-ng-ui-amount.d.ts +40 -17
  63. package/types/tectra-ng-ui-amount.d.ts.map +1 -1
  64. package/types/tectra-ng-ui-analog-clock.d.ts +28 -41
  65. package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
  66. package/types/tectra-ng-ui-autocomplete.d.ts +35 -96
  67. package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
  68. package/types/tectra-ng-ui-avatar.d.ts +84 -259
  69. package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
  70. package/types/tectra-ng-ui-badge.d.ts +18 -61
  71. package/types/tectra-ng-ui-badge.d.ts.map +1 -1
  72. package/types/tectra-ng-ui-breadcrumb.d.ts +53 -36
  73. package/types/tectra-ng-ui-breadcrumb.d.ts.map +1 -1
  74. package/types/tectra-ng-ui-button-group.d.ts +4 -0
  75. package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
  76. package/types/tectra-ng-ui-button.d.ts +45 -266
  77. package/types/tectra-ng-ui-button.d.ts.map +1 -1
  78. package/types/tectra-ng-ui-card.d.ts +14 -16
  79. package/types/tectra-ng-ui-card.d.ts.map +1 -1
  80. package/types/tectra-ng-ui-carousel.d.ts +55 -27
  81. package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
  82. package/types/tectra-ng-ui-cascade-select.d.ts +48 -8
  83. package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -1
  84. package/types/tectra-ng-ui-checkbox.d.ts +79 -119
  85. package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
  86. package/types/tectra-ng-ui-chip.d.ts +19 -22
  87. package/types/tectra-ng-ui-chip.d.ts.map +1 -1
  88. package/types/tectra-ng-ui-chips-input.d.ts +41 -11
  89. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  90. package/types/tectra-ng-ui-color-picker.d.ts +51 -47
  91. package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
  92. package/types/tectra-ng-ui-confirm.d.ts +45 -0
  93. package/types/tectra-ng-ui-confirm.d.ts.map +1 -1
  94. package/types/tectra-ng-ui-countdown.d.ts +42 -10
  95. package/types/tectra-ng-ui-countdown.d.ts.map +1 -1
  96. package/types/tectra-ng-ui-country-select.d.ts +41 -96
  97. package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
  98. package/types/tectra-ng-ui-country.d.ts +40 -17
  99. package/types/tectra-ng-ui-country.d.ts.map +1 -1
  100. package/types/tectra-ng-ui-data-view.d.ts +92 -34
  101. package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
  102. package/types/tectra-ng-ui-datepicker.d.ts +186 -147
  103. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
  104. package/types/tectra-ng-ui-dialog.d.ts +149 -67
  105. package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
  106. package/types/tectra-ng-ui-divider.d.ts +17 -12
  107. package/types/tectra-ng-ui-divider.d.ts.map +1 -1
  108. package/types/tectra-ng-ui-drawer.d.ts +31 -67
  109. package/types/tectra-ng-ui-drawer.d.ts.map +1 -1
  110. package/types/tectra-ng-ui-email-suggestion.d.ts +25 -8
  111. package/types/tectra-ng-ui-email-suggestion.d.ts.map +1 -1
  112. package/types/tectra-ng-ui-export-font.d.ts +1 -0
  113. package/types/tectra-ng-ui-export-font.d.ts.map +1 -1
  114. package/types/tectra-ng-ui-export.d.ts +238 -0
  115. package/types/tectra-ng-ui-export.d.ts.map +1 -1
  116. package/types/tectra-ng-ui-field.d.ts +24 -11
  117. package/types/tectra-ng-ui-field.d.ts.map +1 -1
  118. package/types/tectra-ng-ui-fieldset.d.ts +14 -23
  119. package/types/tectra-ng-ui-fieldset.d.ts.map +1 -1
  120. package/types/tectra-ng-ui-file-upload.d.ts +127 -115
  121. package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
  122. package/types/tectra-ng-ui-galleria.d.ts +84 -84
  123. package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
  124. package/types/tectra-ng-ui-highlight-text.d.ts +24 -10
  125. package/types/tectra-ng-ui-highlight-text.d.ts.map +1 -1
  126. package/types/tectra-ng-ui-icon-field.d.ts +20 -0
  127. package/types/tectra-ng-ui-icon-field.d.ts.map +1 -1
  128. package/types/tectra-ng-ui-image.d.ts +60 -36
  129. package/types/tectra-ng-ui-image.d.ts.map +1 -1
  130. package/types/tectra-ng-ui-input-group.d.ts +9 -0
  131. package/types/tectra-ng-ui-input-group.d.ts.map +1 -1
  132. package/types/tectra-ng-ui-input-mask.d.ts +39 -0
  133. package/types/tectra-ng-ui-input-mask.d.ts.map +1 -1
  134. package/types/tectra-ng-ui-input-number.d.ts +73 -15
  135. package/types/tectra-ng-ui-input-number.d.ts.map +1 -1
  136. package/types/tectra-ng-ui-input-otp.d.ts +28 -21
  137. package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
  138. package/types/tectra-ng-ui-input.d.ts +17 -50
  139. package/types/tectra-ng-ui-input.d.ts.map +1 -1
  140. package/types/tectra-ng-ui-key-filter.d.ts +14 -0
  141. package/types/tectra-ng-ui-key-filter.d.ts.map +1 -1
  142. package/types/tectra-ng-ui-knob.d.ts +38 -18
  143. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  144. package/types/tectra-ng-ui-label.d.ts +19 -0
  145. package/types/tectra-ng-ui-label.d.ts.map +1 -1
  146. package/types/tectra-ng-ui-link.d.ts +39 -34
  147. package/types/tectra-ng-ui-link.d.ts.map +1 -1
  148. package/types/tectra-ng-ui-list-input.d.ts +54 -45
  149. package/types/tectra-ng-ui-list-input.d.ts.map +1 -1
  150. package/types/tectra-ng-ui-listbox.d.ts +24 -14
  151. package/types/tectra-ng-ui-listbox.d.ts.map +1 -1
  152. package/types/tectra-ng-ui-mention-textarea.d.ts +36 -9
  153. package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -1
  154. package/types/tectra-ng-ui-menu.d.ts +92 -166
  155. package/types/tectra-ng-ui-menu.d.ts.map +1 -1
  156. package/types/tectra-ng-ui-menubar.d.ts +29 -58
  157. package/types/tectra-ng-ui-menubar.d.ts.map +1 -1
  158. package/types/tectra-ng-ui-message.d.ts +61 -126
  159. package/types/tectra-ng-ui-message.d.ts.map +1 -1
  160. package/types/tectra-ng-ui-month-calendar.d.ts +98 -87
  161. package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -1
  162. package/types/tectra-ng-ui-multiselect.d.ts +26 -96
  163. package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
  164. package/types/tectra-ng-ui-overlay-badge.d.ts +20 -9
  165. package/types/tectra-ng-ui-overlay-badge.d.ts.map +1 -1
  166. package/types/tectra-ng-ui-paginator.d.ts +69 -47
  167. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  168. package/types/tectra-ng-ui-panel-menu.d.ts +52 -105
  169. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  170. package/types/tectra-ng-ui-panel.d.ts +22 -30
  171. package/types/tectra-ng-ui-panel.d.ts.map +1 -1
  172. package/types/tectra-ng-ui-password-generator.d.ts +27 -0
  173. package/types/tectra-ng-ui-password-generator.d.ts.map +1 -1
  174. package/types/tectra-ng-ui-password.d.ts +55 -26
  175. package/types/tectra-ng-ui-password.d.ts.map +1 -1
  176. package/types/tectra-ng-ui-pill.d.ts +23 -70
  177. package/types/tectra-ng-ui-pill.d.ts.map +1 -1
  178. package/types/tectra-ng-ui-popover.d.ts +58 -46
  179. package/types/tectra-ng-ui-popover.d.ts.map +1 -1
  180. package/types/tectra-ng-ui-progress-bar.d.ts +32 -28
  181. package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
  182. package/types/tectra-ng-ui-progress-spinner.d.ts +18 -16
  183. package/types/tectra-ng-ui-progress-spinner.d.ts.map +1 -1
  184. package/types/tectra-ng-ui-radio-button.d.ts +64 -115
  185. package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
  186. package/types/tectra-ng-ui-rating.d.ts +40 -29
  187. package/types/tectra-ng-ui-rating.d.ts.map +1 -1
  188. package/types/tectra-ng-ui-scroll-panel.d.ts +22 -17
  189. package/types/tectra-ng-ui-scroll-panel.d.ts.map +1 -1
  190. package/types/tectra-ng-ui-select.d.ts +169 -100
  191. package/types/tectra-ng-ui-select.d.ts.map +1 -1
  192. package/types/tectra-ng-ui-skeleton.d.ts +34 -37
  193. package/types/tectra-ng-ui-skeleton.d.ts.map +1 -1
  194. package/types/tectra-ng-ui-slider.d.ts +37 -33
  195. package/types/tectra-ng-ui-slider.d.ts.map +1 -1
  196. package/types/tectra-ng-ui-sparkline.d.ts +22 -15
  197. package/types/tectra-ng-ui-sparkline.d.ts.map +1 -1
  198. package/types/tectra-ng-ui-speed-dial.d.ts +34 -11
  199. package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
  200. package/types/tectra-ng-ui-split-button.d.ts +28 -7
  201. package/types/tectra-ng-ui-split-button.d.ts.map +1 -1
  202. package/types/tectra-ng-ui-splitter.d.ts +47 -23
  203. package/types/tectra-ng-ui-splitter.d.ts.map +1 -1
  204. package/types/tectra-ng-ui-stat-tiles.d.ts +39 -91
  205. package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
  206. package/types/tectra-ng-ui-status-icon.d.ts +19 -23
  207. package/types/tectra-ng-ui-status-icon.d.ts.map +1 -1
  208. package/types/tectra-ng-ui-stepper.d.ts +106 -133
  209. package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
  210. package/types/tectra-ng-ui-table.d.ts +415 -183
  211. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  212. package/types/tectra-ng-ui-tabs.d.ts +91 -133
  213. package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
  214. package/types/tectra-ng-ui-tag.d.ts +46 -135
  215. package/types/tectra-ng-ui-tag.d.ts.map +1 -1
  216. package/types/tectra-ng-ui-textarea.d.ts +25 -31
  217. package/types/tectra-ng-ui-textarea.d.ts.map +1 -1
  218. package/types/tectra-ng-ui-timeline.d.ts +39 -27
  219. package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
  220. package/types/tectra-ng-ui-toast.d.ts +84 -78
  221. package/types/tectra-ng-ui-toast.d.ts.map +1 -1
  222. package/types/tectra-ng-ui-toggle-button.d.ts +29 -55
  223. package/types/tectra-ng-ui-toggle-button.d.ts.map +1 -1
  224. package/types/tectra-ng-ui-toggle-switch.d.ts +41 -55
  225. package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
  226. package/types/tectra-ng-ui-toolbar.d.ts +15 -14
  227. package/types/tectra-ng-ui-toolbar.d.ts.map +1 -1
  228. package/types/tectra-ng-ui-tooltip.d.ts +72 -22
  229. package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
  230. package/types/tectra-ng-ui-tree-select.d.ts +65 -104
  231. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
  232. package/types/tectra-ng-ui-tree-table.d.ts +30 -0
  233. package/types/tectra-ng-ui-tree-table.d.ts.map +1 -1
  234. package/types/tectra-ng-ui-tree.d.ts +197 -69
  235. package/types/tectra-ng-ui-tree.d.ts.map +1 -1
  236. package/types/tectra-ng-ui-truncate-text.d.ts +21 -14
  237. package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -1
  238. package/types/tectra-ng-ui-virtual-scroller.d.ts +97 -13
  239. package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
  240. package/types/tectra-ng-ui.d.ts +2 -1
  241. package/types/tectra-ng-ui.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-tag.d.ts","names":[],"sources":["../../../../packages/ui/tag/src/tag.types.ts","../../../../packages/ui/tag/src/tag.component.ts","../../../../packages/ui/tag/src/tag-list.component.ts"],"mappings":";;;;;YAAY;YACA;YACA;YACA;iBAEK;WACN;WACA,WAAW;WACX;WACA;;qBC4DE;mBACM;UAET;UACA;UACA;WAEC,+BAAK;WACL,kCAAQ,YAAA;WACR,8BAAI,YAAA;WACJ,iCAAO;WACP,8BAAI,YAAA;WACJ,kCAAQ;WACR,mCAAS;WACT,qCAAW;WACX,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,4CAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,gCAAM;WACN,iCAAO,iBAAA;WAEP,+BAAK,OAAA,WAAA;WAEL,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,4CAAA;WACX,kCAAQ;WACR,sCAAY,OAAA;WACZ,kCAAQ,OAAA;WAIR,mCAAS;;;;EAMlB;EAWA,OAAO,OAAO;SAnDH,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAK;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;;;qBCtCL;mBACM;WAER,8BAAI,qBAAA;WACJ,+BAAK;WACL,kCAAQ,YAAA;WACR,8BAAI,YAAA;WACJ,iCAAO;WACP,mCAAS;WACT,mCAAS;WACT,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;qBACD,2BAAC,wCAAA;qBAED,6BAAG,gBAAA;qBACH,iCAAO,gBAAA;qBAIP,gCAAM,OAAA;qBAIN,kCAAQ;WAElB,mCAAS;;;SA/BP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-tag.d.ts","names":[],"sources":["../../../../packages/ui/tag/src/tag.types.ts","../../../../packages/ui/tag/src/tag.component.ts","../../../../packages/ui/tag/src/tag-list.component.ts"],"mappings":";;;;;;YACY;;YAEA;;YAEA;;YAEA;;iBAGK;;WAEN;;WAEA,WAAW;;WAEX;;WAEA;;;;;;qBCmDE;mBACM;UAET;UACA;UACA;;WAEC,+BAAK;;WACL,kCAAQ,YAAA;;WACR,8BAAI,YAAA;;WACJ,iCAAO;;WACP,8BAAI,YAAA;;WACJ,kCAAQ;;WACR,mCAAS;;WACT,qCAAW;;WACX,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,4CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;;WACN,iCAAO,iBAAA;WAEP,+BAAK,OAAA,WAAA;WAEL,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,4CAAA;WACX,kCAAQ;WACR,sCAAY,OAAA;WACZ,kCAAQ,OAAA;WAIR,mCAAS;;;;EAMlB;EAWA,OAAO,OAAO;SAnDH,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAK;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;;;;;;;qBCtCL;mBACM;;WAER,8BAAI,qBAAA;;WACJ,+BAAK;;WACL,kCAAQ,YAAA;;WACR,8BAAI,YAAA;;WACJ,iCAAO;;WACP,mCAAS;;WACT,mCAAS;;WACT,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;qBACD,2BAAC,wCAAA;qBAED,6BAAG,gBAAA;qBACH,iCAAO,gBAAA;qBAIP,gCAAM,OAAA;qBAIN,kCAAQ;WAElB,mCAAS;;;SA/BP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
@@ -1,9 +1,15 @@
1
- import { TectraDeepPartial } from "@tectra-ng/themes";
1
+ import { TectraDeepPartial, TectraTextareaTokens } from "@tectra-ng/themes";
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "@tectra-ng/ui/input";
4
4
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
5
+ /** Which directions the user can drag to resize the textarea. */
5
6
  export type TxTextareaResize = 'none' | 'vertical' | 'horizontal' | 'both';
7
+ /** Parts of `tx-textarea-counter` that `pt` can style. */
6
8
  export type TxTextareaCounterPart = 'root';
9
+ /**
10
+ * A multi-line field on the native `<textarea>`: the same look, sizes, variants and states as `txInput`, plus growing with the text, a resize handle you control, a borderless look and a character counter.
11
+ * @see https://tectra-ng.com/components/textarea
12
+ */
7
13
  export declare class TxTextarea {
8
14
  private readonly textareaTheme;
9
15
  private elementRef;
@@ -11,26 +17,19 @@ export declare class TxTextarea {
11
17
  private ngControl;
12
18
  private lastHeight;
13
19
  private fitted;
20
+ /** Grows with the text instead of scrolling; turns the resize handle off */
14
21
  readonly autoResize: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
22
+ /** With `autoResize`: stops growing at this height in px, then scrolls */
15
23
  readonly maxHeight: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
24
+ /** With `autoResize`: stops growing after this many rows, then scrolls */
16
25
  readonly maxRows: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
26
+ /** Resize handle: `none`, `vertical` (default), `horizontal`, `both` */
17
27
  readonly resize: import("@angular/core").InputSignal<TxTextareaResize>;
28
+ /** No border and no background — for notes, comments and inline editing */
18
29
  readonly borderless: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
19
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
20
- root: {
21
- minHeight: string;
22
- };
23
- borderless: {
24
- background: string;
25
- focusBackground: string;
26
- };
27
- counter: {
28
- color: string;
29
- limitColor: string;
30
- fontSize: string;
31
- marginTop: string;
32
- };
33
- }> | undefined>;
30
+ /** `textarea` design tokens of this instance (min height, borderless, counter) */
31
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraTextareaTokens> | undefined>;
32
+ /** With `autoResize`: the new height in px after the field grew or shrank */
34
33
  readonly heightChange: import("@angular/core").OutputEmitterRef<number>;
35
34
  readonly length: import("@angular/core").WritableSignal<number>;
36
35
  readonly maxLength: import("@angular/core").WritableSignal<number | null>;
@@ -89,26 +88,21 @@ export declare class TxTextarea {
89
88
  outputs: {};
90
89
  }]>;
91
90
  }
91
+ /**
92
+ * A multi-line field on the native `<textarea>`: the same look, sizes, variants and states as `txInput`, plus growing with the text, a resize handle you control, a borderless look and a character counter.
93
+ * @see https://tectra-ng.com/components/textarea
94
+ */
92
95
  export declare class TxTextareaCounter {
93
96
  private readonly textareaTheme;
97
+ /** the textarea to count (`#ref="txTextarea"`); shows `length / maxlength`, or the length without `maxlength` */
94
98
  readonly for: import("@angular/core").InputSignal<TxTextarea>;
95
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
96
- root: {
97
- minHeight: string;
98
- };
99
- borderless: {
100
- background: string;
101
- focusBackground: string;
102
- };
103
- counter: {
104
- color: string;
105
- limitColor: string;
106
- fontSize: string;
107
- marginTop: string;
108
- };
109
- }> | undefined>;
99
+ /** `textarea` design tokens of this instance (min height, borderless, counter) */
100
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraTextareaTokens> | undefined>;
101
+ /** Classes and styles of the `root` part */
110
102
  readonly pt: import("@angular/core").InputSignal<Partial<Record<"root", import("@tectra-ng/core/config").TxPassThroughValue<TxTextareaCounter>>> | undefined>;
103
+ /** How `pt` merges with the global pass-through */
111
104
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
105
+ /** Removes the tectra styles */
112
106
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
113
107
  readonly isUnstyled: import("@angular/core").Signal<boolean>;
114
108
  readonly passThrough: import("@angular/core").Signal<Partial<Record<"root", import("@tectra-ng/core/config").TxPassThroughPart>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-textarea.d.ts","names":[],"sources":["../../../../packages/ui/textarea/src/textarea.types.ts","../../../../packages/ui/textarea/src/textarea.directive.ts","../../../../packages/ui/textarea/src/textarea-counter.component.ts"],"mappings":";;;;YAAY;YACA;qBCoCC;mBACM;UAET;UACA;UACA;UACA;UACA;WAEC,oCAAU;WACV,mCAAS;WACT,iCAAO;WACP,gCAAM,YAAA;WACN,oCAAU;WACV,4BAAE,YAAA;;;;;;;;;;;;;;;WAEF,sCAAY;WAEZ,gCAAM;WACN,mCAAS;WACT,oCAAU,OAAA;;EAwBnB;UAIQ;UAOA;UAyBA;SAhFG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;;IAAA,kBAAA,GAAA;IAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;;IAAA;;;qBCEV;mBACM;WAER,6BAAG,YAAA;WACH,4BAAE,YAAA;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,gDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,gDAAA;WACX,8BAAI;WAIJ,mCAAS;WAIT,mCAAS;;;SAnBP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAiB;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-textarea.d.ts","names":[],"sources":["../../../../packages/ui/textarea/src/textarea.types.ts","../../../../packages/ui/textarea/src/textarea.directive.ts","../../../../packages/ui/textarea/src/textarea-counter.component.ts"],"mappings":";;;;;YACY;;YAEA;;;;;qBCkCC;mBACM;UAET;UACA;UACA;UACA;UACA;;WAEC,oCAAU;;WACV,mCAAS;;WACT,iCAAO;;WACP,gCAAM,YAAA;;WACN,oCAAU;;WACV,4BAAE,YAAA,kBAAA;;WAEF,sCAAY;WAEZ,gCAAM;WACN,mCAAS;WACT,oCAAU,OAAA;;EAwBnB;UAIQ;UAOA;UAyBA;SAhFG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;;IAAA,kBAAA,GAAA;IAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;;IAAA;;;;;;;qBCEV;mBACM;;WAER,6BAAG,YAAA;;WACH,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,gDAAA;WACX,8BAAI;WAIJ,mCAAS;WAIT,mCAAS;;;SAnBP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAiB;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
@@ -1,71 +1,83 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { TemplateRef } from "@angular/core";
3
3
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
4
- import { TectraDeepPartial } from "@tectra-ng/themes";
4
+ import { TectraDeepPartial, TectraTimelineTokens } from "@tectra-ng/themes";
5
+ /** Direction of the timeline: events in a column or in a row. */
5
6
  export type TxTimelineLayout = 'vertical' | 'horizontal';
7
+ /** Side of the line where the content sits; `alternate` switches sides event by event. */
6
8
  export type TxTimelineAlign = 'left' | 'right' | 'alternate' | 'top' | 'bottom';
9
+ /** Parts of `tx-timeline` that `pt` can style. */
7
10
  export type TxTimelinePart = 'root' | 'list' | 'event' | 'eventOpposite' | 'eventSeparator' | 'eventMarker' | 'eventConnector' | 'eventContent';
11
+ /** Context of the event templates of `tx-timeline`. */
8
12
  export interface TxTimelineEventContext<T = unknown> {
13
+ /** The event data. */
9
14
  $implicit: T;
15
+ /** Position of the event in the list, from 0. */
10
16
  index: number;
17
+ /** Whether this is the first event. */
11
18
  first: boolean;
19
+ /** Whether this is the last event. */
12
20
  last: boolean;
13
21
  }
22
+ /**
23
+ * `<ng-template txTimelineContent let-event let-index="index">` — content of an event
24
+ * @see https://tectra-ng.com/components/timeline
25
+ */
14
26
  export declare class TxTimelineContent<T = unknown> {
15
27
  readonly templateRef: TemplateRef<TxTimelineEventContext<T>>;
16
28
  static ɵfac: i0.ɵɵFactoryDeclaration<TxTimelineContent<any>, never>;
17
29
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxTimelineContent<any>, "ng-template[txTimelineContent]", never, {}, {}, never, never, true, never>;
18
30
  }
31
+ /**
32
+ * `<ng-template txTimelineOpposite let-event>` — content on the other side of the line, e.g. the date
33
+ * @see https://tectra-ng.com/components/timeline
34
+ */
19
35
  export declare class TxTimelineOpposite<T = unknown> {
20
36
  readonly templateRef: TemplateRef<TxTimelineEventContext<T>>;
21
37
  static ɵfac: i0.ɵɵFactoryDeclaration<TxTimelineOpposite<any>, never>;
22
38
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxTimelineOpposite<any>, "ng-template[txTimelineOpposite]", never, {}, {}, never, never, true, never>;
23
39
  }
40
+ /**
41
+ * `<ng-template txTimelineMarker let-event>` — own marker, e.g. an icon in a tinted circle
42
+ * @see https://tectra-ng.com/components/timeline
43
+ */
24
44
  export declare class TxTimelineMarker<T = unknown> {
25
45
  readonly templateRef: TemplateRef<TxTimelineEventContext<T>>;
26
46
  static ɵfac: i0.ɵɵFactoryDeclaration<TxTimelineMarker<any>, never>;
27
47
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxTimelineMarker<any>, "ng-template[txTimelineMarker]", never, {}, {}, never, never, true, never>;
28
48
  }
49
+ /**
50
+ * `<ng-template txTimelineConnector let-event>` — own line to the next event; the last event has none
51
+ * @see https://tectra-ng.com/components/timeline
52
+ */
29
53
  export declare class TxTimelineConnector<T = unknown> {
30
54
  readonly templateRef: TemplateRef<TxTimelineEventContext<T>>;
31
55
  static ɵfac: i0.ɵɵFactoryDeclaration<TxTimelineConnector<any>, never>;
32
56
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxTimelineConnector<any>, "ng-template[txTimelineConnector]", never, {}, {}, never, never, true, never>;
33
57
  }
58
+ /**
59
+ * Shows events in order along a line — an order history, a release log, the steps of a process — vertically or horizontally, with content on one side, on both sides or alternating.
60
+ * @see https://tectra-ng.com/components/timeline
61
+ */
34
62
  export declare class TxTimeline<T = unknown> {
35
63
  private readonly timelineTheme;
64
+ /** Events, one list item each */
36
65
  readonly value: import("@angular/core").InputSignal<readonly T[] | null | undefined>;
66
+ /** `vertical` or `horizontal` */
37
67
  readonly layout: import("@angular/core").InputSignal<TxTimelineLayout>;
68
+ /** Vertical: content on the `left` (default), `right` or `alternate`. Horizontal: line at the `top` (default), `bottom` or `alternate` */
38
69
  readonly align: import("@angular/core").InputSignal<TxTimelineAlign | undefined>;
70
+ /** Accessible name of the list */
39
71
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
72
+ /** Id of the element that names the list */
40
73
  readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
41
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
42
- event: {
43
- minHeight: string;
44
- };
45
- horizontal: {
46
- eventContentPadding: string;
47
- };
48
- vertical: {
49
- eventContentPadding: string;
50
- };
51
- eventMarker: {
52
- size: string;
53
- borderRadius: string;
54
- borderWidth: string;
55
- background: string;
56
- borderColor: string;
57
- contentBorderRadius: string;
58
- contentSize: string;
59
- contentBackground: string;
60
- contentInsetShadow: string;
61
- };
62
- eventConnector: {
63
- color: string;
64
- size: string;
65
- };
66
- }> | undefined>;
74
+ /** Design tokens of this instance (`timeline`) */
75
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraTimelineTokens> | undefined>;
76
+ /** Classes and styles of the parts: `root`, `list`, `event`, `eventOpposite`, `eventSeparator`, `eventMarker`, `eventConnector`, `eventContent` */
67
77
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxTimelinePart, import("@tectra-ng/core/config").TxPassThroughValue<TxTimeline<T>>>> | undefined>;
78
+ /** How `pt` merges with the global pass-through */
68
79
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
80
+ /** Removes the tectra styles */
69
81
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
70
82
  protected readonly contentTemplate: import("@angular/core").Signal<TxTimelineContent<any> | undefined>;
71
83
  protected readonly oppositeTemplate: import("@angular/core").Signal<TxTimelineOpposite<any> | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-timeline.d.ts","names":[],"sources":["../../../../packages/ui/timeline/src/timeline.types.ts","../../../../packages/ui/timeline/src/timeline.templates.ts","../../../../packages/ui/timeline/src/timeline.component.ts"],"mappings":";;;;YAAY;YACA;YACA;iBAEK,uBAAuB;EACtC,WAAW;EACX;EACA;EACA;;qBCJW,kBAAkB;WACpB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBAKA,mBAAmB;WACrB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBAKA,iBAAiB;WACnB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBAKA,oBAAoB;WACtB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBCQA,WAAW;mBACL;WAER,+BAAK,qBAAA;WACL,gCAAM,YAAA;WACN,+BAAK,YAAA;WACL,mCAAS;WACT,wCAAc;WACd,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,iDAAA,mBAAA,WAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;qBAEE,yCAAe,OAAA;qBACf,0CAAgB,OAAA;qBAChB,wCAAc,OAAA;qBACd,2CAAiB,OAAA;WAE3B,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,iDAAA;WACX,mCAAS;;;WACT,uCAAa,OAAA;qBAEH,gCAAM,OAAA,uBAAA;SAvBd,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-timeline.d.ts","names":[],"sources":["../../../../packages/ui/timeline/src/timeline.types.ts","../../../../packages/ui/timeline/src/timeline.templates.ts","../../../../packages/ui/timeline/src/timeline.component.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA;;iBAGK,uBAAuB;;EAEtC,WAAW;;EAEX;;EAEA;;EAEA;;;;;;qBCZW,kBAAkB;WACpB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA,mBAAmB;WACrB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA,iBAAiB;WACnB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA,oBAAoB;WACtB,aAAW,YAAA,uBAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCQA,WAAW;mBACL;;WAER,+BAAK,qBAAA;;WACL,gCAAM,YAAA;;WACN,+BAAK,YAAA;;WACL,mCAAS;;WACT,wCAAc;;WACd,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,iDAAA,mBAAA,WAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;qBAEE,yCAAe,OAAA;qBACf,0CAAgB,OAAA;qBAChB,wCAAc,OAAA;qBACd,2CAAiB,OAAA;WAE3B,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,iDAAA;WACX,mCAAS;;;WACT,uCAAa,OAAA;qBAEH,gCAAM,OAAA,uBAAA;SAvBd,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
@@ -2,82 +2,148 @@ import * as i0 from "@angular/core";
2
2
  import { InjectionToken, Provider, TemplateRef } from "@angular/core";
3
3
  import { Observable } from "rxjs";
4
4
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
5
- import { TectraDeepPartial } from "@tectra-ng/themes";
5
+ import { TectraDeepPartial, TectraToastTokens } from "@tectra-ng/themes";
6
+ /** Colour role of a toast. */
6
7
  export type TxToastSeverity = 'success' | 'info' | 'warn' | 'danger' | 'secondary' | 'contrast';
8
+ /** Where the toast outlet sits on the screen. */
7
9
  export type TxToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
10
+ /** Why a toast closed: time ran out, close button, an action, the API or `clear`. */
8
11
  export type TxToastCloseReason = 'timeout' | 'close' | 'action' | 'api' | 'clear';
12
+ /** Parts of `tx-toast` that `pt` can style. */
9
13
  export type TxToastPart = 'root' | 'item' | 'icon' | 'body' | 'title' | 'text' | 'actions' | 'closeButton' | 'progress';
14
+ /** Colour role of a toast action button. */
10
15
  export type TxToastActionSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'help' | 'contrast';
16
+ /** A button inside a toast. */
11
17
  export interface TxToastAction {
18
+ /** Text of the button. */
12
19
  label: string;
20
+ /** Called with the toast reference when the button is pressed. */
13
21
  run?: (toast: TxToastRef) => void;
22
+ /** Colour role of the button. */
14
23
  severity?: TxToastActionSeverity;
24
+ /** Keeps the toast open after the action ran; by default the action closes it. */
15
25
  keepOpen?: boolean;
16
26
  }
27
+ /** Context of a custom toast template (`txToastTemplate` or the `template` option). */
17
28
  export interface TxToastContext {
29
+ /** The toast being shown. */
18
30
  $implicit: TxToastMessage;
31
+ /** Closes the toast. */
19
32
  close: () => void;
20
33
  }
34
+ /** Options of one toast: text, severity, life time and actions. */
21
35
  export interface TxToastOptions<TData = unknown> {
36
+ /** Shows the toast only in the outlet with the same `key`. */
22
37
  key?: string;
38
+ /** Colour role and default icon of the toast (default `info`). */
23
39
  severity?: TxToastSeverity;
40
+ /** Bold line; with a `text` it is read by screen readers only. */
24
41
  title?: string;
42
+ /** Message of the toast. */
25
43
  text?: string;
44
+ /** Icon name that replaces the severity icon; `false` shows none. */
26
45
  icon?: string | false;
46
+ /** Shows a spinner; the toast is sticky and not closable until it is updated with a severity. */
27
47
  loading?: boolean;
48
+ /** How long the toast stays, in ms; `0` keeps it until closed (default 3000). */
28
49
  life?: number;
50
+ /** Keeps the toast until it is closed. */
29
51
  sticky?: boolean;
52
+ /** Shows the close button (default `true`, `false` while loading). */
30
53
  closable?: boolean;
54
+ /** Shows a bar with the time left. */
31
55
  showProgress?: boolean;
56
+ /** Buttons under the text. */
32
57
  actions?: TxToastAction[];
58
+ /** Own content that replaces the default body. */
33
59
  template?: TemplateRef<TxToastContext>;
60
+ /** Any data for a custom template. */
34
61
  data?: TData;
35
62
  }
63
+ /** A shown toast: its options with the defaults applied. */
36
64
  export interface TxToastMessage<TData = unknown> {
65
+ /** Unique number of the toast. */
37
66
  readonly id: number;
67
+ /** Key of the outlet that shows the toast. */
38
68
  readonly key: string | undefined;
69
+ /** Colour role of the toast. */
39
70
  readonly severity: TxToastSeverity;
71
+ /** Bold line of the toast. */
40
72
  readonly title: string | undefined;
73
+ /** Message of the toast. */
41
74
  readonly text: string | undefined;
75
+ /** Own icon name; `false` shows none. */
42
76
  readonly icon: string | false | undefined;
77
+ /** Whether the toast shows a spinner. */
43
78
  readonly loading: boolean;
79
+ /** How long the toast stays, in ms; `0` keeps it until closed. */
44
80
  readonly life: number;
81
+ /** Whether the toast stays until it is closed. */
45
82
  readonly sticky: boolean;
83
+ /** Whether the close button is shown. */
46
84
  readonly closable: boolean;
85
+ /** Whether the bar with the time left is shown. */
47
86
  readonly showProgress: boolean;
87
+ /** Buttons under the text. */
48
88
  readonly actions: TxToastAction[];
89
+ /** Own content that replaces the default body. */
49
90
  readonly template: TemplateRef<TxToastContext> | undefined;
91
+ /** Data for a custom template. */
50
92
  readonly data: TData | undefined;
93
+ /** Grows with every update of the toast, so a changed toast can be told apart. */
51
94
  readonly version: number;
95
+ /** Whether the timer is paused (pointer over the stack or focus inside). */
52
96
  readonly paused: boolean;
53
97
  }
98
+ /** Handle of a shown toast: close it, update it or wait for it to close. */
54
99
  export interface TxToastRef {
100
+ /** Unique number of the toast. */
55
101
  readonly id: number;
102
+ /** Emits the close reason once, then completes. */
56
103
  readonly closed: Observable<TxToastCloseReason>;
104
+ /** Closes the toast. */
57
105
  close(): void;
106
+ /** Changes the toast and restarts its timer. */
58
107
  update(options: Partial<TxToastOptions>): void;
59
108
  }
109
+ /** App-wide default options of every toast; set with `provideTxToast`. */
60
110
  export declare const TX_TOAST_OPTIONS: InjectionToken<Partial<TxToastOptions<unknown>>>;
111
+ /** Sets app-wide default options of every toast, e.g. `provideTxToast({ life: 8000 })`. */
61
112
  export declare function provideTxToast(options: Partial<TxToastOptions>): Provider;
113
+ /** Options of the shortcut methods: all but the severity and the text, which the method sets. */
62
114
  type TxToastText = Omit<TxToastOptions, 'severity' | 'text'>;
115
+ /** Sends toasts from anywhere; one `<tx-toast />` in the app shell shows them. */
63
116
  export declare class TxToastService {
64
117
  private announcer;
65
118
  private defaults;
66
119
  private entries;
67
120
  private nextId;
68
121
  private readonly messages;
122
+ /** Signal of the toasts that are shown now. */
69
123
  readonly toasts: import("@angular/core").Signal<TxToastMessage<unknown>[]>;
124
+ /** Shows a toast and returns its reference. */
70
125
  show(options: TxToastOptions): TxToastRef;
126
+ /** Shows a `success` toast with the text. */
71
127
  success(text: string, options?: TxToastText): TxToastRef;
128
+ /** Shows an `info` toast with the text. */
72
129
  info(text: string, options?: TxToastText): TxToastRef;
130
+ /** Shows a `warn` toast with the text. */
73
131
  warn(text: string, options?: TxToastText): TxToastRef;
132
+ /** Shows a `danger` toast with the text. */
74
133
  error(text: string, options?: TxToastText): TxToastRef;
134
+ /** Shows a sticky toast with a spinner; update it with a severity when the work ends. */
75
135
  loading(text: string, options?: TxToastText): TxToastRef;
136
+ /** Closes one toast by its id; `closed` of its ref emits the reason (`api` by default). */
76
137
  close(id: number, reason?: TxToastCloseReason): void;
138
+ /** Closes all toasts, or only those of one `key`. */
77
139
  clear(key?: string): void;
140
+ /** Changes a toast that is shown: its text, severity, actions or life time. */
78
141
  update(id: number, patch: Partial<TxToastOptions>): void;
142
+ /** Runs an action of the toast and closes it unless the action has `keepOpen`. */
79
143
  run(id: number, action: TxToastAction): void;
144
+ /** Stops the timer of the toast; calls nest, so every `pause` needs a `resume`. */
80
145
  pause(id: number): void;
146
+ /** Releases one `pause`; the timer continues when none is left. */
81
147
  resume(id: number): void;
82
148
  private build;
83
149
  private schedule;
@@ -87,11 +153,19 @@ export declare class TxToastService {
87
153
  static ɵfac: i0.ɵɵFactoryDeclaration<TxToastService, never>;
88
154
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
89
155
  }
156
+ /**
157
+ * `<ng-template txToastTemplate let-toast let-close="close">` — own content of every toast in this outlet (or `template` per toast)
158
+ * @see https://tectra-ng.com/components/toast
159
+ */
90
160
  export declare class TxToastTemplate {
91
161
  readonly template: TemplateRef<TxToastContext>;
92
162
  static ɵfac: i0.ɵɵFactoryDeclaration<TxToastTemplate, never>;
93
163
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxToastTemplate, "ng-template[txToastTemplate]", never, {}, {}, never, never, true, never>;
94
164
  }
165
+ /**
166
+ * Short messages about what just happened — saved, failed, exported — that appear as a pill at the bottom of the screen and go away on their own. Put one `<tx-toast />` in the app shell and send toasts from anywhere with `TxToastService`.
167
+ * @see https://tectra-ng.com/components/toast
168
+ */
95
169
  export declare class TxToast {
96
170
  private readonly toastTheme;
97
171
  private service;
@@ -100,89 +174,21 @@ export declare class TxToast {
100
174
  private document;
101
175
  private swipe;
102
176
  private pausedIds;
177
+ /** `top-left`, `top-center`, `top-right`, `bottom-left`, `bottom-center` (default), `bottom-right` */
103
178
  readonly position: import("@angular/core").InputSignal<TxToastPosition>;
179
+ /** Shows only toasts sent with this key; without a key — toasts without one */
104
180
  readonly key: import("@angular/core").InputSignal<string | undefined>;
181
+ /** How many toasts the stack shows (default 3); older ones hide behind it */
105
182
  readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
183
+ /** Keeps the outlet where it is written; by default it moves to the end of `body` so headers and scrolling containers cannot cover it */
106
184
  readonly inPlace: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
107
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
108
- root: {
109
- width: string;
110
- insetX: string;
111
- insetTop: string;
112
- insetBottom: string;
113
- gap: string;
114
- duration: string;
115
- };
116
- item: {
117
- background: string;
118
- blur: string;
119
- ringColor: string;
120
- shadow: string;
121
- color: string;
122
- borderRadius: string;
123
- gap: string;
124
- paddingY: string;
125
- paddingStart: string;
126
- paddingEnd: string;
127
- loadingPaddingEnd: string;
128
- fontSize: string;
129
- fontWeight: string;
130
- };
131
- icon: {
132
- size: string;
133
- fontSize: string;
134
- strokeWidth: string;
135
- tint: string;
136
- };
137
- text: {
138
- paddingY: string;
139
- lineHeight: string;
140
- lines: string;
141
- };
142
- closeButton: {
143
- size: string;
144
- offset: string;
145
- fontSize: string;
146
- background: string;
147
- color: string;
148
- hoverColor: string;
149
- ringColor: string;
150
- shadow: string;
151
- };
152
- action: {
153
- padding: string;
154
- fontSize: string;
155
- fontWeight: string;
156
- tint: string;
157
- hoverTint: string;
158
- };
159
- focusRing: {
160
- shadow: string;
161
- };
162
- progress: {
163
- height: string;
164
- };
165
- info: {
166
- tone: string;
167
- };
168
- success: {
169
- tone: string;
170
- };
171
- warn: {
172
- tone: string;
173
- };
174
- danger: {
175
- tone: string;
176
- };
177
- secondary: {
178
- tone: string;
179
- };
180
- contrast: {
181
- tone: string;
182
- };
183
- }> | undefined>;
185
+ /** Design tokens of this outlet (`toast`) */
186
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraToastTokens> | undefined>;
187
+ /** Classes and styles of the parts: `root`, `item`, `icon`, `body`, `title`, `text`, `actions`, `closeButton`, `progress` */
184
188
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxToastPart, import("@tectra-ng/core/config").TxPassThroughValue<TxToast>>> | undefined>;
189
+ /** How `pt` merges with the global pass-through */
185
190
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
191
+ /** Removes the tectra styles */
186
192
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
187
193
  readonly customTemplate: import("@angular/core").Signal<TxToastTemplate | undefined>;
188
194
  readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-toast.d.ts","names":[],"sources":["../../../../packages/ui/toast/src/toast.types.ts","../../../../packages/ui/toast/src/toast.service.ts","../../../../packages/ui/toast/src/toast-template.directive.ts","../../../../packages/ui/toast/src/toast.component.ts"],"mappings":";;;;;YAGY;YACA;YACA;YACA;YACA;iBAEK;EACf;EACA,OAAO,OAAO;EACd,WAAW;EACX;;iBAGe;EACf,WAAW;EACX;;iBAGe,eAAe;EAC9B;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV,WAAW,YAAY;EACvB,OAAO;;iBAGQ,eAAe;WACrB;WACA;WACA,UAAU;WACV;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,SAAS;WACT,UAAU,YAAY;WACtB,MAAM;WACN;WACA;;iBAGM;WACN;WACA,QAAQ,WAAW;EAC5B;EACA,OAAO,SAAS,QAAQ;;qBCvDb,kBAAgB,eAAA,QAAA;wBAEb,eAAe,SAAS,QAAQ,kBAAkB;KAM7D,cAAc,KAAK;qBAcX;UACH;UACA;UACA;UACA;mBACS;WAER,gCAAM,OAAA;EAEf,KAAK,SAAS,iBAAiB;EAkB/B,QAAQ,cAAc,UAAS,cAAmB;EAIlD,KAAK,cAAc,UAAS,cAAmB;EAI/C,KAAK,cAAc,UAAS,cAAmB;EAI/C,MAAM,cAAc,UAAS,cAAmB;EAIhD,QAAQ,cAAc,UAAS,cAAmB;EAIlD,MAAM,YAAY,SAAQ;EAY1B,MAAM;EAQN,OAAO,YAAY,OAAO,QAAQ;EAqBlC,IAAI,YAAY,QAAQ;EAWxB,MAAM;EAaN,OAAO;UASC;UAuBA;UASA;UAIA;UAOA;SApKG,MAAA,GAAA,qBAAA;;;qBCvBA;WACF,UAAQ,YAAA;SADN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBCmEA;mBACM;UAET;UACA;UACA;UACA;UACA;UACA;WAEC,kCAAQ,YAAA;WACR,6BAAG;WACH,6BAAG;WACH,iCAAO;WACP,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,8CAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,wCAAc,OAAA;WAEd,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,8CAAA;WACX,mCAAS;;;mBAED;mBACA;mBACA;mBACA;WACR,iCAAO;IAAgB;IAAW;IAAW;;WAE7C,kCAAQ;WACR,iCAAO,OAAA;WACP,qCAAW;WACX,iCAAO;;EAgDhB,UAAU,OAAO;EAIjB,SAAS,OAAO;EAIhB,OAAO,OAAO;EAQd,UAAU,OAAO,iBAAiB;EAIlC,MAAM,OAAO;EAIb,IAAI,OAAO,gBAAgB,QAAQ;EAInC,WAAW;EAKX;EAKA,WAAW,OAAO;EAOlB,cAAc,OAAO,gBAAgB,OAAO;EAQ5C,cAAc,OAAO;EAWrB;UAeQ;UAKA;UAQA;UASA;SAxLG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAO;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-toast.d.ts","names":[],"sources":["../../../../packages/ui/toast/src/toast.types.ts","../../../../packages/ui/toast/src/toast.service.ts","../../../../packages/ui/toast/src/toast-template.directive.ts","../../../../packages/ui/toast/src/toast.component.ts"],"mappings":";;;;;;YAIY;;YAEA;;YAEA;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA,OAAO,OAAO;;EAEd,WAAW;;EAEX;;;iBAIe;;EAEf,WAAW;;EAEX;;;iBAIe,eAAe;;EAE9B;;EAEA,WAAW;;EAEX;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,UAAU;;EAEV,WAAW,YAAY;;EAEvB,OAAO;;;iBAIQ,eAAe;;WAErB;;WAEA;;WAEA,UAAU;;WAEV;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,SAAS;;WAET,UAAU,YAAY;;WAEtB,MAAM;;WAEN;;WAEA;;;iBAIM;;WAEN;;WAEA,QAAQ,WAAW;;EAE5B;;EAEA,OAAO,SAAS,QAAQ;;;qBCvGb,kBAAgB,eAAA,QAAA;;wBAGb,eAAe,SAAS,QAAQ,kBAAkB;;KAO7D,cAAc,KAAK;;qBAeX;UACH;UACA;UACA;UACA;mBACS;;WAGR,gCAAM,OAAA;;EAGf,KAAK,SAAS,iBAAiB;;EAqB/B,QAAQ,cAAc,UAAS,cAAmB;;EAKlD,KAAK,cAAc,UAAS,cAAmB;;EAK/C,KAAK,cAAc,UAAS,cAAmB;;EAK/C,MAAM,cAAc,UAAS,cAAmB;;EAKhD,QAAQ,cAAc,UAAS,cAAmB;;EAKlD,MAAM,YAAY,SAAQ;;EAa1B,MAAM;;EASN,OAAO,YAAY,OAAO,QAAQ;;EAsBlC,IAAI,YAAY,QAAQ;;EAYxB,MAAM;;EAcN,OAAO;UASC;UAuBA;UASA;UAIA;UAOA;SAnLG,MAAA,GAAA,qBAAA;;;;;;;qBC3BA;WACF,UAAQ,YAAA;SADN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCmEA;mBACM;UAET;UACA;UACA;UACA;UACA;UACA;;WAEC,kCAAQ,YAAA;;WACR,6BAAG;;WACH,6BAAG;;WACH,iCAAO;;WACP,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,8CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,wCAAc,OAAA;WAEd,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,8CAAA;WACX,mCAAS;;;mBAED;mBACA;mBACA;mBACA;WACR,iCAAO;IAAgB;IAAW;IAAW;;WAE7C,kCAAQ;WACR,iCAAO,OAAA;WACP,qCAAW;WACX,iCAAO;;EAgDhB,UAAU,OAAO;EAIjB,SAAS,OAAO;EAIhB,OAAO,OAAO;EAQd,UAAU,OAAO,iBAAiB;EAIlC,MAAM,OAAO;EAIb,IAAI,OAAO,gBAAgB,QAAQ;EAInC,WAAW;EAKX;EAKA,WAAW,OAAO;EAOlB,cAAc,OAAO,gBAAgB,OAAO;EAQ5C,cAAc,OAAO;EAWrB;UAeQ;UAKA;UAQA;UASA;SAxLG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAO;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
@@ -1,87 +1,61 @@
1
1
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
2
2
  import { TxFormControlBase } from "@tectra-ng/core/forms";
3
3
  import { TxIconName } from "@tectra-ng/icons";
4
- import { TectraDeepPartial } from "@tectra-ng/themes";
4
+ import { TectraDeepPartial, TectraToggleButtonTokens } from "@tectra-ng/themes";
5
5
  import * as i0 from "@angular/core";
6
+ /** Size of the toggle button. */
6
7
  export type TxToggleButtonSize = 'small' | 'medium' | 'large';
8
+ /** Side of the label where the icon sits. */
7
9
  export type TxToggleButtonIconPosition = 'left' | 'right';
10
+ /** Parts of `tx-toggle-button` that `pt` can style. */
8
11
  export type TxToggleButtonPart = 'root' | 'content' | 'icon' | 'label';
12
+ /** Event of `tx-toggle-button` when the user switches it. */
9
13
  export interface TxToggleButtonChangeEvent {
14
+ /** The DOM event that caused the change. */
10
15
  originalEvent: Event;
16
+ /** New state of the button. */
11
17
  checked: boolean;
12
18
  }
19
+ /**
20
+ * A button that stays pressed: on / off with its own label and icon for each state. A `ControlValueAccessor` for a `boolean` — works with `[formControl]`, `ngModel` and signal forms.
21
+ * @see https://tectra-ng.com/components/toggle-button
22
+ */
13
23
  export declare class TxToggleButton extends TxFormControlBase<boolean> {
14
24
  private readonly toggleButtonTheme;
15
25
  private txIconRegistry;
26
+ /** Text while on */
16
27
  readonly onLabel: import("@angular/core").InputSignal<string>;
28
+ /** Text while off */
17
29
  readonly offLabel: import("@angular/core").InputSignal<string>;
30
+ /** Icon while on — a `@tectra-ng/icons` name or any icon class (`pi pi-check`) */
18
31
  readonly onIcon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
32
+ /** Icon while off */
19
33
  readonly offIcon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
34
+ /** Icon on the `left` or `right` of the text */
20
35
  readonly iconPos: import("@angular/core").InputSignal<TxToggleButtonIconPosition>;
36
+ /** `small`, `medium`, `large` */
21
37
  readonly size: import("@angular/core").InputSignal<TxToggleButtonSize>;
38
+ /** `false` = once on, a click cannot turn it off */
22
39
  readonly allowEmpty: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
40
+ /** Red border and `aria-invalid` */
23
41
  readonly invalid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
42
+ /** Takes the full width of its container; inherits `<tx-fluid>` */
24
43
  readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
44
+ /** `disabled` — blocks the button (the form control can disable it too) */
25
45
  readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
46
+ /** Tab order of the inner button */
26
47
  readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
48
+ /** Accessible name when the label is not enough */
27
49
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
28
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
29
- root: {
30
- padding: string;
31
- borderRadius: string;
32
- gap: string;
33
- fontWeight: string;
34
- fontSize: string;
35
- background: string;
36
- checkedBackground: string;
37
- hoverBackground: string;
38
- borderColor: string;
39
- checkedBorderColor: string;
40
- color: string;
41
- hoverColor: string;
42
- checkedColor: string;
43
- disabledBackground: string;
44
- disabledBorderColor: string;
45
- disabledColor: string;
46
- invalidBorderColor: string;
47
- focusRing: {
48
- width: string;
49
- style: string;
50
- color: string;
51
- offset: string;
52
- };
53
- transitionDuration: string;
54
- sm: {
55
- fontSize: string;
56
- padding: string;
57
- };
58
- lg: {
59
- fontSize: string;
60
- padding: string;
61
- };
62
- };
63
- icon: {
64
- color: string;
65
- hoverColor: string;
66
- checkedColor: string;
67
- disabledColor: string;
68
- };
69
- content: {
70
- padding: string;
71
- borderRadius: string;
72
- checkedBackground: string;
73
- checkedShadow: string;
74
- sm: {
75
- padding: string;
76
- };
77
- lg: {
78
- padding: string;
79
- };
80
- };
81
- }> | undefined>;
50
+ /** Design tokens of this one button */
51
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraToggleButtonTokens> | undefined>;
52
+ /** Extra `class` / `style` for `root`, `content`, `icon`, `label` — an object or a function `({ instance }) => ({ class, style })`, e.g. depending on `instance.checked()` */
82
53
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxToggleButtonPart, import("@tectra-ng/core/config").TxPassThroughValue<TxToggleButton>>> | undefined>;
54
+ /** How this `pt` meets the global one from `provideTectra({ pt })`: `mergeSections` (default `true` — keep global parts this `pt` does not mention), `mergeProps` (default `false` — a local part replaces the global one; `true` joins classes and styles) */
83
55
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
56
+ /** Drops all tectra styles */
84
57
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
58
+ /** `{ originalEvent, checked }` after a click changed the value */
85
59
  changed: import("@angular/core").OutputEmitterRef<TxToggleButtonChangeEvent>;
86
60
  isUnstyled: import("@angular/core").Signal<boolean>;
87
61
  isFluid: import("@angular/core").Signal<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-toggle-button.d.ts","names":[],"sources":["../../../../packages/ui/toggle-button/src/toggle-button.types.ts","../../../../packages/ui/toggle-button/src/toggle-button.component.ts"],"mappings":";;;;;YAAY;YACA;YACA;iBAEK;EACf,eAAe;EACf;;qBCuCW,uBAAuB;mBACjB;UAET;WAEC,iCAAO;WACP,kCAAQ;WACR,gCAAM,YAAA;WACN,iCAAO,YAAA;WACP,iCAAO,YAAA;WACP,8BAAI,YAAA;WACJ,oCAAU;WACV,iCAAO;WACP,+BAAK;WAEL,uCAAa;WACb,kCAAQ;WACR,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;EAEjB,iCAAO,iBAAA;EAEP,oCAAU;EACV,iCAAO;EACP,qCAAW,OAAA,QAAA,OAAA,qDAAA;WAEF,iCAAO;WACP,oCAAU;WACV,+BAAK;WACL,qCAAW,OAAA;WACX,kCAAQ,OAAA;WAIR,mCAAS;;;EAElB,OAAO,OAAO;EASd;SAhDW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-toggle-button.d.ts","names":[],"sources":["../../../../packages/ui/toggle-button/src/toggle-button.types.ts","../../../../packages/ui/toggle-button/src/toggle-button.component.ts"],"mappings":";;;;;;YACY;;YAEA;;YAEA;;iBAGK;;EAEf,eAAe;;EAEf;;;;;;qBCiCW,uBAAuB;mBACjB;UAET;;WAEC,iCAAO;;WACP,kCAAQ;;WACR,gCAAM,YAAA;;WACN,iCAAO,YAAA;;WACP,iCAAO,YAAA;;WACP,8BAAI,YAAA;;WACJ,oCAAU;;WACV,iCAAO;;WACP,+BAAK;;WAEL,uCAAa;;WACb,kCAAQ;;WACR,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;EAEjB,iCAAO,iBAAA;EAEP,oCAAU;EACV,iCAAO;EACP,qCAAW,OAAA,QAAA,OAAA,qDAAA;WAEF,iCAAO;WACP,oCAAU;WACV,+BAAK;WACL,qCAAW,OAAA;WACX,kCAAQ,OAAA;WAIR,mCAAS;;;EAElB,OAAO,OAAO;EASd;SAhDW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}