@tectra-ng/ui 0.4.1 → 0.4.3

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 (239) hide show
  1. package/README.md +1 -1
  2. package/amount/README.md +2 -2
  3. package/analog-clock/README.md +3 -2
  4. package/autocomplete/README.md +1 -1
  5. package/avatar/README.md +1 -1
  6. package/breadcrumb/README.md +1 -1
  7. package/button-group/README.md +34 -2
  8. package/carousel/README.md +7 -0
  9. package/chips-input/README.md +10 -0
  10. package/color-swatches/README.md +53 -0
  11. package/data-view/README.md +11 -0
  12. package/fesm2022/tectra-ng-ui-amount.mjs +11 -9
  13. package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-ui-analog-clock.mjs +12 -6
  15. package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-ui-autocomplete.mjs +17 -6
  17. package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-ui-avatar.mjs +11 -4
  19. package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-ui-breadcrumb.mjs +5 -5
  21. package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-ui-button-group.mjs +139 -6
  23. package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -1
  24. package/fesm2022/tectra-ng-ui-card.mjs +4 -2
  25. package/fesm2022/tectra-ng-ui-card.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-ui-carousel.mjs +21 -2
  27. package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
  28. package/fesm2022/tectra-ng-ui-cascade-select.mjs +2 -2
  29. package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
  30. package/fesm2022/tectra-ng-ui-checkbox.mjs +7 -4
  31. package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
  32. package/fesm2022/tectra-ng-ui-chips-input.mjs +41 -8
  33. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  34. package/fesm2022/tectra-ng-ui-color-picker.mjs +2 -2
  35. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
  36. package/fesm2022/tectra-ng-ui-color-swatches.mjs +378 -0
  37. package/fesm2022/tectra-ng-ui-color-swatches.mjs.map +1 -0
  38. package/fesm2022/tectra-ng-ui-country-select.mjs +6 -4
  39. package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
  40. package/fesm2022/tectra-ng-ui-data-view.mjs +61 -10
  41. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
  42. package/fesm2022/tectra-ng-ui-datepicker.mjs +14 -2
  43. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  44. package/fesm2022/tectra-ng-ui-dialog.mjs +7 -2
  45. package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
  46. package/fesm2022/tectra-ng-ui-export.mjs +19 -20
  47. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  48. package/fesm2022/tectra-ng-ui-file-upload.mjs +44 -30
  49. package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
  50. package/fesm2022/tectra-ng-ui-galleria.mjs +63 -6
  51. package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
  52. package/fesm2022/tectra-ng-ui-image.mjs +6 -2
  53. package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
  54. package/fesm2022/tectra-ng-ui-input-otp.mjs +6 -2
  55. package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -1
  56. package/fesm2022/tectra-ng-ui-input.mjs +2 -2
  57. package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
  58. package/fesm2022/tectra-ng-ui-knob.mjs +15 -4
  59. package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
  60. package/fesm2022/tectra-ng-ui-list-input.mjs +2 -2
  61. package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
  62. package/fesm2022/tectra-ng-ui-menu.mjs +110 -10
  63. package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
  64. package/fesm2022/tectra-ng-ui-message.mjs +62 -19
  65. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
  66. package/fesm2022/tectra-ng-ui-multiselect.mjs +14 -6
  67. package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
  68. package/fesm2022/tectra-ng-ui-paginator.mjs +11 -22
  69. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  70. package/fesm2022/tectra-ng-ui-panel-menu.mjs +32 -8
  71. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  72. package/fesm2022/tectra-ng-ui-panel.mjs +4 -2
  73. package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
  74. package/fesm2022/tectra-ng-ui-password.mjs +9 -0
  75. package/fesm2022/tectra-ng-ui-password.mjs.map +1 -1
  76. package/fesm2022/tectra-ng-ui-pill.mjs +3 -2
  77. package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
  78. package/fesm2022/tectra-ng-ui-popover.mjs +16 -9
  79. package/fesm2022/tectra-ng-ui-popover.mjs.map +1 -1
  80. package/fesm2022/tectra-ng-ui-progress-bar.mjs +3 -0
  81. package/fesm2022/tectra-ng-ui-progress-bar.mjs.map +1 -1
  82. package/fesm2022/tectra-ng-ui-radio-button.mjs +28 -8
  83. package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
  84. package/fesm2022/tectra-ng-ui-rating.mjs +6 -0
  85. package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -1
  86. package/fesm2022/tectra-ng-ui-scroll-panel.mjs +4 -4
  87. package/fesm2022/tectra-ng-ui-scroll-panel.mjs.map +1 -1
  88. package/fesm2022/tectra-ng-ui-select-button.mjs +748 -0
  89. package/fesm2022/tectra-ng-ui-select-button.mjs.map +1 -0
  90. package/fesm2022/tectra-ng-ui-select.mjs +193 -10
  91. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
  92. package/fesm2022/tectra-ng-ui-speed-dial.mjs +91 -60
  93. package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -1
  94. package/fesm2022/tectra-ng-ui-split-button.mjs +22 -8
  95. package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -1
  96. package/fesm2022/tectra-ng-ui-stat-tiles.mjs +8 -5
  97. package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
  98. package/fesm2022/tectra-ng-ui-stepper.mjs +72 -29
  99. package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
  100. package/fesm2022/tectra-ng-ui-table.mjs +323 -190
  101. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  102. package/fesm2022/tectra-ng-ui-tabs.mjs +10 -7
  103. package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
  104. package/fesm2022/tectra-ng-ui-timeline.mjs +87 -10
  105. package/fesm2022/tectra-ng-ui-timeline.mjs.map +1 -1
  106. package/fesm2022/tectra-ng-ui-toast.mjs +24 -7
  107. package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
  108. package/fesm2022/tectra-ng-ui-toggle-button.mjs +2 -2
  109. package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -1
  110. package/fesm2022/tectra-ng-ui-toggle-switch.mjs +7 -4
  111. package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -1
  112. package/fesm2022/tectra-ng-ui-tooltip.mjs +5 -4
  113. package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
  114. package/fesm2022/tectra-ng-ui-tree-select.mjs +31 -9
  115. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  116. package/fesm2022/tectra-ng-ui-tree-table.mjs +7 -5
  117. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  118. package/fesm2022/tectra-ng-ui-tree.mjs +47 -14
  119. package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
  120. package/fesm2022/tectra-ng-ui-truncate-text.mjs +2 -2
  121. package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
  122. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +45 -4
  123. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
  124. package/fesm2022/tectra-ng-ui.mjs +1 -1
  125. package/field/README.md +2 -2
  126. package/file-upload/README.md +2 -1
  127. package/galleria/README.md +9 -0
  128. package/input-otp/README.md +1 -1
  129. package/knob/README.md +1 -1
  130. package/menu/README.md +10 -2
  131. package/message/README.md +6 -5
  132. package/multiselect/README.md +1 -1
  133. package/package.json +12 -4
  134. package/paginator/README.md +1 -1
  135. package/panel-menu/README.md +1 -1
  136. package/pill/README.md +1 -1
  137. package/popover/README.md +2 -2
  138. package/select/README.md +9 -0
  139. package/select-button/README.md +70 -0
  140. package/speed-dial/README.md +2 -1
  141. package/split-button/README.md +1 -1
  142. package/stat-tiles/README.md +3 -3
  143. package/stepper/README.md +3 -2
  144. package/table/README.md +23 -7
  145. package/tabs/README.md +2 -2
  146. package/timeline/README.md +10 -2
  147. package/tree/README.md +7 -0
  148. package/tree-select/README.md +2 -2
  149. package/tree-table/README.md +1 -1
  150. package/truncate-text/README.md +1 -1
  151. package/types/tectra-ng-ui-amount.d.ts +6 -3
  152. package/types/tectra-ng-ui-amount.d.ts.map +1 -1
  153. package/types/tectra-ng-ui-analog-clock.d.ts +9 -4
  154. package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
  155. package/types/tectra-ng-ui-autocomplete.d.ts +2 -1
  156. package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
  157. package/types/tectra-ng-ui-avatar.d.ts +4 -2
  158. package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
  159. package/types/tectra-ng-ui-breadcrumb.d.ts +3 -3
  160. package/types/tectra-ng-ui-button-group.d.ts +58 -5
  161. package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
  162. package/types/tectra-ng-ui-card.d.ts.map +1 -1
  163. package/types/tectra-ng-ui-carousel.d.ts +14 -5
  164. package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
  165. package/types/tectra-ng-ui-checkbox.d.ts +1 -0
  166. package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
  167. package/types/tectra-ng-ui-chips-input.d.ts +15 -1
  168. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  169. package/types/tectra-ng-ui-color-swatches.d.ts +141 -0
  170. package/types/tectra-ng-ui-color-swatches.d.ts.map +1 -0
  171. package/types/tectra-ng-ui-data-view.d.ts +31 -12
  172. package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
  173. package/types/tectra-ng-ui-datepicker.d.ts +6 -0
  174. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
  175. package/types/tectra-ng-ui-dialog.d.ts +1 -0
  176. package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
  177. package/types/tectra-ng-ui-field.d.ts +2 -2
  178. package/types/tectra-ng-ui-file-upload.d.ts +10 -7
  179. package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
  180. package/types/tectra-ng-ui-galleria.d.ts +42 -15
  181. package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
  182. package/types/tectra-ng-ui-image.d.ts.map +1 -1
  183. package/types/tectra-ng-ui-input-otp.d.ts +1 -1
  184. package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
  185. package/types/tectra-ng-ui-knob.d.ts +3 -1
  186. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  187. package/types/tectra-ng-ui-menu.d.ts +35 -12
  188. package/types/tectra-ng-ui-menu.d.ts.map +1 -1
  189. package/types/tectra-ng-ui-message.d.ts +17 -8
  190. package/types/tectra-ng-ui-message.d.ts.map +1 -1
  191. package/types/tectra-ng-ui-multiselect.d.ts +2 -2
  192. package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
  193. package/types/tectra-ng-ui-paginator.d.ts +4 -21
  194. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  195. package/types/tectra-ng-ui-panel-menu.d.ts +9 -9
  196. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  197. package/types/tectra-ng-ui-panel.d.ts.map +1 -1
  198. package/types/tectra-ng-ui-password.d.ts +3 -0
  199. package/types/tectra-ng-ui-password.d.ts.map +1 -1
  200. package/types/tectra-ng-ui-pill.d.ts +7 -3
  201. package/types/tectra-ng-ui-pill.d.ts.map +1 -1
  202. package/types/tectra-ng-ui-popover.d.ts +4 -2
  203. package/types/tectra-ng-ui-popover.d.ts.map +1 -1
  204. package/types/tectra-ng-ui-progress-bar.d.ts +1 -0
  205. package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
  206. package/types/tectra-ng-ui-radio-button.d.ts +3 -1
  207. package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
  208. package/types/tectra-ng-ui-rating.d.ts +2 -0
  209. package/types/tectra-ng-ui-rating.d.ts.map +1 -1
  210. package/types/tectra-ng-ui-select-button.d.ts +256 -0
  211. package/types/tectra-ng-ui-select-button.d.ts.map +1 -0
  212. package/types/tectra-ng-ui-select.d.ts +85 -20
  213. package/types/tectra-ng-ui-select.d.ts.map +1 -1
  214. package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
  215. package/types/tectra-ng-ui-split-button.d.ts.map +1 -1
  216. package/types/tectra-ng-ui-stat-tiles.d.ts +4 -3
  217. package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
  218. package/types/tectra-ng-ui-stepper.d.ts +25 -10
  219. package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
  220. package/types/tectra-ng-ui-table.d.ts +147 -75
  221. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  222. package/types/tectra-ng-ui-tabs.d.ts +7 -5
  223. package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
  224. package/types/tectra-ng-ui-timeline.d.ts +46 -9
  225. package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
  226. package/types/tectra-ng-ui-toast.d.ts +3 -0
  227. package/types/tectra-ng-ui-toast.d.ts.map +1 -1
  228. package/types/tectra-ng-ui-toggle-switch.d.ts +1 -0
  229. package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
  230. package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
  231. package/types/tectra-ng-ui-tree-select.d.ts +4 -2
  232. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
  233. package/types/tectra-ng-ui-tree.d.ts +18 -7
  234. package/types/tectra-ng-ui-tree.d.ts.map +1 -1
  235. package/types/tectra-ng-ui-truncate-text.d.ts +1 -1
  236. package/types/tectra-ng-ui-virtual-scroller.d.ts +29 -10
  237. package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
  238. package/types/tectra-ng-ui.d.ts +1 -1
  239. package/virtual-scroller/README.md +8 -0
