@mittwald/flow-react-components 0.2.0-alpha.28 → 0.2.0-alpha.30
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.
- package/CHANGELOG.md +184 -0
- package/MIGRATION.md +67 -0
- package/dist/assets/doc-properties.json +10388 -10388
- package/dist/css/all.css +1 -1
- package/dist/js/components/Action/context.mjs +1 -1
- package/dist/js/components/Action/context.mjs.map +1 -1
- package/dist/js/components/Action/hooks/useConfirmationModalButtonSlot.mjs +1 -1
- package/dist/js/components/Action/hooks/useConfirmationModalButtonSlot.mjs.map +1 -1
- package/dist/js/components/Action/models/ActionModel.mjs +1 -1
- package/dist/js/components/Action/models/ActionModel.mjs.map +1 -1
- package/dist/js/components/Action/models/ActionState.mjs +4 -4
- package/dist/js/components/Action/models/ActionState.mjs.map +1 -1
- package/dist/js/components/Action/models/ActionStateContext.mjs +5 -4
- package/dist/js/components/Action/models/ActionStateContext.mjs.map +1 -1
- package/dist/js/components/ActionGroup/lib/getActionGroupSlot.mjs +1 -1
- package/dist/js/components/ActionGroup/lib/getActionGroupSlot.mjs.map +1 -1
- package/dist/js/components/Align/Align.mjs +2 -1
- package/dist/js/components/Align/Align.mjs.map +1 -1
- package/dist/js/components/Align/Align.module.scss.mjs +4 -2
- package/dist/js/components/Align/Align.module.scss.mjs.map +1 -1
- package/dist/js/components/Button/Button.mjs +8 -8
- package/dist/js/components/Button/Button.mjs.map +1 -1
- package/dist/js/components/ColumnLayout/ColumnLayout.mjs +3 -3
- package/dist/js/components/ColumnLayout/ColumnLayout.mjs.map +1 -1
- package/dist/js/components/ContextMenu/ContextMenu.mjs +1 -1
- package/dist/js/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.mjs +1 -1
- package/dist/js/components/ContextMenu/lib.mjs +1 -1
- package/dist/js/components/ContextMenu/lib.mjs.map +1 -1
- package/dist/js/components/FileCard/components/FileSizeText/FileSizeText.mjs +1 -1
- package/dist/js/components/FileCard/components/FileSizeText/FileSizeText.mjs.map +1 -1
- package/dist/js/components/FileField/FileField.mjs +4 -4
- package/dist/js/components/FileField/FileField.mjs.map +1 -1
- package/dist/js/components/IllustratedMessage/IllustratedMessage.mjs +1 -1
- package/dist/js/components/IllustratedMessage/IllustratedMessage.mjs.map +1 -1
- package/dist/js/components/Initials/lib/getInitialsFromString.mjs +1 -1
- package/dist/js/components/Initials/lib/getInitialsFromString.mjs.map +1 -1
- package/dist/js/components/List/List.mjs +4 -4
- package/dist/js/components/List/List.mjs.map +1 -1
- package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs +2 -2
- package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs.map +1 -1
- package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.module.scss.mjs +2 -5
- package/dist/js/components/List/components/Header/components/ActiveFilters/ActiveFilters.module.scss.mjs.map +1 -1
- package/dist/js/components/List/components/Header/components/SearchField/SearchField.mjs +2 -2
- package/dist/js/components/List/components/Header/components/SearchField/SearchField.mjs.map +1 -1
- package/dist/js/components/List/components/Items/components/Item/Item.mjs +2 -2
- package/dist/js/components/List/components/Items/components/Item/Item.mjs.map +1 -1
- package/dist/js/components/List/components/Items/components/Item/hooks/useGridItemProps.mjs +3 -3
- package/dist/js/components/List/components/Items/components/Item/hooks/useGridItemProps.mjs.map +1 -1
- package/dist/js/components/List/components/Table/Table.mjs +2 -2
- package/dist/js/components/List/components/Table/Table.mjs.map +1 -1
- package/dist/js/components/List/model/List.mjs +5 -5
- package/dist/js/components/List/model/List.mjs.map +1 -1
- package/dist/js/components/List/model/ReactTable.mjs +1 -1
- package/dist/js/components/List/model/filter/Filter.mjs +1 -1
- package/dist/js/components/List/model/filter/Filter.mjs.map +1 -1
- package/dist/js/components/List/model/item/ItemView.mjs +1 -1
- package/dist/js/components/List/model/item/ItemView.mjs.map +1 -1
- package/dist/js/components/List/model/loading/IncrementalLoader.mjs +9 -9
- package/dist/js/components/List/model/loading/IncrementalLoader.mjs.map +1 -1
- package/dist/js/components/List/model/loading/IncrementalLoaderState.mjs +4 -4
- package/dist/js/components/List/model/loading/IncrementalLoaderState.mjs.map +1 -1
- package/dist/js/components/List/model/search/Search.mjs +4 -4
- package/dist/js/components/List/model/search/Search.mjs.map +1 -1
- package/dist/js/components/LoadingSpinner/LoadingSpinner.module.scss.mjs +2 -5
- package/dist/js/components/LoadingSpinner/LoadingSpinner.module.scss.mjs.map +1 -1
- package/dist/js/components/Markdown/Markdown.mjs +2 -2
- package/dist/js/components/Markdown/Markdown.mjs.map +1 -1
- package/dist/js/components/Navigation/Navigation.module.scss.mjs +2 -8
- package/dist/js/components/Navigation/Navigation.module.scss.mjs.map +1 -1
- package/dist/js/components/NotificationProvider/NotificationController.mjs +3 -3
- package/dist/js/components/NotificationProvider/NotificationController.mjs.map +1 -1
- package/dist/js/components/Option/Option.module.scss.mjs +2 -10
- package/dist/js/components/Option/Option.module.scss.mjs.map +1 -1
- package/dist/js/components/Overlay/Overlay.module.scss.mjs +1 -3
- package/dist/js/components/Overlay/Overlay.module.scss.mjs.map +1 -1
- package/dist/js/components/ProgressBar/ProgressBar.mjs +1 -1
- package/dist/js/components/ProgressBar/ProgressBar.mjs.map +1 -1
- package/dist/js/components/SettingsProvider/SettingsProvider.mjs +1 -1
- package/dist/js/components/SettingsProvider/SettingsProvider.mjs.map +1 -1
- package/dist/js/components/Skeleton/Skeleton.module.scss.mjs +2 -5
- package/dist/js/components/Skeleton/Skeleton.module.scss.mjs.map +1 -1
- package/dist/js/components/SkeletonText/SkeletonText.module.scss.mjs +2 -5
- package/dist/js/components/SkeletonText/SkeletonText.module.scss.mjs.map +1 -1
- package/dist/js/components/Tabs/Tabs.module.scss.mjs +2 -5
- package/dist/js/components/Tabs/Tabs.module.scss.mjs.map +1 -1
- package/dist/js/components/Tabs/components/TabList/TabList.mjs +1 -1
- package/dist/js/components/Tabs/components/TabList/TabList.mjs.map +1 -1
- package/dist/js/components/Tooltip/Tooltip.module.scss.mjs +2 -5
- package/dist/js/components/Tooltip/Tooltip.module.scss.mjs.map +1 -1
- package/dist/js/index.mjs +1 -0
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/integrations/react-hook-form/components/ActionGroupWrapper/SubmitButtonStateProvider.mjs +1 -1
- package/dist/js/integrations/react-hook-form/components/ActionGroupWrapper/SubmitButtonStateProvider.mjs.map +1 -1
- package/dist/js/integrations/react-hook-form/components/AutoFormResetEffect/AutoFormResetEffect.mjs +1 -1
- package/dist/js/integrations/react-hook-form/components/AutoFormResetEffect/AutoFormResetEffect.mjs.map +1 -1
- package/dist/js/integrations/react-hook-form/components/Form/Form.mjs +2 -2
- package/dist/js/integrations/react-hook-form/components/Form/Form.mjs.map +1 -1
- package/dist/js/integrations/react-hook-form/components/context/formContext.mjs +1 -1
- package/dist/js/integrations/react-hook-form/components/context/formContext.mjs.map +1 -1
- package/dist/js/lib/componentFactory/flowComponent.mjs +1 -1
- package/dist/js/lib/componentFactory/flowComponent.mjs.map +1 -1
- package/dist/js/lib/controller/overlay/OverlayController.mjs +3 -3
- package/dist/js/lib/controller/overlay/OverlayController.mjs.map +1 -1
- package/dist/js/lib/hooks/useProps.mjs +2 -2
- package/dist/js/lib/hooks/useProps.mjs.map +1 -1
- package/dist/js/lib/hooks/useStatic.mjs +8 -0
- package/dist/js/lib/hooks/useStatic.mjs.map +1 -0
- package/dist/js/lib/timer/Timer.mjs +4 -4
- package/dist/js/lib/timer/Timer.mjs.map +1 -1
- package/dist/types/components/Action/models/ActionStateContext.d.ts.map +1 -1
- package/dist/types/components/Align/Align.d.ts.map +1 -1
- package/dist/types/components/Align/stories/IconText.stories.d.ts +7 -0
- package/dist/types/components/Align/stories/IconText.stories.d.ts.map +1 -0
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts +1 -1
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts.map +1 -1
- package/dist/types/components/NotificationProvider/NotificationController.d.ts.map +1 -1
- package/dist/types/components/public.d.ts +1 -0
- package/dist/types/components/public.d.ts.map +1 -1
- package/dist/types/integrations/react-hook-form/components/Form/Form.d.ts.map +1 -1
- package/dist/types/lib/childProps/ChildPropsStore.d.ts.map +1 -1
- package/dist/types/lib/hooks/useStatic.d.ts +2 -0
- package/dist/types/lib/hooks/useStatic.d.ts.map +1 -0
- package/package.json +13 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,115 @@
|
|
|
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.30](https://github.com/mittwald/flow/compare/0.1.0-alpha.420...0.2.0-alpha.30) (2025-02-10)
|
|
7
|
+
|
|
8
|
+
# [0.2.0-alpha.29](https://github.com/mittwald/flow/compare/0.1.0-alpha.419...0.2.0-alpha.29) (2025-02-06)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* add missing component export ([e0e929b](https://github.com/mittwald/flow/commit/e0e929be3652d0307302d5f475af8c289d4f0da8))
|
|
13
|
+
|
|
14
|
+
# [0.2.0-alpha.28](https://github.com/mittwald/flow/compare/0.1.0-alpha.418...0.2.0-alpha.28) (2025-02-05)
|
|
15
|
+
|
|
16
|
+
# [0.2.0-alpha.27](https://github.com/mittwald/flow/compare/0.1.0-alpha.408...0.2.0-alpha.27) (2025-01-30)
|
|
17
|
+
|
|
18
|
+
# [0.2.0-alpha.26](https://github.com/mittwald/flow/compare/0.2.0-alpha.25...0.2.0-alpha.26) (2025-01-29)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* fix remote context menu display issue ([7d9855e](https://github.com/mittwald/flow/commit/7d9855e5e19b791b7514ff23a95907fb438a06ce))
|
|
23
|
+
|
|
24
|
+
# [0.2.0-alpha.25](https://github.com/mittwald/flow/compare/0.2.0-alpha.24...0.2.0-alpha.25) (2025-01-29)
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* fix remote Context Menu ([25f032e](https://github.com/mittwald/flow/commit/25f032e0c95202e503fcb0c4d553e67ae9b464a2))
|
|
29
|
+
* fix remote ListItemView ([22ca167](https://github.com/mittwald/flow/commit/22ca167f537ebf80ea956806d723836676323648))
|
|
30
|
+
|
|
31
|
+
# [0.2.0-alpha.24](https://github.com/mittwald/flow/compare/0.2.0-alpha.23...0.2.0-alpha.24) (2025-01-28)
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* support Popover/Modals/ContextMenu ([7fc22d9](https://github.com/mittwald/flow/commit/7fc22d959d19e4c56ab6edf3694e3947b7770a39))
|
|
36
|
+
|
|
37
|
+
# [0.2.0-alpha.23](https://github.com/mittwald/flow/compare/0.1.0-alpha.407...0.2.0-alpha.23) (2025-01-28)
|
|
38
|
+
|
|
39
|
+
# [0.2.0-alpha.22](https://github.com/mittwald/flow/compare/0.2.0-alpha.21...0.2.0-alpha.22) (2025-01-27)
|
|
40
|
+
|
|
41
|
+
# [0.2.0-alpha.21](https://github.com/mittwald/flow/compare/0.2.0-alpha.20...0.2.0-alpha.21) (2025-01-27)
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* support preview ([f03d561](https://github.com/mittwald/flow/commit/f03d561ff74b7873d5d228e9c0fc9e0f290e36e0))
|
|
46
|
+
|
|
47
|
+
# [0.2.0-alpha.20](https://github.com/mittwald/flow/compare/0.1.0-alpha.403...0.2.0-alpha.20) (2025-01-24)
|
|
48
|
+
|
|
49
|
+
# [0.2.0-alpha.19](https://github.com/mittwald/flow/compare/0.1.0-alpha.401...0.2.0-alpha.19) (2025-01-23)
|
|
50
|
+
|
|
51
|
+
# [0.2.0-alpha.18](https://github.com/mittwald/flow/compare/0.2.0-alpha.17...0.2.0-alpha.18) (2025-01-21)
|
|
52
|
+
|
|
53
|
+
# [0.2.0-alpha.17](https://github.com/mittwald/flow/compare/0.1.0-alpha.397...0.2.0-alpha.17) (2025-01-21)
|
|
54
|
+
|
|
55
|
+
### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* add missing export ([4ed108e](https://github.com/mittwald/flow/commit/4ed108e3e5dcd80d1c236777ebb18628fd2f64a1))
|
|
58
|
+
|
|
59
|
+
# [0.2.0-alpha.16](https://github.com/mittwald/flow/compare/0.2.0-alpha.15...0.2.0-alpha.16) (2025-01-21)
|
|
60
|
+
|
|
61
|
+
# [0.2.0-alpha.15](https://github.com/mittwald/flow/compare/0.2.0-alpha.14...0.2.0-alpha.15) (2025-01-21)
|
|
62
|
+
|
|
63
|
+
# [0.2.0-alpha.14](https://github.com/mittwald/flow/compare/0.2.0-alpha.13...0.2.0-alpha.14) (2025-01-21)
|
|
64
|
+
|
|
65
|
+
# [0.2.0-alpha.13](https://github.com/mittwald/flow/compare/0.2.0-alpha.12...0.2.0-alpha.13) (2025-01-21)
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* re-export remote types to fix TS builds ([161dd58](https://github.com/mittwald/flow/commit/161dd587b430f040293b4f9fccfabd6fcbec97b3))
|
|
70
|
+
|
|
71
|
+
# [0.2.0-alpha.12](https://github.com/mittwald/flow/compare/0.2.0-alpha.11...0.2.0-alpha.12) (2025-01-21)
|
|
72
|
+
|
|
73
|
+
### Bug Fixes
|
|
74
|
+
|
|
75
|
+
* add missing remote exports ([8c02c4b](https://github.com/mittwald/flow/commit/8c02c4b7375efed70c3786d690b4ffbfc12f6ba7))
|
|
76
|
+
|
|
77
|
+
# [0.2.0-alpha.11](https://github.com/mittwald/flow/compare/0.2.0-alpha.10...0.2.0-alpha.11) (2025-01-20)
|
|
78
|
+
|
|
79
|
+
# [0.2.0-alpha.10](https://github.com/mittwald/flow/compare/0.1.0-alpha.395...0.2.0-alpha.10) (2025-01-20)
|
|
80
|
+
|
|
81
|
+
### Bug Fixes
|
|
82
|
+
|
|
83
|
+
* fix List export ([602f627](https://github.com/mittwald/flow/commit/602f627ea41fe973c8f68dc4903dbaddab88b78c))
|
|
84
|
+
|
|
85
|
+
### Features
|
|
86
|
+
|
|
87
|
+
* build view componentsgen ([3586d27](https://github.com/mittwald/flow/commit/3586d27090665a758c4dcf14bf458cf05dee95c8))
|
|
88
|
+
|
|
89
|
+
# [0.2.0-alpha.9](https://github.com/mittwald/flow/compare/0.2.0-alpha.8...0.2.0-alpha.9) (2025-01-13)
|
|
90
|
+
|
|
91
|
+
# [0.2.0-alpha.8](https://github.com/mittwald/flow/compare/0.2.0-alpha.7...0.2.0-alpha.8) (2025-01-13)
|
|
92
|
+
|
|
93
|
+
# [0.2.0-alpha.7](https://github.com/mittwald/flow/compare/0.2.0-alpha.6...0.2.0-alpha.7) (2025-01-13)
|
|
94
|
+
|
|
95
|
+
# [0.2.0-alpha.6](https://github.com/mittwald/flow/compare/0.2.0-alpha.5...0.2.0-alpha.6) (2025-01-13)
|
|
96
|
+
|
|
97
|
+
# [0.2.0-alpha.5](https://github.com/mittwald/flow/compare/v0.2.0-alpha.4...0.2.0-alpha.5) (2025-01-10)
|
|
98
|
+
|
|
99
|
+
# [0.2.0-alpha.4](https://github.com/mittwald/flow/compare/0.1.0-alpha.393...v0.2.0-alpha.4) (2025-01-10)
|
|
100
|
+
|
|
101
|
+
# [0.2.0-alpha.3](https://github.com/mittwald/flow/compare/0.1.0-alpha.392...0.2.0-alpha.3) (2025-01-10)
|
|
102
|
+
|
|
103
|
+
# [0.2.0-alpha.2](https://github.com/mittwald/flow/compare/0.1.0-alpha.391...0.2.0-alpha.2) (2025-01-10)
|
|
104
|
+
|
|
105
|
+
### Features
|
|
106
|
+
|
|
107
|
+
* add remote components ([f14914b](https://github.com/mittwald/flow/commit/f14914ba844845aa224b0f5bb37e1a07d9a7851e))
|
|
108
|
+
|
|
109
|
+
# [0.2.0-alpha.29](https://github.com/mittwald/flow/compare/0.2.0-alpha.28...0.2.0-alpha.29) (2025-02-06)
|
|
110
|
+
|
|
111
|
+
### Bug Fixes
|
|
112
|
+
|
|
113
|
+
* add missing component export ([e0e929b](https://github.com/mittwald/flow/commit/e0e929be3652d0307302d5f475af8c289d4f0da8))
|
|
114
|
+
|
|
6
115
|
# [0.2.0-alpha.28](https://github.com/mittwald/flow/compare/0.1.0-alpha.413...0.2.0-alpha.28) (2025-02-05)
|
|
7
116
|
|
|
8
117
|
# [0.2.0-alpha.27](https://github.com/mittwald/flow/compare/0.1.0-alpha.408...0.2.0-alpha.27) (2025-01-30)
|
|
@@ -782,6 +891,81 @@ All notable changes to this project will be documented in this file. See
|
|
|
782
891
|
All notable changes to this project will be documented in this file. See
|
|
783
892
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
784
893
|
|
|
894
|
+
# [0.1.0-alpha.420](https://github.com/mittwald/flow/compare/0.1.0-alpha.419...0.1.0-alpha.420) (2025-02-10)
|
|
895
|
+
|
|
896
|
+
### Bug Fixes
|
|
897
|
+
|
|
898
|
+
- fix List renders without entries
|
|
899
|
+
([#1164](https://github.com/mittwald/flow/issues/1164))
|
|
900
|
+
([b505747](https://github.com/mittwald/flow/commit/b505747bf80d61d2f4ac7aa7a2078be754719daf))
|
|
901
|
+
|
|
902
|
+
# Change Log
|
|
903
|
+
|
|
904
|
+
All notable changes to this project will be documented in this file. See
|
|
905
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
906
|
+
|
|
907
|
+
# [0.1.0-alpha.419](https://github.com/mittwald/flow/compare/0.1.0-alpha.418...0.1.0-alpha.419) (2025-02-06)
|
|
908
|
+
|
|
909
|
+
### Bug Fixes
|
|
910
|
+
|
|
911
|
+
- **Form:** remove form reset on modal close
|
|
912
|
+
([#1160](https://github.com/mittwald/flow/issues/1160))
|
|
913
|
+
([0ddce97](https://github.com/mittwald/flow/commit/0ddce97b493a2e5dfe996f0ac9bd0dbff4718fe8))
|
|
914
|
+
|
|
915
|
+
# Change Log
|
|
916
|
+
|
|
917
|
+
All notable changes to this project will be documented in this file. See
|
|
918
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
919
|
+
|
|
920
|
+
# [0.1.0-alpha.418](https://github.com/mittwald/flow/compare/0.1.0-alpha.417...0.1.0-alpha.418) (2025-02-05)
|
|
921
|
+
|
|
922
|
+
### Features
|
|
923
|
+
|
|
924
|
+
- **Align:** support icon + text
|
|
925
|
+
([#1154](https://github.com/mittwald/flow/issues/1154))
|
|
926
|
+
([a5632d0](https://github.com/mittwald/flow/commit/a5632d09bdd70524025727ff146d8047cb6c0361))
|
|
927
|
+
|
|
928
|
+
# Change Log
|
|
929
|
+
|
|
930
|
+
All notable changes to this project will be documented in this file. See
|
|
931
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
932
|
+
|
|
933
|
+
# [0.1.0-alpha.417](https://github.com/mittwald/flow/compare/0.1.0-alpha.416...0.1.0-alpha.417) (2025-02-04)
|
|
934
|
+
|
|
935
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
936
|
+
|
|
937
|
+
# Change Log
|
|
938
|
+
|
|
939
|
+
All notable changes to this project will be documented in this file. See
|
|
940
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
941
|
+
|
|
942
|
+
# [0.1.0-alpha.416](https://github.com/mittwald/flow/compare/0.1.0-alpha.415...0.1.0-alpha.416) (2025-02-04)
|
|
943
|
+
|
|
944
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
945
|
+
|
|
946
|
+
# Change Log
|
|
947
|
+
|
|
948
|
+
All notable changes to this project will be documented in this file. See
|
|
949
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
950
|
+
|
|
951
|
+
# [0.1.0-alpha.415](https://github.com/mittwald/flow/compare/0.1.0-alpha.414...0.1.0-alpha.415) (2025-02-04)
|
|
952
|
+
|
|
953
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
954
|
+
|
|
955
|
+
# Change Log
|
|
956
|
+
|
|
957
|
+
All notable changes to this project will be documented in this file. See
|
|
958
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
959
|
+
|
|
960
|
+
# [0.1.0-alpha.414](https://github.com/mittwald/flow/compare/0.1.0-alpha.413...0.1.0-alpha.414) (2025-02-04)
|
|
961
|
+
|
|
962
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
963
|
+
|
|
964
|
+
# Change Log
|
|
965
|
+
|
|
966
|
+
All notable changes to this project will be documented in this file. See
|
|
967
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
968
|
+
|
|
785
969
|
# [0.1.0-alpha.413](https://github.com/mittwald/flow/compare/0.1.0-alpha.412...0.1.0-alpha.413) (2025-01-31)
|
|
786
970
|
|
|
787
971
|
### 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
|