@ethlete/components 1.0.0-next.100 → 1.0.0-next.101

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 (273) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/design/banner.ts +1 -1
  3. package/design/breadcrumb.ts +0 -1
  4. package/design/button.ts +0 -2
  5. package/design/card.ts +1 -1
  6. package/design/dialog.ts +1 -7
  7. package/design/grid.ts +3 -3
  8. package/design/masonry.ts +3 -3
  9. package/design/menu.ts +5 -3
  10. package/design/notification.ts +0 -1
  11. package/design/scheduler.ts +1 -1
  12. package/design/sdk/components/accent-on-light/accent-on-light.css +5 -5
  13. package/design/sdk/components/accordion/accordion.css +3 -3
  14. package/design/sdk/components/action-sheet/action-sheet.css +13 -13
  15. package/design/sdk/components/action-sheet/action-sheet.ts +5 -3
  16. package/design/sdk/components/anchored-dialog/anchored-dialog.css +5 -5
  17. package/design/sdk/components/avatar/avatar.css +3 -3
  18. package/design/sdk/components/badge/badge.css +3 -3
  19. package/design/sdk/components/banner/banner.css +4 -4
  20. package/design/sdk/components/bracket/bracket.css +8 -11
  21. package/design/sdk/components/breadcrumb/breadcrumb.css +4 -4
  22. package/design/sdk/components/button/button.css +3 -13
  23. package/design/sdk/components/calendar/calendar.css +7 -7
  24. package/design/sdk/components/card/card.css +4 -4
  25. package/design/sdk/components/carousel/carousel.css +6 -6
  26. package/design/sdk/components/chart/chart.css +8 -8
  27. package/design/sdk/components/checkbox/checkbox.css +2 -2
  28. package/design/sdk/components/chip/chip.css +4 -4
  29. package/design/sdk/components/copy-button/copy-button.css +3 -3
  30. package/design/sdk/components/description-list/description-list.css +2 -2
  31. package/design/sdk/components/dialog/dialog.css +4 -4
  32. package/design/sdk/components/divider/divider.css +2 -2
  33. package/design/sdk/components/empty-state/empty-state.css +4 -4
  34. package/design/sdk/components/floating-action/floating-action.css +4 -4
  35. package/design/sdk/components/grid/grid.css +4 -4
  36. package/design/sdk/components/input/input.css +13 -22
  37. package/design/sdk/components/kbd/kbd.css +2 -2
  38. package/design/sdk/components/loader/loader.css +6 -6
  39. package/design/sdk/components/masonry/masonry.css +2 -2
  40. package/design/sdk/components/match/match.css +5 -8
  41. package/design/sdk/components/menu/menu.css +2 -2
  42. package/design/sdk/components/menu/menu.ts +2 -2
  43. package/design/sdk/components/notification/notification.css +6 -6
  44. package/design/sdk/components/otp-input/otp-input.css +8 -8
  45. package/design/sdk/components/pagination/pagination.css +2 -2
  46. package/design/sdk/components/picture/picture.css +5 -5
  47. package/design/sdk/components/progress-steps/progress-steps.css +6 -6
  48. package/design/sdk/components/query-error/query-error.css +5 -11
  49. package/design/sdk/components/radio-group/radio-group.css +2 -2
  50. package/design/sdk/components/scheduler/scheduler.css +9 -15
  51. package/design/sdk/components/scrollable/scrollable.css +5 -5
  52. package/design/sdk/components/scrollbar/scrollbar.css +3 -3
  53. package/design/sdk/components/select/select.css +1 -1
  54. package/design/sdk/components/skeleton/skeleton.css +2 -2
  55. package/design/sdk/components/slider/slider.css +8 -13
  56. package/design/sdk/components/standings/standings.css +7 -8
  57. package/design/sdk/components/stat-tile/stat-tile.css +3 -3
  58. package/design/sdk/components/stream/stream.css +7 -13
  59. package/design/sdk/components/table/table.css +13 -13
  60. package/design/sdk/components/tabs/tabs.css +2 -2
  61. package/design/sdk/components/textarea/textarea.css +13 -22
  62. package/design/sdk/components/timeline/timeline.css +4 -4
  63. package/design/sdk/components/toolbar/toolbar.css +6 -6
  64. package/design/sdk/components/tooltip/tooltip.css +3 -3
  65. package/design/sdk/components/tooltip/tooltip.ts +1 -1
  66. package/design/sdk/components/tree/selected-tint.css +3 -3
  67. package/design/sdk/foundations/colors/colors.css +363 -421
  68. package/design/sdk/foundations/colors/colors.ts +27 -25
  69. package/design/sdk/foundations/colors/shared/contrast.ts +10 -10
  70. package/design/sdk/foundations/elevation/elevation.css +2 -2
  71. package/design/sdk/foundations/elevation/elevation.ts +1 -1
  72. package/design/sdk/foundations/elevation/shared/elevation/scene.css +16 -11
  73. package/design/sdk/ready.json +4 -109
  74. package/design/tabs.ts +1 -1
  75. package/design/toggletip.ts +85 -0
  76. package/fesm2022/ethlete-components.mjs +725 -417
  77. package/fesm2022/ethlete-components.mjs.map +1 -1
  78. package/generators/generators.json +10 -0
  79. package/generators/migrate-overlay-and-column-api/column-visibility-host.js +102 -0
  80. package/generators/migrate-overlay-and-column-api/migration.js +39 -0
  81. package/generators/migrate-overlay-and-column-api/overlay-and-column-api.js +18 -0
  82. package/generators/migrate-overlay-and-column-api/overlay-result.js +399 -0
  83. package/generators/migrate-overlay-and-column-api/schema.json +26 -0
  84. package/generators/migrate-overlay-and-column-api/source-scan.js +171 -0
  85. package/generators/migrate-tabs-active-underline/migration.js +31 -0
  86. package/generators/migrate-tabs-active-underline/schema.json +26 -0
  87. package/generators/migrate-tabs-active-underline/tabs-active-underline.js +46 -0
  88. package/migrations.json +18 -0
  89. package/package.json +2 -2
  90. package/src/lib/accordion/accordion.component.css +10 -11
  91. package/src/lib/avatar/avatar-group.component.css +1 -1
  92. package/src/lib/avatar/avatar.component.css +3 -3
  93. package/src/lib/badge/badge.component.css +13 -9
  94. package/src/lib/banner/banner.component.css +5 -5
  95. package/src/lib/bracket/bracket-default-continue.component.css +2 -2
  96. package/src/lib/bracket/bracket-default-final-match.component.css +6 -6
  97. package/src/lib/bracket/bracket-default-round-header.component.css +2 -2
  98. package/src/lib/bracket/bracket-default-section-title.component.css +1 -1
  99. package/src/lib/bracket/bracket-pick-card.component.css +21 -21
  100. package/src/lib/bracket/bracket-rounds-list.component.css +1 -1
  101. package/src/lib/bracket/bracket.component.css +2 -2
  102. package/src/lib/bracket/layouts/swiss/bracket-swiss-round-header.component.css +65 -0
  103. package/src/lib/bracket/layouts/swiss/bracket-swiss-styles.component.css +5 -1
  104. package/src/lib/breadcrumb/breadcrumb-overflow.component.css +3 -3
  105. package/src/lib/breadcrumb/breadcrumb.component.css +5 -6
  106. package/src/lib/button/button-properties-styles.component.css +12 -12
  107. package/src/lib/button/button.component.css +52 -35
  108. package/src/lib/button/fab.component.css +17 -20
  109. package/src/lib/button/icon-button.component.css +15 -19
  110. package/src/lib/button/split-button.component.css +11 -14
  111. package/src/lib/button/text-button.component.css +1 -1
  112. package/src/lib/button/window-control-button.component.css +21 -32
  113. package/src/lib/calendar/calendar-comparison-band-styles.component.css +1 -1
  114. package/src/lib/calendar/calendar-week-numbers-styles.component.css +3 -3
  115. package/src/lib/calendar/calendar.component.css +21 -23
  116. package/src/lib/card/card.component.css +5 -5
  117. package/src/lib/carousel/carousel-autoplay-styles.component.css +2 -8
  118. package/src/lib/carousel/carousel.component.css +7 -19
  119. package/src/lib/chart/bar-chart.component.css +6 -6
  120. package/src/lib/chart/chart-grid.component.css +1 -1
  121. package/src/lib/chart/chart-legend.component.css +2 -2
  122. package/src/lib/chart/chart-tooltip.component.css +2 -2
  123. package/src/lib/chart/line-chart-tooltip.component.css +2 -2
  124. package/src/lib/chart/line-chart.component.css +11 -11
  125. package/src/lib/chart/pie-chart.component.css +8 -8
  126. package/src/lib/chart/sankey-chart.component.css +13 -13
  127. package/src/lib/chip/chip.component.css +15 -17
  128. package/src/lib/command-palette/command-palette-item.component.css +5 -5
  129. package/src/lib/command-palette/command-palette.component.css +3 -3
  130. package/src/lib/description-list/description-list.component.css +2 -2
  131. package/src/lib/divider/divider.component.css +2 -2
  132. package/src/lib/empty-state/empty-state.component.css +4 -4
  133. package/src/lib/floating-action/floating-action-styles.component.css +3 -3
  134. package/src/lib/focus-ring/focus-ring-styles.component.css +1 -1
  135. package/src/lib/forms/cascader/cascader-breadcrumb-styles.component.css +8 -8
  136. package/src/lib/forms/cascader/cascader-panel.component.css +27 -24
  137. package/src/lib/forms/cascader/cascader-sheet-styles.component.css +3 -3
  138. package/src/lib/forms/cascader/cascader.component.css +1 -1
  139. package/src/lib/forms/checkbox/checkbox.component.css +26 -39
  140. package/src/lib/forms/choice-field/choice-field-card-styles.component.css +3 -3
  141. package/src/lib/forms/choice-field/choice-field.component.css +7 -7
  142. package/src/lib/forms/color-input/color-input.component.css +2 -3
  143. package/src/lib/forms/color-input/color-picker-panel.component.css +16 -15
  144. package/src/lib/forms/date-time/date-input/date-input.component.css +1 -1
  145. package/src/lib/forms/date-time/date-picker-panel.component.css +8 -5
  146. package/src/lib/forms/date-time/date-range-presets.component.css +2 -2
  147. package/src/lib/forms/date-time/date-time-input/date-time-input.component.css +4 -4
  148. package/src/lib/forms/date-time/date-time-range-input/date-time-range-input.component.css +3 -3
  149. package/src/lib/forms/date-time/duration-input/duration-input.component.css +3 -3
  150. package/src/lib/forms/date-time/range-input-shell-styles.component.css +2 -2
  151. package/src/lib/forms/date-time/time-input/time-input.component.css +1 -1
  152. package/src/lib/forms/description/description.component.css +1 -1
  153. package/src/lib/forms/dropzone/dropzone-crop.component.css +8 -8
  154. package/src/lib/forms/dropzone/dropzone-item.component.css +5 -5
  155. package/src/lib/forms/dropzone/dropzone-preview-styles.component.css +5 -5
  156. package/src/lib/forms/dropzone/dropzone-readonly-styles.component.css +1 -1
  157. package/src/lib/forms/dropzone/dropzone-row-styles.component.css +3 -3
  158. package/src/lib/forms/dropzone/dropzone.component.css +20 -22
  159. package/src/lib/forms/form-field/counter.component.css +2 -2
  160. package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +12 -14
  161. package/src/lib/forms/form-field/form-field-suffix-overlap-styles.component.css +1 -1
  162. package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +22 -35
  163. package/src/lib/forms/form-field/form-field.component.css +9 -10
  164. package/src/lib/forms/form-field/form-support-styles.component.css +2 -2
  165. package/src/lib/forms/form-field/headless/label.directive.css +2 -2
  166. package/src/lib/forms/form-field/hint.component.css +2 -2
  167. package/src/lib/forms/input/input.component.css +1 -1
  168. package/src/lib/forms/input/number-input.component.css +5 -5
  169. package/src/lib/forms/input/password-input.component.css +7 -8
  170. package/src/lib/forms/multi-language-rich-text-editor/tools/multi-language-rich-text-editor-language-tool.component.css +7 -10
  171. package/src/lib/forms/otp-input/otp-input.component.css +11 -15
  172. package/src/lib/forms/phone-input/phone-input.component.css +4 -5
  173. package/src/lib/forms/rating/rating.component.css +8 -9
  174. package/src/lib/forms/rich-text-editor/rich-text-content-styles.component.css +6 -6
  175. package/src/lib/forms/rich-text-editor/rich-text-editor-floating-toolbar.component.css +7 -4
  176. package/src/lib/forms/rich-text-editor/rich-text-editor-image-editor.component.css +6 -6
  177. package/src/lib/forms/rich-text-editor/rich-text-editor-link-editor.component.css +4 -4
  178. package/src/lib/forms/rich-text-editor/rich-text-editor-token-popup.component.css +12 -9
  179. package/src/lib/forms/rich-text-editor/rich-text-editor.component.css +6 -8
  180. package/src/lib/forms/rich-text-editor/tools/rich-text-editor-image-styles.component.css +7 -7
  181. package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-styles.component.css +2 -2
  182. package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-tool.component.css +4 -4
  183. package/src/lib/forms/select/select-extras-styles.component.css +10 -13
  184. package/src/lib/forms/select/select-option-group.component.css +2 -2
  185. package/src/lib/forms/select/select-option-styles.component.css +6 -6
  186. package/src/lib/forms/select/select-panel.component.css +13 -10
  187. package/src/lib/forms/select/select.component.css +4 -4
  188. package/src/lib/forms/selection-card-styles.component.css +10 -14
  189. package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +11 -21
  190. package/src/lib/forms/selection-list/checkbox-group/checkbox-group.component.css +4 -4
  191. package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +11 -21
  192. package/src/lib/forms/selection-list/radio-group/radio-group.component.css +4 -4
  193. package/src/lib/forms/selection-list/radio-group/radio.component.css +10 -20
  194. package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +7 -7
  195. package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +16 -15
  196. package/src/lib/forms/slider/range-slider.component.css +18 -24
  197. package/src/lib/forms/slider/slider.component.css +18 -24
  198. package/src/lib/forms/switch/switch.component.css +19 -22
  199. package/src/lib/forms/tag-input/tag-input.component.css +1 -1
  200. package/src/lib/forms/textarea/textarea.component.css +1 -1
  201. package/src/lib/grid/grid-debug.component.css +18 -18
  202. package/src/lib/grid/grid-item-default-actions.component.css +2 -2
  203. package/src/lib/grid/grid-item.component.css +3 -4
  204. package/src/lib/grid/grid.component.css +2 -2
  205. package/src/lib/kbd/kbd.component.css +3 -3
  206. package/src/lib/loader/brand-loader/brand-loader.component.css +3 -3
  207. package/src/lib/loader/progress-bar/progress-bar.component.css +1 -1
  208. package/src/lib/loader/spinner/spinner-styles.component.css +1 -1
  209. package/src/lib/match/match-card.component.css +18 -29
  210. package/src/lib/match/match-participant.component.css +11 -11
  211. package/src/lib/match/match-score.component.css +1 -1
  212. package/src/lib/match/match-scoreline.component.css +3 -3
  213. package/src/lib/menu/menu-group-label.component.css +1 -1
  214. package/src/lib/menu/menu-item-shortcut.component.css +1 -1
  215. package/src/lib/menu/menu-item-submenu-icon.component.css +1 -1
  216. package/src/lib/menu/menu-search-styles.component.css +3 -3
  217. package/src/lib/menu/menu-selection-item.component.css +2 -2
  218. package/src/lib/menu/menu-separator.component.css +1 -1
  219. package/src/lib/menu/menu.component.css +13 -10
  220. package/src/lib/notification/notification.component.css +10 -10
  221. package/src/lib/overlay/alert-dialog/alert-dialog.component.css +2 -2
  222. package/src/lib/overlay/floating-tip-styles.component.css +4 -4
  223. package/src/lib/overlay/overlay-container.component.css +9 -6
  224. package/src/lib/overlay/strategies/overlay-arrow-styles.component.css +2 -2
  225. package/src/lib/overlay/strategies/sheet-styles.component.css +2 -2
  226. package/src/lib/pagination/pagination.component.css +9 -10
  227. package/src/lib/progress-steps/progress-step.component.css +19 -19
  228. package/src/lib/query-error/query-error.component.css +1 -1
  229. package/src/lib/scheduler/scheduler-agenda-view.component.css +8 -8
  230. package/src/lib/scheduler/scheduler-appointment-drag-styles.component.css +4 -1
  231. package/src/lib/scheduler/scheduler-appointment-styles.component.css +12 -10
  232. package/src/lib/scheduler/scheduler-edit-color.component.css +2 -2
  233. package/src/lib/scheduler/scheduler-edit-surface-breadcrumb.component.css +2 -2
  234. package/src/lib/scheduler/scheduler-edit-surface-children.component.css +4 -4
  235. package/src/lib/scheduler/scheduler-month-view.component.css +16 -18
  236. package/src/lib/scheduler/scheduler-time-grid-view.component.css +24 -26
  237. package/src/lib/scheduler/scheduler.component.css +1 -1
  238. package/src/lib/scrollable/headless/scrollable-buttons.component.css +2 -2
  239. package/src/lib/scrollable/headless/scrollable-masks.component.css +2 -2
  240. package/src/lib/scrollable/headless/scrollable-navigation.component.css +2 -2
  241. package/src/lib/scrollbar/scrollbar.component.css +2 -2
  242. package/src/lib/skeleton/skeleton.component.css +2 -8
  243. package/src/lib/standings/standings-pick.component.css +13 -21
  244. package/src/lib/standings/standings.component.css +24 -30
  245. package/src/lib/stat-tile/stat-tile-sparkline.component.css +2 -2
  246. package/src/lib/stat-tile/stat-tile.component.css +5 -5
  247. package/src/lib/stream/consent/stream-consent.component.css +2 -2
  248. package/src/lib/stream/error/stream-player-error.component.css +2 -2
  249. package/src/lib/stream/loading/stream-player-loading.component.css +3 -3
  250. package/src/lib/stream/pip/pip-slot-placeholder.component.css +2 -2
  251. package/src/lib/stream/pip/pip-stage-styles.component.css +3 -6
  252. package/src/lib/stream/pip/pip-window.component.css +4 -5
  253. package/src/lib/stream/stream-overlay-card-styles.component.css +4 -4
  254. package/src/lib/stream/stream-player-slot-styles.component.css +1 -1
  255. package/src/lib/table/table-column-menu-trigger.component.css +1 -1
  256. package/src/lib/table/table-expander-cell.component.css +2 -2
  257. package/src/lib/table/table-filter-trigger.component.css +4 -4
  258. package/src/lib/table/table-group-header-row.component.css +1 -1
  259. package/src/lib/table/table-reorder-overlay.component.css +4 -4
  260. package/src/lib/table/table-resize-grip.component.css +4 -5
  261. package/src/lib/table/table-row-box-styles.component.css +7 -11
  262. package/src/lib/table/table-select-cell.component.css +7 -7
  263. package/src/lib/table/table-sort-priority-styles.component.css +1 -1
  264. package/src/lib/table/table.component.css +37 -49
  265. package/src/lib/tabs/tab-bar-styles.component.css +44 -8
  266. package/src/lib/time-picker/time-picker.component.css +16 -25
  267. package/src/lib/timeline/timeline-item.component.css +7 -10
  268. package/src/lib/timeline/timeline.component.css +1 -1
  269. package/src/lib/toggletip/toggletip.component.css +6 -1
  270. package/src/lib/toolbar/toolbar.component.css +1 -1
  271. package/src/lib/tooltip/tooltip.component.css +4 -4
  272. package/src/lib/tree/tree.component.css +18 -18
  273. package/types/ethlete-components.d.ts +85 -28
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .et-toggletip {
38
- --_et-toggletip-focus-ring: var(--et-theme-color-primary-solid, rgb(59 130 246));
38
+ --_et-toggletip-focus-ring: var(--et-tone-fill, rgb(59 130 246));
39
39
 
40
40
  font-size: var(--et-toggletip-font-size);
41
41
  font-weight: 500;
@@ -43,14 +43,19 @@
43
43
  letter-spacing: var(--et-toggletip-letter-spacing, -0.01em);
44
44
  }
