@tectra-ng/ui 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/data-view/README.md +9 -1
  2. package/dialog/README.md +3 -0
  3. package/fesm2022/tectra-ng-ui-accordion.mjs.map +1 -1
  4. package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
  5. package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
  6. package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
  7. package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
  8. package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
  9. package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  11. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-ui-confirm.mjs.map +1 -1
  13. package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
  15. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  17. package/fesm2022/tectra-ng-ui-dialog.mjs +51 -0
  18. package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
  19. package/fesm2022/tectra-ng-ui-email-suggestion.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-ui-export-font.mjs.map +1 -1
  21. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
  23. package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
  24. package/fesm2022/tectra-ng-ui-highlight-text.mjs.map +1 -1
  25. package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
  27. package/fesm2022/tectra-ng-ui-input-mask.mjs.map +1 -1
  28. package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
  29. package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -1
  30. package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
  31. package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
  32. package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
  33. package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
  34. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  35. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  36. package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -1
  37. package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
  38. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
  39. package/fesm2022/tectra-ng-ui-sparkline.mjs.map +1 -1
  40. package/fesm2022/tectra-ng-ui-splitter.mjs.map +1 -1
  41. package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
  42. package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
  43. package/fesm2022/tectra-ng-ui-table.mjs +2 -2
  44. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  45. package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
  46. package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
  47. package/fesm2022/tectra-ng-ui-toolbar.mjs.map +1 -1
  48. package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
  49. package/fesm2022/tectra-ng-ui-tree-select.mjs +20 -3
  50. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  51. package/fesm2022/tectra-ng-ui-tree-table.mjs +2 -2
  52. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  53. package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
  54. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
  55. package/fesm2022/tectra-ng-ui.mjs +1 -1
  56. package/fesm2022/tectra-ng-ui.mjs.map +1 -1
  57. package/package.json +9 -9
  58. package/table/README.md +1 -0
  59. package/tree-select/README.md +1 -0
  60. package/types/tectra-ng-ui-accordion.d.ts +96 -65
  61. package/types/tectra-ng-ui-accordion.d.ts.map +1 -1
  62. package/types/tectra-ng-ui-amount.d.ts +40 -17
  63. package/types/tectra-ng-ui-amount.d.ts.map +1 -1
  64. package/types/tectra-ng-ui-analog-clock.d.ts +28 -41
  65. package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
  66. package/types/tectra-ng-ui-autocomplete.d.ts +35 -96
  67. package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
  68. package/types/tectra-ng-ui-avatar.d.ts +84 -259
  69. package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
  70. package/types/tectra-ng-ui-badge.d.ts +18 -61
  71. package/types/tectra-ng-ui-badge.d.ts.map +1 -1
  72. package/types/tectra-ng-ui-breadcrumb.d.ts +53 -36
  73. package/types/tectra-ng-ui-breadcrumb.d.ts.map +1 -1
  74. package/types/tectra-ng-ui-button-group.d.ts +4 -0
  75. package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
  76. package/types/tectra-ng-ui-button.d.ts +45 -266
  77. package/types/tectra-ng-ui-button.d.ts.map +1 -1
  78. package/types/tectra-ng-ui-card.d.ts +14 -16
  79. package/types/tectra-ng-ui-card.d.ts.map +1 -1
  80. package/types/tectra-ng-ui-carousel.d.ts +55 -27
  81. package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
  82. package/types/tectra-ng-ui-cascade-select.d.ts +48 -8
  83. package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -1
  84. package/types/tectra-ng-ui-checkbox.d.ts +79 -119
  85. package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
  86. package/types/tectra-ng-ui-chip.d.ts +19 -22
  87. package/types/tectra-ng-ui-chip.d.ts.map +1 -1
  88. package/types/tectra-ng-ui-chips-input.d.ts +41 -11
  89. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  90. package/types/tectra-ng-ui-color-picker.d.ts +51 -47
  91. package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
  92. package/types/tectra-ng-ui-confirm.d.ts +45 -0
  93. package/types/tectra-ng-ui-confirm.d.ts.map +1 -1
  94. package/types/tectra-ng-ui-countdown.d.ts +42 -10
  95. package/types/tectra-ng-ui-countdown.d.ts.map +1 -1
  96. package/types/tectra-ng-ui-country-select.d.ts +41 -96
  97. package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
  98. package/types/tectra-ng-ui-country.d.ts +40 -17
  99. package/types/tectra-ng-ui-country.d.ts.map +1 -1
  100. package/types/tectra-ng-ui-data-view.d.ts +92 -34
  101. package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
  102. package/types/tectra-ng-ui-datepicker.d.ts +186 -147
  103. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
  104. package/types/tectra-ng-ui-dialog.d.ts +149 -67
  105. package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
  106. package/types/tectra-ng-ui-divider.d.ts +17 -12
  107. package/types/tectra-ng-ui-divider.d.ts.map +1 -1
  108. package/types/tectra-ng-ui-drawer.d.ts +31 -67
  109. package/types/tectra-ng-ui-drawer.d.ts.map +1 -1
  110. package/types/tectra-ng-ui-email-suggestion.d.ts +25 -8
  111. package/types/tectra-ng-ui-email-suggestion.d.ts.map +1 -1
  112. package/types/tectra-ng-ui-export-font.d.ts +1 -0
  113. package/types/tectra-ng-ui-export-font.d.ts.map +1 -1
  114. package/types/tectra-ng-ui-export.d.ts +238 -0
  115. package/types/tectra-ng-ui-export.d.ts.map +1 -1
  116. package/types/tectra-ng-ui-field.d.ts +24 -11
  117. package/types/tectra-ng-ui-field.d.ts.map +1 -1
  118. package/types/tectra-ng-ui-fieldset.d.ts +14 -23
  119. package/types/tectra-ng-ui-fieldset.d.ts.map +1 -1
  120. package/types/tectra-ng-ui-file-upload.d.ts +127 -115
  121. package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
  122. package/types/tectra-ng-ui-galleria.d.ts +84 -84
  123. package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
  124. package/types/tectra-ng-ui-highlight-text.d.ts +24 -10
  125. package/types/tectra-ng-ui-highlight-text.d.ts.map +1 -1
  126. package/types/tectra-ng-ui-icon-field.d.ts +20 -0
  127. package/types/tectra-ng-ui-icon-field.d.ts.map +1 -1
  128. package/types/tectra-ng-ui-image.d.ts +60 -36
  129. package/types/tectra-ng-ui-image.d.ts.map +1 -1
  130. package/types/tectra-ng-ui-input-group.d.ts +9 -0
  131. package/types/tectra-ng-ui-input-group.d.ts.map +1 -1
  132. package/types/tectra-ng-ui-input-mask.d.ts +39 -0
  133. package/types/tectra-ng-ui-input-mask.d.ts.map +1 -1
  134. package/types/tectra-ng-ui-input-number.d.ts +73 -15
  135. package/types/tectra-ng-ui-input-number.d.ts.map +1 -1
  136. package/types/tectra-ng-ui-input-otp.d.ts +28 -21
  137. package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
  138. package/types/tectra-ng-ui-input.d.ts +17 -50
  139. package/types/tectra-ng-ui-input.d.ts.map +1 -1
  140. package/types/tectra-ng-ui-key-filter.d.ts +14 -0
  141. package/types/tectra-ng-ui-key-filter.d.ts.map +1 -1
  142. package/types/tectra-ng-ui-knob.d.ts +38 -18
  143. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  144. package/types/tectra-ng-ui-label.d.ts +19 -0
  145. package/types/tectra-ng-ui-label.d.ts.map +1 -1
  146. package/types/tectra-ng-ui-link.d.ts +39 -34
  147. package/types/tectra-ng-ui-link.d.ts.map +1 -1
  148. package/types/tectra-ng-ui-list-input.d.ts +54 -45
  149. package/types/tectra-ng-ui-list-input.d.ts.map +1 -1
  150. package/types/tectra-ng-ui-listbox.d.ts +24 -14
  151. package/types/tectra-ng-ui-listbox.d.ts.map +1 -1
  152. package/types/tectra-ng-ui-mention-textarea.d.ts +36 -9
  153. package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -1
  154. package/types/tectra-ng-ui-menu.d.ts +92 -166
  155. package/types/tectra-ng-ui-menu.d.ts.map +1 -1
  156. package/types/tectra-ng-ui-menubar.d.ts +29 -58
  157. package/types/tectra-ng-ui-menubar.d.ts.map +1 -1
  158. package/types/tectra-ng-ui-message.d.ts +61 -126
  159. package/types/tectra-ng-ui-message.d.ts.map +1 -1
  160. package/types/tectra-ng-ui-month-calendar.d.ts +98 -87
  161. package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -1
  162. package/types/tectra-ng-ui-multiselect.d.ts +26 -96
  163. package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
  164. package/types/tectra-ng-ui-overlay-badge.d.ts +20 -9
  165. package/types/tectra-ng-ui-overlay-badge.d.ts.map +1 -1
  166. package/types/tectra-ng-ui-paginator.d.ts +69 -47
  167. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  168. package/types/tectra-ng-ui-panel-menu.d.ts +52 -105
  169. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  170. package/types/tectra-ng-ui-panel.d.ts +22 -30
  171. package/types/tectra-ng-ui-panel.d.ts.map +1 -1
  172. package/types/tectra-ng-ui-password-generator.d.ts +27 -0
  173. package/types/tectra-ng-ui-password-generator.d.ts.map +1 -1
  174. package/types/tectra-ng-ui-password.d.ts +55 -26
  175. package/types/tectra-ng-ui-password.d.ts.map +1 -1
  176. package/types/tectra-ng-ui-pill.d.ts +23 -70
  177. package/types/tectra-ng-ui-pill.d.ts.map +1 -1
  178. package/types/tectra-ng-ui-popover.d.ts +58 -46
  179. package/types/tectra-ng-ui-popover.d.ts.map +1 -1
  180. package/types/tectra-ng-ui-progress-bar.d.ts +32 -28
  181. package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
  182. package/types/tectra-ng-ui-progress-spinner.d.ts +18 -16
  183. package/types/tectra-ng-ui-progress-spinner.d.ts.map +1 -1
  184. package/types/tectra-ng-ui-radio-button.d.ts +64 -115
  185. package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
  186. package/types/tectra-ng-ui-rating.d.ts +40 -29
  187. package/types/tectra-ng-ui-rating.d.ts.map +1 -1
  188. package/types/tectra-ng-ui-scroll-panel.d.ts +22 -17
  189. package/types/tectra-ng-ui-scroll-panel.d.ts.map +1 -1
  190. package/types/tectra-ng-ui-select.d.ts +169 -100
  191. package/types/tectra-ng-ui-select.d.ts.map +1 -1
  192. package/types/tectra-ng-ui-skeleton.d.ts +34 -37
  193. package/types/tectra-ng-ui-skeleton.d.ts.map +1 -1
  194. package/types/tectra-ng-ui-slider.d.ts +37 -33
  195. package/types/tectra-ng-ui-slider.d.ts.map +1 -1
  196. package/types/tectra-ng-ui-sparkline.d.ts +22 -15
  197. package/types/tectra-ng-ui-sparkline.d.ts.map +1 -1
  198. package/types/tectra-ng-ui-speed-dial.d.ts +34 -11
  199. package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
  200. package/types/tectra-ng-ui-split-button.d.ts +28 -7
  201. package/types/tectra-ng-ui-split-button.d.ts.map +1 -1
  202. package/types/tectra-ng-ui-splitter.d.ts +47 -23
  203. package/types/tectra-ng-ui-splitter.d.ts.map +1 -1
  204. package/types/tectra-ng-ui-stat-tiles.d.ts +39 -91
  205. package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
  206. package/types/tectra-ng-ui-status-icon.d.ts +19 -23
  207. package/types/tectra-ng-ui-status-icon.d.ts.map +1 -1
  208. package/types/tectra-ng-ui-stepper.d.ts +106 -133
  209. package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
  210. package/types/tectra-ng-ui-table.d.ts +415 -183
  211. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  212. package/types/tectra-ng-ui-tabs.d.ts +91 -133
  213. package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
  214. package/types/tectra-ng-ui-tag.d.ts +46 -135
  215. package/types/tectra-ng-ui-tag.d.ts.map +1 -1
  216. package/types/tectra-ng-ui-textarea.d.ts +25 -31
  217. package/types/tectra-ng-ui-textarea.d.ts.map +1 -1
  218. package/types/tectra-ng-ui-timeline.d.ts +39 -27
  219. package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
  220. package/types/tectra-ng-ui-toast.d.ts +84 -78
  221. package/types/tectra-ng-ui-toast.d.ts.map +1 -1
  222. package/types/tectra-ng-ui-toggle-button.d.ts +29 -55
  223. package/types/tectra-ng-ui-toggle-button.d.ts.map +1 -1
  224. package/types/tectra-ng-ui-toggle-switch.d.ts +41 -55
  225. package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
  226. package/types/tectra-ng-ui-toolbar.d.ts +15 -14
  227. package/types/tectra-ng-ui-toolbar.d.ts.map +1 -1
  228. package/types/tectra-ng-ui-tooltip.d.ts +72 -22
  229. package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
  230. package/types/tectra-ng-ui-tree-select.d.ts +65 -104
  231. package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
  232. package/types/tectra-ng-ui-tree-table.d.ts +30 -0
  233. package/types/tectra-ng-ui-tree-table.d.ts.map +1 -1
  234. package/types/tectra-ng-ui-tree.d.ts +197 -69
  235. package/types/tectra-ng-ui-tree.d.ts.map +1 -1
  236. package/types/tectra-ng-ui-truncate-text.d.ts +21 -14
  237. package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -1
  238. package/types/tectra-ng-ui-virtual-scroller.d.ts +97 -13
  239. package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
  240. package/types/tectra-ng-ui.d.ts +2 -1
  241. package/types/tectra-ng-ui.d.ts.map +1 -1
