@moneyforward/mfui-components 4.5.0 → 4.6.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 (71) hide show
  1. package/dist/src/Badge/Badge.d.ts +1 -1
  2. package/dist/src/Badge/Badge.js +4 -4
  3. package/dist/src/Badge/Badge.types.d.ts +3 -1
  4. package/dist/src/Checkbox/Checkbox.js +7 -3
  5. package/dist/src/DataTable/DataTable.types.d.ts +2 -2
  6. package/dist/src/DataTable/DataTableCell/DataTableCell.js +21 -4
  7. package/dist/src/DataTable/DataTableCell/DataTableCell.types.d.ts +1 -1
  8. package/dist/src/DataTable/DataTableHeaderRow/DataTableHeaderRow.js +7 -5
  9. package/dist/src/DataTable/DataTableRow/DataTableRow.js +104 -32
  10. package/dist/src/DataTable/DataTableRow/DataTableRow.types.d.ts +44 -15
  11. package/dist/src/DataTable/DataTableRowActionContext.d.ts +34 -0
  12. package/dist/src/DataTable/DataTableRowActionContext.js +8 -0
  13. package/dist/src/DateTimeSelection/DatePicker/DatePickerCalendar/DatePickerCalendar.js +7 -3
  14. package/dist/src/DateTimeSelection/DateRangePicker/DateRangePickerPopover/DateRangePickerCalendar/DateRangePickerCalendar.js +1 -1
  15. package/dist/src/DateTimeSelection/DateRangePicker/DateRangePickerPopover/utilities/createDateRangePickerPopoverTestUtility.js +2 -2
  16. package/dist/src/DateTimeSelection/DateRangePicker/DateRangePickerProvider/DateRangePickerProvider.js +13 -7
  17. package/dist/src/DateTimeSelection/DateRangePicker/DateRangePickerTrigger/DateRangePickerTrigger.js +1 -1
  18. package/dist/src/DateTimeSelection/FilterDatePicker/FilterDatePicker.js +1 -1
  19. package/dist/src/DateTimeSelection/FilterMonthPicker/FilterMonthPicker.js +1 -1
  20. package/dist/src/DateTimeSelection/FilterMonthRangePicker/FilterMonthRangePicker.js +1 -1
  21. package/dist/src/DateTimeSelection/MonthPicker/MonthPickerPanel/MonthPickerPanel.js +1 -1
  22. package/dist/src/DateTimeSelection/MonthPicker/constants.d.ts +2 -2
  23. package/dist/src/DateTimeSelection/MonthPicker/constants.js +6 -6
  24. package/dist/src/DateTimeSelection/MonthRangePicker/MonthRangePickerMonthCell/MonthRangePickerMonthCell.js +1 -1
  25. package/dist/src/DateTimeSelection/MonthRangePicker/MonthRangePickerNavigation/MonthRangePickerNavigation.js +2 -2
  26. package/dist/src/DateTimeSelection/TimePicker/TimePicker.js +1 -1
  27. package/dist/src/DateTimeSelection/shared/BasePicker/constants.d.ts +2 -2
  28. package/dist/src/DateTimeSelection/shared/BasePicker/constants.js +10 -10
  29. package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerPopover/BaseRangePickerCalendar/BaseRangePickerCalendar.js +1 -1
  30. package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerPopover/constants.js +4 -4
  31. package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerProvider/BaseRangePickerProvider.js +13 -7
  32. package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerTrigger/BaseRangePickerTrigger.js +2 -2
  33. package/dist/src/DateTimeSelection/shared/CalendarGrid/CalendarGrid.js +1 -1
  34. package/dist/src/DateTimeSelection/shared/utilities/japaneseCalendar.js +2 -2
  35. package/dist/src/FileDropZone/FileDropZone.js +1 -1
  36. package/dist/src/FileDropZone/utils/fileHelpers.js +1 -1
  37. package/dist/src/MainNavigation/BaseMainNavigation.js +1 -1
  38. package/dist/src/MainNavigation/NarrowViewportMainNavigation.js +1 -1
  39. package/dist/src/MultipleSelectBox/MultipleSelectBoxTrigger/MultipleSelectBoxTrigger.js +1 -1
  40. package/dist/src/MultipleSelectBox/hooks/useCreateOption.js +8 -4
  41. package/dist/src/MultipleSelectBox/hooks/useOptionKeyboardNavigation.js +9 -4
  42. package/dist/src/MultipleSelectBox/hooks/useSelectedValues.js +16 -50
  43. package/dist/src/NumberBox/NumberBox.js +8 -4
  44. package/dist/src/PageHeader/PageHeader.types.d.ts +2 -0
  45. package/dist/src/Popover/Popover.js +11 -2
  46. package/dist/src/SelectBox/SelectBox.js +9 -10
  47. package/dist/src/SelectBox/hooks/useKeyboardNavigation.js +8 -2
  48. package/dist/src/SplitView/hooks/useSplitViewPanelVisibility.js +5 -2
  49. package/dist/src/SubNavigation/SubNavigation.js +80 -19
  50. package/dist/src/SubNavigation/SubNavigation.types.d.ts +18 -6
  51. package/dist/src/Tabs/Tabs.js +8 -4
  52. package/dist/src/Tabs/hooks/useCalculatedSelectedTabId.js +7 -5
  53. package/dist/src/Toast/ToastContainer/ToastContainer.js +11 -2
  54. package/dist/src/Tooltip/Tooltip.js +8 -3
  55. package/dist/src/Tooltip/hooks/useTooltipDisplayController.js +77 -88
  56. package/dist/src/utilities/dom/getFocusableNodes.js +1 -3
  57. package/dist/src/utilities/dom/useFixedColumns.js +6 -8
  58. package/dist/src/utilities/react/flattenChildren.d.ts +15 -0
  59. package/dist/src/utilities/react/flattenChildren.js +28 -0
  60. package/dist/src/utilities/state/useLatest.d.ts +1 -1
  61. package/dist/src/utilities/state/useLatest.js +8 -2
  62. package/dist/styled-system/recipes/badge-slot-recipe.d.ts +1 -1
  63. package/dist/styled-system/recipes/badge-slot-recipe.js +4 -0
  64. package/dist/styled-system/recipes/data-table-cell-slot-recipe.d.ts +1 -1
  65. package/dist/styled-system/recipes/data-table-cell-slot-recipe.js +4 -0
  66. package/dist/styled-system/recipes/data-table-row-slot-recipe.js +13 -6
  67. package/dist/styled-system/recipes/sub-navigation-slot-recipe.d.ts +1 -1
  68. package/dist/styled-system/recipes/sub-navigation-slot-recipe.js +12 -0
  69. package/dist/styles.css +155 -35
  70. package/dist/tsconfig.build.tsbuildinfo +1 -1
  71. package/package.json +12 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneyforward/mfui-components",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "description": "React UI Component Library for all Money Forward products",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,11 +32,11 @@