45
45
 
46
+ .et-toggletip,
46
47
  .et-toggletip__surface {
47
48
  min-inline-size: var(--et-toggletip-min-width, min(272px, calc(100vw - 24px)));
49
+ }
50
+
51
+ .et-toggletip__surface {
48
52
  padding: calc(var(--et-toggletip-padding-block) + 2px) calc(var(--et-toggletip-padding-inline) + 2px);
49
53
  }
50
54
 
51
55
  /* The comfortable minimum above is for prose — a sentence or two of explanation reads badly in a narrow
52
56
  column. Content that is already a list of its own rows (the breadcrumb's hidden crumbs) has no such
53
57
  problem and just looks half-empty at 272px, so it can opt out and hug its widest row. */
58
+ .et-toggletip:has([data-toggletip-hug]),
54
59
  .et-toggletip__surface:has([data-toggletip-hug]) {
55
60
  min-inline-size: 0;
56
61
  }
@@ -39,6 +39,6 @@
39
39
  }
40
40
 
41
41
  .et-toolbar .et-icon-button:where([data-pressed='true']) {
42
- box-shadow: inset 0 0 0 1px light-dark(var(--et-theme-color-ink-solid), transparent);
42
+ box-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
43
43
  }
44
44
  }
@@ -66,8 +66,8 @@
66
66
  --et-overlay-arrow-border: var(
67
67
  --et-floating-tip-border,
68
68
  light-dark(
69
- var(--et-surface-border-solid, rgb(255 255 255 / 0.1)),
70
- color-mix(in srgb, var(--et-surface-color-solid) 24%, var(--et-surface-background-solid))
69
+ var(--et-surface-border, rgb(255 255 255 / 0.1)),
70
+ color-mix(in srgb, var(--et-surface-text) 24%, var(--et-surface-background))
71
71
  )
72
72
  );