@@ -1,98 +1,115 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { TemplateRef } from "@angular/core";
3
3
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
4
- import { TectraDeepPartial } from "@tectra-ng/themes";
4
+ import { TectraBreadcrumbTokens, TectraDeepPartial } from "@tectra-ng/themes";
5
+ /** Names of the parts of `tx-breadcrumb` that `pt` can style. */
5
6
  export type TxBreadcrumbPart = 'root' | 'list' | 'item' | 'link' | 'icon' | 'label' | 'separator';
7
+ /** Mark between items: `chevron` or `slash`. */
6
8
  export type TxBreadcrumbSeparator = 'chevron' | 'slash';
9
+ /** Router link target: a path string or a list of commands. */
7
10
  export type TxBreadcrumbCommands = string | readonly unknown[];
11
+ /** Payload of a click on an item and of its `command`. */
8
12
  export interface TxBreadcrumbItemEvent {
13
+ /** The DOM event of the click. */
9
14
  originalEvent: Event;
15
+ /** The clicked item. */
10
16
  item: TxBreadcrumbItem;
11
17
  }
18
+ /** One step of the path: a label or icon and where it leads. */
12
19
  export interface TxBreadcrumbItem {
20
+ /** Text of the item. */
13
21
  label?: string;
22
+ /** Icon name, or a CSS class, shown before the label. */
14
23
  icon?: string;
24
+ /** Address of a plain link. */
15
25
  url?: string;
26
+ /** Router commands to navigate to; needs the Angular router. */
16
27
  routerLink?: TxBreadcrumbCommands;
28
+ /** Query parameters of the router link. */
17
29
  queryParams?: Record<string, unknown>;
30
+ /** Fragment of the router link. */
18
31
  fragment?: string;
32
+ /** Link target such as `_blank`. */
19
33
  target?: string;
34
+ /** Shows the item dimmed and not clickable. */
20
35
  disabled?: boolean;
36
+ /** Called on click; an item with only a command is a button. */
21
37
  command?: (event: TxBreadcrumbItemEvent) => void;
38
+ /** Tooltip of the item. */
22
39
  title?: string;
40
+ /** Accessible name; needed for an icon-only item. */
23
41
  ariaLabel?: string;
42
+ /** Element id of the item. */
24
43
  id?: string;
25
44
  }