@@ -0,0 +1,70 @@
1
+ # SelectButton
2
+
3
+ A segmented choice: a few options as buttons in one track, the picked one filled. One value (a radio group) or several (`multiple`, toggle buttons). A `ControlValueAccessor` — works with `[formControl]`, `ngModel`, signal forms and `[(value)]`.
4
+
5
+ ```html
6
+ <tx-select-button ariaLabel="Billing period" [options]="periods" formControlName="period" />
7
+ ```
8
+
9
+ ```ts
10
+ readonly periods = [
11
+ { label: 'Monthly', value: 'month' },
12
+ { label: 'Yearly', value: 'year' },
13
+ ];
14
+ ```
15
+
16
+ Options are objects (fields read with `optionLabel`, `optionValue`, `optionDisabled`, `optionIcon`; dots reach nested fields) or plain strings / numbers. The value is one option value or `null`; with `multiple` it is an array in the order the options were picked.
17
+
18
+ ## Inputs
19
+ | Name | Description |
20
+ |---|---|
21
+ | value | Two-way: the selected value, or an array of values when `multiple` is on |
22
+ | options | The options: objects or plain strings / numbers |
23
+ | optionLabel | Field of the option text (default `label`) |
24
+ | optionValue | Field of the option value (default `value`); plain options are their own value |
25
+ | optionDisabled | Field that disables an option (default `disabled`) |
26
+ | optionIcon | Field of the option icon — a `@tectra-ng/icons` name or any icon class (default `icon`) |
27
+ | dataKey | Field that identifies object values, so a copy of a value still matches its option |
28
+ | multiple | Several options can be picked; the value is an array and the items are toggle buttons |
29
+ | allowEmpty | `false` = a click on the only picked option does not unpick it (default `true`) |
30
+ | iconOnly | Shows only the icons; the option text becomes the accessible name and a tooltip |
31
+ | size | `small`, `medium`, `large` |
32
+ | fluid | Takes the full width, the items share it equally; inherits `<tx-fluid>` |
33
+ | invalid | Red border and `aria-invalid`; without it the control follows its form control |
34
+ | disabled | Disables every option (the form control can disable it too) |
35
+ | readonly | Shows the value, ignores clicks; the arrow keys still move focus |
36
+ | required | `aria-required` on the radio group (single mode) |
37
+ | ariaLabel | Accessible name of the group |
38
+ | ariaLabelledBy | Id of the element that names the group |
39
+ | dt | Design tokens of this instance (`selectButton`) |
40
+ | pt | Classes and styles of the parts: `root`, `item`, `icon`, `label` |
41
+ | ptOptions | How `pt` merges with the global pass-through |
42
+ | unstyled | Removes the tectra styles, keeps the buttons, the keys and ARIA |
43
+
44
+ ## Outputs
45
+ | Name | Description |
46
+ |---|---|
47
+ | changed | `{ value, option, originalEvent }` after a click or a key changed the value |
48
+ | focused | Focus came into the control |
49
+ | blurred | Focus left the control |
50
+
51
+ ## Slots
52
+ | Name | Description |
53
+ |---|---|
54
+ | txSelectButtonItem | `<ng-template txSelectButtonItem let-option let-selected="selected">` — own content of each item; `[txSelectButtonItemOf]="options"` types `option` |
55
+
56
+ ## Methods
57
+ | Name | Description |
58
+ |---|---|
59
+ | focus | Moves focus to the selected option, or to the first one that can be picked |
60
+
61
+ ## Keyboard
62
+ | Key | Action |
63
+ |---|---|
64
+ | Tab | Moves focus into the control (to the selected option) and out of it |
65
+ | Arrow Right / Down | Moves to the next option, from the last back to the first; in single mode also selects it |
66
+ | Arrow Left / Up | Moves to the previous option, from the first to the last; in single mode also selects it |
67
+ | Home / End | Moves to the first / last option; in single mode also selects it |
68
+ | Space / Enter | Selects the focused option, or unpicks it when it is picked and `allowEmpty` is on; with `multiple` toggles it |
69
+
70
+ Disabled options are skipped. Single mode is a `radiogroup` of `radio` buttons with `aria-checked`; `multiple` is a `group` of buttons with `aria-pressed`. Both keep one Tab stop.
@@ -6,7 +6,7 @@ A floating round button that fans out a few quick actions — in a line, a circl
6
6
  <tx-speed-dial ariaLabel="Create" direction="up" [model]="createActions" (itemSelected)="create($event.item)" />