73
73
  }
@@ -76,8 +76,8 @@
76
76
  --_et-floating-tip-border: var(
77
77
  --et-floating-tip-border,
78
78
  light-dark(
79
- var(--et-surface-border-solid, rgb(255 255 255 / 0.1)),
80
- color-mix(in srgb, var(--et-surface-color-solid) 24%, var(--et-surface-background-solid))
79
+ var(--et-surface-border, rgb(255 255 255 / 0.1)),
80
+ color-mix(in srgb, var(--et-surface-text) 24%, var(--et-surface-background))
81
81
  )
82
82
  );
83
83
  }
@@ -55,7 +55,7 @@
55
55
 
56
56
  .et-tree {
57
57
  display: block;
58
- color: var(--et-surface-color-solid, CanvasText);
58
+ color: var(--et-surface-text, CanvasText);
59
59
  }
60
60
 
61
61
  .et-tree-node,
@@ -77,7 +77,7 @@
77
77
  justify-content: center;
78
78
  inline-size: var(--et-tree-marker-size);
79
79
  block-size: var(--et-tree-marker-size);
80
- color: var(--et-surface-color-muted-solid, GrayText);
80
+ color: var(--et-surface-text-muted, GrayText);
81
81
 
82
82
  .et-tree-node-chevron {
83
83
  inline-size: 100%;
@@ -103,7 +103,7 @@
103
103
 
104
104
  .et-tree-node-error {
105
105
  flex: none;
106
- color: var(--et-tree-error-color, var(--et-surface-color-muted-solid, GrayText));
106
+ color: var(--et-tree-error-color, var(--et-surface-text-muted, GrayText));
107
107
  font-size: 0.875em;
108
108
  }
109
109
 
@@ -122,19 +122,19 @@
122
122
  }
