@nanahoshi/mona-ui 0.25.0 → 0.26.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 (227) hide show
  1. package/README.md +2 -0
  2. package/command/package.json +4 -0
  3. package/docs/auto-complete.md +733 -0
  4. package/docs/avatar.md +220 -0
  5. package/docs/breadcrumb.md +320 -0
  6. package/docs/button-group.md +392 -0
  7. package/docs/button.md +256 -0
  8. package/docs/calendar.md +515 -0
  9. package/docs/card.md +292 -0
  10. package/docs/chart.md +4058 -0
  11. package/docs/checkbox.md +374 -0
  12. package/docs/chip.md +339 -0
  13. package/docs/circular-progress-bar.md +287 -0
  14. package/docs/collapsible.md +308 -0
  15. package/docs/color-gradient.md +336 -0
  16. package/docs/color-palette.md +317 -0
  17. package/docs/color-picker.md +387 -0
  18. package/docs/combo-box.md +764 -0
  19. package/docs/command.md +582 -0
  20. package/docs/contextmenu.md +530 -0
  21. package/docs/date-picker.md +251 -0
  22. package/docs/datetime-picker.md +284 -0
  23. package/docs/decimal-textbox.md +260 -0
  24. package/docs/dialog.md +822 -0
  25. package/docs/dropdown-button.md +507 -0
  26. package/docs/dropdown-list.md +779 -0
  27. package/docs/editor.md +374 -0
  28. package/docs/expansion-panel.md +348 -0
  29. package/docs/fieldset.md +217 -0
  30. package/docs/forms.md +162 -0
  31. package/docs/grid.md +2053 -0
  32. package/docs/input.md +197 -0
  33. package/docs/installation.md +54 -0
  34. package/docs/introduction.md +46 -0
  35. package/docs/label.md +340 -0
  36. package/docs/list-box.md +637 -0
  37. package/docs/list-view.md +584 -0
  38. package/docs/menubar.md +559 -0
  39. package/docs/multi-select.md +765 -0
  40. package/docs/notification.md +460 -0
  41. package/docs/numeric-textbox.md +301 -0
  42. package/docs/otp-input.md +539 -0
  43. package/docs/pager.md +513 -0
  44. package/docs/placeholder.md +176 -0
  45. package/docs/popover.md +423 -0
  46. package/docs/popup-menu.md +658 -0
  47. package/docs/popup.md +617 -0
  48. package/docs/progress-bar.md +368 -0
  49. package/docs/radio-button.md +451 -0
  50. package/docs/range-slider.md +367 -0
  51. package/docs/rating.md +518 -0
  52. package/docs/scroll-view.md +375 -0
  53. package/docs/segmented.md +434 -0
  54. package/docs/sheet.md +348 -0
  55. package/docs/sidebar.md +1126 -0
  56. package/docs/skeleton.md +181 -0
  57. package/docs/slider.md +423 -0
  58. package/docs/spinner.md +370 -0
  59. package/docs/split-button.md +522 -0
  60. package/docs/splitter.md +342 -0
  61. package/docs/stepper.md +539 -0
  62. package/docs/switch.md +340 -0
  63. package/docs/tabs.md +542 -0
  64. package/docs/textarea.md +196 -0
  65. package/docs/textbox.md +332 -0
  66. package/docs/theming.md +403 -0
  67. package/docs/time-picker.md +254 -0
  68. package/docs/tooltip-directive.md +340 -0
  69. package/docs/tooltip.md +321 -0
  70. package/docs/tree-view.md +1018 -0
  71. package/docs/window.md +663 -0
  72. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1 -1
  73. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +8 -0
  74. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +1 -1
  75. package/fesm2022/nanahoshi-mona-ui-button.mjs +14 -2
  76. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +5 -2
  77. package/fesm2022/nanahoshi-mona-ui-chart.mjs +108 -22
  78. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +4 -0
  79. package/fesm2022/nanahoshi-mona-ui-chip.mjs +1 -1
  80. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +4 -0
  81. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +16 -2
  82. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1 -1
  83. package/fesm2022/nanahoshi-mona-ui-command.mjs +924 -0
  84. package/fesm2022/nanahoshi-mona-ui-common.mjs +4 -0
  85. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +10 -6
  86. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +2 -1
  87. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +2 -1
  88. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +9 -5
  89. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +9 -5
  90. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +55 -1
  91. package/fesm2022/nanahoshi-mona-ui-editor.mjs +3 -2
  92. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +13 -0
  93. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +5 -0
  94. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs} +2 -2
  95. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs → nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs} +5 -5
  96. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs → nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs} +18 -35
  97. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs} +5 -5
  98. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs} +4653 -4529
  99. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  100. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -0
  101. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +1 -0
  102. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +168 -0
  103. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +19 -1
  104. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +14 -0
  105. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +32 -0
  106. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +10 -0
  107. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +10 -0
  108. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +10 -0
  109. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +10 -0
  110. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +10 -0
  111. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +10 -0
  112. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +10 -0
  113. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +10 -0
  114. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +10 -0
  115. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +10 -0
  116. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +10 -0
  117. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +10 -0
  118. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +10 -0
  119. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +15 -8
  120. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +8 -5
  121. package/fesm2022/nanahoshi-mona-ui-notification.mjs +9 -0
  122. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1 -1
  123. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +5 -0
  124. package/fesm2022/nanahoshi-mona-ui-pager.mjs +2 -1
  125. package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -6
  126. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +48 -183
  127. package/fesm2022/nanahoshi-mona-ui-popup.mjs +16 -0
  128. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +4 -0
  129. package/fesm2022/nanahoshi-mona-ui-rating.mjs +2 -0
  130. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +7 -3
  131. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +2 -1
  132. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +5 -5
  133. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +1 -1
  134. package/fesm2022/nanahoshi-mona-ui-slider.mjs +8 -3
  135. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +10 -7
  136. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +18 -21
  137. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +11 -8
  138. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +9 -1
  139. package/fesm2022/nanahoshi-mona-ui-theme.mjs +53 -21
  140. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +2 -1
  141. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +16 -5
  142. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +13 -11
  143. package/fesm2022/nanahoshi-mona-ui-window.mjs +12 -5
  144. package/i18n/catalogs/en-US.messages.json +10 -0
  145. package/internal/popup-menu/package.json +4 -0
  146. package/llms.txt +123 -0
  147. package/locales/ar-sa/ar-sa.messages.json +10 -0
  148. package/locales/de-de/de-de.messages.json +10 -0
  149. package/locales/es-es/es-es.messages.json +10 -0
  150. package/locales/fr-fr/fr-fr.messages.json +10 -0
  151. package/locales/id-id/id-id.messages.json +10 -0
  152. package/locales/it-it/it-it.messages.json +10 -0
  153. package/locales/ja-jp/ja-jp.messages.json +10 -0
  154. package/locales/ko-kr/ko-kr.messages.json +10 -0
  155. package/locales/pt-br/pt-br.messages.json +10 -0
  156. package/locales/ru-ru/ru-ru.messages.json +10 -0
  157. package/locales/tr-tr/tr-tr.messages.json +10 -0
  158. package/locales/zh-cn/zh-cn.messages.json +10 -0
  159. package/locales/zh-tw/zh-tw.messages.json +10 -0
  160. package/package.json +9 -1
  161. package/styles.css +12 -2
  162. package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -1
  163. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +8 -0
  164. package/types/nanahoshi-mona-ui-button.d.ts +12 -0
  165. package/types/nanahoshi-mona-ui-calendar.d.ts +3 -0
  166. package/types/nanahoshi-mona-ui-chart.d.ts +200 -0
  167. package/types/nanahoshi-mona-ui-check-box.d.ts +4 -0
  168. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +4 -0
  169. package/types/nanahoshi-mona-ui-collapsible.d.ts +10 -0
  170. package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -1
  171. package/types/nanahoshi-mona-ui-command.d.ts +253 -0
  172. package/types/nanahoshi-mona-ui-common.d.ts +17 -1
  173. package/types/nanahoshi-mona-ui-contextmenu.d.ts +5 -2
  174. package/types/nanahoshi-mona-ui-date-picker.d.ts +2 -1
  175. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +2 -1
  176. package/types/nanahoshi-mona-ui-dialog.d.ts +58 -1
  177. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +7 -3
  178. package/types/nanahoshi-mona-ui-dropdowns.d.ts +55 -1
  179. package/types/nanahoshi-mona-ui-editor.d.ts +31 -0
  180. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +13 -0
  181. package/types/nanahoshi-mona-ui-fieldset.d.ts +5 -0
  182. package/types/nanahoshi-mona-ui-grid.d.ts +162 -35
  183. package/types/nanahoshi-mona-ui-i18n.d.ts +144 -1
  184. package/types/nanahoshi-mona-ui-internal-list.d.ts +16 -1
  185. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +165 -0
  186. package/types/nanahoshi-mona-ui-internal-tree.d.ts +21 -2
  187. package/types/nanahoshi-mona-ui-internal.d.ts +4 -5
  188. package/types/nanahoshi-mona-ui-label.d.ts +1 -0
  189. package/types/nanahoshi-mona-ui-list-box.d.ts +27 -4
  190. package/types/nanahoshi-mona-ui-list-view.d.ts +34 -1
  191. package/types/nanahoshi-mona-ui-list.d.ts +1 -1
  192. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +10 -0
  193. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +10 -0
  194. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +10 -0
  195. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +10 -0
  196. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +10 -0
  197. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +10 -0
  198. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +10 -0
  199. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +10 -0
  200. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +10 -0
  201. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +10 -0
  202. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +10 -0
  203. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +10 -0
  204. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +10 -0
  205. package/types/nanahoshi-mona-ui-menubar.d.ts +10 -3
  206. package/types/nanahoshi-mona-ui-multi-select.d.ts +3 -3
  207. package/types/nanahoshi-mona-ui-notification.d.ts +9 -0
  208. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -1
  209. package/types/nanahoshi-mona-ui-otp-input.d.ts +1 -0
  210. package/types/nanahoshi-mona-ui-pager.d.ts +5 -1
  211. package/types/nanahoshi-mona-ui-popover.d.ts +9 -1
  212. package/types/nanahoshi-mona-ui-popup-menu.d.ts +48 -161
  213. package/types/nanahoshi-mona-ui-popup.d.ts +16 -0
  214. package/types/nanahoshi-mona-ui-progress-bar.d.ts +4 -0
  215. package/types/nanahoshi-mona-ui-rating.d.ts +2 -0
  216. package/types/nanahoshi-mona-ui-segmented.d.ts +1 -0
  217. package/types/nanahoshi-mona-ui-sheet.d.ts +1 -1
  218. package/types/nanahoshi-mona-ui-slider.d.ts +2 -0
  219. package/types/nanahoshi-mona-ui-spinner.d.ts +7 -0
  220. package/types/nanahoshi-mona-ui-split-button.d.ts +7 -4
  221. package/types/nanahoshi-mona-ui-stepper.d.ts +11 -2
  222. package/types/nanahoshi-mona-ui-tabs.d.ts +4 -1
  223. package/types/nanahoshi-mona-ui-text-box.d.ts +9 -1
  224. package/types/nanahoshi-mona-ui-time-picker.d.ts +2 -1
  225. package/types/nanahoshi-mona-ui-tooltip.d.ts +10 -2
  226. package/types/nanahoshi-mona-ui-tree-view.d.ts +6 -5
  227. package/types/nanahoshi-mona-ui-window.d.ts +66 -1
