@nanahoshi/mona-ui 0.27.1 → 0.28.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 (359) hide show
  1. package/docs/api/auto-complete.md +67 -0
  2. package/docs/api/avatar.md +31 -0
  3. package/docs/api/breadcrumb.md +74 -0
  4. package/docs/api/button-group.md +71 -0
  5. package/docs/api/button.md +84 -0
  6. package/docs/api/calendar.md +123 -0
  7. package/docs/api/card.md +97 -0
  8. package/docs/api/chart.md +4380 -0
  9. package/docs/api/check-box.md +70 -0
  10. package/docs/api/chip.md +55 -0
  11. package/docs/api/circular-progress-bar.md +71 -0
  12. package/docs/api/collapsible.md +71 -0
  13. package/docs/api/color-gradient.md +54 -0
  14. package/docs/api/color-palette.md +52 -0
  15. package/docs/api/color-picker.md +89 -0
  16. package/docs/api/combo-box.md +69 -0
  17. package/docs/api/command.md +282 -0
  18. package/docs/api/common.md +599 -0
  19. package/docs/api/contextmenu.md +239 -0
  20. package/docs/api/date-input.md +119 -0
  21. package/docs/api/date-picker.md +67 -0
  22. package/docs/api/datetime-picker.md +72 -0
  23. package/docs/api/dialog.md +291 -0
  24. package/docs/api/dropdown-button.md +248 -0
  25. package/docs/api/dropdown-list.md +72 -0
  26. package/docs/api/dropdowns.md +172 -0
  27. package/docs/api/editor.md +117 -0
  28. package/docs/api/expansion-panel.md +85 -0
  29. package/docs/api/fieldset.md +33 -0
  30. package/docs/api/filter.md +116 -0
  31. package/docs/api/grid.md +1445 -0
  32. package/docs/api/i18n.md +1699 -0
  33. package/docs/api/label.md +58 -0
  34. package/docs/api/list-box.md +301 -0
  35. package/docs/api/list-view.md +294 -0
  36. package/docs/api/list.md +119 -0
  37. package/docs/api/locales.md +134 -0
  38. package/docs/api/menubar.md +275 -0
  39. package/docs/api/multi-select.md +92 -0
  40. package/docs/api/notification.md +164 -0
  41. package/docs/api/numeric-text-box.md +130 -0
  42. package/docs/api/otp-input.md +100 -0
  43. package/docs/api/pager.md +371 -0
  44. package/docs/api/placeholder.md +18 -0
  45. package/docs/api/popover.md +170 -0
  46. package/docs/api/popup-menu.md +328 -0
  47. package/docs/api/popup.md +299 -0
  48. package/docs/api/progress-bar.md +79 -0
  49. package/docs/api/query.md +367 -0
  50. package/docs/api/radio-button.md +113 -0
  51. package/docs/api/rating.md +187 -0
  52. package/docs/api/scroll-view.md +93 -0
  53. package/docs/api/segmented.md +114 -0
  54. package/docs/api/sheet.md +65 -0
  55. package/docs/api/sidebar.md +583 -0
  56. package/docs/api/skeleton.md +26 -0
  57. package/docs/api/slider.md +173 -0
  58. package/docs/api/spinner.md +132 -0
  59. package/docs/api/split-button.md +261 -0
  60. package/docs/api/splitter.md +57 -0
  61. package/docs/api/stepper.md +148 -0
  62. package/docs/api/switch.md +78 -0
  63. package/docs/api/tabs.md +139 -0
  64. package/docs/api/text-area.md +20 -0
  65. package/docs/api/text-box.md +106 -0
  66. package/docs/api/theme.md +627 -0
  67. package/docs/api/time-picker.md +69 -0
  68. package/docs/api/time-selector.md +54 -0
  69. package/docs/api/tooltip.md +112 -0
  70. package/docs/api/tree-view.md +631 -0
  71. package/docs/api/window.md +245 -0
  72. package/docs/auto-complete.md +28 -329
  73. package/docs/avatar.md +4 -24
  74. package/docs/breadcrumb.md +10 -65
  75. package/docs/button-group.md +7 -60
  76. package/docs/button.md +8 -67
  77. package/docs/calendar.md +16 -121
  78. package/docs/card.md +16 -79
  79. package/docs/chart-bar.md +16 -234
  80. package/docs/chart-financial.md +10 -121
  81. package/docs/chart-funnel.md +13 -176
  82. package/docs/chart-heatmap.md +15 -131
  83. package/docs/chart-line-area.md +12 -137
  84. package/docs/chart-pie.md +17 -221
  85. package/docs/chart-radar.md +13 -129
  86. package/docs/chart-radial.md +13 -211
  87. package/docs/chart-scatter.md +6 -74
  88. package/docs/chart-treemap.md +14 -196
  89. package/docs/chart.md +168 -1892
  90. package/docs/checkbox.md +5 -61
  91. package/docs/chip.md +7 -42
  92. package/docs/circular-progress-bar.md +9 -61
  93. package/docs/collapsible.md +5 -87
  94. package/docs/color-gradient.md +8 -81
  95. package/docs/color-palette.md +7 -69
  96. package/docs/color-picker.md +9 -105
  97. package/docs/combo-box.md +28 -331
  98. package/docs/command.md +25 -236
  99. package/docs/contextmenu.md +15 -140
  100. package/docs/date-picker.md +7 -110
  101. package/docs/datetime-picker.md +7 -129
  102. package/docs/decimal-textbox.md +6 -69
  103. package/docs/dialog.md +23 -263
  104. package/docs/dropdown-button.md +15 -146
  105. package/docs/dropdown-list.md +29 -332
  106. package/docs/editor.md +10 -164
  107. package/docs/expansion-panel.md +7 -69
  108. package/docs/fieldset.md +5 -24
  109. package/docs/grid-columns.md +12 -92
  110. package/docs/grid-editing.md +29 -291
  111. package/docs/grid-grouping.md +11 -50
  112. package/docs/grid-rows.md +10 -74
  113. package/docs/grid-selection.md +7 -36
  114. package/docs/grid-server.md +8 -293
  115. package/docs/grid-sorting-filtering.md +10 -333
  116. package/docs/grid-state-export.md +17 -228
  117. package/docs/grid.md +23 -216
  118. package/docs/input.md +7 -19
  119. package/docs/installation.md +147 -15
  120. package/docs/introduction.md +37 -15
  121. package/docs/label.md +8 -39
  122. package/docs/list-box.md +21 -253
  123. package/docs/list-view.md +25 -232
  124. package/docs/menubar.md +21 -167
  125. package/docs/multi-select.md +31 -350
  126. package/docs/notification.md +17 -116
  127. package/docs/numeric-textbox.md +9 -78
  128. package/docs/otp-input.md +9 -95
  129. package/docs/pager.md +19 -239
  130. package/docs/placeholder.md +5 -18
  131. package/docs/popover.md +13 -123
  132. package/docs/popup-menu.md +22 -243
  133. package/docs/popup.md +24 -248
  134. package/docs/progress-bar.md +10 -75
  135. package/docs/radio-button.md +8 -96
  136. package/docs/range-slider.md +9 -82
  137. package/docs/rating.md +15 -163
  138. package/docs/scroll-view.md +9 -86
  139. package/docs/segmented.md +8 -90
  140. package/docs/sheet.md +10 -74
  141. package/docs/sidebar-menus.md +20 -155
  142. package/docs/sidebar-state.md +16 -134
  143. package/docs/sidebar.md +18 -218
  144. package/docs/skeleton.md +5 -26
  145. package/docs/slider.md +9 -97
  146. package/docs/spinner.md +15 -95
  147. package/docs/split-button.md +21 -166
  148. package/docs/splitter.md +9 -56
  149. package/docs/stepper.md +13 -127
  150. package/docs/switch.md +8 -58
  151. package/docs/tabs.md +13 -111
  152. package/docs/textarea.md +4 -13
  153. package/docs/textbox.md +10 -77
  154. package/docs/theming-built-in-themes.md +67 -0
  155. package/docs/theming-custom-colors.md +274 -0
  156. package/docs/theming-custom-themes.md +168 -0
  157. package/docs/theming.md +164 -248
  158. package/docs/time-picker.md +7 -112
  159. package/docs/tooltip-directive.md +12 -96
  160. package/docs/tooltip.md +12 -96
  161. package/docs/tree-view.md +42 -495
  162. package/docs/window.md +19 -230
  163. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1089 -603
  164. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +369 -184
  165. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +658 -371
  166. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +513 -359
  167. package/fesm2022/nanahoshi-mona-ui-button.mjs +622 -517
  168. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +2070 -1573
  169. package/fesm2022/nanahoshi-mona-ui-card.mjs +620 -316
  170. package/fesm2022/nanahoshi-mona-ui-chart.mjs +61151 -64921
  171. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +646 -317
  172. package/fesm2022/nanahoshi-mona-ui-chip.mjs +737 -516
  173. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +441 -242
  174. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +443 -389
  175. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1138 -814
  176. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1114 -959
  177. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +858 -504
  178. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1181 -742
  179. package/fesm2022/nanahoshi-mona-ui-command.mjs +1454 -853
  180. package/fesm2022/nanahoshi-mona-ui-common.mjs +569 -740
  181. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +978 -532
  182. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +283 -254
  183. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +973 -451
  184. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1203 -658
  185. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +1415 -936
  186. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +1165 -568
  187. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1142 -677
  188. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +1018 -729
  189. package/fesm2022/nanahoshi-mona-ui-editor.mjs +3589 -2122
  190. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +577 -359
  191. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +311 -151
  192. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1086 -718
  193. package/fesm2022/nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs +77 -0
  194. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs +480 -0
  195. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs +470 -0
  196. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs +2115 -0
  197. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs +330 -0
  198. package/fesm2022/nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs +3766 -0
  199. package/fesm2022/nanahoshi-mona-ui-grid.mjs +5418 -2
  200. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +1379 -1079
  201. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +4451 -5068
  202. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +344 -143
  203. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +257 -127
  204. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +2080 -1829
  205. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +103 -141
  206. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2498 -2706
  207. package/fesm2022/nanahoshi-mona-ui-internal.mjs +722 -1007
  208. package/fesm2022/nanahoshi-mona-ui-label.mjs +313 -202
  209. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1308 -1009
  210. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1411 -677
  211. package/fesm2022/nanahoshi-mona-ui-list.mjs +1 -6
  212. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +556 -577
  213. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +530 -573
  214. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +530 -573
  215. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +533 -576
  216. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +520 -555
  217. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +530 -571
  218. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +520 -555
  219. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +520 -555
  220. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +530 -571
  221. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +576 -591
  222. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +530 -565
  223. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +520 -555
  224. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +520 -555
  225. package/fesm2022/nanahoshi-mona-ui-locales.mjs +59 -77
  226. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +1411 -829
  227. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1326 -702
  228. package/fesm2022/nanahoshi-mona-ui-notification.mjs +763 -675
  229. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1306 -826
  230. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +1122 -897
  231. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1110 -651
  232. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +95 -53
  233. package/fesm2022/nanahoshi-mona-ui-popover.mjs +559 -397
  234. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2323 -1694
  235. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1657 -1455
  236. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +441 -267
  237. package/fesm2022/nanahoshi-mona-ui-query.mjs +211 -340
  238. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +1017 -548
  239. package/fesm2022/nanahoshi-mona-ui-rating.mjs +874 -624
  240. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +1130 -917
  241. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +705 -455
  242. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +461 -283
  243. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +2791 -2449
  244. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +145 -90
  245. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1563 -1103
  246. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +738 -673
  247. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +1287 -647
  248. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +1313 -909
  249. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +761 -540
  250. package/fesm2022/nanahoshi-mona-ui-switch.mjs +611 -280
  251. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +1393 -841
  252. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +142 -73
  253. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +876 -374
  254. package/fesm2022/nanahoshi-mona-ui-theme.mjs +1465 -1449
  255. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +897 -443
  256. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1100 -703
  257. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +789 -538
  258. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +1361 -805
  259. package/fesm2022/nanahoshi-mona-ui-window.mjs +2145 -1531
  260. package/fesm2022/nanahoshi-mona-ui.mjs +1 -8
  261. package/llms.txt +80 -2
  262. package/package.json +62 -23
  263. package/types/nanahoshi-mona-ui-auto-complete.d.ts +367 -233
  264. package/types/nanahoshi-mona-ui-avatar.d.ts +722 -649
  265. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +134 -103
  266. package/types/nanahoshi-mona-ui-button-group.d.ts +213 -152
  267. package/types/nanahoshi-mona-ui-button.d.ts +227 -166
  268. package/types/nanahoshi-mona-ui-calendar.d.ts +324 -259
  269. package/types/nanahoshi-mona-ui-card.d.ts +125 -111
  270. package/types/nanahoshi-mona-ui-chart.d.ts +10483 -7326
  271. package/types/nanahoshi-mona-ui-check-box.d.ts +293 -180
  272. package/types/nanahoshi-mona-ui-chip.d.ts +208 -141
  273. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +194 -133
  274. package/types/nanahoshi-mona-ui-collapsible.d.ts +105 -87
  275. package/types/nanahoshi-mona-ui-color-gradient.d.ts +281 -213
  276. package/types/nanahoshi-mona-ui-color-palette.d.ts +201 -138
  277. package/types/nanahoshi-mona-ui-color-picker.d.ts +283 -194
  278. package/types/nanahoshi-mona-ui-combo-box.d.ts +401 -262
  279. package/types/nanahoshi-mona-ui-command.d.ts +279 -191
  280. package/types/nanahoshi-mona-ui-common.d.ts +360 -385
  281. package/types/nanahoshi-mona-ui-contextmenu.d.ts +142 -117
  282. package/types/nanahoshi-mona-ui-date-input.d.ts +97 -97
  283. package/types/nanahoshi-mona-ui-date-picker.d.ts +338 -208
  284. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +413 -259
  285. package/types/nanahoshi-mona-ui-dialog.d.ts +470 -381
  286. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +216 -168
  287. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +369 -243
  288. package/types/nanahoshi-mona-ui-dropdowns.d.ts +255 -235
  289. package/types/nanahoshi-mona-ui-editor.d.ts +302 -235
  290. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +140 -109
  291. package/types/nanahoshi-mona-ui-fieldset.d.ts +98 -68
  292. package/types/nanahoshi-mona-ui-filter.d.ts +150 -124
  293. package/types/nanahoshi-mona-ui-grid.d.ts +1956 -1678
  294. package/types/nanahoshi-mona-ui-i18n-icu.d.ts +25 -34
  295. package/types/nanahoshi-mona-ui-i18n.d.ts +999 -1052
  296. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +118 -71
  297. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +56 -27
  298. package/types/nanahoshi-mona-ui-internal-list.d.ts +474 -408
  299. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +143 -150
  300. package/types/nanahoshi-mona-ui-internal-tree.d.ts +493 -506
  301. package/types/nanahoshi-mona-ui-internal.d.ts +195 -213
  302. package/types/nanahoshi-mona-ui-label.d.ts +108 -78
  303. package/types/nanahoshi-mona-ui-list-box.d.ts +392 -322
  304. package/types/nanahoshi-mona-ui-list-view.d.ts +423 -282
  305. package/types/nanahoshi-mona-ui-list.d.ts +2 -1
  306. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +540 -542
  307. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +540 -542
  308. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +540 -542
  309. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +540 -542
  310. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +540 -542
  311. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +540 -542
  312. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +540 -542
  313. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +540 -542
  314. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +540 -542
  315. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +540 -542
  316. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +540 -542
  317. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +540 -542
  318. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +540 -542
  319. package/types/nanahoshi-mona-ui-locales.d.ts +17 -19
  320. package/types/nanahoshi-mona-ui-menubar.d.ts +210 -181
  321. package/types/nanahoshi-mona-ui-multi-select.d.ts +416 -276
  322. package/types/nanahoshi-mona-ui-notification.d.ts +140 -151
  323. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +407 -270
  324. package/types/nanahoshi-mona-ui-otp-input.d.ts +364 -241
  325. package/types/nanahoshi-mona-ui-pager.d.ts +379 -301
  326. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -28
  327. package/types/nanahoshi-mona-ui-popover.d.ts +176 -134
  328. package/types/nanahoshi-mona-ui-popup-menu.d.ts +488 -344
  329. package/types/nanahoshi-mona-ui-popup.d.ts +698 -560
  330. package/types/nanahoshi-mona-ui-progress-bar.d.ts +197 -137
  331. package/types/nanahoshi-mona-ui-query.d.ts +82 -88
  332. package/types/nanahoshi-mona-ui-radio-button.d.ts +434 -269
  333. package/types/nanahoshi-mona-ui-rating.d.ts +348 -254
  334. package/types/nanahoshi-mona-ui-scroll-view.d.ts +244 -172
  335. package/types/nanahoshi-mona-ui-segmented.d.ts +250 -175
  336. package/types/nanahoshi-mona-ui-sheet.d.ts +115 -63
  337. package/types/nanahoshi-mona-ui-sidebar.d.ts +653 -493
  338. package/types/nanahoshi-mona-ui-skeleton.d.ts +55 -39
  339. package/types/nanahoshi-mona-ui-slider.d.ts +503 -354
  340. package/types/nanahoshi-mona-ui-spinner.d.ts +125 -112
  341. package/types/nanahoshi-mona-ui-split-button.d.ts +241 -196
  342. package/types/nanahoshi-mona-ui-splitter.d.ts +124 -78
  343. package/types/nanahoshi-mona-ui-stepper.d.ts +206 -181
  344. package/types/nanahoshi-mona-ui-switch.d.ts +197 -131
  345. package/types/nanahoshi-mona-ui-tabs.d.ts +349 -248
  346. package/types/nanahoshi-mona-ui-text-area.d.ts +52 -36
  347. package/types/nanahoshi-mona-ui-text-box.d.ts +349 -218
  348. package/types/nanahoshi-mona-ui-theme.d.ts +415 -408
  349. package/types/nanahoshi-mona-ui-time-picker.d.ts +357 -217
  350. package/types/nanahoshi-mona-ui-time-selector.d.ts +255 -170
  351. package/types/nanahoshi-mona-ui-tooltip.d.ts +222 -144
  352. package/types/nanahoshi-mona-ui-tree-view.d.ts +466 -308
  353. package/types/nanahoshi-mona-ui-window.d.ts +494 -399
  354. package/types/nanahoshi-mona-ui.d.ts +1 -2
  355. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs +0 -181
  356. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs +0 -208
  357. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs +0 -1082
  358. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs +0 -186
  359. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs +0 -7568