123
123
 
124
124
  &:where([data-error]) .et-tree-node-marker {
125
- color: var(--et-tree-error-color, var(--et-surface-color-muted-solid, GrayText));
125
+ color: var(--et-tree-error-color, var(--et-surface-text-muted, GrayText));
126
126
  }
127
127
 
128
128
  &:not(:where([aria-disabled])):hover {
129
- background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 7%, transparent);
129
+ background: color-mix(in srgb, var(--et-surface-tint, gray) 7%, transparent);
130
130
  }
131
131
 
132
132
  &:not(:where([aria-disabled])):active {
133
- background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 14%, transparent);
133
+ background: color-mix(in srgb, var(--et-surface-tint, gray) 14%, transparent);
134
134
  }
135
135
 
136
136
  &:focus-visible {
137
- outline: 2px solid var(--et-theme-color-ink-solid, currentColor);
137
+ outline: 2px solid var(--et-tone-text, currentColor);
138
138
  outline-offset: -2px;
139
139
  }
140
140
 
@@ -147,15 +147,15 @@
147
147
  /* Must stay after `.et-tree-node`: it weighs the same as the bare interaction states, so source
148
148
  order is what keeps a selected row's accent while hovered. */
149
149
  .et-tree:not(:where([aria-multiselectable])) .et-tree-node:where([data-selected]) {
150
- background: color-mix(in srgb, var(--et-theme-color-primary-solid, gray) 16%, transparent);
151
- color: var(--et-theme-color-ink-solid, inherit);
150
+ background: color-mix(in srgb, var(--et-tone-fill, gray) 16%, transparent);
151
+ color: var(--et-tone-text, inherit);
152
152
 
153
153
  &:not(:where([aria-disabled])):hover {
154
- background: color-mix(in srgb, var(--et-theme-color-primary-solid, gray) 24%, transparent);
154
+ background: color-mix(in srgb, var(--et-tone-fill, gray) 24%, transparent);
155
155
  }
156
156
 
157
157
  &:not(:where([aria-disabled])):active {
158
- background: color-mix(in srgb, var(--et-theme-color-primary-solid, gray) 32%, transparent);
158
+ background: color-mix(in srgb, var(--et-tone-fill, gray) 32%, transparent);
159
159
  }
160
160
  }
161
161
 
@@ -165,7 +165,7 @@
165
165
  inline-size: var(--et-tree-check-size);
166
166
  block-size: var(--et-tree-check-size);
167
167
  box-sizing: border-box;
168
- border: 2px solid var(--et-surface-border-solid, rgb(255 255 255 / 0.3));
168
+ border: 2px solid var(--et-surface-border, rgb(255 255 255 / 0.3));
169
169
  border-radius: 4px;
170
170
  transition:
171
171
  background var(--et-tree-duration) ease,
@@ -178,7 +178,7 @@
178
178
  margin: auto;
179
179
  inline-size: 4px;
180
180
  block-size: 8px;
181
- border: solid var(--et-theme-color-on-primary, rgb(0 0 0));
181
+ border: solid var(--et-tone-on-fill, rgb(0 0 0));
182
182
  border-width: 0 2px 2px 0;
183
183
  translate: 0 -1px;
184
184
  rotate: 45deg;
@@ -188,8 +188,8 @@
188
188
  }
189
189
 