7
7
  ```
8
8
 
9
- Items are `TxMenuItem`s (`label`, `icon`, `command`, `disabled`, `visible`, `severity: 'danger'`); each one is an icon button named by its label, with the label in a tooltip.
9
+ Items are `TxMenuItem`s (`label`, `icon`, `command`, `disabled`, `visible`, `severity: 'danger'`); each one is an icon button named by its label, with the label in a tooltip. An item with `routerLink` (and `queryParams`, `fragment`) navigates with the router, one with `url` (and `target`) is a plain link; both still run their `command`.
10
10
 
11
11
  ## Inputs
12
12
  | Name | Description |
@@ -47,3 +47,4 @@ Items are `TxMenuItem`s (`label`, `icon`, `command`, `disabled`, `visible`, `sev
47
47
  | Home / End | First / last item |
48
48
  | Escape | Closes, focus goes back to the button |
49
49
  | Tab | Closes and moves on |
50
+ | Enter / Space on an item | Runs the item or follows its link |
@@ -6,7 +6,7 @@ A button with a main action and a menu of related ones — Save with Save as dra
6
6
  <tx-split-button label="Save" icon="check" [model]="saveOptions" (clicked)="save()" />
7
7
  ```
8
8
 
9
- The menu takes the same `TxMenuItem` items as `tx-menu` (sub-menus included) and opens under the button, aligned to its end.
9
+ The menu takes the same `TxMenuItem` items as `tx-menu` (sub-menus included) and opens under the menu button, aligned to its end, with an arrow that points at the menu button.
10
10
 
11
11
  ## Inputs
12
12
  | Name | Description |
@@ -12,15 +12,15 @@ A responsive grid of key numbers — totals, rates, counts — each tile with a
12
12
  ## Inputs
13
13
  | Name | Description |
14
14
  |---|---|
15
- | minWidth | `tx-stat-tiles` — narrowest column before the grid wraps; never below the `floorWidth` token (210px) unless `compact` |
15
+ | minWidth | `tx-stat-tiles` — narrowest column before the grid wraps; without it columns stay at least the `floorWidth` token (210px) unless `compact`, an explicit value wins over that floor |
16
16
  | compact | `tx-stat-tiles` — tighter gap, padding, icon and value; columns down to `minWidth` |
17
17
  | ariaLabel | `tx-stat-tiles` — accessible name of the list |
18
18
  | ariaLabelledBy | `tx-stat-tiles` — id of the element that names the list |
19
- | label | `tx-stat-tile` — what the number is |
19
+ | label | `tx-stat-tile` — what the number is; one line, cut with an ellipsis and shown in full as a title, so values of a row stay on one line next to an aside |
20
20
  | value | `tx-stat-tile` — the number or text; `null` shows "-" |
21
21
  | unit | `tx-stat-tile` — small text after the value |
22
22
  | icon | `tx-stat-tile` — icon in a square tinted with the tone |
23
- | meta | `tx-stat-tile` — muted line under the value, cut with an ellipsis |
23
+ | meta | `tx-stat-tile` — muted line under the value, cut with an ellipsis and shown in full as a title |
24
24
  | tone | `tx-stat-tile` — `neutral`, `primary`, `success`, `info`, `warn` or `danger`: icon, share bar, accent value and highlight |
25
25
  | share | `tx-stat-tile` — 0–100, draws a share bar (a `meter`) |
26
26
  | textValue | `tx-stat-tile` — the value is text: smaller, one line, cut with an ellipsis and a title |
package/stepper/README.md CHANGED
@@ -28,9 +28,10 @@ Two step indicators for multi-step flows.
28
28
  ## Inputs
29
29
  | Name | Description |
30
30
  |---|---|
31
- | value | `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value) |
31
+ | value | `tx-stepper`, two-way: the value of the active step. On `tx-step`, `tx-step-panel` and `tx-step-item`: the value of that step (a step and a panel inside a `tx-step-item` take the item's value). Steps may come from `@for` / `@if`; a step without a value is skipped until it gets one |
32
32
  | linear | `tx-stepper`: steps cannot be picked in the header; only the panels move on through `activate` |
33
33
  | disabled | `tx-step`: the step cannot be picked |
34
+ | completed | `tx-step`, `tx-step-item`: marks the step done (or not done with `false`) whatever its position; unset, a step is done when it comes before the active one. A done step colours the line after it and adds "completed" to its accessible name |
34
35
  | items | `tx-steps`: the steps, `TxStepsItem[]` — `label`, `icon`, `description` (track), `disabled`, `command` (runs with `{ originalEvent, item, index }` when the step is clicked) |
35
36
  | activeIndex | `tx-steps`, two-way: index of the current step; the steps before it are done. Set it to `items.length` to mark every step done |
36
37
  | readonly | `tx-steps`: the steps cannot be clicked (default `true`). Off, an enabled step with a `command` can be clicked: it becomes current and runs its `command` |
@@ -53,7 +54,7 @@ Two step indicators for multi-step flows.
53
54
  |---|---|
54
55
  | default | `tx-step`: the step title. `tx-step-panel`: content that is always rendered |
55
56
  | txStepPanelContent | `<ng-template txStepPanelContent let-activate let-value="value" let-index="index" let-active="active">` — panel content, rendered when the step is first opened; `activate(value)` moves to a step |
56
- | txStepContent | `<ng-template txStepContent let-value let-active="active" let-completed="completed" let-index="index" let-activate="activate">` — own step header instead of the number and the title |
57
+ | txStepContent | `<ng-template txStepContent let-value let-active="active" let-completed="completed" let-index="index" let-activate="activate">` — own step header instead of the number and the title; `completed` follows the `completed` input |
57
58
  | txStepsItem | `<ng-template txStepsItem let-item let-index="index" let-active="active" let-done="done">` — own content of a `tx-steps` step |
58
59
 
59
60
  ## Keyboard
package/table/README.md CHANGED
@@ -4,7 +4,7 @@ Data table for lists: sorting, pagination, server data, selection, row actions w
4
4
 
5
5
  ```html
6
6
  <tx-table [value]="people()" [columns]="columns" dataKey="id" paginator [rows]="10">
7
- <ng-template txTableCell="name" let-person>
7
+ <ng-template txTableCell="name" [txTableCellOf]="people()" let-person>
8
8
  <strong>{{ person.name }}</strong>
9
9
  </ng-template>
10
10
  </tx-table>
@@ -14,6 +14,8 @@ Columns are `TxTableColumn` objects: `field` (a dot reads a nested value, `team.
14
14
 
15
15
  A cell shows the value of its field as text; `<ng-template txTableCell="field">` replaces it. Text that does not fit is cut with an ellipsis.
16
16
 
17
+ Pass the rows to the row templates for typing: `[txTableCellOf]="people()"` (and `txTableActionsOf`, `txTableExpansionOf`, `txTableCardOf`, `txTableEditorOf`, `txTableGroupHeaderOf`, `txTableGroupFooterOf`) gives `let-row` the row type in strict templates. Angular does not pass the type of the table `value` to the templates inside it, so without the `…Of` input the row stays untyped.
18
+
17
19
  Filtering, sorting and pagination run on `value` unless `lazy` is on — then `lazyLoad` asks the server for `{ first, rows, sortField, sortOrder, multiSortMeta, filters, globalFilter }` and `totalRecords` is the size of the whole list. A set `totalRecords` without `lazy` also means `value` is already the current page.
18
20
 
19
21
  ## Inputs
@@ -96,7 +98,7 @@ Filtering, sorting and pagination run on `value` unless `lazy` is on — then `l
96
98
  | contextMenu | Own right-click menu (`TxMenuItem[]`); the row is in `contextMenuSelection` |
97
99
  | contextMenuSelection | Row the context menu was opened on. Two-way: `[(contextMenuSelection)]` |
98
100
  | rowContextMenu | Right-click opens the row actions as a menu (on by default) |
99
- | responsive | Rows become cards below `breakpoint` (on by default) |
101
+ | responsive | Rows become cards below `breakpoint` (on by default); group headers and footers, the expand button and the expansion stay in the cards |
100
102
  | breakpoint | Width below which rows are cards, `64rem` by default |
101
103
  | dt | Design tokens (`table`) |
102
104
  | pt | Classes and styles of the parts: `root`, `toolbar`, `frame`, `scroller`, `table`, `thead`, `headerRow`, `headerCell`, `sortButton`, `sortIcon`, `tbody`, `row`, `cell`, `tfoot`, `footerCell`, `loading`, `empty`, `paginator`, `cards`, `card` |
@@ -132,18 +134,31 @@ Filtering, sorting and pagination run on `value` unless `lazy` is on — then `l
132
134
  ## Slots
133
135
  | Name | Description |
134
136
  |---|---|
135
- | txTableCell | `<ng-template txTableCell="field" let-row let-value="value" let-index="index">` — content of the cells of a column |
137
+ | txTableCell | `<ng-template txTableCell="field" [txTableCellOf]="rows" let-row let-value="value" let-index="index">` — content of the cells of a column |
136
138
  | txTableHeaderCell | `<ng-template txTableHeaderCell="field" let-column>` — own header content |
137
139
  | txTableFooterCell | `<ng-template txTableFooterCell="field" let-column>` — footer content of a column |
138
- | txTableActions | `<ng-template txTableActions let-row>` — actions column; put `tx-table-actions` with buttons marked `*txTableAction="{ label }"` inside |
139
- | txTableExpansion | `<ng-template txTableExpansion let-row>` — content of an expanded row; adds the expand column |
140
- | txTableCard | `<ng-template txTableCard let-row let-index="index">` — own card for a row on narrow screens |
140
+ | txTableActions | `<ng-template txTableActions [txTableActionsOf]="rows" let-row>` — actions column; put `tx-table-actions` with buttons marked `*txTableAction="{ label }"` inside; the `…` popover closes once an action in it is clicked |
141
+ | txTableExpansion | `<ng-template txTableExpansion [txTableExpansionOf]="rows" let-row>` — content of an expanded row; adds the expand column, and an expand button to every card in the card view |
142
+ | txTableCard | `<ng-template txTableCard [txTableCardOf]="rows" let-row let-index="index">` — own card for a row on narrow screens |
141
143
  | txTableEmpty | `<ng-template txTableEmpty>` — own content of an empty table |
142
144
  | txTableEditor | `<ng-template txTableEditor="field" let-value="value" let-set="set" let-commit="commit" let-cancel="cancel">` — own editor of a column |
143
145
  | txTableGroupHeader | `<ng-template txTableGroupHeader let-row let-value="value" let-count="count" let-toggle="toggle">` — content of a group header |
144
146
  | txTableGroupFooter | `<ng-template txTableGroupFooter let-value="value" let-count="count" let-rows="rows">` — row after a group, e.g. its total |
145
147
  | txTableToolbar | `<div txTableToolbar>` — content on the left of the toolbar row, next to the settings gear |
146
148
 
149
+ The row templates take the table rows only for typing — `<ng-template txTableCell="name" [txTableCellOf]="deals()" let-deal>` gives `deal` the row type and `node` the type of the rows in strict templates; without it the row stays untyped. In `tx-tree-table` pass the nodes: the row is typed as the node `data`.
150
+
151
+ ## Inputs — row templates
152
+ | Name | Description |
153
+ |---|---|
154
+ | txTableCellOf | `txTableCell`: the rows of the table, only for the type of `let-row` |
155
+ | txTableEditorOf | `txTableEditor`: the rows of the table, only for the type of `let-row` |
156
+ | txTableActionsOf | `txTableActions`: the rows of the table, only for the type of `let-row` |
157
+ | txTableExpansionOf | `txTableExpansion`: the rows of the table, only for the type of `let-row` |
158
+ | txTableCardOf | `txTableCard`: the rows of the table, only for the type of `let-row` |
159
+ | txTableGroupHeaderOf | `txTableGroupHeader`: the rows of the table, only for the type of `let-row` and `rows` |
160
+ | txTableGroupFooterOf | `txTableGroupFooter`: the rows of the table, only for the type of `let-row` and `rows` |
161
+
147
162
  ## Methods
148
163
  | Name | Description |
149
164
  |---|---|
@@ -159,7 +174,7 @@ Filtering, sorting and pagination run on `value` unless `lazy` is on — then `l
159
174
  ## Inputs — *txTableAction
160
175
  | Name | Description |
161
176
  |---|---|
162
- | txTableAction | `{ label, id? }` — the label is used in the settings and the right-click menu; `id` defaults to a slug of the label |
177
+ | txTableAction | `{ label, id? }` — the label is used in the settings and the right-click menu; `id` defaults to a slug of the label. Works inside `@if` and other blocks; an action without a config is left out |
163
178
 
164
179
  ## Keyboard
165
180
  | Key | Action |
@@ -177,3 +192,4 @@ Filtering, sorting and pagination run on `value` unless `lazy` is on — then `l
177
192
  | Enter / F2 | On an editable cell (`editMode="cell"`): starts editing |
178
193
  | Enter / Tab / Shift + Tab | In a cell editor: saves (Tab moves to the next editable cell) |
179
194
  | Escape | In an editor: cancels |
195
+ | Enter / Space | On the expand button of a row, a card or a group: opens or closes it |
package/tabs/README.md CHANGED
@@ -29,8 +29,8 @@ Switch between views, modes or filters. Three looks: `segmented` (equal items in
29
29
  | variant | `segmented`, `pills` or `line` |
30
30
  | size | `small` or `medium` (segmented) |
31
31
  | orientation | `horizontal` or `vertical` (full-width tabs in a column) |
32
- | raised | Card background, ring and shadow — for tabs on the page background |
33
- | scrollable | Previous / next buttons when the tabs do not fit |
32
+ | raised | Card background, ring and shadow on the track — lifts the tabs off the page background next to cards. Without it the `segmented` and `pills` track is a light well with a ring that shows both on the page background and inside a card |
33
+ | scrollable | Previous / next buttons: shown by themselves while the tabs do not fit; `true` keeps them on, `false` turns them off |
34
34
  | showNavigators | Shows the previous / next buttons of a scrollable list |
35
35
  | lazy | Renders only the active panel |
36
36
  | selectOnFocus | The arrow keys pick the tab at once |
@@ -26,11 +26,19 @@ Shows events in order along a line — an order history, a release log, the step
26
26
  | Name | Description |
27
27
  |---|---|
28
28
  | txTimelineContent | `<ng-template txTimelineContent let-event let-index="index">` — content of an event |
29
- | txTimelineOpposite | `<ng-template txTimelineOpposite let-event>` — content on the other side of the line, e.g. the date |
29
+ | txTimelineOpposite | `<ng-template txTimelineOpposite let-event>` — content on the other side of the line, e.g. the date; without it the content takes the whole width (except in `alternate`) |
30
30
  | txTimelineMarker | `<ng-template txTimelineMarker let-event>` — own marker, e.g. an icon in a tinted circle |
31
31
  | txTimelineConnector | `<ng-template txTimelineConnector let-event>` — own line to the next event; the last event has none |
32
32
 
33
- Every template gets the event as `$implicit` plus `index`, `first` and `last`.
33
+ Every template gets the event as `$implicit` plus `index`, `first` and `last`. Give a template the events for typing — `<ng-template txTimelineContent [txTimelineContentOf]="events" let-event>` — and `event` gets their type in strict templates; without it the event stays untyped.
34
+
35
+ ## Inputs — event templates
36
+ | Name | Description |
37
+ |---|---|
38
+ | txTimelineContentOf | `txTimelineContent`: the events, only for the type of `let-event` |
39
+ | txTimelineOppositeOf | `txTimelineOpposite`: the events, only for the type of `let-event` |
40
+ | txTimelineMarkerOf | `txTimelineMarker`: the events, only for the type of `let-event` |
41
+ | txTimelineConnectorOf | `txTimelineConnector`: the events, only for the type of `let-event` |
34
42
 
35
43
  ## Keyboard
36
44
  | Key | Action |
package/tree/README.md CHANGED
@@ -68,6 +68,13 @@ Shows a hierarchy — folders, categories, menus — as a WAI-ARIA tree (`role="
68
68
  | txTreeToggleIcon | `<ng-template txTreeToggleIcon let-expanded>` — own toggler icon (`loading` in the context) |
69
69
  | txTreeCheckboxIcon | `<ng-template txTreeCheckboxIcon let-checked let-partial="partial">` — own checkbox icon |
70
70
 
71
+ The node template takes the tree nodes only for typing — `<ng-template txTreeNode [txTreeNodeOf]="nodes()" let-node>` gives `node.data` the type of the nodes in strict templates; without it `data` stays untyped.
72
+
73
+ ## Inputs — node template
74
+ | Name | Description |
75
+ |---|---|
76
+ | txTreeNodeOf | `txTreeNode`: the nodes of the tree, only for the type of `let-node` |
77
+
71
78
  ## Methods
72
79
  | Name | Description |
73
80
  |---|---|
@@ -7,8 +7,8 @@ Pick from a hierarchy — folders, categories, org units. A select whose panel i
7
7
  |---|---|
8
8
  | options | Nodes: `{ key, label, children?, icon?, selectable?, disabled?, data? }` |
9
9
  | selectionMode | `single`, `multiple` or `checkbox` (a parent checks its branch; partly checked parents show a dash) |
10
- | display | With several values: `comma` or `chip` |
11
- | expandedKeys | Keys of the open nodes; two-way with `[(expandedKeys)]` |
10
+ | display | With several values: `comma` or `chip` (removable chips on one line; the ones that do not fit are counted in a `+N` chip) |
11
+ | expandedKeys | Keys of the open nodes; two-way with `[(expandedKeys)]`. Nodes with `expanded: true` are added on first sight |
12
12
  | filter | Search field in the panel |
13
13
  | filterBy | Fields searched, comma separated (`label` by default, e.g. `label, data.code`) |
14
14
  | filterPlaceholder | Own placeholder of the search field |
@@ -59,7 +59,7 @@ A table whose rows form a tree (`role="treegrid"`) and looks like the table: the
59
59
  ## Slots
60
60
  | Name | Description |
61
61
  |---|---|
62
- | txTableCell | `<ng-template txTableCell="field" let-data let-node="node">` — own cell content; `data` is the node data |
62
+ | txTableCell | `<ng-template txTableCell="field" [txTableCellOf]="nodes()" let-data let-node="node">` — own cell content; `data` is the node data. `txTableCellOf` takes the nodes only for typing: `data` gets the type of the node `data`, `node` the node type |
63
63
  | txTableHeaderCell | `<ng-template txTableHeaderCell="field" let-column>` — own header content |
64
64
  | txTableFooterCell | `<ng-template txTableFooterCell="field">` — own footer content |
65
65
  | txTableEmpty | `<ng-template txTableEmpty>` — own empty state |
@@ -11,7 +11,7 @@ One line of text cut to a number of characters, with the full value in a tooltip
11
11
  | Name | Description |
12
12
  |---|---|
13
13
  | text | The text; a number is shown as text |
14
- | limit | How many characters are shown before the text is cut |
14
+ | limit | How many characters are shown before the text is cut. Whatever the limit, the text never gets wider than its container: a longer line is clipped with an ellipsis |
15
15
  | ellipsis | What follows the cut text (`...` by default) |
16
16
  | href | Makes the text a link to this address |
17
17
  | openLink | Makes the text a link to itself — for a `text` that is a URL; `href` wins when both are set |
@@ -22,7 +22,10 @@ export interface TxAmountFormatOptions {
22
22
  locale: string;
23
23
  /** ISO currency code; without it the plain number is formatted. */
24
24
  currency?: string | null;
25
- /** Digits info like `1.2-2`: minimum integer digits, then minimum and maximum fraction digits. */
25
+ /**
26
+ * Digits info like `1.2-2`: minimum integer digits, then minimum and maximum fraction digits. Without it a currency
27
+ * shows its own minor digits (`$318.60`, `¥318`) and a plain number up to two decimals.
28
+ */
26
29
  format?: string;
27
30
  /** Standard or compact notation (default `standard`). */
28
31
  notation?: TxAmountNotation;
@@ -42,8 +45,8 @@ export declare class TxAmount {
42
45
  readonly amount: import("@angular/core").InputSignal<number | null | undefined>;
43
46
  /** ISO 4217 code (`USD`, `EUR`, `UAH`); an unknown code is shown after the number as is */
44
47
  readonly currency: import("@angular/core").InputSignal<string | null | undefined>;
45
- /** Digits: `minInteger.minFraction-maxFraction` */
46
- readonly format: import("@angular/core").InputSignal<string>;
48
+ /** Digits: `minInteger.minFraction-maxFraction`; by default the currency's own digits, or `1.0-2` without a currency */
49
+ readonly format: import("@angular/core").InputSignal<string | undefined>;
47
50
  /** `standard` or `compact` (`1.2K`, `3.4M`) */
48
51
  readonly notation: import("@angular/core").InputSignal<TxAmountNotation>;
49
52
  /** `narrowSymbol` ($), `symbol` (US$), `code` (USD) or `name` (US dollars) */
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-amount.d.ts","names":[],"sources":["../../../../packages/ui/amount/src/amount.types.ts","../../../../packages/ui/amount/src/amount.component.ts","../../../../packages/ui/amount/src/format-amount.ts"],"mappings":";;;;YACY;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA,WAAW;;EAEX,kBAAkB;;EAElB;;;;;;qBCOW;mBACM;UAET;;WAEC,gCAAM;;WACN,kCAAQ;;WACR,gCAAM;;WACN,kCAAQ,YAAA;;WACR,yCAAe,YAAA;;WACf,kCAAQ;;WACR,mCAAS;;WACT,gCAAM;;WACN,gCAAM;;WACN,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,iCAAO;WAIP,8BAAI,OAAA;WAOJ,kCAAQ,sCAAA;WAcR,mCAAS;;;SA/CP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;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;;;;;;;wBCjCL,gBAAgB,6BAA6B,KAAK,KAAK;;;;wBAgCvD,aAAa,gBAAgB,SAAS,wBAAwB"}
1
+ {"version":3,"file":"tectra-ng-ui-amount.d.ts","names":[],"sources":["../../../../packages/ui/amount/src/amount.types.ts","../../../../packages/ui/amount/src/amount.component.ts","../../../../packages/ui/amount/src/format-amount.ts"],"mappings":";;;;YACY;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA;;;;;EAKA;;EAEA,WAAW;;EAEX,kBAAkB;;EAElB;;;;;;qBCIW;mBACM;UAET;;WAEC,gCAAM;;WACN,kCAAQ;;WACR,gCAAM;;WACN,kCAAQ,YAAA;;WACR,yCAAe,YAAA;;WACf,kCAAQ;;WACR,mCAAS;;WACT,gCAAM;;WACN,gCAAM;;WACN,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,iCAAO;WAIP,8BAAI,OAAA;WAOJ,kCAAQ,sCAAA;WAcR,mCAAS;;;SA/CP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;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;;;;;;;wBChCL,gBAAgB,6BAA6B,KAAK,KAAK;;;;wBAgCvD,aAAa,gBAAgB,SAAS,wBAAwB"}
@@ -15,19 +15,23 @@ export interface TxAnalogClockHands {
15
15
  /** Angle of the second hand in degrees. */
16
16
  secondAngle: number;
17
17
  }
18
+ /** A fixed time for `tx-analog-clock`: a `Date`, milliseconds or an ISO string; empty means the running clock. */
19
+ export type TxAnalogClockTime = Date | number | string | null | undefined;
18
20
  /** Returns the time zone when the browser knows it, otherwise `undefined`. */
19
21
  export declare function validTimeZone(timezone: string | null | undefined): string | undefined;
22
+ /** Turns a `Date`, milliseconds or an ISO string into milliseconds; `null` when it is empty or not a valid time. */
23
+ export declare function clockTime(value: TxAnalogClockTime): number | null;
20
24
  /**
21
25
  * Computes the text time and the hand angles of a moment in the given time zone; the local zone is used when it is empty or unknown.
22
26
  */
23
- export declare function clockHands(now: number | Date, timezone: string | null | undefined): TxAnalogClockHands;
27
+ export declare function clockHands(now: number | Date | string, timezone: string | null | undefined): TxAnalogClockHands;
24
28
  /**
25
29
  * Turns the next hand angle into one that never goes back past the previous angle, so a hand animates through 360 instead of rewinding.
26
30
  */
27
31
  export declare function forwardAngle(previous: number | null, next: number): number;
28
32
  /** Turns a time into the hand angles of an analog clock in an optional time zone, for custom clock faces. */
29
33
  export declare class TxAnalogClockHandsPipe implements PipeTransform {
30
- transform(now: number | Date, timezone?: string | null): TxAnalogClockHands;
34
+ transform(now: number | Date | string, timezone?: string | null): TxAnalogClockHands;
31
35
  static ɵfac: i0.ɵɵFactoryDeclaration<TxAnalogClockHandsPipe, never>;
32
36
  static ɵpipe: i0.ɵɵPipeDeclaration<TxAnalogClockHandsPipe, "txAnalogClockHands", true>;
33
37
  }
@@ -39,8 +43,8 @@ export declare class TxAnalogClock {
39
43
  private readonly analogClockTheme;
40
44
  /** IANA time zone such as `Europe/Kyiv`; empty or unknown is the local time */
41
45
  readonly timezone: import("@angular/core").InputSignal<string | null | undefined>;
42
- /** A fixed time (`Date` or ms) instead of the running clock */
43
- readonly time: import("@angular/core").InputSignal<number | Date | null | undefined>;
46
+ /** A fixed time (`Date`, ms or an ISO string) instead of the running clock; an invalid string shows the running clock */
47
+ readonly time: import("@angular/core").InputSignal<TxAnalogClockTime>;
44
48
  /** Adds a second hand; the clock then updates every second instead of every minute */
45
49
  readonly showSeconds: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
46
50
  /** Text before the time in the accessible name, e.g. the city */
@@ -61,6 +65,7 @@ export declare class TxAnalogClock {
61
65
  protected readonly ticks: number[];
62
66
  private readonly now;
63
67
  private timer;
68
+ private readonly fixedTime;
64
69
  readonly hands: import("@angular/core").Signal<import("@tectra-ng/ui/analog-clock").TxAnalogClockHands>;
65
70
  readonly label: import("@angular/core").Signal<string>;
66
71
  readonly hourAngle: import("@angular/core").WritableSignal<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-analog-clock.d.ts","names":[],"sources":["../../../../packages/ui/analog-clock/src/analog-clock.types.ts","../../../../packages/ui/analog-clock/src/analog-clock.utils.ts","../../../../packages/ui/analog-clock/src/analog-clock-hands.pipe.ts","../../../../packages/ui/analog-clock/src/analog-clock.component.ts"],"mappings":";;;;;YACY;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;;wBCTc,cAAc;;;;wBAad,WAAW,cAAc,MAAM,sCAAsC;;;;wBAoBrE,aAAa,yBAAyB;;qBC9BzC,kCAAkC;EAC7C,UAAU,cAAc,MAAM,2BAAiC;SADpD,MAAA,GAAA,qBAAA;SAAA,OAAA,GAAA,kBAAA;;;;;;qBCmDA;mBACM;;WAER,kCAAQ;;WACR,8BAAI,qBAAA;;WACJ,qCAAW;;WACX,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,mCAAS;;;qBAEC;mBACF;UACT;WAEC,+BAAK,4CAAA;WACL,+BAAK;WACL,mCAAS;WACT,qCAAW;WACX,qCAAW;mBAEH;mBAUA;SApCN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;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-analog-clock.d.ts","names":[],"sources":["../../../../packages/ui/analog-clock/src/analog-clock.types.ts","../../../../packages/ui/analog-clock/src/analog-clock.utils.ts","../../../../packages/ui/analog-clock/src/analog-clock-hands.pipe.ts","../../../../packages/ui/analog-clock/src/analog-clock.component.ts"],"mappings":";;;;;YACY;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;;YAIU,oBAAoB;;wBCbhB,cAAc;;wBAWd,UAAU,OAAO;;;;wBASjB,WAAW,cAAc,eAAe,sCAAsC;;;;wBAoB9E,aAAa,yBAAyB;;qBCrCzC,kCAAkC;EAC7C,UAAU,cAAc,eAAe,2BAAiC;SAD7D,MAAA,GAAA,qBAAA;SAAA,OAAA,GAAA,kBAAA;;;;;;qBCmDA;mBACM;;WAER,kCAAQ;;WACR,8BAAI,YAAA;;WACJ,qCAAW;;WACX,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,mCAAS;;;qBAEC;mBACF;UACT;mBAES;WACR,+BAAK,4CAAA;WACL,+BAAK;WACL,mCAAS;WACT,qCAAW;WACX,qCAAW;mBAEH;mBAUA;SArCN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;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"}
@@ -31,7 +31,7 @@ export declare class TxAutocomplete extends TxSelectBase<unknown> {
31
31
  private readonly autocompleteTheme;
32
32
  /** Items to suggest — objects, or plain strings / numbers */
33
33
  readonly suggestions: import("@angular/core").InputSignal<readonly unknown[]>;
34
- /** Several values shown as chips; the value is an array */
34
+ /** Several values shown as chips; the value is an array. Without focus the chips stay on one line and the ones that do not fit are counted in a `+N` chip; with focus they wrap so every value shows */
35
35
  readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
36
36
  /** Button that shows suggestions without typing */
37
37
  readonly dropdown: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -77,6 +77,7 @@ export declare class TxAutocomplete extends TxSelectBase<unknown> {
77
77
  readonly selectedValues: import("@angular/core").Signal<unknown[]>;
78
78
  readonly selectedItems: import("@angular/core").Signal<TxSelectItem[]>;
79
79
  readonly hasValue: import("@angular/core").Signal<boolean>;
80
+ protected readonly focused: import("@angular/core").WritableSignal<boolean>;
80
81
  readonly showPanel: import("@angular/core").Signal<boolean>;
81
82
  readonly tokenStyle: import("@angular/core").Signal<Record<string, string>>;
82
83
  readonly hostStyle: import("@angular/core").Signal<{
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-autocomplete.d.ts","names":[],"sources":["../../../../packages/ui/autocomplete/src/autocomplete.types.ts","../../../../packages/ui/autocomplete/src/autocomplete.component.ts"],"mappings":";;;;;;YAGY;;;;YAKA,qBAAqB;;iBAGhB;;EAEf;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;;qBCyBW,uBAAuB;mBACjB;;WAER,qCAAW;;WACX,kCAAQ;;WACR,kCAAQ;;WACR,sCAAY,YAAA;;WACZ,sCAAY,YAAA;;WACZ,wCAAc;;WACd,qCAAW;;WACX,+BAAK;;WACL,mCAAS;;WACT,yCAAe;;WACf,yCAAe;;WACf,0CAAgB;;WAChB,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS,iBAAA;;WACT,iCAAO,iBAAA;WAEP,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,gCAAM;qBACG,oCAAU;mBACrB;UACT;mBACS;WAER,wCAAc;WAOd,uCAAa,OAAA;WAiBb,kCAAQ;WACR,mCAAS;WACT,oCAAU,OAAA;WACV,mCAAS;;;WACT,oCAAU;;;gBAEI;EAId,WAAW;EAOX;EAST,QAAQ,OAAO;EAuBf;EAMA,OAAO,OAAO;EAQd,gBAAgB,OAAO;EAUd,WAAW,OAAO;EAMlB;EAKT,WAAW,MAAM,cAAc,OAAO;YAU5B,WAAW;YAIX,SAAS,MAAM;YAmBf;YAOA;YAIA,eAAe,OAAO;YAsBtB;UAIF;UAiBA;UAOA;UAuBA;UAIA;SArQG,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;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-autocomplete.d.ts","names":[],"sources":["../../../../packages/ui/autocomplete/src/autocomplete.types.ts","../../../../packages/ui/autocomplete/src/autocomplete.component.ts"],"mappings":";;;;;;YAGY;;;;YAKA,qBAAqB;;iBAGhB;;EAEf;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;;qBCyBW,uBAAuB;mBACjB;;WAER,qCAAW;;WACX,kCAAQ;;WACR,kCAAQ;;WACR,sCAAY,YAAA;;WACZ,sCAAY,YAAA;;WACZ,wCAAc;;WACd,qCAAW;;WACX,+BAAK;;WACL,mCAAS;;WACT,yCAAe;;WACf,yCAAe;;WACf,0CAAgB;;WAChB,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS,iBAAA;;WACT,iCAAO,iBAAA;WAEP,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,gCAAM;qBACG,oCAAU;mBACrB;UACT;mBACS;WAER,wCAAc;WAOd,uCAAa,OAAA;WAiBb,kCAAQ;qBACE,iCAAO;WACjB,mCAAS;WACT,oCAAU,OAAA;WACV,mCAAS;;;WACT,oCAAU;;;gBAEI;EAId,WAAW;EAOX;EAST,QAAQ,OAAO;EAuBf;EAOA,OAAO,OAAO;EASd,gBAAgB,OAAO;EAUd,WAAW,OAAO;EAMlB;EAKT,WAAW,MAAM,cAAc,OAAO;YAU5B,WAAW;YAIX,SAAS,MAAM;YAmBf;YAOA;YAIA,eAAe,OAAO;YAsBtB;UAIF;UAiBA;UAOA;UAuBA;UAIA;SAxQG,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;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
@@ -11,6 +11,8 @@ export type TxAvatarSize = 'small' | 'medium' | 'large' | 'xlarge';
11
11
  export type TxAvatarShape = 'circle' | 'square';
12
12
  /** Background colour of an avatar with initials. */
13
13
  export type TxAvatarTone = 'blue' | 'green' | 'sky' | 'orange' | 'purple' | 'red';
14
+ /** Name hint of an avatar: `true` the kit tooltip, `false` the native title, `none` no hint at all. */
15
+ export type TxAvatarTooltip = boolean | 'none';
14
16
  /** Names of the parts of `tx-avatar` that `pt` can style. */
15
17
  export type TxAvatarPart = 'root' | 'image' | 'label' | 'icon';
16
18
  /** Names of the parts of `tx-avatar-group` that `pt` can style. */
@@ -63,8 +65,8 @@ export declare class TxAvatar {
63
65
  readonly tone: import("@angular/core").InputSignal<TxAvatarTone | undefined>;
64
66
  /** Accessible name instead of `name`; without both the avatar is decorative */
65
67
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
66
- /** Shows `name` (or `ariaLabel`) in a tooltip instead of the native title; inherits `tooltips` of the group, off on its own */
67
- readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
68
+ /** Shows `name` (or `ariaLabel`) in a tooltip instead of the native title; `none` shows no hint at all (neither tooltip nor title); inherits `tooltips` of the group, off on its own */
69
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<TxAvatarTooltip | undefined, unknown>;
68
70
  /** Design tokens of this instance (`avatar`) */
69
71
  readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraAvatarTokens> | undefined>;
70
72
  /** Classes and styles of the parts: `root`, `image`, `label`, `icon`; group: `root`, `more`, `add`, `list`, `item`, `name` */
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-avatar.d.ts","names":[],"sources":["../../../../packages/ui/avatar/src/avatar.types.ts","../../../../packages/ui/avatar/src/avatar-group.token.ts","../../../../packages/ui/avatar/src/avatar.component.ts","../../../../packages/ui/avatar/src/avatar-group.component.ts","../../../../packages/ui/avatar/src/avatar-editor.component.ts"],"mappings":";;;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;iBAGK;;WAEN,MAAM;;WAEN,QAAQ;;;iBChBF;;WAEN,MAAM,OAAO;;WAEb,OAAO,OAAO;;WAEd,UAAU;;EAEnB,SAAS;;;qBAIE,iBAAe,eAAA;;;;;qBCmCf;mBACM;UAET;UACA;;WAEC,+BAAK;;WACL,8BAAI;;WACJ,+BAAK;;WACL,8BAAI,YAAA;;WACJ,8BAAI,qBAAA;;WACJ,+BAAK,YAAA;;WACL,8BAAI,YAAA;;WACJ,mCAAS;;WACT,iCAAO;;WACP,4BAAE,YAAA,kBAAA;;W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;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;IAAA;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-avatar.d.ts","names":[],"sources":["../../../../packages/ui/avatar/src/avatar.types.ts","../../../../packages/ui/avatar/src/avatar-group.token.ts","../../../../packages/ui/avatar/src/avatar.component.ts","../../../../packages/ui/avatar/src/avatar-group.component.ts","../../../../packages/ui/avatar/src/avatar-editor.component.ts"],"mappings":";;;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;iBAGK;;WAEN,MAAM;;WAEN,QAAQ;;;iBClBF;;WAEN,MAAM,OAAO;;WAEb,OAAO,OAAO;;WAEd,UAAU;;EAEnB,SAAS;;;qBAIE,iBAAe,eAAA;;;;;qBCmCf;mBACM;UAET;UACA;;WAEC,+BAAK;;WACL,8BAAI;;WACJ,+BAAK;;WACL,8BAAI,YAAA;;WACJ,8BAAI,qBAAA;;WACJ,+BAAK,YAAA;;WACL,8BAAI,YAAA;;WACJ,mCAAS;;WACT,iCAAO,yBAAA;;WACP,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,oCAAU,iBAAA;WAEV,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,gCAAM;WACN,mCAAS;WACT,kCAAQ;WACR,sCAAY,gBAAA;WACZ,oCAAU,gBAAA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MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA"}
@@ -3,7 +3,7 @@ import { TemplateRef } from "@angular/core";
3
3
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
4
4
  import { TectraBreadcrumbTokens, TectraDeepPartial } from "@tectra-ng/themes";
5
5
  /** Names of the parts of `tx-breadcrumb` that `pt` can style. */
6
- export type TxBreadcrumbPart = 'root' | 'list' | 'item' | 'link' | 'icon' | 'label' | 'separator';
6
+ export type TxBreadcrumbPart = 'root' | 'list' | 'item' | 'link' | 'text' | 'icon' | 'label' | 'separator';
7
7
  /** Mark between items: `chevron` or `slash`. */
8
8
  export type TxBreadcrumbSeparator = 'chevron' | 'slash';
9
9
  /** Router link target: a path string or a list of commands. */
@@ -71,7 +71,7 @@ export declare class TxBreadcrumbSeparatorTemplate {
71
71
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxBreadcrumbSeparatorTemplate, "ng-template[txBreadcrumbSeparator]", never, {}, {}, never, never, true, never>;
72
72
  }
73
73
  /** How an item is rendered: the current page, a router link, a plain link, a command button or plain text. */
74
- type TxBreadcrumbKind = 'current' | 'router' | 'url' | 'command' | 'text';
74
+ type TxBreadcrumbKind = 'current' | 'disabled' | 'router' | 'url' | 'command' | 'text';
75
75
  /** An item prepared for rendering, with its kind and resolved icon. */
76
76
  interface TxBreadcrumbEntry {
77
77
  /** The source item. */
@@ -103,7 +103,7 @@ export declare class TxBreadcrumb {
103
103
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
104
104
  /** Design tokens of this instance (`breadcrumb`) */
105
105
  readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraBreadcrumbTokens> | undefined>;
106
- /** Classes and styles of the parts: `root`, `list`, `item`, `link`, `icon`, `label`, `separator` */
106
+ /** Classes and styles of the parts: `root`, `list`, `item`, `link` (links, commands, the current page and disabled items), `text` (an item without a link or command), `icon`, `label`, `separator` */
107
107
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxBreadcrumbPart, import("@tectra-ng/core/config").TxPassThroughValue<TxBreadcrumb>>> | undefined>;
108
108
  /** How `pt` merges with the global pass-through */
109
109
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
@@ -1,10 +1,63 @@
1
+ import { TxPassThroughOptions } from "@tectra-ng/core/config";
2
+ import { TectraButtonGroupTokens, TectraDeepPartial } from "@tectra-ng/themes";
1
3
  import * as i0 from "@angular/core";
2
- /**
3
- * Joins buttons into one segmented control: shared borders, outer corners only. Put `txButton` buttons inside.
4
- * @see https://tectra-ng.com/components/button-group
5
- */
4
+ /** Parts of `tx-button-group` that `pt` can style. */
5
+ export type TxButtonGroupPart = 'root';
6
+ /** Direction the buttons of a group line up: `horizontal` or `vertical`. */
7
+ export type TxButtonGroupOrientation = 'horizontal' | 'vertical';
8
+ /** Joins `txButton` buttons into one block: shared borders, outer corners only, a divider between solid buttons. */
6
9
  export declare class TxButtonGroup {
10
+ private readonly buttonGroupTheme;
11
+ /** `horizontal` (default) puts the buttons in a row, `vertical` stacks them in a column with the divider between rows */
12
+ readonly orientation: import("@angular/core").InputSignal<TxButtonGroupOrientation>;
13
+ /** The group takes the full width of its container and the buttons share it equally; without the input it follows a parent `<tx-fluid>` */
14
+ readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
15
+ /** Design tokens of this one group, e.g. `{ root: { dividerColor: 'var(--tx-surface-0)', dividerWidth: '2px' } }` */
16
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraButtonGroupTokens> | undefined>;
17
+ /** Extra `class` / `style` for the `root` part — an object or a function `({ instance }) => ({ class, style })` */
18
+ readonly pt: import("@angular/core").InputSignal<Partial<Record<"root", import("@tectra-ng/core/config").TxPassThroughValue<TxButtonGroup>>> | undefined>;
19
+ /** How this `pt` meets the global one from `provideTectra({ pt })`: `mergeSections` (default `true`), `mergeProps` (default `false`) */
20
+ readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
21
+ /** Drops the joined borders, square inner corners and the divider; the classes `tx-button-group`, `tx-button-group--vertical` and `tx-button-group--fluid` stay for your own CSS; default from `provideTectra({ unstyled })` */
22
+ readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
23
+ readonly isFluid: import("@angular/core").Signal<boolean>;
24
+ readonly isUnstyled: import("@angular/core").Signal<boolean>;
25
+ readonly passThrough: import("@angular/core").Signal<Partial<Record<"root", import("@tectra-ng/core/config").TxPassThroughPart>>>;
26
+ readonly hostStyle: import("@angular/core").Signal<{
27
+ [x: string]: string;
28
+ }>;
7
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TxButtonGroup, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TxButtonGroup, "tx-button-group", never, {}, {}, never, ["*"], true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TxButtonGroup, "tx-button-group", never, {
31
+ "orientation": {
32
+ "alias": "orientation";
33
+ "required": false;
34
+ "isSignal": true;
35
+ };
36
+ "fluid": {
37
+ "alias": "fluid";
38
+ "required": false;
39
+ "isSignal": true;
40
+ };
41
+ "dt": {
42
+ "alias": "dt";
43
+ "required": false;
44
+ "isSignal": true;
45
+ };
46
+ "pt": {
47
+ "alias": "pt";
48
+ "required": false;
49
+ "isSignal": true;
50
+ };
51
+ "ptOptions": {
52
+ "alias": "ptOptions";
53
+ "required": false;
54
+ "isSignal": true;
55
+ };
56
+ "unstyled": {
57
+ "alias": "unstyled";
58
+ "required": false;
59
+ "isSignal": true;
60
+ };
61
+ }, {}, never, ["*"], true, never>;
9
62
  }
10
63
  //# sourceMappingURL=tectra-ng-ui-button-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-button-group.d.ts","names":[],"sources":["../../../../packages/ui/button-group/src/button-group.component.ts"],"mappings":";;;;;qBASa;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-button-group.d.ts","names":[],"sources":["../../../../packages/ui/button-group/src/button-group.types.ts","../../../../packages/ui/button-group/src/button-group.component.ts"],"mappings":";;;;YACY;;YAGA;;qBC2BC;mBACM;;WAER,qCAAW,YAAA;;WACX,+BAAK;;WACL,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAIR,iCAAO;WACP,oCAAU;WACV,qCAAW,OAAA,QAAA,gDAAA;WACX,mCAAS;;;SAfP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;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 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-card.d.ts","names":[],"sources":["../../../../packages/ui/card/src/card.types.ts","../../../../packages/ui/card/src/card.component.ts"],"mappings":";;;;YACY;;;;;qBCkCC;mBACM;;WAER,+BAAK;;WACL,kCAAQ;;WACR,sCAAY;;WACZ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,6CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,6CAAA;WACX,mCAAS;;;SAbP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAM;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-card.d.ts","names":[],"sources":["../../../../packages/ui/card/src/card.types.ts","../../../../packages/ui/card/src/card.component.ts"],"mappings":";;;;YACY;;;;;qBCmCC;mBACM;;WAER,+BAAK;;WACL,kCAAQ;;WACR,sCAAY;;WACZ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,6CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,6CAAA;WACX,mCAAS;;;SAbP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAM;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"}
@@ -37,10 +37,19 @@ export interface TxCarouselIndicatorContext {
37
37
  * `<ng-template txCarouselItem let-item let-index="index" let-active="active">` — one item; `active` is true while it is visible
38
38
  * @see https://tectra-ng.com/components/carousel
39
39
  */
40
- export declare class TxCarouselItemTemplate {
41
- readonly template: TemplateRef<TxCarouselItemContext<unknown>>;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<TxCarouselItemTemplate, never>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<TxCarouselItemTemplate, "ng-template[txCarouselItem]", never, {}, {}, never, never, true, never>;
40
+ export declare class TxCarouselItemTemplate<T> {
41
+ readonly template: TemplateRef<TxCarouselItemContext<T>>;
42
+ /** the items, only for the type of `let-item` */
43
+ readonly txCarouselItemOf: import("@angular/core").InputSignal<readonly T[] | null | undefined>;
44
+ static ngTemplateContextGuard<T>(_directive: TxCarouselItemTemplate<T>, context: unknown): context is TxCarouselItemContext<T>;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxCarouselItemTemplate<any>, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TxCarouselItemTemplate<any>, "ng-template[txCarouselItem]", never, {
47
+ "txCarouselItemOf": {
48
+ "alias": "txCarouselItemOf";
49
+ "required": false;
50
+ "isSignal": true;
51
+ };
52
+ }, {}, never, never, true, never>;
44
53
  }
45
54
  /**
46
55
  * `<ng-template txCarouselIndicator let-page let-active="active">` — content of a page indicator
@@ -129,7 +138,7 @@ export declare class TxCarousel {
129
138
  readonly hostStyle: import("@angular/core").Signal<{
130
139
  [x: string]: string;
131
140
  }>;
132
- protected readonly itemTemplate: import("@angular/core").Signal<TxCarouselItemTemplate | undefined>;
141
+ protected readonly itemTemplate: import("@angular/core").Signal<TxCarouselItemTemplate<any> | undefined>;
133
142
  protected readonly indicatorTemplate: import("@angular/core").Signal<TxCarouselIndicatorTemplate | undefined>;
134
143
  protected readonly header: import("@angular/core").Signal<TxCarouselHeader | undefined>;
135
144
  protected readonly footer: import("@angular/core").Signal<TxCarouselFooter | undefined>;