45
+ /** Context of the `txBreadcrumbItem` template. */
26
46
  export interface TxBreadcrumbItemContext {
47
+ /** The item, so `let-item` works. */
27
48
  $implicit: TxBreadcrumbItem;
49
+ /** Whether this is the last item, the current page. */
28
50
  current: boolean;
51
+ /** Position of the item, the home item counting as 0. */
29
52
  index: number;
30
53
  }
54
+ /**
55
+ * `<ng-template txBreadcrumbItem let-item let-current="current">` — own content of an item (the link stays)
56
+ * @see https://tectra-ng.com/components/breadcrumb
57
+ */
31
58
  export declare class TxBreadcrumbItemTemplate {
32
59
  readonly templateRef: TemplateRef<TxBreadcrumbItemContext>;
33
60
  static ngTemplateContextGuard(_directive: TxBreadcrumbItemTemplate, context: unknown): context is TxBreadcrumbItemContext;
34
61
  static ɵfac: i0.ɵɵFactoryDeclaration<TxBreadcrumbItemTemplate, never>;
35
62
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxBreadcrumbItemTemplate, "ng-template[txBreadcrumbItem]", never, {}, {}, never, never, true, never>;
36
63
  }
64
+ /**
65
+ * `<ng-template txBreadcrumbSeparator>` — own separator
66
+ * @see https://tectra-ng.com/components/breadcrumb
67
+ */
37
68
  export declare class TxBreadcrumbSeparatorTemplate {
38
69
  readonly templateRef: TemplateRef<unknown>;
39
70
  static ɵfac: i0.ɵɵFactoryDeclaration<TxBreadcrumbSeparatorTemplate, never>;
40
71
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxBreadcrumbSeparatorTemplate, "ng-template[txBreadcrumbSeparator]", never, {}, {}, never, never, true, never>;
41
72
  }