190
190
  .et-tree-node:where([data-selected]) > .et-tree-node-check {
191
- border-color: var(--et-theme-color-primary-solid, currentColor);
192
- background: var(--et-theme-color-primary-solid, currentColor);
191
+ border-color: var(--et-tone-fill, currentColor);
192
+ background: var(--et-tone-fill, currentColor);
193
193
 
194
194
  &::after {
195
195
  opacity: 1;
@@ -197,15 +197,15 @@
197
197
  }
198
198
 
199
199
  .et-tree-status {
200
- color: var(--et-surface-color-muted-solid, GrayText);
200
+ color: var(--et-surface-text-muted, GrayText);
201
201
 
202
202
  &:where(.et-tree-status--error) {
203
- color: var(--et-tree-error-color, var(--et-surface-color-muted-solid, GrayText));
203
+ color: var(--et-tree-error-color, var(--et-surface-text-muted, GrayText));
204
204
  cursor: pointer;
205
205
  }
206
206
 
207
207
  &:focus-visible {
208
- outline: 2px solid var(--et-theme-color-ink-solid, currentColor);
208
+ outline: 2px solid var(--et-tone-text, currentColor);
209
209
  outline-offset: -2px;
210
210
  }
211
211
  }
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  import { Binding, ComponentRef, DirectiveWithBindings, ElementRef, EnvironmentInjector, InjectionToken, Injector, InputSignal, InputSignalWithTransform, ModelSignal, OnDestroy, OnInit, Provider, Signal, StaticProvider, TemplateRef, Type, ViewContainerRef, WritableSignal, computed } from "@angular/core";
3
3
  import * as i1$1 from "@ethlete/core";
4
4
  import { AngularRenderer, AnimatableDirective, AnimatedLifecycleDirective, AnimatedLifecycleState, Breakpoint, ColorTheme, ColorThemeInput, ConsentHandler, CreateUnsavedChangesTrackerConfig, DragHandleDirective, DragMoveEvent, JsonLD, LabelsSource, OverlayRuntimeAnimationDelegate, OverlayRuntimeCloseEvent, OverlayRuntimeCloseGuard, OverlayRuntimeCloseSource, OverlayRuntimeElements, OverlayRuntimePositionStrategy, OverlayRuntimeRef, OverlayRuntimeShiftOptions, ProvideColorDirective, RegisteredColorThemeName, ResizeEdge, ResizeMoveEvent, RuntimeError, ScrollToElementOptions, UnsavedChangesTrackerRef } from "@ethlete/core";
5
- import { BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, Bracket, Bracket as Bracket$1, BracketByeSlotSource, BracketComponents, BracketComponents as BracketComponents$1, BracketContinueComponent, BracketContinueComponent as BracketContinueComponent$1, BracketDataLayout, BracketDataSource, BracketDrawing, BracketDrawing as BracketDrawing$1, BracketEdge, BracketExternalSlotSource, BracketFinalAlignment, BracketFinalAlignment as BracketFinalAlignment$1, BracketGradient, BracketGradientStop, BracketGridSection, BracketGridSection as BracketGridSection$1, BracketMap, BracketMatch, BracketMatch as BracketMatch$1, BracketMatchComponent, BracketMatchComponent as BracketMatchComponent$1, BracketMatchFactor, BracketMatchId, BracketMatchOutcomeSlotSource, BracketMatchParticipant, BracketMatchPosition, BracketMatchRelation, BracketMatchRelationNone, BracketMatchRelationNothingToOne, BracketMatchRelationOneToNothing, BracketMatchRelationOneToOne, BracketMatchRelationTwoToNothing, BracketMatchRelationTwoToOne, BracketMatchShortId, BracketMatchSlot, BracketMatchSource, BracketMatchStatus, BracketParticipant, BracketParticipantMatch, BracketPickMigration, BracketPickMigrationOptions, BracketPickSet, BracketRect, BracketRound, BracketRound as BracketRound$1, BracketRoundHeaderComponent, BracketRoundHeaderComponent as BracketRoundHeaderComponent$1, BracketRoundId, BracketRoundMapWithSwissData, BracketRoundMapWithSwissData as BracketRoundMapWithSwissData$1, BracketRoundMirrorType, BracketRoundPosition, BracketRoundRelation, BracketRoundRelationNone, BracketRoundRelationNothingToOne, BracketRoundRelationOneToNothing, BracketRoundRelationOneToOne, BracketRoundRelationTwoToNothing, BracketRoundRelationTwoToOne, BracketRoundShortId, BracketRoundSource, BracketRoundSwissData, BracketRoundSwissGroup, BracketRoundSwissGroup as BracketRoundSwissGroup$1, BracketRoundSwissGroupId, BracketRoundSwissGroupMap, BracketRoundType, BracketRoundType as BracketRoundType$1, BracketRuntimeError, BracketSectionKey, BracketSectionKey as BracketSectionKey$1, BracketSectionTitleComponent, BracketSectionTitleComponent as BracketSectionTitleComponent$1, BracketSeedSlotSource, BracketSlotResolutionPolicy, BracketSlotSource, BracketSlotSource as BracketSlotSource$1, BracketSlotSourceKind, BracketStandingRankSide, BracketStandingRankSlotSource, BracketSwissBucketSlotSource, BracketSwissColors, BracketSwissColors as BracketSwissColors$1, BracketSwissGroupColorType, BracketWarning, COMMON_BRACKET_ROUND_TYPE, CommonBracketRoundType, ComputedBracketGrid, ComputedBracketGrid as ComputedBracketGrid$1, CreateBracketGridConfig, CreateBracketGridConfig as CreateBracketGridConfig$1, CreateBracketOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, DoubleEliminationBracketRoundType, FinalizedBracketElement, GROUP_BRACKET_ROUND_TYPE, GroupBracketRoundType, MatchParticipantId, MatchParticipantShortId, MatchParticipantSide, MatchParticipantSide as MatchParticipantSide$1, ParticipantMatchResult, PlaceholderBracketShape, PlaceholderBracketShape as PlaceholderBracketShape$1, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, SingleEliminationBracketRoundType, StandingPick, StandingPick as StandingPick$1, StandingPickOutcome, SwissBracketRoundType, TOURNAMENT_MODE, TournamentMode, TournamentMode as TournamentMode$1, bracketSlot, createBracket, createPlaceholderBracketSource, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource } from "@ethlete/bracket";
5
+ import { BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, Bracket, Bracket as Bracket$1, BracketByeSlotSource, BracketComponents, BracketComponents as BracketComponents$1, BracketContinueComponent, BracketContinueComponent as BracketContinueComponent$1, BracketDataLayout, BracketDataSource, BracketDrawing, BracketDrawing as BracketDrawing$1, BracketEdge, BracketExternalSlotSource, BracketFinalAlignment, BracketFinalAlignment as BracketFinalAlignment$1, BracketGradient, BracketGradientStop, BracketGridSection, BracketGridSection as BracketGridSection$1, BracketMap, BracketMatch, BracketMatch as BracketMatch$1, BracketMatchComponent, BracketMatchComponent as BracketMatchComponent$1, BracketMatchFactor, BracketMatchId, BracketMatchOutcomeSlotSource, BracketMatchParticipant, BracketMatchPosition, BracketMatchRelation, BracketMatchRelationNone, BracketMatchRelationNothingToOne, BracketMatchRelationOneToNothing, BracketMatchRelationOneToOne, BracketMatchRelationTwoToNothing, BracketMatchRelationTwoToOne, BracketMatchShortId, BracketMatchSlot, BracketMatchSource, BracketMatchStatus, BracketParticipant, BracketParticipantMatch, BracketPickMigration, BracketPickMigrationOptions, BracketPickSet, BracketRect, BracketRound, BracketRound as BracketRound$1, BracketRoundHeaderComponent, BracketRoundHeaderComponent as BracketRoundHeaderComponent$1, BracketRoundId, BracketRoundMapWithSwissData, BracketRoundMapWithSwissData as BracketRoundMapWithSwissData$1, BracketRoundMirrorType, BracketRoundPosition, BracketRoundRelation, BracketRoundRelationNone, BracketRoundRelationNothingToOne, BracketRoundRelationOneToNothing, BracketRoundRelationOneToOne, BracketRoundRelationTwoToNothing, BracketRoundRelationTwoToOne, BracketRoundShortId, BracketRoundSource, BracketRoundSwissData, BracketRoundSwissGroup, BracketRoundSwissGroup as BracketRoundSwissGroup$1, BracketRoundSwissGroupId, BracketRoundSwissGroupMap, BracketRoundType, BracketRoundType as BracketRoundType$1, BracketRuntimeError, BracketSectionKey, BracketSectionKey as BracketSectionKey$1, BracketSectionTitleComponent, BracketSectionTitleComponent as BracketSectionTitleComponent$1, BracketSeedSlotSource, BracketSlotResolutionPolicy, BracketSlotSource, BracketSlotSource as BracketSlotSource$1, BracketSlotSourceKind, BracketStandingRankSide, BracketStandingRankSlotSource, BracketSwissBucketSlotSource, BracketSwissColors, BracketSwissColors as BracketSwissColors$1, BracketSwissGroupColorType, BracketSwissGroupColorType as BracketSwissGroupColorType$1, BracketWarning, COMMON_BRACKET_ROUND_TYPE, CommonBracketRoundType, ComputedBracketGrid, ComputedBracketGrid as ComputedBracketGrid$1, CreateBracketGridConfig, CreateBracketGridConfig as CreateBracketGridConfig$1, CreateBracketOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, DoubleEliminationBracketRoundType, FinalizedBracketElement, GROUP_BRACKET_ROUND_TYPE, GroupBracketRoundType, MatchParticipantId, MatchParticipantShortId, MatchParticipantSide, MatchParticipantSide as MatchParticipantSide$1, ParticipantMatchResult, PlaceholderBracketShape, PlaceholderBracketShape as PlaceholderBracketShape$1, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, SingleEliminationBracketRoundType, StandingPick, StandingPick as StandingPick$1, StandingPickOutcome, SwissBracketRoundType, TOURNAMENT_MODE, TournamentMode, TournamentMode as TournamentMode$1, bracketSlot, createBracket, createPlaceholderBracketSource, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource } from "@ethlete/bracket";
6
6
  import { AnyLegacyQuery, AnyLegacyQueryCreator, AnyPagedQueryStack, AnyQueryCollection, AnyQueryCreator, AnyV2Query, AnyV2QueryCreator, PagedQueryStackDirection, QueryArgs, QueryArgsOf, QueryCreator, QueryDataOf, QueryErrorResponse, QueryFormFields, QueryFormModel, QueryFormSignals, ReadonlyQuery, RequestArgs, RequestError, ResponseType, ServerViolationValidationError } from "@ethlete/query";
7
7
  import { Locale } from "date-fns";
8
8
  import { OffsetOptions, Padding, Placement } from "@floating-ui/dom";
@@ -2078,9 +2078,9 @@ type BracketComponentOverrides<TRoundData, TMatchData> = {
2078
2078
  type BracketLayoutSettings = Required<BracketLayoutConfig>;
2079
2079
  /**
2080
2080
  * Resolves a partial config in the order the bracket documents: what you set, then the density preset,
2081
- * then {@link BRACKET_DEFAULTS}. Use it to position your own UI around a bracket before the grid renders.
2081
+ * then the layout defaults, then {@link BRACKET_DEFAULTS}. Use it to position your own UI around a bracket before the grid renders.
2082
2082
  */
2083
- export declare const resolveBracketLayoutSettings: (config: BracketLayoutConfig) => BracketLayoutSettings;
2083
+ export declare const resolveBracketLayoutSettings: (config: BracketLayoutConfig, layoutDefaults?: BracketLayoutConfig) => BracketLayoutSettings;
2084
2084
  /**
2085
2085
  * Every string the bracket's default cards render or announce. Defaults are English
2086
2086
  * ({@link DEFAULT_BRACKET_LABELS}); override them app-wide with {@link provideBracketLabels}.
@@ -2224,15 +2224,26 @@ export type BracketLayout<TRoundData = any, TMatchData = any> = {
2224
2224
  */
2225
2225
  listSection?: (round: BracketRound$1<TRoundData, TMatchData>, bracket: Bracket$1<TRoundData, TMatchData>, labels: BracketLabels) => BracketListSection;
2226
2226
  /**
2227
- * Per-layout default cards, sitting between the host's inputs and the app config: input →
2228
- * these → `provideBracketConfig` components → shipped defaults.
2227
+ * Per-layout cards, sitting between the host's inputs and the app config: input → these →
2228
+ * {@link configComponents} → {@link defaultComponents} → `provideBracketConfig` components.
2229
2229
  */
2230
2230
  components?: BracketComponentOverrides<TRoundData, TMatchData>;
2231
+ /** The cards this layout reads from its own slot of the app config, e.g. `provideBracketConfig({ swiss })`. */
2232
+ configComponents?: (config: BracketConfig<TRoundData, TMatchData>) => BracketComponentOverrides<TRoundData, TMatchData> | undefined;
2233
+ /** The cards this layout draws when neither the host, the layout options nor its config slot name one. */
2234
+ defaultComponents?: BracketComponentOverrides<TRoundData, TMatchData>;
2235
+ /**
2236
+ * Draws the drawing's `rects` inside the bracket's `<svg>`: a component whose selector starts with `svg`, with a
2237
+ * `rects` input. Without one the host draws none.
2238
+ */
2239
+ rectsComponent?: Type<unknown>;
2231
2240
  /**
2232
2241
  * Styles-only components the host mounts (once, app-wide) while this layout renders - CSS only
2233
2242
  * brackets with this layout need, kept out of every other consumer's document.
2234
2243
  */
2235
2244
  styles?: readonly Type<unknown>[];
2245
+ /** Settings this layout defaults differently from the shipped defaults; the density preset and anything you set still win. */
2246
+ defaults?: BracketLayoutConfig;
2236
2247
  };
2237
2248
  export declare const BRACKET_ROUND_HEADER_ALIGN: {
2238
2249
  readonly START: "start";
@@ -2307,6 +2318,7 @@ export type BracketConfig<TRoundData = any, TMatchData = any> = {
2307
2318
  disableJourneyHighlight?: boolean;
2308
2319
  swissGroupPadding?: number;
2309
2320
  swissGroupBorderRadius?: number;
2321
+ swissGroupBorderWidth?: number;
2310
2322
  /**
2311
2323
  * The size everything is drawn at - `'default'`, or `'compact'` for a bracket in an article column or
2312
2324
  * a phone. A preset under everything else: any setting above still wins over it. See
@@ -2337,6 +2349,13 @@ export type BracketConfig<TRoundData = any, TMatchData = any> = {
2337
2349
  finalMatchComponent?: BracketMatchComponent$1<TRoundData, TMatchData>;
2338
2350
  continueComponent?: BracketContinueComponent$1<TRoundData, TMatchData>;
2339
2351
  sectionTitleComponent?: BracketSectionTitleComponent$1<TRoundData, TMatchData>;
2352
+ /**
2353
+ * Cards for swiss sources only. A `roundHeaderComponent` here beats the swiss default header, which in
2354
+ * turn beats the global `roundHeaderComponent`.
2355
+ */
2356
+ swiss?: {
2357
+ roundHeaderComponent?: BracketRoundHeaderComponent$1<TRoundData, TMatchData>;
2358
+ };
2340
2359
  /**
2341
2360
  * How to read your match data - required by the **default** cards, ignored by cards of your own. See
2342
2361
  * {@link BracketMatchNormalizer}; the Ethlete integration ships a ready-made one.
@@ -2352,7 +2371,7 @@ export type BracketConfig<TRoundData = any, TMatchData = any> = {
2352
2371
  * The settings that describe how a bracket is *drawn*, as opposed to what draws it - everything in
2353
2372
  * {@link BracketConfig} except the layouts, the component slots and the normalizer.
2354
2373
  */
2355
- export type BracketLayoutConfig = Omit<BracketConfig, 'layouts' | 'roundHeaderComponent' | 'matchComponent' | 'finalMatchComponent' | 'continueComponent' | 'sectionTitleComponent' | 'matchNormalizer'>;
2374
+ export type BracketLayoutConfig = Omit<BracketConfig, 'layouts' | 'roundHeaderComponent' | 'matchComponent' | 'finalMatchComponent' | 'continueComponent' | 'sectionTitleComponent' | 'swiss' | 'matchNormalizer'>;
2356
2375
  /**
2357
2376
  * The value every {@link BracketLayoutConfig} setting falls back to when neither an input, a density
2358
2377
  * preset nor `provideBracketConfig` supplies one.
@@ -3012,6 +3031,7 @@ export declare class BracketComponent<TRoundData = unknown, TMatchData = unknown
3012
3031
  disableJourneyHighlight: import("@angular/core").InputSignalWithTransform<boolean | undefined, OptionalBooleanInput>;
3013
3032
  swissGroupPadding: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
3014
3033
  swissGroupBorderRadius: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
3034
+ swissGroupBorderWidth: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
3015
3035
  swissColors: import("@angular/core").InputSignal<Partial<Record<import("@ethlete/bracket").BracketSwissGroupColorType, string>> | undefined>;
3016
3036
  /**
3017
3037
  * The layouts this instance may draw with, replacing the `provideBracketConfig` list entirely -
@@ -3072,13 +3092,13 @@ export declare class BracketComponent<TRoundData = unknown, TMatchData = unknown
3072
3092
  focusedParticipantId: import("@angular/core").ModelSignal<string | null>;
3073
3093
  private elementId;
3074
3094
  private journeyController;
3095
+ private resolvedLayout;
3075
3096
  /**
3076
3097
  * Every layout value in effect: this component's inputs first, `provideBracketConfig` second, the
3077
3098
  * density preset third, the shipped defaults last. Read this rather than the inputs - an input alone
3078
3099
  * is only half the answer.
3079
3100
  */
3080
3101
  settings: Signal<Required<import("@ethlete/components").BracketLayoutConfig>>;
3081
- private resolvedLayout;
3082
3102
  bracketData: Signal<import("@ethlete/bracket").Bracket<TRoundData, TMatchData>>;
3083
3103
  private journeyParticipants;
3084
3104
  bracketGrid: Signal<import("@ethlete/bracket").ComputedBracketGrid<TRoundData, TMatchData>>;
@@ -3088,6 +3108,8 @@ export declare class BracketComponent<TRoundData = unknown, TMatchData = unknown
3088
3108
  protected resolvedSectionTitleComponent: Signal<Type<unknown>>;
3089
3109
  /** The connectors, group borders and gradients the active layout draws for this grid. */
3090
3110
  drawing: Signal<import("@ethlete/bracket").BracketDrawing>;
3111
+ protected rectsComponent: Signal<Type<unknown> | null>;
3112
+ protected swissToneColors: Signal<Record<string, string>>;
3091
3113
  protected focusRoundOffset: Signal<number>;
3092
3114
  constructor();
3093
3115
  /**
@@ -3233,6 +3255,11 @@ export declare class BracketComponent<TRoundData = unknown, TMatchData = unknown
3233
3255
  "required": false;
3234
3256
  "isSignal": true;
3235
3257
  };
3258
+ "swissGroupBorderWidth": {
3259
+ "alias": "swissGroupBorderWidth";
3260
+ "required": false;
3261
+ "isSignal": true;
3262
+ };
3236
3263
  "swissColors": {
3237
3264
  "alias": "swissColors";
3238
3265
  "required": false;
@@ -3542,6 +3569,32 @@ export declare const singleEliminationBracketLayout: <TRoundData = any, TMatchDa
3542
3569
  * the height, roughly double the width, the shape a poster or a broadcast graphic wants.
3543
3570
  */
3544
3571
  export declare const mirroredSingleEliminationBracketLayout: <TRoundData = any, TMatchData = any>() => BracketLayout<TRoundData, TMatchData>;
3572
+ /**
3573
+ * The default round header of `swissBracketLayout()`: the round's name, a rule and the group's record, in the
3574
+ * record's tone - the app's success, warning or error theme, neutral for the opening record.
3575
+ */
3576
+ export declare class BracketSwissRoundHeaderComponent<TRoundData = unknown, TMatchData = unknown> {
3577
+ private cardContext;
3578
+ private toneThemes;
3579
+ bracketRound: import("@angular/core").InputSignal<BracketRound$1<TRoundData, TMatchData>>;
3580
+ bracketRoundSwissGroup: import("@angular/core").InputSignal<BracketRoundSwissGroup$1<TRoundData, TMatchData> | null>;
3581
+ protected headingLevel: import("@angular/core").Signal<number>;
3582
+ protected tone: import("@angular/core").Signal<import("@ethlete/bracket").BracketSwissGroupColorType>;
3583
+ protected theme: import("@angular/core").Signal<import("@ethlete/core").ColorTheme | null>;
3584
+ static ɵfac: i0.ɵɵFactoryDeclaration<BracketSwissRoundHeaderComponent<any, any>, never>;
3585
+ static ɵcmp: i0.ɵɵComponentDeclaration<BracketSwissRoundHeaderComponent<any, any>, "et-bracket-swiss-round-header", never, {
3586
+ "bracketRound": {
3587
+ "alias": "bracketRound";
3588
+ "required": true;
3589
+ "isSignal": true;
3590
+ };
3591
+ "bracketRoundSwissGroup": {
3592
+ "alias": "bracketRoundSwissGroup";
3593
+ "required": true;
3594
+ "isSignal": true;
3595
+ };
3596
+ }, {}, never, never, true, never>;
3597
+ }
3545
3598
  export type SwissBracketLayoutOptions<TRoundData = any, TMatchData = any> = {
3546
3599
  /**
3547
3600
  * Colors for the group borders and connection lines - see {@link BracketSwissColors}. A host's
@@ -3554,6 +3607,10 @@ export type SwissBracketLayoutOptions<TRoundData = any, TMatchData = any> = {
3554
3607
  * elimination stage next to it.
3555
3608
  */
3556
3609
  matchComponent?: BracketMatchComponent$1<TRoundData, TMatchData>;
3610
+ /**
3611
+ * Replaces the swiss default header, {@link BracketSwissRoundHeaderComponent}. Beats
3612
+ * `provideBracketConfig({ swiss: { roundHeaderComponent } })`; a host's `roundHeaderComponent` input beats both.
3613
+ */
3557
3614
  roundHeaderComponent?: BracketRoundHeaderComponent$1<TRoundData, TMatchData>;
3558
3615
  };
3559
3616
  /**
@@ -3568,6 +3625,11 @@ export type SwissBracketLayoutOptions<TRoundData = any, TMatchData = any> = {
3568
3625
  * swissBracketLayout({ colors: { positive: 'var(--my-win-color)' } })
3569
3626
  */
3570
3627
  export declare const swissBracketLayout: <TRoundData = any, TMatchData = any>(options?: SwissBracketLayoutOptions<TRoundData, TMatchData>) => BracketLayout<TRoundData, TMatchData>;
3628
+ /**
3629
+ * The record tone of a swiss group id like `'1-0'` (wins-losses), or `'neutral'` for an id that is no record.
3630
+ * The record-to-tone rule itself is {@link getSwissGroupColorType}.
3631
+ */
3632
+ export declare const swissRecordTone: (groupId: string | null | undefined) => BracketSwissGroupColorType$1;
3571
3633
  /**
3572
3634
  * Lets a breadcrumb move the crumbs that don't fit into an overflow control. Apply it to the breadcrumb
3573
3635
  * (or to `<et-breadcrumb-outlet>`, or to any ancestor - the app shell's root element covers every
@@ -4168,11 +4230,7 @@ export declare class ButtonDirective {
4168
4230
  "required": false;
4169
4231
  "isSignal": true;
4170
4232
  };
4171
- }, {}, never, never, true, [{
4172
- directive: typeof i1$1.SurfaceInteractiveDirective;
4173
- inputs: {};
4174
- outputs: {};
4175
- }]>;
4233
+ }, {}, never, never, true, never>;
4176
4234
  }
4177
4235
  export type QueryButtonLoadingState = {
4178
4236
  progress?: {
@@ -6915,6 +6973,8 @@ export declare class TooltipDirective {
6915
6973
  show(): void;
6916
6974
  hide(): void;
6917
6975
  private setupHoverBehavior;
6976
+ private isHostExpanded;
6977
+ private setupClickBehavior;
6918
6978
  private setupLongPressBehavior;
6919
6979
  /**
6920
6980
  * A tooltip can outlive the hover that opened it - a `pointercancel`, a scroll that moves the
@@ -10073,6 +10133,7 @@ export declare class OverlayDirective {
10073
10133
  readonly panelId: string;
10074
10134
  isMounted: import("@angular/core").Signal<boolean>;
10075
10135
  private isClosing;
10136
+ private isDestroyed;
10076
10137
  private originElement;
10077
10138
  constructor();
10078
10139
  show(): void;
@@ -26471,15 +26532,10 @@ export declare class PaginationComponent {
26471
26532
  private controlEls;
26472
26533
  protected jumpValue: import("@angular/core").WritableSignal<number | null>;
26473
26534
  private hostDimensions;
26535
+ private lastItemWidth;
26474
26536
  protected fitsWidth: import("@angular/core").Signal<boolean>;
26475
26537
  /** The `[start, end]` (1-based, inclusive) item range shown on the current page, or `null` if unknown. */
26476
26538
  range: import("@angular/core").Signal<[number, number] | null>;
26477
- /**
26478
- * Whether to render the compact previous/next pager instead of the number row. Honors the `compact`
26479
- * input override; otherwise (when `responsive`) collapses once the measured width drops below
26480
- * {@link COMPACT_MAX_WIDTH}.
26481
- */
26482
- protected isCompact: import("@angular/core").Signal<boolean>;
26483
26539
  /** The "Showing X–Y of Z" readout, or `null` when `totalItems`/`pageSize` aren't set. */
26484
26540
  rangeStatus: import("@angular/core").Signal<string | null>;
26485
26541
  /** The compact readout: the item range ("1–10 of 40") when known, else the page position. */
@@ -26501,6 +26557,13 @@ export declare class PaginationComponent {
26501
26557
  previous: PaginationItem | null;
26502
26558
  next: PaginationItem | null;
26503
26559
  }>;
26560
+ private fittedWindow;
26561
+ /**
26562
+ * Whether to render the compact previous/next pager instead of the number row. Honors the `compact`
26563
+ * input override; otherwise (when `responsive`) collapses only once even the shortest number row
26564
+ * does not fit the measured width.
26565
+ */
26566
+ protected isCompact: import("@angular/core").Signal<boolean>;
26504
26567
  /**
26505
26568
  * The rendered page items. With `responsive` on (the default) the window is trimmed to the richest
26506
26569
  * configuration that fits the current width; otherwise it's the headless directive's full window.
@@ -26520,7 +26583,7 @@ export declare class PaginationComponent {
26520
26583
  /**
26521
26584
  * How many item cells fit across `width`. Measures the currently-rendered items rather than the CSS
26522
26585
  * size tokens: item width is content-/token-driven but independent of how many items there are, so
26523
- * this can't feed back into a layout loop. Falls back to a rough estimate before the first render.
26586
+ * this can't feed back into a layout loop. Keeps the last measurement while the compact pager hides the items.
26524
26587
  */
26525
26588
  private slotsThatFit;
26526
26589
  /**
@@ -35795,11 +35858,7 @@ export declare class TabBarTriggerDirective {
35795
35858
  "required": false;
35796
35859
  "isSignal": true;
35797
35860
  };
35798
- }, {}, never, never, true, [{
35799
- directive: typeof i1$1.SurfaceInteractiveDirective;
35800
- inputs: {};
35801
- outputs: {};
35802
- }]>;
35861
+ }, {}, never, never, true, never>;
35803
35862
  }
35804
35863
  export declare class TabBarUnderlineDirective {
35805
35864
  private tabBar;
@@ -35837,8 +35896,6 @@ export declare const TAB_UNDERLINE_WIDTHS: {
35837
35896
  };
35838
35897
  export type TabUnderlineWidth = (typeof TAB_UNDERLINE_WIDTHS)[keyof typeof TAB_UNDERLINE_WIDTHS];
35839
35898
  export type TabsConfig = {
35840
- /** Default for `activeUnderline` on every tab group and nav tabs bar. An explicit input still wins. */
35841
- activeUnderline?: boolean;
35842
35899
  /** Default for `underlineWidth` on every tab group and nav tabs bar. An explicit input still wins. */
35843
35900
  underlineWidth?: TabUnderlineWidth;
35844
35901
  };
@@ -35846,7 +35903,7 @@ export type TabsConfig = {
35846
35903
  * Sets app-wide tab bar defaults.
35847
35904
  *
35848
35905
  * @example
35849
- * providers: [provideTabsConfig({ activeUnderline: false, underlineWidth: 'label' })]
35906
+ * providers: [provideTabsConfig({ underlineWidth: 'label' })]
35850
35907
  */
35851
35908
  export declare const provideTabsConfig: (valueOverride?: Partial<TabsConfig> | undefined) => import("@angular/core").StaticProvider[];
35852
35909
  export declare const injectTabsConfig: import("@ethlete/core").InjectFn<TabsConfig>;
@@ -37491,5 +37548,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
37491
37548
  export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
37492
37549
  export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
37493
37550
  /** The version of `@ethlete/components` this build was cut from. */
37494
- export declare const COMPONENTS_VERSION = "1.0.0-next.100";
37551
+ export declare const COMPONENTS_VERSION = "1.0.0-next.101";
37495
37552
  export { type AlertDialogComponentSlot, type AlertDialogSlot, type AlertDialogTemplateSlot, type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketFinalAlignment, type BracketGradient, type BracketGradientStop, type BracketGridSection, type BracketLayoutSettings, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchInputs, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSectionKey, type BracketSectionTitleComponent, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DropzoneCropConfig, type DropzoneCropCorner, type DropzoneCropRect, type DropzoneCropShape, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableButtonsDefaults, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableConfig, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableResponsive, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };