@mittwald/flow-react-components 0.2.0-alpha.29 → 0.2.0-alpha.31

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 (119) hide show
  1. package/CHANGELOG.md +182 -0
  2. package/MIGRATION.md +67 -0
  3. package/dist/assets/doc-properties.json +3824 -3824
  4. package/dist/css/all.css +1 -1
  5. package/dist/js/components/Action/context.mjs +1 -1
  6. package/dist/js/components/Action/context.mjs.map +1 -1
  7. package/dist/js/components/Action/hooks/useConfirmationModalButtonSlot.mjs +1 -1
  8. package/dist/js/components/Action/hooks/useConfirmationModalButtonSlot.mjs.map +1 -1
  9. package/dist/js/components/Action/models/ActionModel.mjs +1 -1
  10. package/dist/js/components/Action/models/ActionModel.mjs.map +1 -1
  11. package/dist/js/components/Action/models/ActionState.mjs +4 -4
  12. package/dist/js/components/Action/models/ActionState.mjs.map +1 -1
  13. package/dist/js/components/Action/models/ActionStateContext.mjs +5 -4
  14. package/dist/js/components/Action/models/ActionStateContext.mjs.map +1 -1
  15. package/dist/js/components/ActionGroup/lib/getActionGroupSlot.mjs +1 -1
  16. package/dist/js/components/ActionGroup/lib/getActionGroupSlot.mjs.map +1 -1
  17. package/dist/js/components/Align/Align.mjs +2 -1
  18. package/dist/js/components/Align/Align.mjs.map +1 -1
  19. package/dist/js/components/Align/Align.module.scss.mjs +4 -2
  20. package/dist/js/components/Align/Align.module.scss.mjs.map +1 -1
  21. package/dist/js/components/Button/Button.mjs +8 -8
  22. package/dist/js/components/Button/Button.mjs.map +1 -1
  23. package/dist/js/components/ColumnLayout/ColumnLayout.mjs +3 -3
  24. package/dist/js/components/ColumnLayout/ColumnLayout.mjs.map +1 -1
  25. package/dist/js/components/ContextMenu/ContextMenu.mjs +1 -1
  26. package/dist/js/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.mjs +1 -1
  27. package/dist/js/components/ContextMenu/lib.mjs +1 -1
  28. package/dist/js/components/ContextMenu/lib.mjs.map +1 -1
  29. package/dist/js/components/FileCard/components/FileSizeText/FileSizeText.mjs +1 -1
  30. package/dist/js/components/FileCard/components/FileSizeText/FileSizeText.mjs.map +1 -1
  31. package/dist/js/components/FileField/FileField.mjs +4 -4
  32. package/dist/js/components/FileField/FileField.mjs.map +1 -1
  33. package/dist/js/components/IllustratedMessage/IllustratedMessage.mjs +1 -1
  34. package/dist/js/components/IllustratedMessage/IllustratedMessage.mjs.map +1 -1
  35. package/dist/js/components/Initials/lib/getInitialsFromString.mjs +1 -1
  36. package/dist/js/components/Initials/lib/getInitialsFromString.mjs.map +1 -1
  37. package/dist/js/components/List/List.mjs +4 -4
  38. package/dist/js/components/List/List.mjs.map +1 -1
  39. package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs +2 -2
  40. package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs.map +1 -1
  41. package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.module.scss.mjs +2 -5
  42. package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.module.scss.mjs.map +1 -1
  43. package/dist/js/components/List/components/Header/components/SearchField/SearchField.mjs +2 -2
  44. package/dist/js/components/List/components/Header/components/SearchField/SearchField.mjs.map +1 -1
  45. package/dist/js/components/List/components/Items/components/Item/Item.mjs +2 -2
  46. package/dist/js/components/List/components/Items/components/Item/Item.mjs.map +1 -1
  47. package/dist/js/components/List/components/Items/components/Item/hooks/useGridItemProps.mjs +3 -3
  48. package/dist/js/components/List/components/Items/components/Item/hooks/useGridItemProps.mjs.map +1 -1
  49. package/dist/js/components/List/components/Table/Table.mjs +2 -2
  50. package/dist/js/components/List/components/Table/Table.mjs.map +1 -1
  51. package/dist/js/components/List/model/List.mjs +5 -5
  52. package/dist/js/components/List/model/List.mjs.map +1 -1
  53. package/dist/js/components/List/model/ReactTable.mjs +1 -1
  54. package/dist/js/components/List/model/filter/Filter.mjs +1 -1
  55. package/dist/js/components/List/model/filter/Filter.mjs.map +1 -1
  56. package/dist/js/components/List/model/item/ItemView.mjs +1 -1
  57. package/dist/js/components/List/model/item/ItemView.mjs.map +1 -1
  58. package/dist/js/components/List/model/loading/IncrementalLoader.mjs +9 -9
  59. package/dist/js/components/List/model/loading/IncrementalLoader.mjs.map +1 -1
  60. package/dist/js/components/List/model/loading/IncrementalLoaderState.mjs +4 -4
  61. package/dist/js/components/List/model/loading/IncrementalLoaderState.mjs.map +1 -1
  62. package/dist/js/components/List/model/search/Search.mjs +4 -4
  63. package/dist/js/components/List/model/search/Search.mjs.map +1 -1
  64. package/dist/js/components/LoadingSpinner/LoadingSpinner.module.scss.mjs +2 -5
  65. package/dist/js/components/LoadingSpinner/LoadingSpinner.module.scss.mjs.map +1 -1
  66. package/dist/js/components/Markdown/Markdown.mjs +2 -2
  67. package/dist/js/components/Markdown/Markdown.mjs.map +1 -1
  68. package/dist/js/components/Navigation/Navigation.module.scss.mjs +2 -8
  69. package/dist/js/components/Navigation/Navigation.module.scss.mjs.map +1 -1
  70. package/dist/js/components/NotificationProvider/NotificationController.mjs +3 -3
  71. package/dist/js/components/NotificationProvider/NotificationController.mjs.map +1 -1
  72. package/dist/js/components/Option/Option.module.scss.mjs +2 -10
  73. package/dist/js/components/Option/Option.module.scss.mjs.map +1 -1
  74. package/dist/js/components/Overlay/Overlay.module.scss.mjs +1 -3
  75. package/dist/js/components/Overlay/Overlay.module.scss.mjs.map +1 -1
  76. package/dist/js/components/ProgressBar/ProgressBar.mjs +1 -1
  77. package/dist/js/components/ProgressBar/ProgressBar.mjs.map +1 -1
  78. package/dist/js/components/SettingsProvider/SettingsProvider.mjs +1 -1
  79. package/dist/js/components/SettingsProvider/SettingsProvider.mjs.map +1 -1
  80. package/dist/js/components/Skeleton/Skeleton.module.scss.mjs +2 -5
  81. package/dist/js/components/Skeleton/Skeleton.module.scss.mjs.map +1 -1
  82. package/dist/js/components/SkeletonText/SkeletonText.module.scss.mjs +2 -5
  83. package/dist/js/components/SkeletonText/SkeletonText.module.scss.mjs.map +1 -1
  84. package/dist/js/components/Tabs/Tabs.module.scss.mjs +2 -5
  85. package/dist/js/components/Tabs/Tabs.module.scss.mjs.map +1 -1
  86. package/dist/js/components/Tabs/components/TabList/TabList.mjs +1 -1
  87. package/dist/js/components/Tabs/components/TabList/TabList.mjs.map +1 -1
  88. package/dist/js/components/Tooltip/Tooltip.module.scss.mjs +2 -5
  89. package/dist/js/components/Tooltip/Tooltip.module.scss.mjs.map +1 -1
  90. package/dist/js/integrations/react-hook-form/components/ActionGroupWrapper/SubmitButtonStateProvider.mjs +1 -1
  91. package/dist/js/integrations/react-hook-form/components/ActionGroupWrapper/SubmitButtonStateProvider.mjs.map +1 -1
  92. package/dist/js/integrations/react-hook-form/components/AutoFormResetEffect/AutoFormResetEffect.mjs +1 -1
  93. package/dist/js/integrations/react-hook-form/components/AutoFormResetEffect/AutoFormResetEffect.mjs.map +1 -1
  94. package/dist/js/integrations/react-hook-form/components/Form/Form.mjs +2 -2
  95. package/dist/js/integrations/react-hook-form/components/Form/Form.mjs.map +1 -1
  96. package/dist/js/integrations/react-hook-form/components/context/formContext.mjs +1 -1
  97. package/dist/js/integrations/react-hook-form/components/context/formContext.mjs.map +1 -1
  98. package/dist/js/lib/componentFactory/flowComponent.mjs +1 -1
  99. package/dist/js/lib/componentFactory/flowComponent.mjs.map +1 -1
  100. package/dist/js/lib/controller/overlay/OverlayController.mjs +3 -3
  101. package/dist/js/lib/controller/overlay/OverlayController.mjs.map +1 -1
  102. package/dist/js/lib/hooks/useProps.mjs +2 -2
  103. package/dist/js/lib/hooks/useProps.mjs.map +1 -1
  104. package/dist/js/lib/hooks/useStatic.mjs +8 -0
  105. package/dist/js/lib/hooks/useStatic.mjs.map +1 -0
  106. package/dist/js/lib/timer/Timer.mjs +4 -4
  107. package/dist/js/lib/timer/Timer.mjs.map +1 -1
  108. package/dist/types/components/Action/models/ActionStateContext.d.ts.map +1 -1
  109. package/dist/types/components/Align/Align.d.ts.map +1 -1
  110. package/dist/types/components/Align/stories/IconText.stories.d.ts +7 -0
  111. package/dist/types/components/Align/stories/IconText.stories.d.ts.map +1 -0
  112. package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts +1 -1
  113. package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts.map +1 -1
  114. package/dist/types/components/NotificationProvider/NotificationController.d.ts.map +1 -1
  115. package/dist/types/integrations/react-hook-form/components/Form/Form.d.ts.map +1 -1
  116. package/dist/types/lib/childProps/ChildPropsStore.d.ts.map +1 -1
  117. package/dist/types/lib/hooks/useStatic.d.ts +2 -0
  118. package/dist/types/lib/hooks/useStatic.d.ts.map +1 -0
  119. package/package.json +13 -15