73
+ /** How an item is rendered: the current page, a router link, a plain link, a command button or plain text. */
42
74
  type TxBreadcrumbKind = 'current' | 'router' | 'url' | 'command' | 'text';
75
+ /** An item prepared for rendering, with its kind and resolved icon. */
43
76
  interface TxBreadcrumbEntry {
77
+ /** The source item. */
44
78
  item: TxBreadcrumbItem;
79
+ /** How the item is rendered. */
45
80
  kind: TxBreadcrumbKind;
81
+ /** Whether this is the current page. */
46
82
  current: boolean;
83
+ /** Name of a registered icon, or `null`. */
47
84
  icon: string | null;
85
+ /** CSS class to use as the icon when the name is not a registered icon, or `null`. */
48
86
  iconClass: string | null;
49
87
  }
88
+ /**
89
+ * Shows where the current page sits in the hierarchy: a row of links to the parent pages, ending with the current page. Items come from a `model` array and can be router links, URLs or commands.
90
+ * @see https://tectra-ng.com/components/breadcrumb
91
+ */
50
92
  export declare class TxBreadcrumb {
51
93
  private readonly breadcrumbTheme;
52
94
  private txIconRegistry;
53
95
  private hasRouter;
96
+ /** The items, `TxBreadcrumbItem[]`; the last one is the current page */
54
97
  readonly model: import("@angular/core").InputSignal<readonly TxBreadcrumbItem[]>;
98
+ /** First item, usually a home icon */
55
99
  readonly home: import("@angular/core").InputSignal<TxBreadcrumbItem | undefined>;
100
+ /** `chevron` (default) or `slash` */
56
101
  readonly separator: import("@angular/core").InputSignal<TxBreadcrumbSeparator>;
102
+ /** Label of the navigation landmark ("Breadcrumb" by default, translated) */
57
103
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
58
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
59
- root: {
60
- padding: string;
61
- background: string;
62
- gap: string;
63
- transitionDuration: string;
64
- };
65
- item: {
66
- color: string;
67
- hoverColor: string;
68
- borderRadius: string;
69
- gap: string;
70
- fontSize: string;
71
- fontWeight: string;
72
- iconColor: string;
73
- iconHoverColor: string;
74
- iconSize: string;
75
- disabledOpacity: string;
76
- focusRingWidth: string;
77
- focusRingColor: string;
78
- focusRingOffset: string;
79
- };
80
- current: {
81
- color: string;
82
- fontWeight: string;
83
- };
84
- separator: {
85
- color: string;
86
- iconSize: string;
87
- };
88
- slash: {
89
- color: string;
90
- fontSize: string;
91
- };
92
- }> | undefined>;
104
+ /** Design tokens of this instance (`breadcrumb`) */
105
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraBreadcrumbTokens> | undefined>;
106
+ /** Classes and styles of the parts: `root`, `list`, `item`, `link`, `icon`, `label`, `separator` */
93
107
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxBreadcrumbPart, import("@tectra-ng/core/config").TxPassThroughValue<TxBreadcrumb>>> | undefined>;
108
+ /** How `pt` merges with the global pass-through */
94
109
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
110
+ /** Removes the tectra styles */
95
111
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
112
+ /** An item link or command was clicked: `{ originalEvent, item }` */
96
113
  readonly itemClick: import("@angular/core").OutputEmitterRef<TxBreadcrumbItemEvent>;
97
114
  readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
