@nanahoshi/mona-ui 0.46.0 → 0.48.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 (59) hide show
  1. package/docs/api/button.json +1 -1
  2. package/docs/api/button.md +1 -0
  3. package/docs/api/check-box.json +1 -1
  4. package/docs/api/check-box.md +1 -0
  5. package/docs/api/chip.json +1 -1
  6. package/docs/api/chip.md +1 -0
  7. package/docs/api/common.json +1 -1
  8. package/docs/api/common.md +1 -1
  9. package/docs/api/grid.json +1 -1
  10. package/docs/api/grid.md +18 -0
  11. package/docs/api/index.json +1 -1
  12. package/docs/api/radio-button.json +1 -1
  13. package/docs/api/radio-button.md +1 -0
  14. package/docs/api/ripple.json +1 -0
  15. package/docs/api/ripple.md +75 -0
  16. package/docs/api/sidebar.json +1 -1
  17. package/docs/api/sidebar.md +1 -0
  18. package/docs/api/switch.json +1 -1
  19. package/docs/api/switch.md +1 -0
  20. package/docs/grid-rows.md +36 -0
  21. package/docs/grid-server.md +6 -0
  22. package/docs/grid.md +3 -2
  23. package/docs/manifest.json +1 -1
  24. package/docs/ripple.md +360 -0
  25. package/docs/sidebar-menus.md +8 -0
  26. package/fesm2022/{grid-colgroup.component-B4jx10Yi.mjs → grid-colgroup.component-BFbiAvkG.mjs} +2 -2
  27. package/fesm2022/{grid-footer-row.component-CVUltI39.mjs → grid-footer-row.component-DpSu7jvG.mjs} +3 -2
  28. package/fesm2022/{grid-list.component-Cv1KB5VQ.mjs → grid-list.component-B-F4bvFL.mjs} +5 -5
  29. package/fesm2022/{grid-row.component-BauMmps5.mjs → grid-row.component-CuCQ_Z5F.mjs} +37 -9
  30. package/fesm2022/{grid-virtual-list.component-DNjoZfHq.mjs → grid-virtual-list.component-rIz5AUOU.mjs} +31 -12
  31. package/fesm2022/{grid.styles-BJHVTT_v.mjs → grid.styles-D6jP3vwD.mjs} +110 -35
  32. package/fesm2022/nanahoshi-mona-ui-button.mjs +20 -2
  33. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +11 -3
  34. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +30 -5
  35. package/fesm2022/nanahoshi-mona-ui-chip.mjs +13 -0
  36. package/fesm2022/nanahoshi-mona-ui-grid.mjs +16 -20
  37. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +9 -1
  38. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +9 -3
  39. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +12 -4
  40. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +11 -3
  41. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +27 -3
  42. package/fesm2022/nanahoshi-mona-ui-ripple.mjs +196 -0
  43. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +9 -3
  44. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +21 -1
  45. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +5 -1
  46. package/fesm2022/nanahoshi-mona-ui-switch.mjs +28 -3
  47. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +7 -1
  48. package/llms.txt +3 -1
  49. package/package.json +5 -1
  50. package/ripple/package.json +5 -0
  51. package/types/nanahoshi-mona-ui-button.d.ts +8 -1
  52. package/types/nanahoshi-mona-ui-calendar.d.ts +1 -0
  53. package/types/nanahoshi-mona-ui-check-box.d.ts +10 -1
  54. package/types/nanahoshi-mona-ui-chip.d.ts +8 -1
  55. package/types/nanahoshi-mona-ui-grid.d.ts +35 -4
  56. package/types/nanahoshi-mona-ui-radio-button.d.ts +9 -1
  57. package/types/nanahoshi-mona-ui-ripple.d.ts +72 -0
  58. package/types/nanahoshi-mona-ui-sidebar.d.ts +12 -0
  59. package/types/nanahoshi-mona-ui-switch.d.ts +10 -2
package/docs/api/grid.md CHANGED
@@ -64,6 +64,7 @@ Component.
64
64
  | `expandedKeysChange` | `unknown[]` | Emitted when `expandedKeys` changes. |
65
65
  | `pageChange` | `PageChangeEvent` | Emitted when the user changes the page or the page size, when the user's sort or filter moves a client-side grid back to the first page, and when the grid moves back to the last page because the data shrank. Not emitted for `skip` or `pageSize` values set from code. |
66
66
  | `pageSizeChange` | `number` | Emitted when `pageSize` changes. |
67
+ | `rowActivate` | `GridRowActivateEvent<T>` | Emitted when the user activates a data row, the way a file list opens an item: by double-clicking it, or by pressing `Enter` on one of its cells where the key has no other use. Editing, moving into a cell's controls and opening a detail row keep `Enter`. Not emitted for header, group, group footer, detail or add rows, for a double-click on a control inside a cell, or while an edit is open. |
67
68
  | `skipChange` | `number` | Emitted when `skip` changes. |
68
69
 
69
70
  ## `GridCommandColumnComponent`
@@ -1217,6 +1218,23 @@ What a paste into the grid's cells would change. The grid doesn't change its dat
1217
1218
 
1218
1219
  **Used by:** [`GridRangeSelectableDirective`](grid.md#gridrangeselectabledirective)
1219
1220
 
1221
+ ## `GridRowActivateEvent`
1222
+
1223
+ Interface.
1224
+
1225
+ Emitted when the user activates a data row, the way a file list opens an item.
1226
+
1227
+ **Type parameters:** `T = Record<PropertyKey, unknown>`
1228
+
1229
+ ### Properties
1230
+
1231
+ | Name | Type | Description |
1232
+ | --- | --- | --- |
1233
+ | `originalEvent` (read-only) | `KeyboardEvent \| MouseEvent` | The double-click or the `Enter` key press, to tell apart a modified one such as `Ctrl+Enter` or `Alt+Enter`, or to find the cell it happened in through its `target`. |
1234
+ | `rowData` (read-only) | `T` | The row's item from `data`, the same object. |
1235
+
1236
+ **Used by:** [`GridComponent`](grid.md#gridcomponent)
1237
+
1220
1238
  ## `GridState`
1221
1239
 
1222
1240
  Interface.