package/docs/fieldset.md CHANGED
@@ -190,28 +190,9 @@ The component renders a native `<fieldset>`, which has the implicit `group` role
190
190
 
191
191
  ## API
192
192
 
193
- Everything below is imported from `@nanahoshi/mona-ui/fieldset`.
193
+ Everything below is imported from `@nanahoshi/mona-ui/fieldset`. Each name links to its reference page, with every input, output, property and method.
194
194
 
195
- ### `FieldsetComponent`
196
-
197
- **Selector:** `mona-fieldset`
198
-
199
- #### Inputs
200
-
201
- | Name | Type | Default | Description |
202
- | --- | --- | --- | --- |
203
- | `aria-label` | `string` | `""` | Accessible name of the fieldset when it has no legend. |
204
- | `aria-labelledby` | `string` | `""` | Id of the element that labels the fieldset when it has no legend. |
205
- | `class` | `string` | `""` | Additional CSS classes merged onto the rendered `<fieldset>` element via `tailwind-merge`. |
206
- | `disabled` | `boolean` | `false` | Whether the fieldset and the Mona UI form controls inside it are disabled, including nested fieldsets. Reflected as the native `disabled` attribute on the rendered `<fieldset>`, which also covers native controls. A signal form field inside stays enabled in the form model, so its validation keeps running. |
207
- | `legend` | `string` | `""` | The legend text of the fieldset. Shown in the top border as a labelled notch. Ignored when `monaFieldsetLegendTemplate` is provided. |
208
- | `name` | `string \| undefined` | `undefined` | The `name` attribute reflected onto the rendered `<fieldset>` element. |
209
- | `rounded` | `"full" \| "large" \| "medium" \| "none" \| "small"` | `"medium"` | Border-radius preset applied to the fieldset and its legend. |
210
-
211
- ### `FieldsetLegendTemplateDirective`
212
-
213
- Replaces the string `legend` with projected content inside the `<legend>` element. When this template is present, no
214
- default legend styling is applied — the consumer is responsible for all visual treatment. The template has no context
215
- variables.
216
-
217
- **Selector:** `ng-template[monaFieldsetLegendTemplate]`
195
+ | Name | Kind | Description |
196
+ | --- | --- | --- |
197
+ | [`FieldsetComponent`](api/fieldset.md#fieldsetcomponent) | Component | |
198
+ | [`FieldsetLegendTemplateDirective`](api/fieldset.md#fieldsetlegendtemplatedirective) | Directive | Replaces the string `legend` with projected content inside the `<legend>` element. |
@@ -195,102 +195,22 @@ The rest of the grid's keys are on [Grid Overview](grid.md#keyboard).
195
195
 
196
196
  ## API
197
197
 
198
- Everything below is imported from `@nanahoshi/mona-ui/grid`.
198
+ Everything below is imported from `@nanahoshi/mona-ui/grid`. Each name links to its reference page, with every input, output, property and method.
199
199
 
200
- ### `GridReorderableDirective`
201
-
202
- **Selector:** `mona-grid[monaGridReorderable]`
203
-
204
- #### Inputs
205
-
206
- | Name | Type | Default | Description |
207
- | --- | --- | --- | --- |
208
- | `monaGridReorderable` | `ReorderableOptions \| ""` | `""` | Enables column reordering via drag and drop. Pass a `ReorderableOptions` object to configure it explicitly. |
209
-
210
- #### Outputs
211
-
212
- | Name | Type | Description |
213
- | --- | --- | --- |
214
- | `columnReorder` | `ColumnReorderEvent` | Emitted when a column is dropped into a new position. Call `preventDefault()` on the event to cancel the reorder. |
215
-
216
- ### `GridResizableDirective`
217
-
218
- **Selector:** `mona-grid[monaGridResizable]`
219
-
220
- #### Inputs
221
-
222
- | Name | Type | Default | Description |
223
- | --- | --- | --- | --- |
224
- | `monaGridResizable` | `ResizableOptions \| ""` | `""` | Enables column resizing on the grid. Pass a `ResizableOptions` object to configure it explicitly. |
225
-
226
- #### Outputs
227
-
228
- | Name | Type | Description |
229
- | --- | --- | --- |
230
- | `columnResize` | `ColumnResizeEvent` | Emitted when a column resize completes, with the column and its old and new widths. |
231
-
232
- ### `ColumnReorderEvent`
233
-
234
- **Extends:** `PreventableEvent`
235
-
236
- #### Properties
237
-
238
- | Name | Type |
200
+ | Name | Kind |
239
201
  | --- | --- |
240
- | `column` (read-only) | `Column` |
241
- | `newIndex` (read-only) | `number` |
242
- | `oldIndex` (read-only) | `number` |
202
+ | [`GridReorderableDirective`](api/grid.md#gridreorderabledirective) | Directive |
203
+ | [`GridResizableDirective`](api/grid.md#gridresizabledirective) | Directive |
204
+ | [`ColumnReorderEvent`](api/grid.md#columnreorderevent) | Class |
243
205
 
244
206
  ### Types
245
207
 
246
- #### `ColumnResizeEvent`
247
-
248
- | Name | Type |
249
- | --- | --- |
250
- | `column` | `Column` |
251
- | `newWidth` | `number` |
252
- | `oldWidth` | `number` |
253
-
254
- #### `ReorderableOptions`
255
-
256
- | Name | Type | Description |
257
- | --- | --- | --- |
258
- | `enabled` | `boolean` | Whether column reordering is active. On unless set to `false`; options replace earlier ones. |
259
-
260
- #### `ResizableOptions`
261
-
262
- | Name | Type | Description |
263
- | --- | --- | --- |
264
- | `enabled` | `boolean` | Whether column resizing is active. On unless set to `false`; options replace earlier ones. |
265
-
266
- #### `GridColumnLockedPosition`
267
-
268
- ```typescript
269
- type GridColumnLockedPosition = "left" | "right";
270
- ```
271
-
272
- #### `ResizeMethod`
273
-
274
- ```typescript
275
- type ResizeMethod = "auto" | "fitView" | number;
276
- ```
277
-
278
- #### `PreventableEvent`
279
-
280
- From `@nanahoshi/mona-ui/common`.
281
-
282
- **Type parameters:** `E extends Event = Event`
283
-
284
- | Name | Type | Description |
285
- | --- | --- | --- |
286
- | `originalEvent` (read-only) | `E \| undefined` | The DOM event that caused this one, when there is one. |
287
- | `type` (read-only) | `string \| undefined` | A name for the kind of event, when the component that emits it sets one. |
288
-
289
- **Methods**
290
-
291
- | Signature | Description |
208
+ | Type | Kind |
292
209
  | --- | --- |
293
- | `isDefaultPrevented(): boolean` | Whether `preventDefault()` was called. |
294
- | `preventDefault(): void` | Cancels what the event announces, such as opening or closing a popup, or closing a dialog. |
210
+ | [`ColumnResizeEvent`](api/grid.md#columnresizeevent) | Interface |
211
+ | [`ReorderableOptions`](api/grid.md#reorderableoptions) | Interface |
212
+ | [`ResizableOptions`](api/grid.md#resizableoptions) | Interface |
213
+ | [`GridColumnLockedPosition`](api/grid.md#gridcolumnlockedposition) | Type alias |
214
+ | [`ResizeMethod`](api/grid.md#resizemethod) | Type alias |
295
215
 
296
- **Documented elsewhere:** [`Column`](grid.md)
216
+ **Related types:** [`Column`](api/grid.md#column), [`PreventableEvent`](api/common.md#preventableevent)
@@ -276,300 +276,38 @@ The add row works the same way. `Enter` and `Escape` are left to an input method
276
276
 
277
277
  ## API
278
278
 
279
- Everything below is imported from `@nanahoshi/mona-ui/grid`.
279
+ Everything below is imported from `@nanahoshi/mona-ui/grid`. Each name links to its reference page, with every input, output, property and method.
280
280
 
281
- ### `GridCommandColumnComponent`
282
-
283
- **Selector:** `mona-grid-command-column`
284
-
285
- #### Inputs
286
-
287
- | Name | Type | Default | Description |
288
- | --- | --- | --- | --- |
289
- | `hidden` | `boolean` | `false` | Whether this command column is hidden from the rendered grid. |
290
- | `locked` | `boolean` | `false` | Whether this command column remains fixed while the grid scrolls horizontally. |
291
- | `lockedPosition` | `GridColumnLockedPosition` | `"left"` | The side of the grid where this locked command column is fixed. |
292
- | `maxWidth` | `number \| null` | `null` | The maximum width of this command column in pixels. |
293
- | `minWidth` | `number \| null` | `null` | The minimum width of this command column in pixels. |
294
- | `removeConfirmation` | `boolean` | `false` | Whether removing a row asks for confirmation before emitting `remove`: from the built-in Remove button, or from a `monaGridRemoveCommand` button in this column's template. |
295
- | `stateKey` | `string \| null` | `"commands"` | A stable key used to persist state for this command column. |
296
- | `title` | `string \| null` | `null` | The title displayed in the command column header. Without one, the localized `commandColumnTitle` message ("Commands"). |
297
- | `width` | `number \| null` | `160` | The fixed width of this command column in pixels. |
298
-
299
- ### `GridEditableDirective`
300
-
301
- **Selector:** `mona-grid[monaGridEditable]`
302
- **Type parameters:** `T extends object = Record<PropertyKey, unknown>`
303
-
304
- #### Inputs
305
-
306
- | Name | Type | Default | Description |
307
- | --- | --- | --- | --- |
308
- | `monaGridEditable` | `EditableOptions<T> \| ""` | `""` | Enables inline editing. An empty string enables cell-mode editing with default settings; pass an object to choose `"cell"` or `"row"` mode and an optional validation `schema`. |
309
- | `newRowFactory` | `() => T` | — | Creates the initial data object used by the add-row editor. |
310
-
311
- #### Outputs
312
-
313
- | Name | Type | Description |
314
- | --- | --- | --- |
315
- | `add` | `GridAddEvent` | Emitted before the grid displays the new-row editor. |
316
- | `cancel` | `GridCancelEvent` | Emitted before an edit operation is canceled; `reason` says why. Prevent it to keep editing, except for `"removed"`, when the edited row left the data or the view. |
317
- | `cellEdit` | `CellEditEvent` | Emitted before a changed cell is saved in cell mode; not when the value didn't change. `rowData` is the row as it was; persist from `save`, whose `rowData` holds the edited values. |
318
- | `edit` | `GridEditEvent` | Emitted before a row enters edit mode. |
319
- | `remove` | `GridRemoveEvent` | Emitted when a row remove command is triggered, with the row's `key` and `index`. |
320
- | `rowEdit` | `RowEditEvent` | Emitted after a changed row is saved (row mode only). |
321
- | `save` | `GridSaveEvent<T>` | Emitted before an edited or new row is saved; not when an edit changed nothing. `rowData` holds the edited values and `originalRowData` the row as it was. Prevent it to keep the editor open, for example while saving on the server, then call `endEdit()`. |
322
-
323
- #### Methods
324
-
325
- | Signature | Description |
326
- | --- | --- |
327
- | `endEdit(): void` | Closes the current edit without reporting it, such as after a `save` that was prevented to save on the server has finished. |
328
-
329
- ### `GridEditCommandDirective`
330
-
331
- **Selector:** `button[monaGridEditCommand]`
332
-
333
- #### Inputs
334
-
335
- | Name | Type | Default | Description |
336
- | --- | --- | --- | --- |
337
- | `monaGridEditCommand` | `Row \| null` | `null` | The row the button puts into row edit mode when clicked, usually the command template's `row`. Does nothing while `null` or when the grid isn't in row edit mode. |
338
-
339
- ### `GridRemoveCommandDirective`
340
-
341
- **Selector:** `button[monaGridRemoveCommand]`
342
-
343
- #### Inputs
344
-
345
- | Name | Type | Default | Description |
346
- | --- | --- | --- | --- |
347
- | `monaGridRemoveCommand` | `Row \| null` | `null` | The row the button removes when clicked, usually the command template's `row`. The click emits the grid's `remove` event for that row. Inside a command column with `removeConfirmation`, it asks first, as the built-in remove command does. Does nothing while `null`. |
348
-
349
- ### `GridAddCommandDirective`
350
-
351
- **Selector:** `button[monaGridAddCommand]`
352
-
353
- ### `GridCancelCommandDirective`
354
-
355
- **Selector:** `button[monaGridCancelCommand]`
356
-
357
- ### `GridEditTemplateDirective`
358
-
359
- **Selector:** `ng-template[monaGridEditTemplate]`
360
-
361
- ### `GridSaveCommandDirective`
362
-
363
- **Selector:** `button[monaGridSaveCommand]`
364
-
365
- ### `CellEditEvent`
366
-
367
- **Extends:** `PreventableEvent`
368
-
369
- #### Properties
370
-
371
- | Name | Type |
372
- | --- | --- |
373
- | `field` (read-only) | `string` |
374
- | `newValue` (read-only) | `unknown` |
375
- | `oldValue` (read-only) | `unknown` |
376
- | `rowData` (read-only) | `Record<PropertyKey, unknown>` |
377
- | `session` (read-only) | `GridEditSession` |
378
-
379
- ### `GridAddEvent`
380
-
381
- **Extends:** `PreventableEvent`
382
-
383
- #### Properties
384
-
385
- | Name | Type |
386
- | --- | --- |
387
- | `rowData` (read-only) | `Record<PropertyKey, unknown>` |
388
- | `session` (read-only) | `GridEditSession` |
389
-
390
- ### `GridCancelEvent`
391
-
392
- **Extends:** `PreventableEvent`
393
-
394
- #### Properties
395
-
396
- | Name | Type |
397
- | --- | --- |
398
- | `operation` (read-only) | `GridSaveOperation` |
399
- | `reason` (read-only) | `GridCancelReason` |
400
- | `rowData` (read-only) | `Record<PropertyKey, unknown>` |
401
- | `session` (read-only) | `GridEditSession` |
402
-
403
- ### `GridEditEvent`
404
-
405
- **Extends:** `PreventableEvent`
406
-
407
- #### Properties
408
-
409
- | Name | Type |
410
- | --- | --- |
411
- | `rowData` (read-only) | `Record<PropertyKey, unknown>` |
412
- | `session` (read-only) | `GridEditSession` |
413
-
414
- ### `GridRemoveEvent`
415
-
416
- **Extends:** `PreventableEvent`
417
-
418
- #### Properties
419
-
420
- | Name | Type | Description |
281
+ | Name | Kind | Description |
421
282
  | --- | --- | --- |
422
- | `index` (read-only) | `number` | The row's position in the grid's `data`, or -1 when it is no longer there. |
423
- | `key` (read-only) | `unknown` | The row's `rowKey` value, or the data item when the grid has no `rowKey`. |
424
- | `rowData` (read-only) | `Record<PropertyKey, unknown>` | The data item of the row being removed. |
425
-
426
- ### `GridSaveEvent`
427
-
428
- `T` is the row type, which a typed `schema` or `newRowFactory` on `monaGridEditable` sets.
429
-
430
- **Type parameters:** `T extends object = Record<PropertyKey, unknown>`
431
- **Extends:** `PreventableEvent`
432
-
433
- #### Properties
434
-
435
- | Name | Type |
436
- | --- | --- |
437
- | `operation` (read-only) | `GridSaveOperation` |
438
- | `originalRowData` (read-only) | `T \| null` |
439
- | `rowData` (read-only) | `T` |
440
- | `session` (read-only) | `GridEditSession` |
441
-
442
- ### `RowEditEvent`
443
-
444
- **Extends:** `PreventableEvent`
445
-
446
- #### Properties
447
-
448
- | Name | Type |
449
- | --- | --- |
450
- | `originalRowData` (read-only) | `Record<PropertyKey, unknown> \| null` |
451
- | `rowData` (read-only) | `Record<PropertyKey, unknown>` |
452
- | `session` (read-only) | `GridEditSession` |
283
+ | [`GridCommandColumnComponent`](api/grid.md#gridcommandcolumncomponent) | Component | |
284
+ | [`GridEditableDirective`](api/grid.md#grideditabledirective) | Directive | |
285
+ | [`GridEditCommandDirective`](api/grid.md#grideditcommanddirective) | Directive | |
286
+ | [`GridRemoveCommandDirective`](api/grid.md#gridremovecommanddirective) | Directive | |
287
+ | [`GridAddCommandDirective`](api/grid.md#gridaddcommanddirective) | Directive | |
288
+ | [`GridCancelCommandDirective`](api/grid.md#gridcancelcommanddirective) | Directive | |
289
+ | [`GridEditTemplateDirective`](api/grid.md#gridedittemplatedirective) | Directive | |
290
+ | [`GridSaveCommandDirective`](api/grid.md#gridsavecommanddirective) | Directive | |
291
+ | [`CellEditEvent`](api/grid.md#celleditevent) | Class | |
292
+ | [`GridAddEvent`](api/grid.md#gridaddevent) | Class | |
293
+ | [`GridCancelEvent`](api/grid.md#gridcancelevent) | Class | |
294
+ | [`GridEditEvent`](api/grid.md#grideditevent) | Class | |
295
+ | [`GridRemoveEvent`](api/grid.md#gridremoveevent) | Class | |
296
+ | [`GridSaveEvent`](api/grid.md#gridsaveevent) | Class | `T` is the row type, which a typed `schema` or `newRowFactory` on `monaGridEditable` sets. |
297
+ | [`RowEditEvent`](api/grid.md#roweditevent) | Class | |
453
298
 
454
299
  ### Types
455
300
 
456
- #### `EditableOptions`
457
-
458
- `T` is the row type, which a typed `schema` sets.
459
-
460
- **Type parameters:** `T extends object = Record<PropertyKey, unknown>`
461
-
462
- | Name | Type | Description |
301
+ | Type | Kind | Description |
463
302
  | --- | --- | --- |
464
- | `commandAriaLabel?` | `( command: GridRowCommand, rowData: Record<PropertyKey, unknown>, absoluteIndex: number ) => string` | Returns the accessible name of a row's command button, such as "Edit order 10248". Without it the buttons are named by position ("Edit row 3"). `absoluteIndex` is the row's 0-based position in the filtered and sorted rows; the add row isn't passed here. |
465
- | `enabled?` | `boolean` | Whether editing is active. On unless set to `false`; options replace earlier ones. |
466
- | `mode` | `"cell" \| "row"` | Whether editing commits per cell or per row. |
467
- | `schema?` | `GridEditSchemaFactory<T>` | Builds a Signal Forms validation schema for the row being edited. |
468
-
469
- #### `GridEditFormContext`
470
-
471
- What a schema factory is told about the edit. `T` is the row type, untyped unless you give one.
472
-
473
- **Type parameters:** `T extends object = Record<PropertyKey, unknown>`
474
-
475
- | Name | Type |
476
- | --- | --- |
477
- | `column` (read-only) | `Column \| null` |
478
- | `field` (read-only) | `string \| null` |
479
- | `isNew` (read-only) | `boolean` |
480
- | `mode` (read-only) | `"cell" \| "row"` |
481
- | `operation` (read-only) | `GridEditOperation` |
482
- | `originalRowData` (read-only) | `T \| null` |
483
- | `rowData` (read-only) | `T` |
484
-
485
- #### `GridEditSession`
486
-
487
- | Name | Type | Description |
488
- | --- | --- | --- |
489
- | `column` (read-only) | `Column \| null` | The column currently being edited, in cell mode. |
490
- | `field` (read-only) | `string \| null` | The field name currently being edited, in cell mode. |
491
- | `form` (read-only) | `FieldTree<Record<PropertyKey, unknown>>` | The Signal Forms field tree backing the row being edited. |
492
- | `isNew` (read-only) | `boolean` | Whether this session represents a new row being added. |
493
- | `mode` (read-only) | `"cell" \| "row"` | The active editing mode. |
494
- | `model` (read-only) | `WritableSignal<Record<PropertyKey, unknown>>` | The signal holding the row's current edited values. |
495
- | `operation` (read-only) | `GridEditOperation` | `"create"` or `"update"`. |
496
- | `originalRowData` (read-only) | `Record<PropertyKey, unknown> \| null` | The row's data before editing began. |
497
- | `row` (read-only) | `Row \| null` | The internal row wrapper being edited. |
498
- | `rowUid` (read-only) | `string \| null` | The stable identifier of the row being edited. |
499
-
500
- #### `GridEditTemplateContext`
501
-
502
- | Name | Type | Description |
503
- | --- | --- | --- |
504
- | `cancel` (read-only) | `() => void` | Cancels the current edit. |
505
- | `column` (read-only) | `string` | The field name of the column being edited. |
506
- | `commit` (read-only) | `() => void` | Commits the current edit. |
507
- | `dataField` (read-only) | `string` | Same as `column`; the field name being edited. |
508
- | `dataItem` (read-only) | `Record<PropertyKey, unknown>` | The row's current edited values. |
509
- | `errors` (read-only) | `readonly ValidationError.WithFieldTree[]` | Validation errors for this field. |
510
- | `field` (read-only) | `FieldTree<unknown>` | The Signal Forms field for this column. |
511
- | `form` (read-only) | `GridEditSession["form"]` | The row's full Signal Forms field tree. |
512
- | `invalid` (read-only) | `boolean` | Whether this field currently fails validation. |
513
- | `isNew` (read-only) | `boolean` | Whether this is a new row being added. |
514
- | `session` (read-only) | `GridEditSession` | The full edit session for this row. |
515
- | `setValue` (read-only) | `(value: unknown) => void` | Sets this field's value. |
516
- | `touched` (read-only) | `boolean` | Whether this field has been touched. |
517
- | `value` (read-only) | `unknown` | This field's current value. |
518
-
519
- #### `GridCancelReason`
520
-
521
- Why an edit is being canceled: `"command"` for the Cancel button or `cancel()` in a template, `"escape"` for
522
- the Escape key, `"switch"` when another edit or the add row starts, `"removed"` when the edited row left the
523
- data or the view. A `"removed"` cancel can't be prevented: the row is gone.
524
-
525
- ```typescript
526
- type GridCancelReason = "command" | "escape" | "removed" | "switch";
527
- ```
528
-
529
- #### `GridEditOperation`
530
-
531
- ```typescript
532
- type GridEditOperation = "create" | "update";
533
- ```
534
-
535
- #### `GridEditSchemaFactory`
536
-
537
- Builds the Signal Forms schema for the row being edited. `T` is the row type, untyped unless you give one.
538
-
539
- ```typescript
540
- type GridEditSchemaFactory<T extends object = Record<PropertyKey, unknown>> = ( context: GridEditFormContext<T> ) => SchemaOrSchemaFn<T> | null | undefined;
541
- ```
542
-
543
- #### `GridRowCommand`
544
-
545
- A row command button: Edit, Remove, Save or Cancel.
546
-
547
- ```typescript
548
- type GridRowCommand = "cancel" | "edit" | "remove" | "save";
549
- ```
550
-
551
- #### `GridSaveOperation`
552
-
553
- ```typescript
554
- type GridSaveOperation = GridEditOperation;
555
- ```
556
-
557
- #### `PreventableEvent`
558
-
559
- From `@nanahoshi/mona-ui/common`.
560
-
561
- **Type parameters:** `E extends Event = Event`
562
-
563
- | Name | Type | Description |
564
- | --- | --- | --- |
565
- | `originalEvent` (read-only) | `E \| undefined` | The DOM event that caused this one, when there is one. |
566
- | `type` (read-only) | `string \| undefined` | A name for the kind of event, when the component that emits it sets one. |
567
-
568
- **Methods**
569
-
570
- | Signature | Description |
571
- | --- | --- |
572
- | `isDefaultPrevented(): boolean` | Whether `preventDefault()` was called. |
573
- | `preventDefault(): void` | Cancels what the event announces, such as opening or closing a popup, or closing a dialog. |
574
-
575
- **Documented elsewhere:** [`Column`](grid.md), [`GridColumnLockedPosition`](grid-columns.md), [`Row`](grid.md)
303
+ | [`EditableOptions`](api/grid.md#editableoptions) | Interface | `T` is the row type, which a typed `schema` sets. |
304
+ | [`GridEditFormContext`](api/grid.md#grideditformcontext) | Interface | What a schema factory is told about the edit. |
305
+ | [`GridEditSession`](api/grid.md#grideditsession) | Interface | |
306
+ | [`GridEditTemplateContext`](api/grid.md#gridedittemplatecontext) | Interface | |
307
+ | [`GridCancelReason`](api/grid.md#gridcancelreason) | Type alias | Why an edit is being canceled: `"command"` for the Cancel button or `cancel()` in a template, `"escape"` for the Escape key, `"switch"` when another edit or the add row starts, `"removed"` when the edited row left the data or the view. |
308
+ | [`GridEditOperation`](api/grid.md#grideditoperation) | Type alias | |
309
+ | [`GridEditSchemaFactory`](api/grid.md#grideditschemafactory) | Type alias | Builds the Signal Forms schema for the row being edited. |
310
+ | [`GridRowCommand`](api/grid.md#gridrowcommand) | Type alias | A row command button: Edit, Remove, Save or Cancel. |
311
+ | [`GridSaveOperation`](api/grid.md#gridsaveoperation) | Type alias | |
312
+
313
+ **Related types:** [`Column`](api/grid.md#column), [`GridColumnLockedPosition`](api/grid.md#gridcolumnlockedposition), [`PreventableEvent`](api/common.md#preventableevent), [`Row`](api/grid.md#row)
@@ -180,59 +180,20 @@ The rest of the grid's keys are on [Grid Overview](grid.md#keyboard).
180
180
 
181
181
  ## API
182
182
 
183
- Everything below is imported from `@nanahoshi/mona-ui/grid`.
183
+ Everything below is imported from `@nanahoshi/mona-ui/grid`. Each name links to its reference page, with every input, output, property and method.
184
184
 
185
- ### `GridGroupableDirective`
186
-
187
- **Selector:** `mona-grid[monaGridGroupable]`
188
-
189
- #### Inputs
190
-
191
- | Name | Type | Default | Description |
192
- | --- | --- | --- | --- |
193
- | `group` (two-way) | `GroupDescriptor[]` | `[]` | Current group descriptors applied to the grid. A repeated field keeps its last descriptor; a field without a column is grouped once its column appears. Supports two-way binding: `groupChange` emits after the user groups, ungroups, reorders or re-sorts groups, and after a grid state is restored, never for a value set here. |
194
- | `monaGridGroupable` | `Partial<GroupableOptions> \| "" \| undefined` | `undefined` | Enables column grouping on the grid. Pass a `GroupableOptions` object to configure group footer display. Grouping is on unless the object sets `enabled: false`. |
195
-
196
- #### Outputs
197
-
198
- | Name | Type | Description |
199
- | --- | --- | --- |
200
- | `groupChange` | `GroupDescriptor[]` | Emitted when `group` changes. |
201
-
202
- ### `GridFooterTemplateDirective`
203
-
204
- **Selector:** `ng-template[monaGridFooterTemplate]`
205
-
206
- ### `GridGroupFooterTemplateDirective`
207
-
208
- **Selector:** `ng-template[monaGridGroupFooterTemplate]`
185
+ | Name | Kind |
186
+ | --- | --- |
187
+ | [`GridGroupableDirective`](api/grid.md#gridgroupabledirective) | Directive |
188
+ | [`GridFooterTemplateDirective`](api/grid.md#gridfootertemplatedirective) | Directive |
189
+ | [`GridGroupFooterTemplateDirective`](api/grid.md#gridgroupfootertemplatedirective) | Directive |
209
190
 
210
191
  ### Types
211
192
 
212
- #### `GroupableOptions`
213
-
214
- | Name | Type | Description |
215
- | --- | --- | --- |
216
- | `enabled` | `boolean` | Whether grouping is active. |
217
- | `showFooter` | `boolean` | Whether a group's aggregate footer also shows while the group is collapsed; expanded groups always show it. |
218
-
219
- #### `GroupDescriptor`
220
-
221
- | Name | Type |
193
+ | Type | Kind |
222
194
  | --- | --- |
223
- | `dir?` | `SortDirection` |
224
- | `field` | `string` |
195
+ | [`GroupableOptions`](api/grid.md#groupableoptions) | Interface |
196
+ | [`GroupDescriptor`](api/grid.md#groupdescriptor) | Interface |
197
+ | [`AggregateFunction`](api/grid.md#aggregatefunction) | Type alias |
225
198
 
226
- #### `AggregateFunction`
227
-
228
- ```typescript
229
- type AggregateFunction = "sum" | "avg" | "count" | "min" | "max" | "custom";
230
- ```
231
-
232
- #### `SortDirection`
233
-
234
- From `@nanahoshi/mona-ui/query`.
235
-
236
- ```typescript
237
- type SortDirection = "asc" | "desc";
238
- ```
199
+ **Related types:** [`SortDirection`](api/query.md#sortdirection)
package/docs/grid-rows.md CHANGED
@@ -214,84 +214,20 @@ The rest of the grid's keys are on [Grid Overview](grid.md#keyboard).
214
214
 
215
215
  ## API
216
216
 
217
- Everything below is imported from `@nanahoshi/mona-ui/grid`.
217
+ Everything below is imported from `@nanahoshi/mona-ui/grid`. Each name links to its reference page, with every input, output, property and method.
218
218
 
219
- ### `GridRowReorderableDirective`
220
-
221
- **Selector:** `mona-grid[monaGridRowReorderable]`
222
-
223
- #### Inputs
224
-
225
- | Name | Type | Default | Description |
226
- | --- | --- | --- | --- |
227
- | `monaGridRowReorderable` | `RowReorderableOptions \| ""` | `""` | Enables row reordering via the reorder-handle column. Pass a `RowReorderableOptions` object to configure it explicitly. |
228
-
229
- #### Outputs
230
-
231
- | Name | Type | Description |
232
- | --- | --- | --- |
233
- | `rowReorder` | `RowReorderEvent<Record<PropertyKey, unknown>>` | Emitted when a row is moved to a new position. The event carries the moved row, source- and page-relative indices, and the complete reordered application data. |
234
-
235
- ### `GridDetailTemplateDirective`
236
-
237
- **Selector:** `ng-template[monaGridDetailTemplate]`
238
-
239
- ### `RowReorderEvent`
240
-
241
- **Type parameters:** `TData extends Record<PropertyKey, unknown> = Record<PropertyKey, unknown>`
242
- **Extends:** `PreventableEvent`
243
-
244
- #### Properties
245
-
246
- | Name | Type |
219
+ | Name | Kind |
247
220
  | --- | --- |
248
- | `currentIndex` (read-only) | `number` |
249
- | `currentPageIndex` (read-only) | `number` |
250
- | `previousIndex` (read-only) | `number` |
251
- | `previousPageIndex` (read-only) | `number` |
252
- | `reorderedData` (read-only) | `readonly TData[]` |
253
- | `rowData` (read-only) | `TData` |
221
+ | [`GridRowReorderableDirective`](api/grid.md#gridrowreorderabledirective) | Directive |
222
+ | [`GridDetailTemplateDirective`](api/grid.md#griddetailtemplatedirective) | Directive |
223
+ | [`RowReorderEvent`](api/grid.md#rowreorderevent) | Class |
254
224
 
255
225
  ### Types
256
226
 
257
- #### `RowReorderableOptions`
258
-
259
- | Name | Type | Description |
260
- | --- | --- | --- |
261
- | `canReorder?` | `(rowData: Record<PropertyKey, unknown>) => boolean` | Determines whether an individual row may be reordered. Rows for which this returns false must show a disabled handle. |
262
- | `enabled?` | `boolean` | Enables row reordering. |
263
- | `rowAriaLabel?` | `(rowData: Record<PropertyKey, unknown>, absoluteIndex: number) => string` | Returns the accessible label fragment for a row's reorder handle. Locale-aware composition supplies sentence punctuation, keyboard instructions, and disabled reasons around this fragment. The default must be positional, such as: "Reorder row 3" |
264
-
265
- #### `GridRowClass`
266
-
267
- Returns the classes to add to the data row that shows the given item.
268
-
269
- ```typescript
270
- type GridRowClass<TData> = (data: TData) => GridRowClassValue;
271
- ```
272
-
273
- #### `GridRowClassValue`
274
-
275
- The classes a `GridRowClass` function adds to a data row. Nullish values add nothing.
276
-
277
- ```typescript
278
- type GridRowClassValue = string | readonly string[] | null | undefined;
279
- ```
280
-
281
- #### `PreventableEvent`
282
-
283
- From `@nanahoshi/mona-ui/common`.
284
-
285
- **Type parameters:** `E extends Event = Event`
286
-
287
- | Name | Type | Description |
227
+ | Type | Kind | Description |
288
228
  | --- | --- | --- |
289
- | `originalEvent` (read-only) | `E \| undefined` | The DOM event that caused this one, when there is one. |
290
- | `type` (read-only) | `string \| undefined` | A name for the kind of event, when the component that emits it sets one. |
291
-
292
- **Methods**
229
+ | [`RowReorderableOptions`](api/grid.md#rowreorderableoptions) | Interface | |
230
+ | [`GridRowClass`](api/grid.md#gridrowclass) | Type alias | Returns the classes to add to the data row that shows the given item. |
231
+ | [`GridRowClassValue`](api/grid.md#gridrowclassvalue) | Type alias | The classes a `GridRowClass` function adds to a data row. |
293
232
 
294
- | Signature | Description |
295
- | --- | --- |
296
- | `isDefaultPrevented(): boolean` | Whether `preventDefault()` was called. |
297
- | `preventDefault(): void` | Cancels what the event announces, such as opening or closing a popup, or closing a dialog. |
233
+ **Related types:** [`PreventableEvent`](api/common.md#preventableevent)