98
115
  readonly isUnstyled: import("@angular/core").Signal<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-breadcrumb.d.ts","names":[],"sources":["../../../../packages/ui/breadcrumb/src/breadcrumb.types.ts","../../../../packages/ui/breadcrumb/src/breadcrumb.templates.ts","../../../../packages/ui/breadcrumb/src/breadcrumb.component.ts"],"mappings":";;;;YAAY;YAEA;YAEA;iBAEK;EACf,eAAe;EACf,MAAM;;iBAGS;EACf;EACA;EACA;EACA,aAAa;EACb,cAAc;EACd;EACA;EACA;EACA,WAAW,OAAO;EAClB;EACA;EACA;;iBAGe;EACf,WAAW;EACX;EACA;;qBCzBW;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,0BAA0B,mBAAmB,WAAW;SAHvF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBASA;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;KCAR;UAEK;EACR,MAAM;EACN,MAAM;EACN;EACA;EACA;;qBAkBW;mBACM;UAET;UACA;WAEC,+BAAK,qBAAA;WACL,8BAAI,YAAA;WACJ,mCAAS,YAAA;WACT,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,mDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,mCAAS,iBAAA;WAET,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,mDAAA;qBACD,sCAAY,OAAA;qBACZ,2CAAiB,OAAA;WAE3B,iCAAO,OAAA;WAKP,+BAAK;WACL,mCAAS;;;EAElB,OAAO,OAAO,OAAO,MAAM;UAUnB;UAMA;YASE,KAAK,MAAM;SAxDV,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-breadcrumb.d.ts","names":[],"sources":["../../../../packages/ui/breadcrumb/src/breadcrumb.types.ts","../../../../packages/ui/breadcrumb/src/breadcrumb.templates.ts","../../../../packages/ui/breadcrumb/src/breadcrumb.component.ts"],"mappings":";;;;;YACY;;YAGA;;YAGA;;iBAGK;;EAEf,eAAe;;EAEf,MAAM;;;iBAIS;;EAEf;;EAEA;;EAEA;;EAEA,aAAa;;EAEb,cAAc;;EAEd;;EAEA;;EAEA;;EAEA,WAAW,OAAO;;EAElB;;EAEA;;EAEA;;;iBAIe;;EAEf,WAAW;;EAEX;;EAEA;;;;;;qBChDW;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,0BAA0B,mBAAmB,WAAW;SAHvF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBASA;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;KCCR;;UAGK;;EAER,MAAM;;EAEN,MAAM;;EAEN;;EAEA;;EAEA;;;;;;qBAkBW;mBACM;UAET;UACA;;WAEC,+BAAK,qBAAA;;WACL,8BAAI,YAAA;;WACJ,mCAAS,YAAA;;WACT,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,mDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS,iBAAA;WAET,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,mDAAA;qBACD,sCAAY,OAAA;qBACZ,2CAAiB,OAAA;WAE3B,iCAAO,OAAA;WAKP,+BAAK;WACL,mCAAS;;;EAElB,OAAO,OAAO,OAAO,MAAM;UAUnB;UAMA;YASE,KAAK,MAAM;SAxDV,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
@@ -1,4 +1,8 @@
1
1
  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
+ */
2
6
  export declare class TxButtonGroup {
3
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TxButtonGroup, never>;
4
8
  static ɵcmp: i0.ɵɵComponentDeclaration<TxButtonGroup, "tx-button-group", never, {}, {}, never, ["*"], true, never>;
@@ -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.component.ts"],"mappings":";;;;;qBASa;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA"}
@@ -2,315 +2,94 @@ import * as i0 from "@angular/core";
2
2
  import { AfterViewInit, ElementRef, TemplateRef } from "@angular/core";
3
3
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
4
4
  import { TxIconName } from "@tectra-ng/icons";
5
- import { TectraDeepPartial } from "@tectra-ng/themes";
5
+ import { TectraButtonTokens, TectraDeepPartial } from "@tectra-ng/themes";
6
6
  import { TxBadgeSeverity } from "@tectra-ng/ui/badge";
7
7
  import * as i1 from "@tectra-ng/core/ripple";
8
+ /**
9
+ * `<ng-template txButtonIcon>` — own markup of the icon (any icon set, an image)
10
+ * @see https://tectra-ng.com/components/button
11
+ */
8
12
  export declare class TxButtonIconTemplate {
9
13
  readonly templateRef: TemplateRef<any>;
10
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TxButtonIconTemplate, never>;
11
15
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxButtonIconTemplate, "ng-template[txButtonIcon]", never, {}, {}, never, never, true, never>;
12
16
  }
17
+ /**
18
+ * `<ng-template txButtonLoadingIcon>` — own markup of the loading indicator
19
+ * @see https://tectra-ng.com/components/button
20
+ */
13
21
  export declare class TxButtonLoadingIconTemplate {
14
22
  readonly templateRef: TemplateRef<any>;
15
23
  static ɵfac: i0.ɵɵFactoryDeclaration<TxButtonLoadingIconTemplate, never>;
16
24
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxButtonLoadingIconTemplate, "ng-template[txButtonLoadingIcon]", never, {}, {}, never, never, true, never>;
17
25
  }
26
+ /**
27
+ * Meaning of the action, which sets the colour: `primary`, `secondary`, `success`, `info`, `warn`, `danger`, `help` or `contrast`.
28
+ */
18
29
  export type TxButtonSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'help' | 'contrast';
30
+ /** Size of a button: `small`, `medium` or `large`. */
19
31
  export type TxButtonSize = 'small' | 'medium' | 'large';
32
+ /** Look of a button without the filled default: `outlined`, `text` or `link`. */
20
33
  export type TxButtonVariant = 'outlined' | 'text' | 'link';
34
+ /** Where the icon sits next to the label: `left`, `right`, `top` or `bottom`. */
21
35
  export type TxButtonIconPosition = 'left' | 'right' | 'top' | 'bottom';
36
+ /** Names of the parts of `tx-button` that `pt` can style. */
22
37
  export type TxButtonPart = 'root' | 'icon' | 'loadingIcon' | 'label' | 'badge';
38
+ /**
39
+ * Triggers an action. The text goes into `label` or inside the button. An attribute on a native `button` or `a`, so the native behaviour stays: `type`, `href`, `aria-label`, `autofocus`, `(click)`, `(focus)`, `(blur)`, `class`, `style`. Every visual value comes from the `button` design tokens of the preset (see the Theming tab).
40
+ * @see https://tectra-ng.com/components/button
41
+ */
23
42
  export declare class TxButton implements AfterViewInit {
24
43
  private readonly buttonTheme;
25
44
  private elementRef;
26
45
  private txIconRegistry;
46
+ /** Text of the button; the same as text placed inside the button (both can be combined) */
27
47
  readonly label: import("@angular/core").InputSignal<string | number | undefined>;
48
+ /** Meaning of the action: `primary` main, `secondary` neutral, `success`, `info`, `warn`, `danger` destructive, `help`, `contrast` */
28
49
  readonly severity: import("@angular/core").InputSignal<TxButtonSeverity>;
50
+ /** `small`, `medium`, `large` */
29
51
  readonly size: import("@angular/core").InputSignal<TxButtonSize>;
52
+ /** `outlined`, `text` or `link`; wins over the boolean shortcuts below */
30
53
  readonly variant: import("@angular/core").InputSignal<TxButtonVariant | undefined>;
54
+ /** Shortcut for `variant="outlined"` — border, no fill */
31
55
  readonly outlined: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
56
+ /** Shortcut for `variant="text"` — no border, no fill */
32
57
  readonly text: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
58
+ /** Shortcut for `variant="link"` — looks like a link */
33
59
  readonly link: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
60
+ /** Fully rounded corners */
34
61
  readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
62
+ /** Adds a shadow */
35
63
  readonly raised: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
64
+ /** Grey colours for an outlined or text button */
36
65
  readonly plain: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
66
+ /** Takes the full width of its container; without the input it follows a parent `<tx-fluid>` */
37
67
  readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
68
+ /** Blocks the button: the native `disabled` on a `button`, `aria-disabled` + no tab stop on an `a` */
38
69
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
70
+ /** Tab order; an `a` that is disabled always gets `-1` */
39
71
  readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
72
+ /** A `@tectra-ng/icons` name (`'plus'`), an icon registered with `provideTxIcons` (brand logos from `@tectra-ng/brand-icons`: `'github'`), or any icon class (`'pi pi-check'`) */
40
73
  readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
74
+ /** Where the icon sits: `left`, `right`, `top`, `bottom` */
41
75
  readonly iconPos: import("@angular/core").InputSignal<TxButtonIconPosition>;
76
+ /** Square button with only the icon. Not needed in most cases: a button with an icon and no text becomes square by itself. Give it an `aria-label` */
42
77
  readonly iconOnly: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
78
+ /** Shows a spinning icon, disables the button and sets `aria-busy` */
43
79
  readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
80
+ /** Icon shown while loading — a `@tectra-ng/icons` name or any icon class */
44
81
  readonly loadingIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
82
+ /** Counter after the text, rendered with `<tx-badge>` */
45
83
  readonly badge: import("@angular/core").InputSignal<string | number | undefined>;
84
+ /** Colour of the badge */
46
85
  readonly badgeSeverity: import("@angular/core").InputSignal<TxBadgeSeverity>;
47
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
48
- root: {
49
- borderRadius: string;
50
- roundedBorderRadius: string;
51
- gap: string;
52
- paddingX: string;
53
- paddingY: string;
54
- iconOnlyWidth: string;
55
- fontSize: string;
56
- lineHeight: string;
57
- sm: {
58
- fontSize: string;
59
- lineHeight: string;
60
- paddingX: string;
61
- paddingY: string;
62
- iconOnlyWidth: string;
63
- };
64
- lg: {
65
- fontSize: string;
66
- lineHeight: string;
67
- paddingX: string;
68
- paddingY: string;
69
- iconOnlyWidth: string;
70
- };
71
- label: {
72
- fontWeight: string;
73
- };
74
- raisedShadow: string;
75
- focusRing: {
76
- width: string;
77
- style: string;
78
- offset: string;
79
- };
80
- badgeSize: string;
81
- transitionDuration: string;
82
- primary: {
83
- background: string;
84
- hoverBackground: string;
85
- activeBackground: string;
86
- borderColor: string;
87
- hoverBorderColor: string;
88
- activeBorderColor: string;
89
- color: string;
90
- hoverColor: string;
91
- activeColor: string;
92
- focusRing: {
93
- color: string;
94
- shadow: string;
95
- };
96
- };
97
- secondary: {
98
- background: string;
99
- hoverBackground: string;
100
- activeBackground: string;
101
- borderColor: string;
102
- hoverBorderColor: string;
103
- activeBorderColor: string;
104
- color: string;
105
- hoverColor: string;
106
- activeColor: string;
107
- focusRing: {
108
- color: string;
109
- shadow: string;
110
- };
111
- };
112
- info: {
113
- background: string;
114
- hoverBackground: string;
115
- activeBackground: string;
116
- borderColor: string;
117
- hoverBorderColor: string;
118
- activeBorderColor: string;
119
- color: string;
120
- hoverColor: string;
121
- activeColor: string;
122
- focusRing: {
123
- color: string;
124
- shadow: string;
125
- };
126
- };
127
- success: {
128
- background: string;
129
- hoverBackground: string;
130
- activeBackground: string;
131
- borderColor: string;
132
- hoverBorderColor: string;
133
- activeBorderColor: string;
134
- color: string;
135
- hoverColor: string;
136
- activeColor: string;
137
- focusRing: {
138
- color: string;
139
- shadow: string;
140
- };
141
- };
142
- warn: {
143
- background: string;
144
- hoverBackground: string;
145
- activeBackground: string;
146
- borderColor: string;
147
- hoverBorderColor: string;
148
- activeBorderColor: string;
149
- color: string;
150
- hoverColor: string;
151
- activeColor: string;
152
- focusRing: {
153
- color: string;
154
- shadow: string;
155
- };
156
- };
157
- help: {
158
- background: string;
159
- hoverBackground: string;
160
- activeBackground: string;
161
- borderColor: string;
162
- hoverBorderColor: string;
163
- activeBorderColor: string;
164
- color: string;
165
- hoverColor: string;
166
- activeColor: string;
167
- focusRing: {
168
- color: string;
169
- shadow: string;
170
- };
171
- };
172
- danger: {
173
- background: string;
174
- hoverBackground: string;
175
- activeBackground: string;
176
- borderColor: string;
177
- hoverBorderColor: string;
178
- activeBorderColor: string;
179
- color: string;
180
- hoverColor: string;
181
- activeColor: string;
182
- focusRing: {
183
- color: string;
184
- shadow: string;
185
- };
186
- };
187
- contrast: {
188
- background: string;
189
- hoverBackground: string;
190
- activeBackground: string;
191
- borderColor: string;
192
- hoverBorderColor: string;
193
- activeBorderColor: string;
194
- color: string;
195
- hoverColor: string;
196
- activeColor: string;
197
- focusRing: {
198
- color: string;
199
- shadow: string;
200
- };
201
- };
202
- };
203
- outlined: {
204
- primary: {
205
- hoverBackground: string;
206
- activeBackground: string;
207
- borderColor: string;
208
- color: string;
209
- };
210
- secondary: {
211
- hoverBackground: string;
212
- activeBackground: string;
213
- borderColor: string;
214
- color: string;
215
- };
216
- success: {
217
- hoverBackground: string;
218
- activeBackground: string;
219
- borderColor: string;
220
- color: string;
221
- };
222
- info: {
223
- hoverBackground: string;
224
- activeBackground: string;
225
- borderColor: string;
226
- color: string;
227
- };
228
- warn: {
229
- hoverBackground: string;
230
- activeBackground: string;
231
- borderColor: string;
232
- color: string;
233
- };
234
- help: {
235
- hoverBackground: string;
236
- activeBackground: string;
237
- borderColor: string;
238
- color: string;
239
- };
240
- danger: {
241
- hoverBackground: string;
242
- activeBackground: string;
243
- borderColor: string;
244
- color: string;
245
- };
246
- contrast: {
247
- hoverBackground: string;
248
- activeBackground: string;
249
- borderColor: string;
250
- color: string;
251
- };
252
- plain: {
253
- hoverBackground: string;
254
- activeBackground: string;
255
- borderColor: string;
256
- color: string;
257
- };
258
- };
259
- text: {
260
- primary: {
261
- hoverBackground: string;
262
- activeBackground: string;
263
- color: string;
264
- };
265
- secondary: {
266
- hoverBackground: string;
267
- activeBackground: string;
268
- color: string;
269
- };
270
- success: {
271
- hoverBackground: string;
272
- activeBackground: string;
273
- color: string;
274
- };
275
- info: {
276
- hoverBackground: string;
277
- activeBackground: string;
278
- color: string;
279
- };
280
- warn: {
281
- hoverBackground: string;
282
- activeBackground: string;
283
- color: string;
284
- };
285
- help: {
286
- hoverBackground: string;
287
- activeBackground: string;
288
- color: string;
289
- };
290
- danger: {
291
- hoverBackground: string;
292
- activeBackground: string;
293
- color: string;
294
- };
295
- contrast: {
296
- hoverBackground: string;
297
- activeBackground: string;
298
- color: string;
299
- };
300
- plain: {
301
- hoverBackground: string;
302
- activeBackground: string;
303
- color: string;
304
- };
305
- };
306
- link: {
307
- color: string;
308
- hoverColor: string;
309
- activeColor: string;
310
- };
311
- }> | undefined>;
86
+ /** Design tokens of this one button, e.g. `{ root: { primary: { background: '#0d9488' } } }` — same shape as the preset tokens */
87
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraButtonTokens> | undefined>;
88
+ /** Extra `class` / `style` for the parts `root`, `icon`, `loadingIcon`, `label`, `badge` — an object or a function `({ instance }) => ({ class, style })` that reacts to the button state */
312
89
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxButtonPart, import("@tectra-ng/core/config").TxPassThroughValue<TxButton>>> | undefined>;
90
+ /** How this `pt` meets the global one from `provideTectra({ pt })`: `mergeSections` (default `true` — keep global parts this `pt` does not mention), `mergeProps` (default `false` — a local part replaces the global one; `true` joins classes and styles) */
313
91
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
92
+ /** Drops all tectra styles, the classes stay for your own CSS; default from `provideTectra({ unstyled })` */
314
93
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
315
94
  readonly iconTemplate: import("@angular/core").Signal<TxButtonIconTemplate | undefined>;
316
95
  readonly loadingIconTemplate: import("@angular/core").Signal<TxButtonLoadingIconTemplate | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-button.d.ts","names":[],"sources":["../../../../packages/ui/button/src/button-templates.directive.ts","../../../../packages/ui/button/src/button.types.ts","../../../../packages/ui/button/src/button.component.ts"],"mappings":";;;;;;;qBAGa;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBAKA;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;YCRD;YACA;YACA;YACA;YACA;qBCwDC,oBAAoB;mBACd;UAET;UACA;WAEC,+BAAK;WACL,kCAAQ,YAAA;WACR,8BAAI,YAAA;WACJ,iCAAO,YAAA;WACP,kCAAQ;WACR,8BAAI;WACJ,8BAAI;WACJ,iCAAO;WACP,gCAAM;WACN,+BAAK;WACL,+BAAK;WACL,kCAAQ;WACR,kCAAQ;WACR,8BAAI,YAAA;WACJ,iCAAO,YAAA;WACP,kCAAQ;WACR,iCAAO;WACP,qCAAW,YAAA;WACX,+BAAK;WACL,uCAAa,YAAA;WACb,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,sCAAY,OAAA;WACZ,6CAAmB,OAAA;WACnB,wCAAc,OAAA,WAAA;WAEd;WAEA,2CAAiB;EAC1B,oCAAU;EACV,iCAAO;EACP,qCAAW,OAAA,QAAA,OAAA,+CAAA;WAEF,yCAAe,OAAA;WAaf,oCAAU;WACV,iCAAO;WACP,sCAAY;WACZ,oCAAU;WACV,kCAAQ,OAAA;WAIR,yCAAe,OAAA;WAIf,kCAAQ;WACR,mCAAS;;;;EAsBlB;UAIQ;SA9FG,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;;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,kBAAA,GAAA;IAAA;MAAA;MAAA;MAAA;;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-button.d.ts","names":[],"sources":["../../../../packages/ui/button/src/button-templates.directive.ts","../../../../packages/ui/button/src/button.types.ts","../../../../packages/ui/button/src/button.component.ts"],"mappings":";;;;;;;;;;;qBAGa;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;YCLD;;YAEA;;YAEA;;YAEA;;YAEA;;;;;qBCiDC,oBAAoB;mBACd;UAET;UACA;;WAEC,+BAAK;;WACL,kCAAQ,YAAA;;WACR,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,kCAAQ;;WACR,8BAAI;;WACJ,8BAAI;;WACJ,iCAAO;;WACP,gCAAM;;WACN,+BAAK;;WACL,+BAAK;;WACL,kCAAQ;;WACR,kCAAQ;;WACR,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,kCAAQ;;WACR,iCAAO;;WACP,qCAAW,YAAA;;WACX,+BAAK;;WACL,uCAAa,YAAA;;WACb,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,sCAAY,OAAA;WACZ,6CAAmB,OAAA;WACnB,wCAAc,OAAA,WAAA;WAEd;WAEA,2CAAiB;EAC1B,oCAAU;EACV,iCAAO;EACP,qCAAW,OAAA,QAAA,OAAA,+CAAA;WAEF,yCAAe,OAAA;WAaf,oCAAU;WACV,iCAAO;WACP,sCAAY;WACZ,oCAAU;WACV,kCAAQ,OAAA;WAIR,yCAAe,OAAA;WAIf,kCAAQ;WACR,mCAAS;;;;EAsBlB;UAIQ;SA9FG,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;;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,kBAAA,GAAA;IAAA;MAAA;MAAA;MAAA;;IAAA"}
@@ -1,29 +1,27 @@
1
1
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
2
- import { TectraDeepPartial } from "@tectra-ng/themes";
2
+ import { TectraCardTokens, TectraDeepPartial } from "@tectra-ng/themes";
3
3
  import * as i0 from "@angular/core";
4
+ /** Names of the parts of `tx-card` that `pt` can style. */
4
5
  export type TxCardPart = 'root' | 'header' | 'body' | 'title' | 'subtitle' | 'content' | 'footer';
6
+ /**
7
+ * A box for one piece of content — media on top, a title, text and actions at the bottom.
8
+ * @see https://tectra-ng.com/components/card
9
+ */
5
10
  export declare class TxCard {
6
11
  private readonly cardTheme;
12
+ /** Title of the card (a heading) */
7
13
  readonly title: import("@angular/core").InputSignal<string | undefined>;
14
+ /** Muted line under the title */
8
15
  readonly subtitle: import("@angular/core").InputSignal<string | undefined>;
16
+ /** Heading level of the title, 3 by default */
9
17
  readonly headingLevel: import("@angular/core").InputSignal<number>;
10
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
11
- root: {
12
- background: string;
13
- borderColor: string;
14
- borderRadius: string;
15
- shadow: string;
16
- padding: string;
17
- gap: string;
18
- color: string;
19
- titleFontSize: string;
20
- titleFontWeight: string;
21
- subtitleColor: string;
22
- subtitleFontSize: string;
23
- };
24
- }> | undefined>;
18
+ /** Design tokens of this instance (`card`) */
19
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraCardTokens> | undefined>;
20
+ /** Classes and styles of the parts: `root`, `header`, `body`, `title`, `subtitle`, `content`, `footer` */
25
21
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxCardPart, import("@tectra-ng/core/config").TxPassThroughValue<TxCard>>> | undefined>;
22
+ /** How `pt` merges with the global pass-through */
26
23
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
24
+ /** Removes the tectra styles */
27
25
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
28
26
  readonly isUnstyled: import("@angular/core").Signal<boolean>;
29
27
  readonly passThrough: import("@angular/core").Signal<Partial<Record<TxCardPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
@@ -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":";;;YAAY;qBCmCC;mBACM;WAER,+BAAK;WACL,kCAAQ;WACR,sCAAY;WACZ,4BAAE,YAAA;;;;;;;;;;;;;;;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;;;;;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"}