32
32
  "devDependencies": {
33
33
  "@chromatic-com/storybook": "5.3.1",
34
34
  "@pandacss/dev": "1.12.1",
35
- "@storybook/addon-a11y": "10.5.10",
36
- "@storybook/addon-docs": "10.5.10",
37
- "@storybook/addon-links": "10.5.10",
35
+ "@storybook/addon-a11y": "10.6.0",
36
+ "@storybook/addon-docs": "10.6.0",
37
+ "@storybook/addon-links": "10.6.0",
38
38
  "@storybook/addon-mcp": "0.7.0",
39
- "@storybook/react-vite": "10.5.10",
39
+ "@storybook/react-vite": "10.6.0",
40
40
  "@testing-library/jest-dom": "6.9.1",
41
41
  "@testing-library/react": "16.3.3",
42
42
  "@testing-library/user-event": "14.6.7",
@@ -47,13 +47,13 @@
47
47
  "@vitest/coverage-v8": "4.1.11",
48
48
  "chromatic": "13.3.5",
49
49
  "jsdom": "26.1.0",
50
+ "oxlint-config-mfui": "^1.0.0",
50
51
  "react": "19.2.3",
51
52
  "react-dom": "19.2.3",
52
- "storybook": "10.5.10",
53
+ "storybook": "10.6.0",
53
54
  "ts-node": "10.9.2",
54
- "tsx": "4.23.13",
55
- "vitest": "4.1.11",
56
- "oxlint-config-mfui": "^1.0.0"
55
+ "tsx": "4.23.15",
56
+ "vitest": "4.1.11"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "react": ">=18",
@@ -61,10 +61,10 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@floating-ui/react-dom": "^2.1.2",
64
- "@tanstack/react-virtual": "^3.13.18",
65
- "dayjs": "^1.11.13",
66
64
  "@moneyforward/mfui-design-tokens": "^4.0.0",
67
- "@moneyforward/mfui-icons-react": "^4.0.0"
65
+ "@moneyforward/mfui-icons-react": "^4.1.0",
66
+ "@tanstack/react-virtual": "^3.13.18",
67
+ "dayjs": "^1.11.13"
68
68
  },
69
69
  "scripts": {
70
70
  "prepare:panda": "panda codegen",