@tolle_/tolle-ui 18.2.28 → 18.2.30

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 (279) hide show
  1. package/esm2022/lib/accordion-item.component.mjs +5 -11
  2. package/esm2022/lib/accordion.component.mjs +4 -9
  3. package/esm2022/lib/alert-dialog-dynamic.component.mjs +5 -10
  4. package/esm2022/lib/alert-dialog.component.mjs +44 -59
  5. package/esm2022/lib/alert.component.mjs +5 -11
  6. package/esm2022/lib/aspect-ratio.component.mjs +119 -0
  7. package/esm2022/lib/attachment.component.mjs +334 -0
  8. package/esm2022/lib/avatar-fallback.component.mjs +3 -3
  9. package/esm2022/lib/avatar.component.mjs +4 -9
  10. package/esm2022/lib/badge.component.mjs +4 -9
  11. package/esm2022/lib/breadcrumb-item.component.mjs +3 -3
  12. package/esm2022/lib/breadcrumb-link.component.mjs +3 -3
  13. package/esm2022/lib/breadcrumb-separator.component.mjs +3 -3
  14. package/esm2022/lib/breadcrumb.component.mjs +3 -3
  15. package/esm2022/lib/bubble.component.mjs +301 -0
  16. package/esm2022/lib/button.component.mjs +5 -11
  17. package/esm2022/lib/calendar.component.mjs +5 -11
  18. package/esm2022/lib/card.component.mjs +14 -43
  19. package/esm2022/lib/carousel/carousel.component.mjs +5 -12
  20. package/esm2022/lib/chain-of-thought.component.mjs +380 -0
  21. package/esm2022/lib/chart-pie.component.mjs +386 -0
  22. package/esm2022/lib/chart.component.mjs +1146 -0
  23. package/esm2022/lib/chart.service.mjs +555 -0
  24. package/esm2022/lib/checkbox.component.mjs +5 -11
  25. package/esm2022/lib/checkpoint.component.mjs +134 -0
  26. package/esm2022/lib/collapsible.component.mjs +4 -11
  27. package/esm2022/lib/combobox.component.mjs +372 -0
  28. package/esm2022/lib/command-dialog.component.mjs +164 -0
  29. package/esm2022/lib/command.component.mjs +514 -0
  30. package/esm2022/lib/command.service.mjs +130 -0
  31. package/esm2022/lib/confirmation.component.mjs +219 -0
  32. package/esm2022/lib/context-menu-trigger.directive.mjs +36 -0
  33. package/esm2022/lib/context-menu.component.mjs +460 -0
  34. package/esm2022/lib/context-menu.service.mjs +121 -0
  35. package/esm2022/lib/context.component.mjs +377 -0
  36. package/esm2022/lib/conversation.component.mjs +442 -0
  37. package/esm2022/lib/country-selector.component.mjs +5 -11
  38. package/esm2022/lib/data-table.component.mjs +63 -12
  39. package/esm2022/lib/date-picker.component.mjs +251 -198
  40. package/esm2022/lib/date-range-picker.component.mjs +224 -116
  41. package/esm2022/lib/date-time-picker.component.mjs +506 -0
  42. package/esm2022/lib/direction.component.mjs +79 -0
  43. package/esm2022/lib/dropdown-item.component.mjs +3 -3
  44. package/esm2022/lib/dropdown-label.component.mjs +3 -3
  45. package/esm2022/lib/dropdown-menu.component.mjs +3 -3
  46. package/esm2022/lib/dropdown-separator.component.mjs +3 -3
  47. package/esm2022/lib/dropdown-trigger.directive.mjs +6 -4
  48. package/esm2022/lib/empty-state.component.mjs +4 -9
  49. package/esm2022/lib/field.component.mjs +394 -0
  50. package/esm2022/lib/hover-card.component.mjs +6 -16
  51. package/esm2022/lib/inline-citation.component.mjs +263 -0
  52. package/esm2022/lib/input-group.component.mjs +418 -0
  53. package/esm2022/lib/input.component.mjs +5 -11
  54. package/esm2022/lib/item.component.mjs +243 -0
  55. package/esm2022/lib/kbd.component.mjs +82 -0
  56. package/esm2022/lib/label.component.mjs +4 -9
  57. package/esm2022/lib/marker.component.mjs +135 -0
  58. package/esm2022/lib/masked-input.component.mjs +5 -11
  59. package/esm2022/lib/menubar.component.mjs +683 -0
  60. package/esm2022/lib/message-scroller.component.mjs +353 -0
  61. package/esm2022/lib/message-scroller.service.mjs +157 -0
  62. package/esm2022/lib/message.component.mjs +228 -0
  63. package/esm2022/lib/model-selector.component.mjs +310 -0
  64. package/esm2022/lib/multi-select.component.mjs +155 -72
  65. package/esm2022/lib/native-select.component.mjs +201 -0
  66. package/esm2022/lib/navigation-menu.component.mjs +642 -0
  67. package/esm2022/lib/otp-group.component.mjs +3 -3
  68. package/esm2022/lib/otp-slot.component.mjs +4 -9
  69. package/esm2022/lib/otp.component.mjs +5 -11
  70. package/esm2022/lib/pagination.component.mjs +7 -10
  71. package/esm2022/lib/plan.component.mjs +335 -0
  72. package/esm2022/lib/popover-content.component.mjs +4 -9
  73. package/esm2022/lib/popover.component.mjs +15 -13
  74. package/esm2022/lib/progress.component.mjs +4 -9
  75. package/esm2022/lib/prompt-input.component.mjs +526 -0
  76. package/esm2022/lib/queue.component.mjs +280 -0
  77. package/esm2022/lib/radio-group.component.mjs +6 -13
  78. package/esm2022/lib/radio-item.component.mjs +4 -9
  79. package/esm2022/lib/range-calendar.component.mjs +5 -11
  80. package/esm2022/lib/reasoning.component.mjs +335 -0
  81. package/esm2022/lib/resizable.component.mjs +219 -0
  82. package/esm2022/lib/segment.component.mjs +17 -7
  83. package/esm2022/lib/select-group.component.mjs +4 -8
  84. package/esm2022/lib/select-item.component.mjs +4 -9
  85. package/esm2022/lib/select-separator.component.mjs +4 -8
  86. package/esm2022/lib/select.component.mjs +133 -49
  87. package/esm2022/lib/separator.component.mjs +4 -9
  88. package/esm2022/lib/sheet.component.mjs +38 -56
  89. package/esm2022/lib/shimmer.component.mjs +84 -0
  90. package/esm2022/lib/sidebar.component.mjs +11 -1
  91. package/esm2022/lib/skeleton.component.mjs +4 -9
  92. package/esm2022/lib/sources.component.mjs +452 -0
  93. package/esm2022/lib/spinner.component.mjs +68 -0
  94. package/esm2022/lib/suggestion.component.mjs +207 -0
  95. package/esm2022/lib/switch.component.mjs +5 -11
  96. package/esm2022/lib/table.component.mjs +213 -0
  97. package/esm2022/lib/tabs.component.mjs +4 -11
  98. package/esm2022/lib/tag-input.component.mjs +5 -11
  99. package/esm2022/lib/task.component.mjs +359 -0
  100. package/esm2022/lib/textarea.component.mjs +5 -11
  101. package/esm2022/lib/theme.service.mjs +17 -6
  102. package/esm2022/lib/time-picker.component.mjs +923 -0
  103. package/esm2022/lib/toast.service.mjs +3 -2
  104. package/esm2022/lib/toaster.component.mjs +76 -39
  105. package/esm2022/lib/toggle-group.component.mjs +4 -9
  106. package/esm2022/lib/toggle.component.mjs +5 -11
  107. package/esm2022/lib/tool.component.mjs +462 -0
  108. package/esm2022/lib/typography.component.mjs +83 -0
  109. package/esm2022/lib/utils/color.mjs +140 -19
  110. package/esm2022/public-api.mjs +61 -1
  111. package/fesm2022/tolle-ui.mjs +16457 -1024
  112. package/fesm2022/tolle-ui.mjs.map +1 -1
  113. package/lib/alert-dialog.component.d.ts +10 -2
  114. package/lib/aspect-ratio.component.d.ts +20 -0
  115. package/lib/attachment.component.d.ts +101 -0
  116. package/lib/bubble.component.d.ts +112 -0
  117. package/lib/chain-of-thought.component.d.ts +166 -0
  118. package/lib/chart-pie.component.d.ts +108 -0
  119. package/lib/chart.component.d.ts +369 -0
  120. package/lib/chart.service.d.ts +222 -0
  121. package/lib/checkpoint.component.d.ts +51 -0
  122. package/lib/combobox.component.d.ts +90 -0
  123. package/lib/command-dialog.component.d.ts +53 -0
  124. package/lib/command.component.d.ts +189 -0
  125. package/lib/command.service.d.ts +67 -0
  126. package/lib/confirmation.component.d.ts +70 -0
  127. package/lib/context-menu-trigger.directive.d.ts +12 -0
  128. package/lib/context-menu.component.d.ts +41 -0
  129. package/lib/context-menu.service.d.ts +38 -0
  130. package/lib/context.component.d.ts +134 -0
  131. package/lib/conversation.component.d.ts +165 -0
  132. package/lib/data-table.component.d.ts +27 -1
  133. package/lib/date-picker.component.d.ts +72 -11
  134. package/lib/date-range-picker.component.d.ts +63 -6
  135. package/lib/date-time-picker.component.d.ts +119 -0
  136. package/lib/direction.component.d.ts +45 -0
  137. package/lib/field.component.d.ts +201 -0
  138. package/lib/inline-citation.component.d.ts +103 -0
  139. package/lib/input-group.component.d.ts +150 -0
  140. package/lib/item.component.d.ts +154 -0
  141. package/lib/kbd.component.d.ts +50 -0
  142. package/lib/marker.component.d.ts +58 -0
  143. package/lib/menubar.component.d.ts +247 -0
  144. package/lib/message-scroller.component.d.ts +159 -0
  145. package/lib/message-scroller.service.d.ts +73 -0
  146. package/lib/message.component.d.ts +128 -0
  147. package/lib/model-selector.component.d.ts +103 -0
  148. package/lib/multi-select.component.d.ts +66 -14
  149. package/lib/native-select.component.d.ts +57 -0
  150. package/lib/navigation-menu.component.d.ts +230 -0
  151. package/lib/plan.component.d.ts +120 -0
  152. package/lib/popover.component.d.ts +1 -0
  153. package/lib/prompt-input.component.d.ts +194 -0
  154. package/lib/queue.component.d.ts +106 -0
  155. package/lib/reasoning.component.d.ts +127 -0
  156. package/lib/resizable.component.d.ts +43 -0
  157. package/lib/segment.component.d.ts +13 -3
  158. package/lib/select.component.d.ts +37 -5
  159. package/lib/sheet.component.d.ts +3 -0
  160. package/lib/shimmer.component.d.ts +38 -0
  161. package/lib/sidebar.component.d.ts +2 -0
  162. package/lib/sources.component.d.ts +156 -0
  163. package/lib/spinner.component.d.ts +29 -0
  164. package/lib/suggestion.component.d.ts +96 -0
  165. package/lib/table.component.d.ts +106 -0
  166. package/lib/task.component.d.ts +151 -0
  167. package/lib/theme.service.d.ts +9 -0
  168. package/lib/time-picker.component.d.ts +243 -0
  169. package/lib/toast.service.d.ts +3 -1
  170. package/lib/toaster.component.d.ts +26 -9
  171. package/lib/tool.component.d.ts +158 -0
  172. package/lib/typography.component.d.ts +32 -0
  173. package/lib/utils/color.d.ts +19 -5
  174. package/package.json +1 -1
  175. package/public-api.d.ts +50 -0
  176. package/registry/docs-content.json +8497 -1553
  177. package/registry/llms-full.txt +2679 -318
  178. package/registry/llms.txt +43 -4
  179. package/registry/manifest.json +9093 -1739
  180. package/registry/r/accordion-item.json +1 -1
  181. package/registry/r/accordion.json +1 -1
  182. package/registry/r/alert-dialog-dynamic.json +1 -1
  183. package/registry/r/alert-dialog.json +1 -1
  184. package/registry/r/alert.json +1 -1
  185. package/registry/r/attachment.json +23 -0
  186. package/registry/r/avatar-fallback.json +1 -1
  187. package/registry/r/avatar.json +1 -1
  188. package/registry/r/badge.json +1 -1
  189. package/registry/r/breadcrumb-item.json +1 -1
  190. package/registry/r/breadcrumb-link.json +1 -1
  191. package/registry/r/breadcrumb-separator.json +1 -1
  192. package/registry/r/breadcrumb.json +1 -1
  193. package/registry/r/bubble.json +23 -0
  194. package/registry/r/button.json +1 -1
  195. package/registry/r/calendar.json +1 -1
  196. package/registry/r/card.json +1 -1
  197. package/registry/r/carousel.json +1 -1
  198. package/registry/r/chain-of-thought.json +23 -0
  199. package/registry/r/chart-pie.json +30 -0
  200. package/registry/r/chart.json +28 -0
  201. package/registry/r/checkbox.json +1 -1
  202. package/registry/r/checkpoint.json +23 -0
  203. package/registry/r/collapsible.json +1 -1
  204. package/registry/r/combobox.json +31 -0
  205. package/registry/r/command-dialog.json +21 -0
  206. package/registry/r/command.json +26 -0
  207. package/registry/r/confirmation.json +23 -0
  208. package/registry/r/context.json +26 -0
  209. package/registry/r/conversation.json +23 -0
  210. package/registry/r/country-selector.json +1 -1
  211. package/registry/r/data-table.json +1 -1
  212. package/registry/r/date-picker.json +4 -4
  213. package/registry/r/date-range-picker.json +3 -3
  214. package/registry/r/date-time-picker.json +28 -0
  215. package/registry/r/direction.json +16 -0
  216. package/registry/r/dropdown-item.json +1 -1
  217. package/registry/r/dropdown-label.json +1 -1
  218. package/registry/r/dropdown-menu.json +1 -1
  219. package/registry/r/dropdown-separator.json +1 -1
  220. package/registry/r/dropdown-trigger.json +1 -1
  221. package/registry/r/empty-state.json +1 -1
  222. package/registry/r/field.json +23 -0
  223. package/registry/r/hover-card.json +1 -1
  224. package/registry/r/inline-citation.json +26 -0
  225. package/registry/r/input-group.json +23 -0
  226. package/registry/r/input.json +1 -1
  227. package/registry/r/item.json +23 -0
  228. package/registry/r/kbd.json +23 -0
  229. package/registry/r/label.json +1 -1
  230. package/registry/r/marker.json +23 -0
  231. package/registry/r/masked-input.json +1 -1
  232. package/registry/r/menubar.json +24 -0
  233. package/registry/r/message-scroller.json +26 -0
  234. package/registry/r/message.json +23 -0
  235. package/registry/r/model-selector.json +32 -0
  236. package/registry/r/multi-select.json +2 -2
  237. package/registry/r/native-select.json +23 -0
  238. package/registry/r/navigation-menu.json +24 -0
  239. package/registry/r/otp-group.json +1 -1
  240. package/registry/r/otp-slot.json +1 -1
  241. package/registry/r/otp.json +1 -1
  242. package/registry/r/pagination.json +3 -2
  243. package/registry/r/plan.json +23 -0
  244. package/registry/r/popover-content.json +1 -1
  245. package/registry/r/popover.json +1 -1
  246. package/registry/r/progress.json +1 -1
  247. package/registry/r/prompt-input.json +23 -0
  248. package/registry/r/queue.json +23 -0
  249. package/registry/r/radio-group.json +1 -1
  250. package/registry/r/radio-item.json +1 -1
  251. package/registry/r/range-calendar.json +1 -1
  252. package/registry/r/reasoning.json +23 -0
  253. package/registry/r/segment.json +1 -1
  254. package/registry/r/select-group.json +1 -1
  255. package/registry/r/select-item.json +1 -1
  256. package/registry/r/select-separator.json +1 -1
  257. package/registry/r/select.json +4 -3
  258. package/registry/r/separator.json +1 -1
  259. package/registry/r/sheet.json +1 -1
  260. package/registry/r/shimmer.json +23 -0
  261. package/registry/r/sidebar.json +1 -1
  262. package/registry/r/skeleton.json +1 -1
  263. package/registry/r/sources.json +23 -0
  264. package/registry/r/spinner.json +23 -0
  265. package/registry/r/suggestion.json +23 -0
  266. package/registry/r/switch.json +1 -1
  267. package/registry/r/table.json +21 -0
  268. package/registry/r/tabs.json +1 -1
  269. package/registry/r/tag-input.json +1 -1
  270. package/registry/r/task.json +23 -0
  271. package/registry/r/textarea.json +1 -1
  272. package/registry/r/time-picker.json +24 -0
  273. package/registry/r/toaster.json +2 -2
  274. package/registry/r/toggle-group.json +1 -1
  275. package/registry/r/toggle.json +1 -1
  276. package/registry/r/tool.json +23 -0
  277. package/registry/r/typography.json +23 -0
  278. package/registry/registry.json +915 -22
  279. package/theme.css +109 -8