@@ -264,8 +264,10 @@ const dark$5 = Object.freeze({
264
264
  "--color-input-foreground": "var(--color-foreground)",
265
265
  "--color-border-subtle": "#0F0F10",
266
266
  "--color-border": "#131416",
267
- "--color-border-control": "#6F7077",
268
- "--color-border-control-hover": "#818289",
267
+ "--color-border-control": "#0F0F10",
268
+ "--color-border-control-hover": "#17181A",
269
+ "--color-border-control-contrast": "#6F7077",
270
+ "--color-border-control-contrast-hover": "#818289",
269
271
  "--color-hover": "#242528",
270
272
  "--color-active": "#2A2B2E",
271
273
  "--color-disabled-foreground": "#9A9AA0",
@@ -404,8 +406,10 @@ const light$3 = Object.freeze({
404
406
  "--color-input-foreground": "var(--color-foreground)",
405
407
  "--color-border-subtle": "#eeeeef",
406
408
  "--color-border": "#e4e4e6",
407
- "--color-border-control": "#8a8b90",
408
- "--color-border-control-hover": "#76777c",
409
+ "--color-border-control": "#d5d6d9",
410
+ "--color-border-control-hover": "#c5c6ca",
411
+ "--color-border-control-contrast": "#8a8b90",
412
+ "--color-border-control-contrast-hover": "#76777c",
409
413
  "--color-hover": "#ecedef",
410
414
  "--color-active": "#e2e3e6",
411
415
  "--color-disabled-foreground": "#68696d",
@@ -482,8 +486,10 @@ const dark$3 = Object.freeze({
482
486
  "--color-input-foreground": "var(--color-foreground)",
483
487
  "--color-border-subtle": "#303033",
484
488
  "--color-border": "#39393d",
485
- "--color-border-control": "#74757a",
486
- "--color-border-control-hover": "#85868c",
489
+ "--color-border-control": "#494a4f",
490
+ "--color-border-control-hover": "#5a5b61",
491
+ "--color-border-control-contrast": "#74757a",
492
+ "--color-border-control-contrast-hover": "#85868c",
487
493
  "--color-hover": "#2f2f32",
488
494
  "--color-active": "#3a3a3e",
489
495
  "--color-disabled-foreground": "#8f9095",
@@ -731,8 +737,10 @@ const light$1 = Object.freeze({
731
737
  "--color-input-foreground": "var(--color-foreground)",
732
738
  "--color-border-subtle": "oklch(94% 0.002 286.320)",
733
739
  "--color-border": "oklch(92.2% 0.004 286.320)",
734
- "--color-border-control": "oklch(64% 0.010 286.067)",
735
- "--color-border-control-hover": "oklch(55.2% 0.010 285.938)",
740
+ "--color-border-control": "oklch(87.1% 0.006 286.286)",
741
+ "--color-border-control-hover": "oklch(80.5% 0.008 286.067)",
742
+ "--color-border-control-contrast": "oklch(64% 0.010 286.067)",
743
+ "--color-border-control-contrast-hover": "oklch(55.2% 0.010 285.938)",
736
744
  "--color-hover": "oklch(96.7% 0.001 286.375)",
737
745
  "--color-active": "oklch(92.2% 0.004 286.320)",
738
746
  "--color-disabled-foreground": "oklch(46% 0.010 285.938)",
@@ -796,8 +804,10 @@ const dark$1 = Object.freeze({
796
804
  "--color-input-foreground": "var(--color-foreground)",
797
805
  "--color-border-subtle": "oklch(24% 0.006 286.033)",
798
806
  "--color-border": "oklch(30% 0.007 286.033)",
799
- "--color-border-control": "oklch(56% 0.010 286.067)",
800
- "--color-border-control-hover": "oklch(65% 0.010 286.067)",
807
+ "--color-border-control": "oklch(32% 0.008 285.938)",
808
+ "--color-border-control-hover": "oklch(37.1% 0.008 285.805)",
809
+ "--color-border-control-contrast": "oklch(56% 0.010 286.067)",
810
+ "--color-border-control-contrast-hover": "oklch(65% 0.010 286.067)",
801
811
  "--color-hover": "oklch(32% 0.007 286.033)",
802
812
  "--color-active": "oklch(37.1% 0.008 285.805)",
803
813
  "--color-disabled-foreground": "oklch(70.5% 0.010 286.067)",
@@ -914,7 +924,8 @@ const contrastPairs = [
914
924
  ["--color-muted-foreground", "--color-surface", 4.5],
915
925
  ["--color-input-foreground", "--color-input-background", 4.5],
916
926
  ["--color-primary-foreground", "--color-primary", 4.5],
917
- ["--color-border-control", "--color-input-background", 3],
927
+ ["--color-border-control-contrast", "--color-input-background", 3],
928
+ ["--color-border-control-contrast-hover", "--color-input-background", 3],
918
929
  ["--color-focus-indicator", "--color-surface", 3],
919
930
  ["--color-selected-border", "--color-surface", 3]
920
931
  ];
@@ -962,6 +973,11 @@ function resolveColor(colors, token) {
962
973
  return undefined;
963
974
  }
964
975
 
976
+ /** A theme without these keeps its own border when the user asks for more contrast. */
977
+ const optionalTokens = new Set([
978
+ "--color-border-control-contrast",
979
+ "--color-border-control-contrast-hover"
980
+ ]);
965
981
  class DefaultThemeStrategy {
966
982
  #overrides;
967
983
  #themes = new Map();
@@ -1079,9 +1095,8 @@ function validateProfile(name, variant, profile) {
1079
1095
  const reference = builtInThemes.mona.variants.light;
1080
1096
  for (const section of ["colors", "shadows", "motion", "effects", "shape", "components"]) {
1081
1097
  const values = profile[section];
1082
- const missing = values
1083
- ? Object.keys(reference[section]).filter(key => !(key in values))
1084
- : Object.keys(reference[section]);
1098
+ const required = Object.keys(reference[section]).filter(key => !optionalTokens.has(key));
1099
+ const missing = values ? required.filter(key => !(key in values)) : required;
1085
1100
  if (missing.length > 0) {
1086
1101
  throw new Error(`Mona UI theme "${name}" is missing ${section} tokens for the "${variant}" variant: ${missing.join(", ")}.`);
1087
1102
  }
@@ -1173,6 +1188,7 @@ class ThemeService {
1173
1188
  #activeSelection;
1174
1189
  #appliedVariables;
1175
1190
  #colorSchemeQuery;
1191
+ #contrastQuery;
1176
1192
  #destroyRef;
1177
1193
  #document;
1178
1194
  #injector;
@@ -1207,6 +1223,7 @@ class ThemeService {
1207
1223
  ...(ngDevMode ? [{ debugName: "themeVariant" }] : /* istanbul ignore next */ []));
1208
1224
  const view = this.#document.defaultView;
1209
1225
  this.#colorSchemeQuery = view?.matchMedia?.("(prefers-color-scheme: dark)");
1226
+ this.#contrastQuery = view?.matchMedia?.("(prefers-contrast: more)");
1210
1227
  this.#transparencyQuery = view?.matchMedia?.("(prefers-reduced-transparency: reduce)");
1211
1228
  this.#storage = this.#options.persistKey ? inject(THEME_STORAGE) : null;
1212
1229
  this.#targets = this.#root ? [this.#root] : [];
@@ -1227,11 +1244,12 @@ class ThemeService {
1227
1244
  if (this.#root && this.#root !== this.#document.documentElement) {
1228
1245
  this.#themeOverlayContainer();
1229
1246
  }
1230
- const transparencyQuery = this.#transparencyQuery;
1231
- if (transparencyQuery) {
1232
- const onPreferenceChange = () => this.#applyTheme(this.#activeSelection(), this.#activeProfile());
1233
- transparencyQuery.addEventListener("change", onPreferenceChange);
1234
- this.#destroyRef.onDestroy(() => transparencyQuery.removeEventListener("change", onPreferenceChange));
1247
+ const onPreferenceChange = () => this.#applyTheme(this.#activeSelection(), this.#activeProfile());
1248
+ for (const query of [this.#transparencyQuery, this.#contrastQuery]) {
1249
+ if (query) {
1250
+ query.addEventListener("change", onPreferenceChange);
1251
+ this.#destroyRef.onDestroy(() => query.removeEventListener("change", onPreferenceChange));
1252
+ }
1235
1253
  }
1236
1254
  const colorSchemeQuery = this.#colorSchemeQuery;
1237
1255
  if (colorSchemeQuery) {
@@ -1302,7 +1320,7 @@ class ThemeService {
1302
1320
  }
1303
1321
  #applyTheme(selection, profile) {
1304
1322
  const transparency = this.#getTransparencyMode();
1305
- const variables = getEffectiveVariables(profile, transparency);
1323
+ const variables = getEffectiveVariables(profile, transparency, this.#contrastQuery?.matches === true);
1306
1324
  for (const target of this.#targets) {
1307
1325
  for (const previousName of this.#appliedVariables) {
1308
1326
  if (!(previousName in variables)) {
@@ -1441,6 +1459,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1441
1459
  type: Injectable,
1442
1460
  args: [{ providedIn: "root" }]
1443
1461
  }], ctorParameters: () => [] });
1462
+ /** A field's border is quiet by default. Each pair is the variable and what replaces it for more contrast. */
1463
+ const contrastBorders = [
1464
+ ["--color-border-control", "--color-border-control-contrast"],
1465
+ ["--color-border-control-hover", "--color-border-control-contrast-hover"]
1466
+ ];
1444
1467
  const effectLevels = ["control", "raised", "overlay"];
1445
1468
  const preferenceVariants = ["light", "dark", "system"];
1446
1469
  function applyColorPalette(profile, colors) {
@@ -1449,8 +1472,17 @@ function applyColorPalette(profile, colors) {
1449
1472
  colors: Object.freeze({ ...profile.colors, ...colors })
1450
1473
  });
1451
1474
  }
1452
- function getEffectiveVariables(profile, transparency) {
1475
+ function getEffectiveVariables(profile, transparency, moreContrast) {
1453
1476
  const variables = { ...flattenThemeProfile(profile) };
1477
+ if (moreContrast) {
1478
+ for (const [name, replacement] of contrastBorders) {
1479
+ // A custom theme may not have one, and then keeps what it has.
1480
+ const value = profile.colors[replacement];
1481
+ if (value !== undefined) {
1482
+ variables[name] = value;
1483
+ }
1484
+ }
1485
+ }
1454
1486
  if (transparency === "full") {
1455
1487
  return variables;
1456
1488
  }
@@ -142,7 +142,7 @@ class TimePickerComponent {
142
142
  this.ariaDescribedBy = input("", { ...(ngDevMode ? { debugName: "ariaDescribedBy" } : /* istanbul ignore next */ {}), alias: "aria-describedby" });
143
143
  /**
144
144
  * @description Accessible name of the input. Prefer a visible label, linked through {@link inputId} or
145
- * {@link ariaLabelledBy}; the placeholder is not a label.
145
+ * `aria-labelledby`; the placeholder is not a label.
146
146
  * @default ""
147
147
  */
148
148
  this.ariaLabel = input("", { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: "aria-label" });
@@ -300,6 +300,7 @@ class TimePickerComponent {
300
300
  * @default false
301
301
  */
302
302
  this.touched = input(false, { ...(ngDevMode ? { debugName: "touched" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
303
+ /** @description Extra classes for the input's container. */
303
304
  this.userClass = input("", { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: "class" });
304
305
  /**
305
306
  * @description Two-way bindable current time value. Typed text is written on Enter and when the input loses
@@ -228,6 +228,7 @@ class TooltipDirective {
228
228
  #labelled;
229
229
  #popupService;
230
230
  #stripped;
231
+ #suppressed;
231
232
  #tooltipId;
232
233
  #destroyed;
233
234
  #popupRef;
@@ -246,6 +247,8 @@ class TooltipDirective {
246
247
  this.#labelled = new Set();
247
248
  this.#popupService = inject(PopupService);
248
249
  this.#stripped = new Set();
250
+ this.#suppressed = computed(() => this.disabled() || this.tooltipDisabled(), /* @ts-ignore */
251
+ ...(ngDevMode ? [{ debugName: "#suppressed" }] : /* istanbul ignore next */ []));
249
252
  this.#tooltipId = createElementControlId();
250
253
  this.#destroyed = false;
251
254
  this.#popupRef = null;
@@ -258,7 +261,8 @@ class TooltipDirective {
258
261
  ...(ngDevMode ? [{ debugName: "contentOf" }] : /* istanbul ignore next */ []));
259
262
  /**
260
263
  * @description Whether the tooltip is disabled. When disabled, the tooltip will not be shown, and an open one
261
- * closes.
264
+ * closes. On a button or another control, `[disabled]` also reaches the control, so use {@link tooltipDisabled}
265
+ * there.
262
266
  * @default false
263
267
  */
264
268
  this.disabled = input(false, /* @ts-ignore */
@@ -317,6 +321,13 @@ class TooltipDirective {
317
321
  * @description Emitted when the tooltip popup is shown.
318
322
  */
319
323
  this.shown = output();
324
+ /**
325
+ * @description Disables only the tooltip, like {@link disabled}, on an element whose own `disabled` would take the
326
+ * same binding, such as a `monaButton` or a native control.
327
+ * @default false
328
+ */
329
+ this.tooltipDisabled = input(false, /* @ts-ignore */
330
+ ...(ngDevMode ? [{ debugName: "tooltipDisabled" }] : /* istanbul ignore next */ []));
320
331
  effect(onCleanup => {
321
332
  const mode = this.mode();
322
333
  const filter = this.filter();
@@ -328,7 +339,7 @@ class TooltipDirective {
328
339
  });
329
340
  });
330
341
  effect(() => {
331
- if (this.disabled()) {
342
+ if (this.#suppressed()) {
332
343
  untracked(() => this.#intent.hideNow());
333
344
  }
334
345
  });
@@ -378,7 +389,7 @@ class TooltipDirective {
378
389
  }, this.#intent);
379
390
  }
380
391
  #open(anchor) {
381
- if (this.disabled() || this.#destroyed) {
392
+ if (this.#suppressed() || this.#destroyed) {
382
393
  return;
383
394
  }
384
395
  const content = this.#contentFor(anchor);
@@ -452,14 +463,14 @@ class TooltipDirective {
452
463
  return element.getAttribute(TITLE_ATTRIBUTE) ?? "";
453
464
  }
454
465
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
455
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.6", type: TooltipDirective, isStandalone: true, selector: "[monaTooltip]", inputs: { contentOf: { classPropertyName: "contentOf", publicName: "contentOf", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, monaTooltip: { classPropertyName: "monaTooltip", publicName: "monaTooltip", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "tooltipRounded", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { hidden: "hidden", shown: "shown" }, ngImport: i0 }); }
466
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.6", type: TooltipDirective, isStandalone: true, selector: "[monaTooltip]", inputs: { contentOf: { classPropertyName: "contentOf", publicName: "contentOf", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, monaTooltip: { classPropertyName: "monaTooltip", publicName: "monaTooltip", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "tooltipRounded", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: true, isRequired: false, transformFunction: null }, tooltipDisabled: { classPropertyName: "tooltipDisabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { hidden: "hidden", shown: "shown" }, ngImport: i0 }); }
456
467
  }
457
468
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TooltipDirective, decorators: [{
458
469
  type: Directive,
459
470
  args: [{
460
471
  selector: "[monaTooltip]"
461
472
  }]
462
- }], ctorParameters: () => [], propDecorators: { contentOf: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentOf", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], hidden: [{ type: i0.Output, args: ["hidden"] }], hideDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideDelay", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], monaTooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "monaTooltip", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipRounded", required: false }] }], showDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDelay", required: false }] }], shown: [{ type: i0.Output, args: ["shown"] }] } });
473
+ }], ctorParameters: () => [], propDecorators: { contentOf: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentOf", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], hidden: [{ type: i0.Output, args: ["hidden"] }], hideDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideDelay", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], monaTooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "monaTooltip", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipRounded", required: false }] }], showDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDelay", required: false }] }], shown: [{ type: i0.Output, args: ["shown"] }], tooltipDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipDisabled", required: false }] }] } });
463
474
  /** Whether an element is named by something other than its `title`: a label attribute, or text or images inside. */
464
475
  function hasNameOfItsOwn(element) {
465
476
  if (element.hasAttribute("aria-labelledby") || element.getAttribute("aria-label")?.trim()) {
@@ -65,7 +65,7 @@ class TreeViewComponent {
65
65
  ...(ngDevMode ? [{ debugName: "empty" }] : /* istanbul ignore next */ []));
66
66
  this.emptyText = computed(() => this.treeService.isTreeFiltered() ? this.messages().noMatches : this.messages().noData, /* @ts-ignore */
67
67
  ...(ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []));
68
- /** "Filter {name}", from the tree's `ariaLabel` or else the text of its `ariaLabelledBy` elements. */
68
+ /** "Filter {name}", from the tree's `aria-label` or else the text of its `aria-labelledby` elements. */
69
69
  this.filterAriaLabel = computed(() => {
70
70
  const name = this.ariaLabel().trim() || this.#labelledByText();
71
71
  return name ? this.messages().filterLabel(name) : this.messages().filterTree;
@@ -84,18 +84,16 @@ class TreeViewComponent {
84
84
  this.animate = input(true, { ...(ngDevMode ? { debugName: "animate" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
85
85
  /**
86
86
  * @description Accessible name of the tree. Describe what the tree represents; it also names the filter input
87
- * ("Filter {name}"). Set this or `ariaLabelledBy`: an unnamed tree logs a warning in development. A plain
87
+ * ("Filter {name}"). Set this or `aria-labelledby`: an unnamed tree logs a warning in development. A plain
88
88
  * `aria-label` attribute on `mona-tree-view` doesn't name the tree.
89
89
  * @default ""
90
90
  */
91
- this.ariaLabel = input("", /* @ts-ignore */
92
- ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
91
+ this.ariaLabel = input("", { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: "aria-label" });
93
92
  /**
94
- * @description Id of the element that names the tree, as an alternative to `ariaLabel`.
93
+ * @description Id of the element that names the tree, as an alternative to `aria-label`.
95
94
  * @default ""
96
95
  */
97
- this.ariaLabelledBy = input("", /* @ts-ignore */
98
- ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
96
+ this.ariaLabelledBy = input("", { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: "aria-labelledby" });
99
97
  /**
100
98
  * @description Emitted when the tree-view loses focus.
101
99
  */
@@ -231,6 +229,7 @@ class TreeViewComponent {
231
229
  }
232
230
  return { originalParentUid, originalIndex, sourceNodeUid: sourceNode.uid };
233
231
  }
232
+ /** Reverts a move previously performed by `moveNode`. */
234
233
  undoMoveNode(snapshot) {
235
234
  const sourceNode = this.treeService.getNodeByUid(snapshot.sourceNodeUid);
236
235
  if (!sourceNode) {
@@ -299,15 +298,18 @@ class TreeViewComponent {
299
298
  if (this.ariaLabel().trim() || this.ariaLabelledBy().trim()) {
300
299
  return;
301
300
  }
302
- console.warn("[Mona TreeView] A tree view needs an accessible name. Set ariaLabel or ariaLabelledBy.", this.#hostElementRef.nativeElement);
301
+ console.warn("[Mona TreeView] A tree view needs an accessible name. Set aria-label or aria-labelledby.", this.#hostElementRef.nativeElement);
303
302
  }
304
303
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TreeViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
305
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: TreeViewComponent, isStandalone: true, selector: "mona-tree-view", inputs: { animate: { classPropertyName: "animate", publicName: "animate", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, children: { classPropertyName: "children", publicName: "children", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, hasChildren: { classPropertyName: "hasChildren", publicName: "hasChildren", isSignal: true, isRequired: false, transformFunction: null }, idField: { classPropertyName: "idField", publicName: "idField", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, parentIdField: { classPropertyName: "parentIdField", publicName: "parentIdField", isSignal: true, isRequired: false, transformFunction: null }, textField: { classPropertyName: "textField", publicName: "textField", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { blur: "blur", childrenLoadError: "childrenLoadError", focus: "focus", nodeClick: "nodeClick" }, providers: [TreeService], queries: [{ propertyName: "nodeTemplate", first: true, predicate: TreeViewNodeTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "@if (treeService.filterableOptions().enabled) {\n <div role=\"search\" [attr.aria-label]=\"filterAriaLabel()\">\n <mona-filter-input\n [filter]=\"treeService.filterText()\"\n [debounce]=\"treeService.filterableOptions().debounce\"\n [placeholder]=\"treeService.filterPlaceholder()\"\n [ariaLabel]=\"filterAriaLabel()\"\n [ariaControls]=\"treeId\"\n [autoFocus]=\"false\"\n (filterChange)=\"onFilterChange($event)\"></mona-filter-input>\n </div>\n}\n<!-- An empty tree stays a named Tab stop, lying over the \"No data\" or \"No matching items\" text that describes it. -->\n<div class=\"relative flex-1 overflow-auto\">\n @if (empty()) {\n <mona-placeholder\n [id]=\"statusId\"\n [text]=\"emptyText()\"\n class=\"flex h-full w-full items-center justify-center\"></mona-placeholder>\n }\n <mona-tree\n [id]=\"treeId\"\n [class.absolute]=\"empty()\"\n [class.inset-0]=\"empty()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaDescribedBy]=\"empty() ? statusId : ''\">\n @if (nodeTemplate()) {\n <ng-template monaTreeNodeTemplate let-dataItem let-element=\"element\">\n <ng-container\n [ngTemplateOutlet]=\"nodeTemplate() ?? null\"\n [ngTemplateOutletContext]=\"{ $implicit: dataItem, element }\"></ng-container>\n </ng-template>\n }\n </mona-tree>\n</div>\n", dependencies: [{ kind: "component", type: FilterInputComponent, selector: "mona-filter-input", inputs: ["activeDescendant", "ariaControls", "ariaLabel", "autoFocus", "controls", "debounce", "filter", "placeholder", "size"], outputs: ["filterChange", "inputBlur", "inputFocus"] }, { kind: "component", type: PlaceholderComponent, selector: "mona-placeholder", inputs: ["text", "class"] }, { kind: "component", type: TreeComponent, selector: "mona-tree", inputs: ["ariaDescribedBy", "ariaLabel", "ariaLabelledBy", "data"] }, { kind: "directive", type: TreeNodeTemplateDirective, selector: "ng-template[monaTreeNodeTemplate]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
304
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: TreeViewComponent, isStandalone: true, selector: "mona-tree-view", inputs: { animate: { classPropertyName: "animate", publicName: "animate", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, children: { classPropertyName: "children", publicName: "children", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, hasChildren: { classPropertyName: "hasChildren", publicName: "hasChildren", isSignal: true, isRequired: false, transformFunction: null }, idField: { classPropertyName: "idField", publicName: "idField", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, parentIdField: { classPropertyName: "parentIdField", publicName: "parentIdField", isSignal: true, isRequired: false, transformFunction: null }, textField: { classPropertyName: "textField", publicName: "textField", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { blur: "blur", childrenLoadError: "childrenLoadError", focus: "focus", nodeClick: "nodeClick" }, host: { properties: { "attr.aria-label": "null", "attr.aria-labelledby": "null" } }, providers: [TreeService], queries: [{ propertyName: "nodeTemplate", first: true, predicate: TreeViewNodeTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "@if (treeService.filterableOptions().enabled) {\n <div role=\"search\" [attr.aria-label]=\"filterAriaLabel()\">\n <mona-filter-input\n [filter]=\"treeService.filterText()\"\n [debounce]=\"treeService.filterableOptions().debounce\"\n [placeholder]=\"treeService.filterPlaceholder()\"\n [ariaLabel]=\"filterAriaLabel()\"\n [ariaControls]=\"treeId\"\n [autoFocus]=\"false\"\n (filterChange)=\"onFilterChange($event)\"></mona-filter-input>\n </div>\n}\n<!-- An empty tree stays a named Tab stop, lying over the \"No data\" or \"No matching items\" text that describes it. -->\n<div class=\"relative flex-1 overflow-auto\">\n @if (empty()) {\n <mona-placeholder\n [id]=\"statusId\"\n [text]=\"emptyText()\"\n class=\"flex h-full w-full items-center justify-center\"></mona-placeholder>\n }\n <mona-tree\n [id]=\"treeId\"\n [class.absolute]=\"empty()\"\n [class.inset-0]=\"empty()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaDescribedBy]=\"empty() ? statusId : ''\">\n @if (nodeTemplate()) {\n <ng-template monaTreeNodeTemplate let-dataItem let-element=\"element\">\n <ng-container\n [ngTemplateOutlet]=\"nodeTemplate() ?? null\"\n [ngTemplateOutletContext]=\"{ $implicit: dataItem, element }\"></ng-container>\n </ng-template>\n }\n </mona-tree>\n</div>\n", dependencies: [{ kind: "component", type: FilterInputComponent, selector: "mona-filter-input", inputs: ["activeDescendant", "ariaControls", "ariaLabel", "autoFocus", "controls", "debounce", "filter", "placeholder", "size"], outputs: ["filterChange", "inputBlur", "inputFocus"] }, { kind: "component", type: PlaceholderComponent, selector: "mona-placeholder", inputs: ["text", "class"] }, { kind: "component", type: TreeComponent, selector: "mona-tree", inputs: ["ariaDescribedBy", "ariaLabel", "ariaLabelledBy", "data"] }, { kind: "directive", type: TreeNodeTemplateDirective, selector: "ng-template[monaTreeNodeTemplate]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
306
305
  }
307
306
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TreeViewComponent, decorators: [{
308
307
  type: Component,
309
- args: [{ selector: "mona-tree-view", imports: [FilterInputComponent, PlaceholderComponent, TreeComponent, TreeNodeTemplateDirective, NgTemplateOutlet], providers: [TreeService], template: "@if (treeService.filterableOptions().enabled) {\n <div role=\"search\" [attr.aria-label]=\"filterAriaLabel()\">\n <mona-filter-input\n [filter]=\"treeService.filterText()\"\n [debounce]=\"treeService.filterableOptions().debounce\"\n [placeholder]=\"treeService.filterPlaceholder()\"\n [ariaLabel]=\"filterAriaLabel()\"\n [ariaControls]=\"treeId\"\n [autoFocus]=\"false\"\n (filterChange)=\"onFilterChange($event)\"></mona-filter-input>\n </div>\n}\n<!-- An empty tree stays a named Tab stop, lying over the \"No data\" or \"No matching items\" text that describes it. -->\n<div class=\"relative flex-1 overflow-auto\">\n @if (empty()) {\n <mona-placeholder\n [id]=\"statusId\"\n [text]=\"emptyText()\"\n class=\"flex h-full w-full items-center justify-center\"></mona-placeholder>\n }\n <mona-tree\n [id]=\"treeId\"\n [class.absolute]=\"empty()\"\n [class.inset-0]=\"empty()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaDescribedBy]=\"empty() ? statusId : ''\">\n @if (nodeTemplate()) {\n <ng-template monaTreeNodeTemplate let-dataItem let-element=\"element\">\n <ng-container\n [ngTemplateOutlet]=\"nodeTemplate() ?? null\"\n [ngTemplateOutletContext]=\"{ $implicit: dataItem, element }\"></ng-container>\n </ng-template>\n }\n </mona-tree>\n</div>\n" }]
310
- }], ctorParameters: () => [], propDecorators: { nodeTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => TreeViewNodeTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], animate: [{ type: i0.Input, args: [{ isSignal: true, alias: "animate", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], blur: [{ type: i0.Output, args: ["blur"] }], children: [{ type: i0.Input, args: [{ isSignal: true, alias: "children", required: false }] }], childrenLoadError: [{ type: i0.Output, args: ["childrenLoadError"] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], focus: [{ type: i0.Output, args: ["focus"] }], hasChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasChildren", required: false }] }], idField: [{ type: i0.Input, args: [{ isSignal: true, alias: "idField", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], nodeClick: [{ type: i0.Output, args: ["nodeClick"] }], parentIdField: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentIdField", required: false }] }], textField: [{ type: i0.Input, args: [{ isSignal: true, alias: "textField", required: false }] }] } });
308
+ args: [{ selector: "mona-tree-view", imports: [FilterInputComponent, PlaceholderComponent, TreeComponent, TreeNodeTemplateDirective, NgTemplateOutlet], providers: [TreeService], host: {
309
+ "[attr.aria-label]": "null",
310
+ "[attr.aria-labelledby]": "null"
311
+ }, template: "@if (treeService.filterableOptions().enabled) {\n <div role=\"search\" [attr.aria-label]=\"filterAriaLabel()\">\n <mona-filter-input\n [filter]=\"treeService.filterText()\"\n [debounce]=\"treeService.filterableOptions().debounce\"\n [placeholder]=\"treeService.filterPlaceholder()\"\n [ariaLabel]=\"filterAriaLabel()\"\n [ariaControls]=\"treeId\"\n [autoFocus]=\"false\"\n (filterChange)=\"onFilterChange($event)\"></mona-filter-input>\n </div>\n}\n<!-- An empty tree stays a named Tab stop, lying over the \"No data\" or \"No matching items\" text that describes it. -->\n<div class=\"relative flex-1 overflow-auto\">\n @if (empty()) {\n <mona-placeholder\n [id]=\"statusId\"\n [text]=\"emptyText()\"\n class=\"flex h-full w-full items-center justify-center\"></mona-placeholder>\n }\n <mona-tree\n [id]=\"treeId\"\n [class.absolute]=\"empty()\"\n [class.inset-0]=\"empty()\"\n [ariaLabel]=\"ariaLabel()\"\n [ariaLabelledBy]=\"ariaLabelledBy()\"\n [ariaDescribedBy]=\"empty() ? statusId : ''\">\n @if (nodeTemplate()) {\n <ng-template monaTreeNodeTemplate let-dataItem let-element=\"element\">\n <ng-container\n [ngTemplateOutlet]=\"nodeTemplate() ?? null\"\n [ngTemplateOutletContext]=\"{ $implicit: dataItem, element }\"></ng-container>\n </ng-template>\n }\n </mona-tree>\n</div>\n" }]
312
+ }], ctorParameters: () => [], propDecorators: { nodeTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => TreeViewNodeTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], animate: [{ type: i0.Input, args: [{ isSignal: true, alias: "animate", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], blur: [{ type: i0.Output, args: ["blur"] }], children: [{ type: i0.Input, args: [{ isSignal: true, alias: "children", required: false }] }], childrenLoadError: [{ type: i0.Output, args: ["childrenLoadError"] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], focus: [{ type: i0.Output, args: ["focus"] }], hasChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasChildren", required: false }] }], idField: [{ type: i0.Input, args: [{ isSignal: true, alias: "idField", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], nodeClick: [{ type: i0.Output, args: ["nodeClick"] }], parentIdField: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentIdField", required: false }] }], textField: [{ type: i0.Input, args: [{ isSignal: true, alias: "textField", required: false }] }] } });
311
313
 
312
314
  class TreeViewCheckableDirective {
313
315
  #defaultOptions;
@@ -836,7 +836,7 @@ class WindowContentComponent {
836
836
  if (this.hasTitle || this.windowData.ariaLabel) {
837
837
  return;
838
838
  }
839
- console.warn("[Mona Window] A window needs an accessible name. Set title, a title template or ariaLabel.", this.#hostElementRef.nativeElement);
839
+ console.warn("[Mona Window] A window needs an accessible name. Set a title, a title template or aria-label (ariaLabel in the service settings).", this.#hostElementRef.nativeElement);
840
840
  }
841
841
  closeWindow(event) {
842
842
  // preventClose and close$ get their say inside close(); this button doesn't ask a second time.
@@ -907,6 +907,7 @@ class WindowRef {
907
907
  close(result) {
908
908
  this.#options.close(result);
909
909
  }
910
+ /** Closes the window after the given delay, in milliseconds. */
910
911
  closeWithDelay(delay, result) {
911
912
  this.#options.closeWithDelay(delay, result);
912
913
  }
@@ -936,6 +937,7 @@ class WindowRef {
936
937
  get closed$() {
937
938
  return this.#options.closed$;
938
939
  }
940
+ /** The hosted component, when `content` is a component rather than a `TemplateRef`. */
939
941
  get component() {
940
942
  return this.#options.component;
941
943
  }
@@ -951,12 +953,15 @@ class WindowRef {
951
953
  get dragStart$() {
952
954
  return this.#options.dragStart$;
953
955
  }
956
+ /** The window's overlay element. */
954
957
  get element() {
955
958
  return this.#options.element;
956
959
  }
960
+ /** The window's current rendered height, in pixels. */
957
961
  get height() {
958
962
  return this.#options.height;
959
963
  }
964
+ /** The underlying `PopupRef`, for advanced overlay access. */
960
965
  get popupRef() {
961
966
  return this.#options.popupRef;
962
967
  }
@@ -964,6 +969,7 @@ class WindowRef {
964
969
  get resize$() {
965
970
  return this.#options.resize$;
966
971
  }
972
+ /** The window's current rendered width, in pixels. */
967
973
  get width() {
968
974
  return this.#options.width;
969
975
  }
@@ -1272,8 +1278,7 @@ class WindowComponent {
1272
1278
  /**
1273
1279
  * @description Accessible name for the window when it has no `title` or title template.
1274
1280
  */
1275
- this.ariaLabel = input(/* @ts-ignore */
1276
- ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
1281
+ this.ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: "aria-label" });
1277
1282
  /**
1278
1283
  * @description Sets the visibility of the close button in the window header.
1279
1284
  * @default true
@@ -1421,6 +1426,7 @@ class WindowComponent {
1421
1426
  this.#windowRef?.close();
1422
1427
  });
1423
1428
  }
1429
+ /** Closes the window. */
1424
1430
  closeWindow() {
1425
1431
  this.#windowRef?.close();
1426
1432
  }
@@ -1539,7 +1545,7 @@ class WindowComponent {
1539
1545
  this.#setResizeSubscription();
1540
1546
  }
1541
1547
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: WindowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1542
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.6", type: WindowComponent, isStandalone: true, selector: "mona-window", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, focusedElement: { classPropertyName: "focusedElement", publicName: "focusedElement", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, left: { classPropertyName: "left", publicName: "left", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, maximizable: { classPropertyName: "maximizable", publicName: "maximizable", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, minHeight: { classPropertyName: "minHeight", publicName: "minHeight", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, minimizable: { classPropertyName: "minimizable", publicName: "minimizable", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, top: { classPropertyName: "top", publicName: "top", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close", closed: "closed", dragEnd: "dragEnd", dragStart: "dragStart", height: "heightChange", left: "leftChange", top: "topChange", width: "widthChange" }, host: { classAttribute: "hidden" }, queries: [{ propertyName: "actionTemplate", first: true, predicate: WindowActionTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: WindowContentTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: WindowFooterTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "titleTemplate", first: true, predicate: WindowTitleTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "projectedContent", first: true, predicate: ["projectedContent"], descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: `<ng-template #projectedContent><ng-content /></ng-template>`, isInline: true }); }
1548
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.6", type: WindowComponent, isStandalone: true, selector: "mona-window", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, focusedElement: { classPropertyName: "focusedElement", publicName: "focusedElement", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, left: { classPropertyName: "left", publicName: "left", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, maximizable: { classPropertyName: "maximizable", publicName: "maximizable", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, minHeight: { classPropertyName: "minHeight", publicName: "minHeight", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, minimizable: { classPropertyName: "minimizable", publicName: "minimizable", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, top: { classPropertyName: "top", publicName: "top", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close", closed: "closed", dragEnd: "dragEnd", dragStart: "dragStart", height: "heightChange", left: "leftChange", top: "topChange", width: "widthChange" }, host: { properties: { "attr.aria-label": "null" }, classAttribute: "hidden" }, queries: [{ propertyName: "actionTemplate", first: true, predicate: WindowActionTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: WindowContentTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: WindowFooterTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "titleTemplate", first: true, predicate: WindowTitleTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "projectedContent", first: true, predicate: ["projectedContent"], descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: `<ng-template #projectedContent><ng-content /></ng-template>`, isInline: true }); }
1543
1549
  }
1544
1550
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: WindowComponent, decorators: [{
1545
1551
  type: Component,
@@ -1548,10 +1554,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1548
1554
  // Content placed directly inside <mona-window> is the window's content, unless a monaWindowContentTemplate is given.
1549
1555
  template: `<ng-template #projectedContent><ng-content /></ng-template>`,
1550
1556
  host: {
1557
+ "[attr.aria-label]": "null",
1551
1558
  class: "hidden"
1552
1559
  }
1553
1560
  }]
1554
- }], ctorParameters: () => [], propDecorators: { actionTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowActionTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowContentTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowFooterTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], projectedContent: [{ type: i0.ViewChild, args: ["projectedContent", { ...{ read: TemplateRef }, isSignal: true }] }], titleTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowTitleTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], close: [{ type: i0.Output, args: ["close"] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }], dragEnd: [{ type: i0.Output, args: ["dragEnd"] }], dragStart: [{ type: i0.Output, args: ["dragStart"] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], focusedElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusedElement", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }, { type: i0.Output, args: ["heightChange"] }], left: [{ type: i0.Input, args: [{ isSignal: true, alias: "left", required: false }] }, { type: i0.Output, args: ["leftChange"] }], look: [{ type: i0.Input, args: [{ isSignal: true, alias: "look", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], maximizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximizable", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], minHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "minHeight", required: false }] }], minWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "minWidth", required: false }] }], minimizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimizable", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], top: [{ type: i0.Input, args: [{ isSignal: true, alias: "top", required: false }] }, { type: i0.Output, args: ["topChange"] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }, { type: i0.Output, args: ["widthChange"] }] } });
1561
+ }], ctorParameters: () => [], propDecorators: { actionTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowActionTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowContentTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowFooterTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], projectedContent: [{ type: i0.ViewChild, args: ["projectedContent", { ...{ read: TemplateRef }, isSignal: true }] }], titleTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => WindowTitleTemplateDirective), { ...{ read: TemplateRef }, isSignal: true }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], close: [{ type: i0.Output, args: ["close"] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }], dragEnd: [{ type: i0.Output, args: ["dragEnd"] }], dragStart: [{ type: i0.Output, args: ["dragStart"] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], focusedElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusedElement", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }, { type: i0.Output, args: ["heightChange"] }], left: [{ type: i0.Input, args: [{ isSignal: true, alias: "left", required: false }] }, { type: i0.Output, args: ["leftChange"] }], look: [{ type: i0.Input, args: [{ isSignal: true, alias: "look", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], maximizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximizable", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], minHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "minHeight", required: false }] }], minWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "minWidth", required: false }] }], minimizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimizable", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], top: [{ type: i0.Input, args: [{ isSignal: true, alias: "top", required: false }] }, { type: i0.Output, args: ["topChange"] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }, { type: i0.Output, args: ["widthChange"] }] } });
1555
1562
 
1556
1563
  /*
1557
1564
  * Public API Surface of @nanahoshi/mona-ui/window
@@ -157,6 +157,15 @@
157
157
  "comboBox": {
158
158
  "clear": "Clear"
159
159
  },
160
+ "command": {
161
+ "dialogLabel": "Command menu",
162
+ "inputLabel": "Search commands",
163
+ "listLabel": "Results",
164
+ "loading": "Loading",
165
+ "noResults": "No results found",
166
+ "placeholder": "Type a command or search…",
167
+ "resultsAvailable": "{count, plural, =1 {# result available} other {# results available}}"
168
+ },
160
169
  "datePicker": {
161
170
  "datePicker": "Date picker",
162
171
  "openCalendar": "Open calendar"
@@ -311,6 +320,7 @@
311
320
  "filterOperator": "Filter operator for {column}: {operator}",
312
321
  "filterPlaceholder": "Filter...",
313
322
  "group": "Group",
323
+ "groupOptions": "Group options for {column}",
314
324
  "loading": "Loading",
315
325
  "modified": "Modified",
316
326
  "moveAsNext": "Move as next",
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs",
3
+ "typings": "../../types/nanahoshi-mona-ui-internal-popup-menu.d.ts"
4
+ }