package/CHANGELOG.md CHANGED
@@ -3,6 +3,113 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.2.0-alpha.31](https://github.com/mittwald/flow/compare/0.2.0-alpha.30...0.2.0-alpha.31) (2025-02-11)
7
+
8
+ **Note:** Version bump only for package @mittwald/flow-react-components
9
+
10
+ # [0.2.0-alpha.30](https://github.com/mittwald/flow/compare/0.1.0-alpha.420...0.2.0-alpha.30) (2025-02-10)
11
+
12
+ # [0.2.0-alpha.29](https://github.com/mittwald/flow/compare/0.1.0-alpha.419...0.2.0-alpha.29) (2025-02-06)
13
+
14
+ ### Bug Fixes
15
+
16
+ * add missing component export ([e0e929b](https://github.com/mittwald/flow/commit/e0e929be3652d0307302d5f475af8c289d4f0da8))
17
+
18
+ # [0.2.0-alpha.28](https://github.com/mittwald/flow/compare/0.1.0-alpha.418...0.2.0-alpha.28) (2025-02-05)
19
+
20
+ # [0.2.0-alpha.27](https://github.com/mittwald/flow/compare/0.1.0-alpha.408...0.2.0-alpha.27) (2025-01-30)
21
+
22
+ # [0.2.0-alpha.26](https://github.com/mittwald/flow/compare/0.2.0-alpha.25...0.2.0-alpha.26) (2025-01-29)
23
+
24
+ ### Bug Fixes
25
+
26
+ * fix remote context menu display issue ([7d9855e](https://github.com/mittwald/flow/commit/7d9855e5e19b791b7514ff23a95907fb438a06ce))
27
+
28
+ # [0.2.0-alpha.25](https://github.com/mittwald/flow/compare/0.2.0-alpha.24...0.2.0-alpha.25) (2025-01-29)
29
+
30
+ ### Bug Fixes
31
+
32
+ * fix remote Context Menu ([25f032e](https://github.com/mittwald/flow/commit/25f032e0c95202e503fcb0c4d553e67ae9b464a2))
33
+ * fix remote ListItemView ([22ca167](https://github.com/mittwald/flow/commit/22ca167f537ebf80ea956806d723836676323648))
34
+
35
+ # [0.2.0-alpha.24](https://github.com/mittwald/flow/compare/0.2.0-alpha.23...0.2.0-alpha.24) (2025-01-28)
36
+
37
+ ### Features
38
+
39
+ * support Popover/Modals/ContextMenu ([7fc22d9](https://github.com/mittwald/flow/commit/7fc22d959d19e4c56ab6edf3694e3947b7770a39))
40
+
41
+ # [0.2.0-alpha.23](https://github.com/mittwald/flow/compare/0.1.0-alpha.407...0.2.0-alpha.23) (2025-01-28)
42
+
43
+ # [0.2.0-alpha.22](https://github.com/mittwald/flow/compare/0.2.0-alpha.21...0.2.0-alpha.22) (2025-01-27)
44
+
45
+ # [0.2.0-alpha.21](https://github.com/mittwald/flow/compare/0.2.0-alpha.20...0.2.0-alpha.21) (2025-01-27)
46
+
47
+ ### Features
48
+
49
+ * support preview ([f03d561](https://github.com/mittwald/flow/commit/f03d561ff74b7873d5d228e9c0fc9e0f290e36e0))
50
+
51
+ # [0.2.0-alpha.20](https://github.com/mittwald/flow/compare/0.1.0-alpha.403...0.2.0-alpha.20) (2025-01-24)
52
+
53
+ # [0.2.0-alpha.19](https://github.com/mittwald/flow/compare/0.1.0-alpha.401...0.2.0-alpha.19) (2025-01-23)
54
+
55
+ # [0.2.0-alpha.18](https://github.com/mittwald/flow/compare/0.2.0-alpha.17...0.2.0-alpha.18) (2025-01-21)
56
+
57
+ # [0.2.0-alpha.17](https://github.com/mittwald/flow/compare/0.1.0-alpha.397...0.2.0-alpha.17) (2025-01-21)
58
+
59
+ ### Bug Fixes
60
+
61
+ * add missing export ([4ed108e](https://github.com/mittwald/flow/commit/4ed108e3e5dcd80d1c236777ebb18628fd2f64a1))
62
+
63
+ # [0.2.0-alpha.16](https://github.com/mittwald/flow/compare/0.2.0-alpha.15...0.2.0-alpha.16) (2025-01-21)
64
+
65
+ # [0.2.0-alpha.15](https://github.com/mittwald/flow/compare/0.2.0-alpha.14...0.2.0-alpha.15) (2025-01-21)
66
+
67
+ # [0.2.0-alpha.14](https://github.com/mittwald/flow/compare/0.2.0-alpha.13...0.2.0-alpha.14) (2025-01-21)
68
+
69
+ # [0.2.0-alpha.13](https://github.com/mittwald/flow/compare/0.2.0-alpha.12...0.2.0-alpha.13) (2025-01-21)
70
+
71
+ ### Bug Fixes
72
+
73
+ * re-export remote types to fix TS builds ([161dd58](https://github.com/mittwald/flow/commit/161dd587b430f040293b4f9fccfabd6fcbec97b3))
74
+
75
+ # [0.2.0-alpha.12](https://github.com/mittwald/flow/compare/0.2.0-alpha.11...0.2.0-alpha.12) (2025-01-21)
76
+
77
+ ### Bug Fixes
78
+
79
+ * add missing remote exports ([8c02c4b](https://github.com/mittwald/flow/commit/8c02c4b7375efed70c3786d690b4ffbfc12f6ba7))
80
+
81
+ # [0.2.0-alpha.11](https://github.com/mittwald/flow/compare/0.2.0-alpha.10...0.2.0-alpha.11) (2025-01-20)
82
+
83
+ # [0.2.0-alpha.10](https://github.com/mittwald/flow/compare/0.1.0-alpha.395...0.2.0-alpha.10) (2025-01-20)
84
+
85
+ ### Bug Fixes
86
+
87
+ * fix List export ([602f627](https://github.com/mittwald/flow/commit/602f627ea41fe973c8f68dc4903dbaddab88b78c))
88
+
89
+ ### Features
90
+
91
+ * build view componentsgen ([3586d27](https://github.com/mittwald/flow/commit/3586d27090665a758c4dcf14bf458cf05dee95c8))
92
+
93
+ # [0.2.0-alpha.9](https://github.com/mittwald/flow/compare/0.2.0-alpha.8...0.2.0-alpha.9) (2025-01-13)
94
+
95
+ # [0.2.0-alpha.8](https://github.com/mittwald/flow/compare/0.2.0-alpha.7...0.2.0-alpha.8) (2025-01-13)
96
+
97
+ # [0.2.0-alpha.7](https://github.com/mittwald/flow/compare/0.2.0-alpha.6...0.2.0-alpha.7) (2025-01-13)
98
+
99
+ # [0.2.0-alpha.6](https://github.com/mittwald/flow/compare/0.2.0-alpha.5...0.2.0-alpha.6) (2025-01-13)
100
+
101
+ # [0.2.0-alpha.5](https://github.com/mittwald/flow/compare/v0.2.0-alpha.4...0.2.0-alpha.5) (2025-01-10)
102
+
103
+ # [0.2.0-alpha.4](https://github.com/mittwald/flow/compare/0.1.0-alpha.393...v0.2.0-alpha.4) (2025-01-10)
104
+
105
+ # [0.2.0-alpha.3](https://github.com/mittwald/flow/compare/0.1.0-alpha.392...0.2.0-alpha.3) (2025-01-10)
106
+
107
+ # [0.2.0-alpha.2](https://github.com/mittwald/flow/compare/0.1.0-alpha.391...0.2.0-alpha.2) (2025-01-10)
108
+
109
+ ### Features
110
+
111
+ * add remote components ([f14914b](https://github.com/mittwald/flow/commit/f14914ba844845aa224b0f5bb37e1a07d9a7851e))
112
+
6
113
  # [0.2.0-alpha.29](https://github.com/mittwald/flow/compare/0.2.0-alpha.28...0.2.0-alpha.29) (2025-02-06)
7
114
 
8
115
  ### Bug Fixes
@@ -788,6 +895,81 @@ All notable changes to this project will be documented in this file. See
788
895
  All notable changes to this project will be documented in this file. See
789
896
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
790
897
 
898
+ # [0.1.0-alpha.420](https://github.com/mittwald/flow/compare/0.1.0-alpha.419...0.1.0-alpha.420) (2025-02-10)
899
+
900
+ ### Bug Fixes
901
+
902
+ - fix List renders without entries
903
+ ([#1164](https://github.com/mittwald/flow/issues/1164))
904
+ ([b505747](https://github.com/mittwald/flow/commit/b505747bf80d61d2f4ac7aa7a2078be754719daf))
905
+
906
+ # Change Log
907
+
908
+ All notable changes to this project will be documented in this file. See
909
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
910
+
911
+ # [0.1.0-alpha.419](https://github.com/mittwald/flow/compare/0.1.0-alpha.418...0.1.0-alpha.419) (2025-02-06)
912
+
913
+ ### Bug Fixes
914
+
915
+ - **Form:** remove form reset on modal close
916
+ ([#1160](https://github.com/mittwald/flow/issues/1160))
917
+ ([0ddce97](https://github.com/mittwald/flow/commit/0ddce97b493a2e5dfe996f0ac9bd0dbff4718fe8))
918
+
919
+ # Change Log
920
+
921
+ All notable changes to this project will be documented in this file. See
922
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
923
+
924
+ # [0.1.0-alpha.418](https://github.com/mittwald/flow/compare/0.1.0-alpha.417...0.1.0-alpha.418) (2025-02-05)
925
+
926
+ ### Features
927
+
928
+ - **Align:** support icon + text
929
+ ([#1154](https://github.com/mittwald/flow/issues/1154))
930
+ ([a5632d0](https://github.com/mittwald/flow/commit/a5632d09bdd70524025727ff146d8047cb6c0361))
931
+
932
+ # Change Log
933
+
934
+ All notable changes to this project will be documented in this file. See
935
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
936
+
937
+ # [0.1.0-alpha.417](https://github.com/mittwald/flow/compare/0.1.0-alpha.416...0.1.0-alpha.417) (2025-02-04)
938
+
939
+ **Note:** Version bump only for package @mittwald/flow-react-components
940
+
941
+ # Change Log
942
+
943
+ All notable changes to this project will be documented in this file. See
944
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
945
+
946
+ # [0.1.0-alpha.416](https://github.com/mittwald/flow/compare/0.1.0-alpha.415...0.1.0-alpha.416) (2025-02-04)
947
+
948
+ **Note:** Version bump only for package @mittwald/flow-react-components
949
+
950
+ # Change Log
951
+
952
+ All notable changes to this project will be documented in this file. See
953
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
954
+
955
+ # [0.1.0-alpha.415](https://github.com/mittwald/flow/compare/0.1.0-alpha.414...0.1.0-alpha.415) (2025-02-04)
956
+
957
+ **Note:** Version bump only for package @mittwald/flow-react-components
958
+
959
+ # Change Log
960
+
961
+ All notable changes to this project will be documented in this file. See
962
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
963
+
964
+ # [0.1.0-alpha.414](https://github.com/mittwald/flow/compare/0.1.0-alpha.413...0.1.0-alpha.414) (2025-02-04)
965
+
966
+ **Note:** Version bump only for package @mittwald/flow-react-components
967
+
968
+ # Change Log
969
+
970
+ All notable changes to this project will be documented in this file. See
971
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
972
+
791
973
  # [0.1.0-alpha.413](https://github.com/mittwald/flow/compare/0.1.0-alpha.412...0.1.0-alpha.413) (2025-01-31)
792
974
 
793
975
  ### Features
package/MIGRATION.md CHANGED
@@ -1,3 +1,70 @@
1
+ # Migrations
2
+
3
+ ## From version 0.1.0 to version 0.2.0
4
+
5
+ With the latest update to `@mittwald/flow-react-components`, the way package
6
+ exports are handled has changed. You no longer need to specify subdirectories
7
+ explicitly when importing components and utilities. Instead, imports are now
8
+ structured in a more streamlined way.
9
+
10
+ ## Changes in Imports
11
+
12
+ Previously, you had to import components and utilities from specific
13
+ subdirectories, like this:
14
+
15
+ ```javascript
16
+ import Button from "@mittwald/flow-react-components/Button";
17
+ import { useOverlayController } from "@mittwald/flow-react-components/controller";
18
+ import Field from "@mittwald/flow-react-components/react-hook-form/Field";
19
+ import { Link } from "@mittwald/flow-react-components/react-hook-form/nextjs";
20
+ ```
21
+
22
+ With the new package structure, the same imports should be rewritten as follows:
23
+
24
+ ```javascript
25
+ import { Button } from "@mittwald/flow-react-components";
26
+ import { useOverlayController } from "@mittwald/flow-react-components";
27
+ import { Field } from "@mittwald/flow-react-components/react-hook-form";
28
+ import { Link } from "@mittwald/flow-react-components/nextjs";
29
+ ```
30
+
31
+ ## `tsconfig.json`
32
+
33
+ Set `"module": "esnext"` in your `tsconfig.json`, if you have trouble with
34
+ missing module exports.
35
+
36
+ ## Migration Steps
37
+
38
+ ### Use Codemod
39
+
40
+ ```shell
41
+ npx jscodeshift \
42
+ -t https://raw.githubusercontent.com/mittwald/flow/refs/heads/0.2.0/packages/codemods/src/transforms/flow020.ts \
43
+ --parser tsx \
44
+ src
45
+ ```
46
+
47
+ Replace `src` with your sources folder. If you do not use TypeScript in your
48
+ project, use `--parser jsx`.
49
+
50
+ See the [docs of jscodeshift](https://jscodeshift.com/run/cli/)
51
+
52
+ ### Do it manually
53
+
54
+ 1. **Update all import statements** in your project according to the new
55
+ structure.
56
+ 2. **Remove unnecessary subdirectory paths** from imports.
57
+ 3. **Verify your application still compiles and runs correctly.**
58
+ 4. **Run your test suite** to ensure no regressions were introduced by the
59
+ migration.
60
+
61
+ ## Benefits of This Change
62
+
63
+ - **Simplified import statements** with a clearer structure.
64
+ - **Better maintainability** as package updates no longer require path
65
+ modifications.
66
+ - **Improved autocompletion support** in modern IDEs.
67
+
1
68
  ## From version 0.1.0-alpha.291 to 0.1.0-alpha.292
2
69
 
3
70
  ### Renamed CSS export