@@ -0,0 +1,106 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { cn } from './utils/cn';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Unstyled table primitives you compose yourself, for when you need full
6
+ * control over the markup.
7
+ *
8
+ * For sorting, paging, selection and column definitions out of the box, use
9
+ * `tolle-data-table` instead — this is the lower-level building block.
10
+ *
11
+ * Everything below the `<table>` is a **directive on the native element**
12
+ * (`<thead tolleTableHeader>`, `<tr tolleTableRow>`, …) rather than a custom
13
+ * element. A `<tolle-table-row>` wrapper would sit between `<tbody>` and `<tr>`
14
+ * and break the CSS table layout, so the directives style the real elements in
15
+ * place and add no DOM of their own.
16
+ *
17
+ * ```html
18
+ * <tolle-table>
19
+ * <thead tolleTableHeader>
20
+ * <tr tolleTableRow><th tolleTableHead>Name</th></tr>
21
+ * </thead>
22
+ * <tbody tolleTableBody>
23
+ * <tr tolleTableRow><td tolleTableCell>Ada</td></tr>
24
+ * </tbody>
25
+ * </tolle-table>
26
+ * ```
27
+ * @new
28
+ */
29
+ export declare class TableComponent implements OnChanges {
30
+ private readonly cdr;
31
+ /**
32
+ * Angular writes a bound `class` input through its styling path, which does
33
+ * not mark an OnPush component dirty — without this hook the component keeps
34
+ * rendering the class it was born with.
35
+ */
36
+ ngOnChanges(): void;
37
+ /** Extra Tailwind classes merged onto the scrolling container via `cn()` (last-wins). */
38
+ containerClass: string;
39
+ /** Extra Tailwind classes merged onto the `<table>` via `cn()` (last-wins). */
40
+ class: string;
41
+ protected cn: typeof cn;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "tolle-table", never, { "containerClass": { "alias": "containerClass"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
44
+ }
45
+ /** Styles a native `<thead>`. */
46
+ export declare class TableHeaderDirective {
47
+ /** Extra Tailwind classes merged onto the `<thead>` via `cn()` (last-wins). */
48
+ class: string;
49
+ protected cn: typeof cn;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderDirective, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderDirective, "[tolleTableHeader]", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
52
+ }
53
+ /** Styles a native `<tbody>`. */
54
+ export declare class TableBodyDirective {
55
+ /** Extra Tailwind classes merged onto the `<tbody>` via `cn()` (last-wins). */
56
+ class: string;
57
+ protected cn: typeof cn;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyDirective, never>;
59
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableBodyDirective, "[tolleTableBody]", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
60
+ }
61
+ /** Styles a native `<tfoot>` for summary or total rows. */
62
+ export declare class TableFooterDirective {
63
+ /** Extra Tailwind classes merged onto the `<tfoot>` via `cn()` (last-wins). */
64
+ class: string;
65
+ protected cn: typeof cn;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterDirective, never>;
67
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableFooterDirective, "[tolleTableFooter]", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
68
+ }
69
+ /** Styles a native `<tr>`, with an optional selected state. */
70
+ export declare class TableRowDirective {
71
+ /** Applies the selected background and sets `data-state="selected"`. @default false */
72
+ selected: boolean;
73
+ /** Extra Tailwind classes merged onto the `<tr>` via `cn()` (last-wins). */
74
+ class: string;
75
+ protected cn: typeof cn;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDirective, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDirective, "[tolleTableRow]", never, { "selected": { "alias": "selected"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
78
+ }
79
+ /** Styles a native `<th>` header cell. */
80
+ export declare class TableHeadDirective {
81
+ /** Scope of the header cell for assistive tech. @default 'col' */
82
+ scope: 'col' | 'row' | 'colgroup' | 'rowgroup';
83
+ /** Current sort direction, surfaced as `aria-sort`. @default null */
84
+ sort: 'ascending' | 'descending' | 'none' | null;
85
+ /** Extra Tailwind classes merged onto the `<th>` via `cn()` (last-wins). */
86
+ class: string;
87
+ protected cn: typeof cn;
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeadDirective, never>;
89
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeadDirective, "[tolleTableHead]", never, { "scope": { "alias": "scope"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
90
+ }
91
+ /** Styles a native `<td>` data cell. */
92
+ export declare class TableCellDirective {
93
+ /** Extra Tailwind classes merged onto the `<td>` via `cn()` (last-wins). */
94
+ class: string;
95
+ protected cn: typeof cn;
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
97
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "[tolleTableCell]", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
98
+ }
99
+ /** Styles a native `<caption>`, rendered below the table. */
100
+ export declare class TableCaptionDirective {
101
+ /** Extra Tailwind classes merged onto the `<caption>` via `cn()` (last-wins). */
102
+ class: string;
103
+ protected cn: typeof cn;
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCaptionDirective, never>;
105
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCaptionDirective, "[tolleTableCaption]", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
106
+ }
@@ -0,0 +1,151 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import * as i0 from "@angular/core";
4
+ /** Lifecycle of a single agent task. */
5
+ export type TaskStatus = 'pending' | 'in-progress' | 'completed' | 'error';
6
+ declare const taskVariants: (props?: ({
7
+ status?: "error" | "pending" | "in-progress" | "completed" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export type TaskProps = VariantProps<typeof taskVariants>;
10
+ /**
11
+ * Coordinates a `tolle-task` and its trigger/content children.
12
+ *
13
+ * The children are `OnPush` and none of the parent's state arrives as their own
14
+ * inputs, so it is published here as observables and every subscriber calls
15
+ * `markForCheck()`.
16
+ */
17
+ export declare class TaskService {
18
+ private readonly openSource;
19
+ /** Emits whether the task's content is expanded. */
20
+ readonly open$: import("rxjs").Observable<boolean>;
21
+ private readonly statusSource;
22
+ /** Emits the task's current status. */
23
+ readonly status$: import("rxjs").Observable<TaskStatus>;
24
+ private readonly titleSource;
25
+ /** Emits the task's title. */
26
+ readonly title$: import("rxjs").Observable<string>;
27
+ get open(): boolean;
28
+ get status(): TaskStatus;
29
+ get title(): string;
30
+ setOpen(open: boolean): void;
31
+ toggle(): void;
32
+ setStatus(status: TaskStatus): void;
33
+ setTitle(title: string): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskService, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaskService>;
36
+ }
37
+ /**
38
+ * A collapsible record of one unit of agent work — a title, a status, and the
39
+ * individual steps taken, revealed on demand.
40
+ *
41
+ * ```html
42
+ * <tolle-task status="completed" title="Read the codebase" [open]="true">
43
+ * <tolle-task-trigger></tolle-task-trigger>
44
+ * <tolle-task-content>
45
+ * <tolle-task-item>
46
+ * Searched <tolle-task-item-file>utils/cn.ts</tolle-task-item-file>
47
+ * </tolle-task-item>
48
+ * </tolle-task-content>
49
+ * </tolle-task>
50
+ * ```
51
+ * @new
52
+ */
53
+ export declare class TaskComponent implements OnInit, OnChanges, OnDestroy {
54
+ private readonly cdr;
55
+ /** Lifecycle state of the task; drives the icon and border colour. @default 'pending' */
56
+ status: TaskStatus;
57
+ /** Title shown by `tolle-task-trigger`. @default '' */
58
+ title: string;
59
+ /** Whether the task's content is expanded. @default false */
60
+ open: boolean;
61
+ /** Extra Tailwind classes merged onto the task via `cn()` (last-wins). */
62
+ class: string;
63
+ /** Emitted with the new expanded state whenever the task opens or closes. */
64
+ openChange: EventEmitter<boolean>;
65
+ private readonly service;
66
+ private readonly sub;
67
+ ngOnInit(): void;
68
+ ngOnChanges(): void;
69
+ ngOnDestroy(): void;
70
+ private push;
71
+ get computedClass(): string;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskComponent, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<TaskComponent, "tolle-task", never, { "status": { "alias": "status"; "required": false; }; "title": { "alias": "title"; "required": false; }; "open": { "alias": "open"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], true, never>;
74
+ }
75
+ /** Header row of a `tolle-task`: status icon, title, and the expand chevron. */
76
+ export declare class TaskTriggerComponent implements OnChanges, OnInit, OnDestroy {
77
+ /**
78
+ * Angular writes a bound `class` input through its styling path, which does
79
+ * not mark an OnPush component dirty — without this hook the component keeps
80
+ * rendering the class it was born with.
81
+ */
82
+ ngOnChanges(): void;
83
+ /** Extra Tailwind classes merged onto the trigger via `cn()` (last-wins). */
84
+ class: string;
85
+ private readonly service;
86
+ private readonly cdr;
87
+ private readonly sub;
88
+ isOpen: boolean;
89
+ status: TaskStatus;
90
+ title: string;
91
+ ngOnInit(): void;
92
+ ngOnDestroy(): void;
93
+ get iconClass(): string;
94
+ get computedClass(): string;
95
+ toggle(): void;
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskTriggerComponent, never>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<TaskTriggerComponent, "tolle-task-trigger", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
98
+ }
99
+ /** The body of a `tolle-task`; rendered only while the task is expanded. */
100
+ export declare class TaskContentComponent implements OnChanges, OnInit, OnDestroy {
101
+ /**
102
+ * Angular writes a bound `class` input through its styling path, which does
103
+ * not mark an OnPush component dirty — without this hook the component keeps
104
+ * rendering the class it was born with.
105
+ */
106
+ ngOnChanges(): void;
107
+ /** Extra Tailwind classes merged onto the content via `cn()` (last-wins). */
108
+ class: string;
109
+ private readonly service;
110
+ private readonly cdr;
111
+ private readonly sub;
112
+ isOpen: boolean;
113
+ ngOnInit(): void;
114
+ ngOnDestroy(): void;
115
+ get computedClass(): string;
116
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskContentComponent, never>;
117
+ static ɵcmp: i0.ɵɵComponentDeclaration<TaskContentComponent, "tolle-task-content", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
118
+ }
119
+ /** One line of work inside a `tolle-task-content`. */
120
+ export declare class TaskItemComponent implements OnChanges {
121
+ private readonly cdr;
122
+ /**
123
+ * Angular writes a bound `class` input through its styling path, which does
124
+ * not mark an OnPush component dirty — without this hook the component keeps
125
+ * rendering the class it was born with.
126
+ */
127
+ ngOnChanges(): void;
128
+ /** Extra Tailwind classes merged onto the item via `cn()` (last-wins). */
129
+ class: string;
130
+ get computedClass(): string;
131
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskItemComponent, never>;
132
+ static ɵcmp: i0.ɵɵComponentDeclaration<TaskItemComponent, "tolle-task-item", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
133
+ }
134
+ /** An inline file chip, for naming the file a task step touched. */
135
+ export declare class TaskItemFileComponent implements OnChanges {
136
+ private readonly cdr;
137
+ /**
138
+ * Angular writes a bound `class` input through its styling path, which does
139
+ * not mark an OnPush component dirty — without this hook the component keeps
140
+ * rendering the class it was born with.
141
+ */
142
+ ngOnChanges(): void;
143
+ /** Remixicon class for the leading file glyph. @default 'ri-file-line' */
144
+ icon: string;
145
+ /** Extra Tailwind classes merged onto the chip via `cn()` (last-wins). */
146
+ class: string;
147
+ get computedClass(): string;
148
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskItemFileComponent, never>;
149
+ static ɵcmp: i0.ɵɵComponentDeclaration<TaskItemFileComponent, "tolle-task-item-file", never, { "icon": { "alias": "icon"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
150
+ }
151
+ export {};
@@ -13,6 +13,15 @@ export declare class ThemeService {
13
13
  private chartStyleId;
14
14
  constructor(document: Document, platformId: object, config: TolleConfig, rendererFactory: RendererFactory2);
15
15
  private initializeTheme;
16
+ /**
17
+ * Sets a CSS custom property on an element.
18
+ *
19
+ * `Renderer2.setStyle(el, '--x', v)` without `DashCase` compiles to
20
+ * `el.style['--x'] = v`, which is a silent no-op for custom properties — the
21
+ * theme control appears to work and simply changes nothing. Every custom
22
+ * property goes through here so no call site can forget the flag.
23
+ */
24
+ private setCssVar;
16
25
  /** Set a typography stack (`--font-sans` / `--font-serif` / `--font-mono`). */
17
26
  setFont(kind: 'sans' | 'serif' | 'mono', stack: string, persist?: boolean): void;
18
27
  /** Read the current stack for a font role from the live document. */
@@ -0,0 +1,243 @@
1
+ import { EventEmitter, ElementRef, QueryList, ChangeDetectorRef, OnDestroy, OnInit, OnChanges } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { type VariantProps } from 'class-variance-authority';
4
+ import { cn } from './utils/cn';
5
+ import * as i0 from "@angular/core";
6
+ /** A wall-clock time with no date and no timezone attached. */
7
+ export interface TimeParts {
8
+ hour: number;
9
+ minute: number;
10
+ second: number;
11
+ }
12
+ /** Seconds elapsed since midnight for a wall-clock time. */
13
+ export declare function timePartsToSeconds(parts: TimeParts): number;
14
+ /**
15
+ * Parses `HH:mm` or `HH:mm:ss` (24-hour). Returns `null` for anything that
16
+ * is not a well-formed, in-range time — callers treat that as "no value".
17
+ */
18
+ export declare function parseTimeString(value: string | null | undefined): TimeParts | null;
19
+ /** Renders a wall-clock time as `HH:mm`, or `HH:mm:ss` when `withSeconds`. */
20
+ export declare function formatTimeString(parts: TimeParts, withSeconds?: boolean): string;
21
+ /**
22
+ * 24-hour hour to its 12-hour clock face. Midnight is `12 AM` and noon is
23
+ * `12 PM` — the two values that a naive `hour % 12` gets wrong.
24
+ */
25
+ export declare function to12Hour(hour24: number): {
26
+ hour12: number;
27
+ meridiem: 'AM' | 'PM';
28
+ };
29
+ /** 12-hour clock face back to a 24-hour hour. `12 AM` is 0, `12 PM` is 12. */
30
+ export declare function from12Hour(hour12: number, meridiem: 'AM' | 'PM'): number;
31
+ /** Which unit a column of the picker scrolls through. */
32
+ export type TimeColumnKind = 'hour' | 'minute' | 'second' | 'meridiem';
33
+ /** One entry inside a time column. */
34
+ export interface TimeOption {
35
+ /** Stable identity for `trackBy` and `aria-activedescendant`. */
36
+ id: string;
37
+ /** Text shown to the user. */
38
+ label: string;
39
+ /**
40
+ * The 24-hour value this entry commits for its column. For a `meridiem`
41
+ * column this is the resulting 24-hour *hour*.
42
+ */
43
+ raw: number;
44
+ /** Value used for the selected comparison (clock-face value for hours). */
45
+ face: number;
46
+ disabled: boolean;
47
+ }
48
+ /** A scrollable column of the picker. */
49
+ export interface TimeColumn {
50
+ kind: TimeColumnKind;
51
+ label: string;
52
+ options: TimeOption[];
53
+ }
54
+ declare const timeOptionVariants: (props?: ({
55
+ size?: "default" | "xs" | "sm" | "lg" | null | undefined;
56
+ selected?: boolean | null | undefined;
57
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
58
+ /** Variant props for the option rows inside a time column. */
59
+ export type TimeColumnsProps = VariantProps<typeof timeOptionVariants>;
60
+ /**
61
+ * The bare scrollable hour / minute / second / AM-PM columns, with no trigger
62
+ * and no popover of its own.
63
+ *
64
+ * `tolle-time-picker` wraps this in a floating panel, and
65
+ * `tolle-date-time-picker` sits it beside a calendar — so the option
66
+ * generation, the min/max disabling and the roving keyboard model live here
67
+ * once instead of in both.
68
+ */
69
+ export declare class TimeColumnsComponent implements OnInit, OnChanges {
70
+ private cdr;
71
+ /** Selected hour in 24-hour form, or `null` when nothing is chosen yet. @default null */
72
+ hour: number | null;
73
+ /** Selected minute, or `null` when nothing is chosen yet. @default null */
74
+ minute: number | null;
75
+ /** Selected second, or `null` when nothing is chosen yet. @default null */
76
+ second: number | null;
77
+ /** Renders a 12-hour clock face with an AM/PM column. @default false */
78
+ use12Hours: boolean;
79
+ /** Adds the seconds column. @default false */
80
+ showSeconds: boolean;
81
+ /** Interval between minute entries, in minutes. @default 1 */
82
+ minuteStep: number;
83
+ /** Interval between second entries, in seconds. @default 1 */
84
+ secondStep: number;
85
+ /** Earliest selectable time, as seconds since midnight. @default 0 */
86
+ minSeconds: number;
87
+ /** Latest selectable time, as seconds since midnight. @default 86399 */
88
+ maxSeconds: number;
89
+ /** Row height and text size of the entries. @default 'default' */
90
+ size: TimeColumnsProps['size'];
91
+ /** Extra Tailwind classes merged onto the column strip via `cn()` (last-wins). */
92
+ class: string;
93
+ /** Emitted with the full wall-clock time whenever an entry is chosen. */
94
+ timeChange: EventEmitter<TimeParts>;
95
+ listboxes?: QueryList<ElementRef<HTMLElement>>;
96
+ readonly columnsId: string;
97
+ /**
98
+ * Built once per input change rather than read from a getter: a getter would
99
+ * hand `*ngFor` a fresh array on every change-detection pass, so every row —
100
+ * each carrying a click handler — would be torn down and rebuilt on every
101
+ * pass.
102
+ */
103
+ columns: TimeColumn[];
104
+ /** Roving active entry per column, for `aria-activedescendant`. */
105
+ activeIndex: number[];
106
+ protected cn: typeof cn;
107
+ constructor(cdr: ChangeDetectorRef);
108
+ ngOnInit(): void;
109
+ ngOnChanges(): void;
110
+ get heightClass(): string;
111
+ private rebuild;
112
+ /**
113
+ * True when nothing in `[start, start + span]` falls inside the allowed
114
+ * window — i.e. picking this entry could not produce a legal time.
115
+ */
116
+ private rangeDisabled;
117
+ private syncActiveToSelection;
118
+ isSelected(column: TimeColumn, option: TimeOption): boolean;
119
+ isActive(columnIndex: number, option: TimeOption): boolean;
120
+ activeDescendantFor(columnIndex: number): string | null;
121
+ optionClass(column: TimeColumn, option: TimeOption, columnIndex: number): string;
122
+ /** Commits `option` in its column and emits the resulting whole time. */
123
+ choose(column: TimeColumn, option: TimeOption, columnIndex: number): void;
124
+ onColumnKeydown(event: KeyboardEvent, columnIndex: number): void;
125
+ private moveActive;
126
+ /** Lands on the first enabled entry at or past `index`, walking `direction`. */
127
+ private setActive;
128
+ private focusColumn;
129
+ /** Focuses the first column — used when the panel opens. */
130
+ focusFirstColumn(): void;
131
+ /**
132
+ * Centres each column on its selected entry. Scrolls the listbox directly
133
+ * rather than calling `scrollIntoView`, which would also scroll the page
134
+ * behind a fixed-position panel.
135
+ */
136
+ scrollSelectedIntoView(): void;
137
+ private scrollOptionIntoView;
138
+ trackColumn: (_: number, column: TimeColumn) => TimeColumnKind;
139
+ trackOption: (_: number, option: TimeOption) => string;
140
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeColumnsComponent, never>;
141
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimeColumnsComponent, "tolle-time-columns", never, { "hour": { "alias": "hour"; "required": false; }; "minute": { "alias": "minute"; "required": false; }; "second": { "alias": "second"; "required": false; }; "use12Hours": { "alias": "use12Hours"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondStep": { "alias": "secondStep"; "required": false; }; "minSeconds": { "alias": "minSeconds"; "required": false; }; "maxSeconds": { "alias": "maxSeconds"; "required": false; }; "size": { "alias": "size"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "timeChange": "timeChange"; }, never, never, true, never>;
142
+ }
143
+ declare const timePickerTriggerVariants: (props?: ({
144
+ size?: "default" | "xs" | "sm" | "lg" | null | undefined;
145
+ invalid?: boolean | null | undefined;
146
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
147
+ /** Variant props for the time picker trigger. */
148
+ export type TimePickerProps = VariantProps<typeof timePickerTriggerVariants>;
149
+ /**
150
+ * A trigger that opens scrollable hour / minute / second columns in a floating
151
+ * panel.
152
+ *
153
+ * The value is a **24-hour `HH:mm` string** (or `HH:mm:ss` when `showSeconds`),
154
+ * regardless of whether the face is rendered as 12-hour — a wall-clock time has
155
+ * no date and no timezone, and a `Date` would invent both. Set
156
+ * `valueType="date"` to exchange `Date` objects instead, in which case the time
157
+ * is written onto today's date (or onto the date already held by the control).
158
+ *
159
+ * Implements `ControlValueAccessor`, so it works with `ngModel` and reactive
160
+ * forms. Use `tolle-date-time-picker` when a date is needed alongside.
161
+ * @new
162
+ */
163
+ export declare class TimePickerComponent implements OnChanges, ControlValueAccessor, OnDestroy {
164
+ private cdr;
165
+ /**
166
+ * Angular writes a bound `class` input through its styling path, which does
167
+ * not mark an OnPush component dirty — without this hook the component keeps
168
+ * rendering the class it was born with.
169
+ */
170
+ ngOnChanges(): void;
171
+ /** Text shown on the trigger when no time is selected. @default 'Select a time' */
172
+ placeholder: string;
173
+ /** Disables the control. @default false */
174
+ disabled: boolean;
175
+ /** Renders a 12-hour face with an AM/PM column. The emitted value stays 24-hour. @default false */
176
+ use12Hours: boolean;
177
+ /** Adds a seconds column and emits `HH:mm:ss`. @default false */
178
+ showSeconds: boolean;
179
+ /** Interval between minute entries, in minutes. @default 1 */
180
+ minuteStep: number;
181
+ /** Interval between second entries, in seconds. @default 1 */
182
+ secondStep: number;
183
+ /** Earliest selectable time as a 24-hour `HH:mm` string; earlier entries are disabled. */
184
+ min?: string;
185
+ /** Latest selectable time as a 24-hour `HH:mm` string; later entries are disabled. */
186
+ max?: string;
187
+ /** Height and text size of the trigger and entries. @default 'default' */
188
+ size: TimePickerProps['size'];
189
+ /** Applies the destructive border and focus ring. @default false */
190
+ invalid: boolean;
191
+ /** Accessible name when there is no associated visible label. @default '' */
192
+ ariaLabel: string;
193
+ /** Exchange `Date` objects instead of `HH:mm` strings through the form control. @default 'string' */
194
+ valueType: 'string' | 'date';
195
+ /** Extra Tailwind classes merged onto the trigger via `cn()` (last-wins). */
196
+ class: string;
197
+ /** Emitted with the chosen time whenever it changes. */
198
+ valueChange: EventEmitter<string | Date | null>;
199
+ /** Emitted when the panel opens. */
200
+ opened: EventEmitter<void>;
201
+ /** Emitted when the panel closes. */
202
+ closed: EventEmitter<void>;
203
+ triggerEl?: ElementRef<HTMLElement>;
204
+ panelEl?: ElementRef<HTMLElement>;
205
+ columnsCmp?: TimeColumnsComponent;
206
+ readonly panelId: string;
207
+ hour: number | null;
208
+ minute: number | null;
209
+ second: number | null;
210
+ isOpen: boolean;
211
+ protected cn: typeof cn;
212
+ private cleanup?;
213
+ /** The date half of a `Date` value, kept so round-tripping does not move the day. */
214
+ private dateAnchor;
215
+ private onChange;
216
+ private onTouched;
217
+ constructor(cdr: ChangeDetectorRef);
218
+ private readonly outsideClickHandler;
219
+ private readonly escapeHandler;
220
+ /** The current selection as wall-clock parts, or `null` when incomplete. */
221
+ get parts(): TimeParts | null;
222
+ get displayValue(): string;
223
+ get minSeconds(): number;
224
+ get maxSeconds(): number;
225
+ get computedTriggerClass(): string;
226
+ toggle(): void;
227
+ open(): void;
228
+ close(): void;
229
+ onTriggerKeyDown(event: KeyboardEvent): void;
230
+ onTimeChange(parts: TimeParts): void;
231
+ private emit;
232
+ private currentValue;
233
+ private updatePosition;
234
+ private teardown;
235
+ ngOnDestroy(): void;
236
+ writeValue(value: string | Date | null | undefined): void;
237
+ registerOnChange(fn: (value: string | Date | null) => void): void;
238
+ registerOnTouched(fn: () => void): void;
239
+ setDisabledState(isDisabled: boolean): void;
240
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
241
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "tolle-time-picker", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "use12Hours": { "alias": "use12Hours"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondStep": { "alias": "secondStep"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "size": { "alias": "size"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "valueType": { "alias": "valueType"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
242
+ }
243
+ export {};
@@ -1,9 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
+ export type ToastVariant = 'default' | 'destructive' | 'success' | 'warning' | 'info';
2
3
  export interface Toast {
3
4
  id: number;
4
5
  title?: string;
5
6
  description: string;
6
- variant?: 'default' | 'destructive' | 'success';
7
+ variant?: ToastVariant;
7
8
  duration?: number;
8
9
  remainingTime: number;
9
10
  isPaused: boolean;
@@ -11,6 +12,7 @@ export interface Toast {
11
12
  export type ToastPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
12
13
  export declare class ToastService {
13
14
  private toasts;
15
+ private nextId;
14
16
  private toastSubject;
15
17
  toasts$: import("rxjs").Observable<Toast[]>;
16
18
  constructor();
@@ -1,17 +1,34 @@
1
- import { ToastService, Toast, ToastPosition } from './toast.service';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ToastService, Toast, ToastPosition, ToastVariant } from './toast.service';
2
3
  import { cn } from './utils/cn';
3
4
  import * as i0 from "@angular/core";
4
- export declare class ToastContainerComponent {
5
+ export declare class ToastContainerComponent implements OnInit, OnDestroy {
5
6
  toastService: ToastService;
7
+ private elementRef;
6
8
  position: ToastPosition;
7
9
  toasts$: import("rxjs").Observable<Toast[]>;
8
- icons: {
9
- destructive: string;
10
- success: string;
11
- default: string;
12
- };
13
- getVariantClasses(variant?: string): "border-destructive/50 bg-destructive/10 text-destructive" | "border-success/50 bg-success/10 text-success" | "bg-background text-foreground border-border";
14
- getProgressClasses(variant?: string): "bg-primary" | "bg-destructive" | "bg-success";
10
+ /**
11
+ * Move the host to <body> so the fixed container is never clipped or
12
+ * z-index-clamped by a consumer ancestor that creates a stacking context
13
+ * (transform / filter / backdrop-blur / opacity). Being a direct child of
14
+ * <body> and sitting above the CDK overlay container keeps toasts on top
15
+ * of modals, sheets and alert dialogs.
16
+ */
17
+ ngOnInit(): void;
18
+ ngOnDestroy(): void;
19
+ icons: Record<ToastVariant, string>;
20
+ /**
21
+ * Border + text only. The toast root always carries an opaque `bg-background`;
22
+ * the variant colour is applied as a separate tint layer (see `getTintClasses`)
23
+ * so toasts are never see-through over page content.
24
+ */
25
+ private variantClasses;
26
+ private tintClasses;
27
+ private progressClasses;
28
+ private resolve;
29
+ getVariantClasses(variant?: string): string;
30
+ getTintClasses(variant?: string): string;
31
+ getProgressClasses(variant?: string): string;
15
32
  get positionClasses(): string;
16
33
  protected cn: typeof cn;
17
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerComponent, never>;