@strictly/react-form 0.0.30 → 0.0.32

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 (299) hide show
  1. package/.out/.storybook/preview.js +7 -0
  2. package/.out/core/mobx/{field_adapter.d.ts → FieldAdapter.d.ts} +1 -1
  3. package/.out/core/mobx/{field_adapters_of_values.d.ts → FieldAdaptersOfValues.d.ts} +1 -1
  4. package/.out/core/mobx/{flattened_adapters_of_fields.d.ts → FlattenedAdaptersOfFields.d.ts} +2 -2
  5. package/.out/core/mobx/{form_fields_of_field_adapters.d.ts → FormFieldsOfFieldAdapters.d.ts} +2 -2
  6. package/.out/core/mobx/{form_model.d.ts → FormModel.d.ts} +6 -5
  7. package/.out/core/mobx/{form_model.js → FormModel.js} +47 -35
  8. package/.out/core/mobx/{field_adapter_builder.d.ts → fieldAdapterBuilder.d.ts} +2 -2
  9. package/.out/core/mobx/{field_adapter_builder.js → fieldAdapterBuilder.js} +6 -6
  10. package/.out/core/mobx/hooks.d.ts +1 -1
  11. package/.out/core/mobx/hooks.js +15 -6
  12. package/.out/core/mobx/{merge_field_adapters_with_two_way_converter.d.ts → mergeFieldAdaptersWithTwoWayConverter.d.ts} +2 -2
  13. package/.out/core/mobx/{merge_field_adapters_with_two_way_converter.js → mergeFieldAdaptersWithTwoWayConverter.js} +1 -1
  14. package/.out/core/mobx/{merge_field_adapters_with_validators.d.ts → mergeFieldAdaptersWithValidators.d.ts} +1 -1
  15. package/.out/core/mobx/{merge_field_adapters_with_validators.js → mergeFieldAdaptersWithValidators.js} +1 -1
  16. package/.out/core/mobx/peek.d.ts +5 -0
  17. package/.out/core/mobx/peek.js +16 -0
  18. package/.out/core/mobx/specs/{form_model.tests.js → FormModel.tests.js} +8 -8
  19. package/.out/core/mobx/specs/{merge_field_adapters_with_two_way_converter.tests.js → MergeFieldAdaptersWithTwoWayConverter.tests.js} +4 -4
  20. package/.out/core/mobx/specs/{merge_field_adapters_with_validators.tests.js → MergeFieldAdaptersWithValidators.tests.js} +3 -3
  21. package/.out/core/mobx/specs/fixtures.d.ts +2 -2
  22. package/.out/core/mobx/specs/{sub_form_field_adapters.tests.js → subFormFieldAdapters.tests.js} +2 -2
  23. package/.out/core/mobx/{sub_form_field_adapters.d.ts → subFormFieldAdapters.d.ts} +1 -1
  24. package/.out/core/props.d.ts +1 -1
  25. package/.out/field_converters/{integer_to_string_converter.d.ts → IntegerToStringConverter.d.ts} +1 -1
  26. package/.out/field_converters/{integer_to_string_converter.js → IntegerToStringConverter.js} +1 -1
  27. package/.out/field_converters/{maybe_identity_converter.d.ts → MaybeIdentityConverter.d.ts} +1 -1
  28. package/.out/field_converters/{nullable_to_boolean_converter.d.ts → NullableToBooleanConverter.d.ts} +1 -1
  29. package/.out/field_converters/{nullable_to_boolean_converter.js → NullableToBooleanConverter.js} +1 -1
  30. package/.out/field_converters/{select_value_type_converter.d.ts → SelectValueTypeConverter.d.ts} +1 -1
  31. package/.out/field_converters/{select_value_type_converter.js → SelectValueTypeConverter.js} +1 -1
  32. package/.out/field_converters/{trimming_string_converter.d.ts → TrimmingStringConverter.d.ts} +1 -1
  33. package/.out/field_converters/{trimming_string_converter.js → TrimmingStringConverter.js} +1 -1
  34. package/.out/field_converters/{chain_field_converter.d.ts → chainFieldConverter.d.ts} +1 -1
  35. package/.out/field_converters/{chain_field_converter.js → chainFieldConverter.js} +1 -1
  36. package/.out/field_converters/{identity_converter.d.ts → identityConverter.d.ts} +1 -1
  37. package/.out/field_converters/{identity_converter.js → identityConverter.js} +1 -1
  38. package/.out/field_converters/specs/{chain_field_converter.tests.js → chainFieldConverter.tests.js} +2 -2
  39. package/.out/field_converters/{validating_converter.d.ts → validatingConverter.d.ts} +1 -1
  40. package/.out/field_converters/{validating_converter.js → validatingConverter.js} +1 -1
  41. package/.out/field_value_factories/{prototyping_field_value_factory.d.ts → prototypingFieldValueFactory.d.ts} +1 -1
  42. package/.out/index.d.ts +23 -22
  43. package/.out/index.js +23 -22
  44. package/.out/mantine/{error_renderer.d.ts → ErrorRenderer.d.ts} +2 -2
  45. package/.out/mantine/{create_checkbox.d.ts → createCheckbox.d.ts} +3 -3
  46. package/.out/mantine/{create_checkbox.js → createCheckbox.js} +2 -2
  47. package/.out/mantine/{create_field_view.d.ts → createFieldView.d.ts} +4 -4
  48. package/.out/mantine/{create_field_view.js → createFieldView.js} +1 -1
  49. package/.out/mantine/{create_fields_view.d.ts → createFieldsView.d.ts} +3 -3
  50. package/.out/mantine/{create_form.d.ts → createForm.d.ts} +3 -3
  51. package/.out/mantine/{create_list.d.ts → createList.d.ts} +3 -3
  52. package/.out/mantine/{create_list.js → createList.js} +1 -1
  53. package/.out/mantine/{create_pill.d.ts → createPill.d.ts} +2 -2
  54. package/.out/mantine/{create_pill.js → createPill.js} +1 -1
  55. package/.out/mantine/{create_radio.d.ts → createRadio.d.ts} +3 -3
  56. package/.out/mantine/{create_radio.js → createRadio.js} +1 -1
  57. package/.out/mantine/{create_radio_group.d.ts → createRadioGroup.d.ts} +3 -3
  58. package/.out/mantine/{create_radio_group.js → createRadioGroup.js} +2 -2
  59. package/.out/mantine/{create_text_input.d.ts → createTextInput.d.ts} +3 -3
  60. package/.out/mantine/{create_text_input.js → createTextInput.js} +2 -2
  61. package/.out/mantine/{create_value_input.d.ts → createValueInput.d.ts} +4 -4
  62. package/.out/mantine/{create_value_input.js → createValueInput.js} +2 -2
  63. package/.out/mantine/hooks.d.ts +18 -18
  64. package/.out/mantine/hooks.js +10 -10
  65. package/.out/mantine/specs/{checkbox_hooks.stories.d.ts → checkboxHooks.stories.d.ts} +1 -1
  66. package/.out/mantine/specs/{checkbox_hooks.stories.js → checkboxHooks.stories.js} +1 -1
  67. package/.out/mantine/specs/{checkbox_hooks.tests.js → checkboxHooks.tests.js} +2 -2
  68. package/.out/mantine/specs/{field_view_hooks.stories.d.ts → fieldViewHooks.stories.d.ts} +1 -1
  69. package/.out/mantine/specs/{field_view_hooks.tests.js → fieldViewHooks.tests.js} +1 -1
  70. package/.out/mantine/specs/{fields_view_hooks.stories.d.ts → fieldsViewHooks.stories.d.ts} +1 -1
  71. package/.out/mantine/specs/{fields_view_hooks.tests.js → fieldsViewHooks.tests.js} +1 -1
  72. package/.out/mantine/specs/{form_hooks.stories.d.ts → formHooks.stories.d.ts} +1 -1
  73. package/.out/mantine/specs/{form_hooks.tests.js → formHooks.tests.js} +1 -1
  74. package/.out/mantine/specs/{list_hooks.stories.d.ts → listHooks.stories.d.ts} +1 -1
  75. package/.out/mantine/specs/{list_hooks.tests.js → listHooks.tests.js} +1 -1
  76. package/.out/mantine/specs/{radio_group_hooks.stories.d.ts → radioGroupHooks.stories.d.ts} +2 -2
  77. package/.out/mantine/specs/{radio_group_hooks.stories.js → radioGroupHooks.stories.js} +1 -1
  78. package/.out/mantine/specs/{radio_group_hooks.tests.js → radioGroupHooks.tests.js} +2 -2
  79. package/.out/mantine/specs/{select_hooks.stories.d.ts → selectHooks.stories.d.ts} +1 -1
  80. package/.out/mantine/specs/{select_hooks.stories.js → selectHooks.stories.js} +1 -1
  81. package/.out/mantine/specs/{select_hooks.tests.js → selectHooks.tests.js} +1 -1
  82. package/.out/mantine/specs/{text_input_hooks.stories.d.ts → textInputHooks.stories.d.ts} +2 -2
  83. package/.out/mantine/specs/{text_input_hooks.stories.js → textInputHooks.stories.js} +1 -1
  84. package/.out/mantine/specs/{text_input_hooks.tests.js → textInputHooks.tests.js} +2 -2
  85. package/.out/mantine/specs/{value_input_hooks.stories.d.ts → valueInputHooks.stories.d.ts} +2 -2
  86. package/.out/mantine/specs/{value_input_hooks.stories.js → valueInputHooks.stories.js} +1 -1
  87. package/.out/mantine/specs/{value_input_hooks.tests.js → valueInputHooks.tests.js} +1 -1
  88. package/.out/mantine/types.d.ts +3 -3
  89. package/.out/tsconfig.tsbuildinfo +1 -1
  90. package/.out/types/{all_fields_of_fields.d.ts → AllFieldsOfFields.d.ts} +2 -2
  91. package/.out/types/{boolean_fields_of_fields.d.ts → BooleanFieldsOfFields.d.ts} +2 -2
  92. package/.out/types/{error_of_field.d.ts → ErrorOfField.d.ts} +1 -1
  93. package/.out/types/{flattened_validators_of_fields.d.ts → FlattenedValidatorsOfFields.d.ts} +1 -1
  94. package/.out/types/{list_fields_of_fields.d.ts → ListFieldsOfFields.d.ts} +2 -2
  95. package/.out/types/{string_fields_of_fields.d.ts → StringFieldsOfFields.d.ts} +2 -2
  96. package/.out/types/{sub_form_fields.d.ts → SubFormFields.d.ts} +1 -1
  97. package/.out/types/{value_type_of_field.d.ts → ValueTypeOfField.d.ts} +1 -1
  98. package/.out/types/specs/{merge_validators.tests.js → MergeValidators.tests.js} +1 -1
  99. package/.out/vitest.workspace.js +4 -4
  100. package/.storybook/preview.tsx +8 -0
  101. package/.turbo/turbo-build.log +7 -7
  102. package/.turbo/turbo-check-types.log +1 -1
  103. package/.turbo/turbo-release$colon$exports.log +1 -1
  104. package/core/mobx/{field_adapter.ts → FieldAdapter.ts} +1 -1
  105. package/core/mobx/{field_adapters_of_values.ts → FieldAdaptersOfValues.ts} +1 -1
  106. package/core/mobx/{flattened_adapters_of_fields.ts → FlattenedAdaptersOfFields.ts} +2 -2
  107. package/core/mobx/{form_fields_of_field_adapters.ts → FormFieldsOfFieldAdapters.ts} +2 -2
  108. package/core/mobx/{form_model.ts → FormModel.ts} +33 -26
  109. package/core/mobx/{field_adapter_builder.ts → fieldAdapterBuilder.ts} +7 -7
  110. package/core/mobx/hooks.tsx +19 -7
  111. package/core/mobx/{merge_field_adapters_with_two_way_converter.ts → mergeFieldAdaptersWithTwoWayConverter.ts} +3 -3
  112. package/core/mobx/{merge_field_adapters_with_validators.ts → mergeFieldAdaptersWithValidators.ts} +2 -2
  113. package/core/mobx/peek.ts +17 -0
  114. package/core/mobx/specs/{flattened_adapters_of_fields.tests.ts → FlattenedAdaptersOfFields.tests.ts} +3 -3
  115. package/core/mobx/specs/{flattened_list_types_of_types.tests.ts → FlattenedListTypesOfTypes.tests.ts} +1 -1
  116. package/core/mobx/specs/{form_model.tests.ts → FormModel.tests.ts} +10 -10
  117. package/core/mobx/specs/{merge_field_adapters_with_two_way_converter.tests.ts → MergeFieldAdaptersWithTwoWayConverter.tests.ts} +5 -5
  118. package/core/mobx/specs/{merge_field_adapters_with_validators.tests.ts → MergeFieldAdaptersWithValidators.tests.ts} +4 -4
  119. package/core/mobx/specs/fixtures.ts +2 -2
  120. package/core/mobx/specs/{sub_form_field_adapters.tests.ts → subFormFieldAdapters.tests.ts} +3 -3
  121. package/core/mobx/{sub_form_field_adapters.ts → subFormFieldAdapters.ts} +1 -1
  122. package/core/props.ts +1 -1
  123. package/dist/index.cjs +161 -132
  124. package/dist/index.d.cts +19 -12
  125. package/dist/index.d.ts +19 -12
  126. package/dist/index.js +166 -136
  127. package/field_converters/{integer_to_string_converter.ts → IntegerToStringConverter.ts} +1 -1
  128. package/field_converters/{maybe_identity_converter.ts → MaybeIdentityConverter.ts} +1 -1
  129. package/field_converters/{nullable_to_boolean_converter.ts → NullableToBooleanConverter.ts} +1 -1
  130. package/field_converters/{select_value_type_converter.ts → SelectValueTypeConverter.ts} +1 -1
  131. package/field_converters/{trimming_string_converter.ts → TrimmingStringConverter.ts} +1 -1
  132. package/field_converters/{chain_field_converter.ts → chainFieldConverter.ts} +1 -1
  133. package/field_converters/{identity_converter.ts → identityConverter.ts} +1 -1
  134. package/field_converters/specs/{chain_field_converter.tests.ts → chainFieldConverter.tests.ts} +2 -2
  135. package/field_converters/{validating_converter.ts → validatingConverter.ts} +1 -1
  136. package/field_value_factories/{prototyping_field_value_factory.ts → prototypingFieldValueFactory.ts} +1 -1
  137. package/index.ts +23 -22
  138. package/mantine/{error_renderer.ts → ErrorRenderer.ts} +2 -2
  139. package/mantine/{create_checkbox.tsx → createCheckbox.tsx} +5 -5
  140. package/mantine/{create_field_view.tsx → createFieldView.tsx} +5 -5
  141. package/mantine/{create_fields_view.tsx → createFieldsView.tsx} +4 -4
  142. package/mantine/{create_form.tsx → createForm.tsx} +3 -3
  143. package/mantine/{create_list.tsx → createList.tsx} +4 -4
  144. package/mantine/{create_pill.tsx → createPill.tsx} +3 -3
  145. package/mantine/{create_radio.tsx → createRadio.tsx} +4 -4
  146. package/mantine/{create_radio_group.tsx → createRadioGroup.tsx} +5 -5
  147. package/mantine/{create_text_input.tsx → createTextInput.tsx} +5 -5
  148. package/mantine/{create_value_input.tsx → createValueInput.tsx} +6 -6
  149. package/mantine/hooks.tsx +22 -22
  150. package/mantine/specs/{create_fields_view.tests.ts → CreateFieldsView.tests.ts} +1 -1
  151. package/mantine/specs/{checkbox_hooks.stories.tsx → checkboxHooks.stories.tsx} +2 -2
  152. package/mantine/specs/{checkbox_hooks.tests.tsx → checkboxHooks.tests.tsx} +2 -2
  153. package/mantine/specs/{field_view_hooks.stories.tsx → fieldViewHooks.stories.tsx} +1 -1
  154. package/mantine/specs/{field_view_hooks.tests.tsx → fieldViewHooks.tests.tsx} +1 -1
  155. package/mantine/specs/{fields_view_hooks.stories.tsx → fieldsViewHooks.stories.tsx} +1 -1
  156. package/mantine/specs/{fields_view_hooks.tests.tsx → fieldsViewHooks.tests.tsx} +1 -1
  157. package/mantine/specs/{form_hooks.stories.tsx → formHooks.stories.tsx} +1 -1
  158. package/mantine/specs/{form_hooks.tests.tsx → formHooks.tests.tsx} +1 -1
  159. package/mantine/specs/{list_hooks.stories.tsx → listHooks.stories.tsx} +1 -1
  160. package/mantine/specs/{list_hooks.tests.tsx → listHooks.tests.tsx} +1 -1
  161. package/mantine/specs/{radio_group_hooks.stories.tsx → radioGroupHooks.stories.tsx} +3 -3
  162. package/mantine/specs/{radio_group_hooks.tests.tsx → radioGroupHooks.tests.tsx} +2 -2
  163. package/mantine/specs/{select_hooks.stories.tsx → selectHooks.stories.tsx} +2 -2
  164. package/mantine/specs/{select_hooks.tests.tsx → selectHooks.tests.tsx} +1 -1
  165. package/mantine/specs/{text_input_hooks.stories.tsx → textInputHooks.stories.tsx} +3 -3
  166. package/mantine/specs/{text_input_hooks.tests.tsx → textInputHooks.tests.tsx} +2 -2
  167. package/mantine/specs/{value_input_hooks.stories.tsx → valueInputHooks.stories.tsx} +3 -3
  168. package/mantine/specs/{value_input_hooks.tests.tsx → valueInputHooks.tests.tsx} +1 -1
  169. package/mantine/types.ts +3 -3
  170. package/package.json +1 -1
  171. package/types/{all_fields_of_fields.ts → AllFieldsOfFields.ts} +2 -2
  172. package/types/{boolean_fields_of_fields.ts → BooleanFieldsOfFields.ts} +2 -2
  173. package/types/{error_of_field.ts → ErrorOfField.ts} +1 -1
  174. package/types/{flattened_validators_of_fields.ts → FlattenedValidatorsOfFields.ts} +1 -1
  175. package/types/{list_fields_of_fields.ts → ListFieldsOfFields.ts} +2 -2
  176. package/types/{string_fields_of_fields.ts → StringFieldsOfFields.ts} +2 -2
  177. package/types/{sub_form_fields.ts → SubFormFields.ts} +1 -1
  178. package/types/{value_type_of_field.ts → ValueTypeOfField.ts} +1 -1
  179. package/types/specs/{boolean_fields_of_fields.tests.ts → BooleanFieldsOfFields.tests.ts} +2 -2
  180. package/types/specs/{error_of_field.tests.ts → ErrorOfField.tests.ts} +2 -2
  181. package/types/specs/{flattened_validators_of_fields.tests.ts → FlattenedValidatorsOfFields.tests.ts} +2 -2
  182. package/types/specs/{list_fields_of_fields.tests.ts → ListFieldsOfFields.tests.ts} +2 -2
  183. package/types/specs/{merge_validators.tests.ts → MergeValidators.tests.ts} +1 -1
  184. package/types/specs/{string_fields_of_fields.tests.ts → StringFieldsOfFields.tests.ts} +2 -2
  185. package/types/specs/{sub_form_fields.tests.ts → SubFormFields.tests.ts} +2 -2
  186. package/types/specs/{value_type_of_field.tests.ts → ValueTypeOfField.tests.ts} +2 -2
  187. package/util/specs/partial.tests.tsx +1 -1
  188. package/vitest.workspace.ts +4 -4
  189. /package/.out/.vitest/{install_deterministic_random.d.ts → installDeterministicRandom.d.ts} +0 -0
  190. /package/.out/.vitest/{install_deterministic_random.js → installDeterministicRandom.js} +0 -0
  191. /package/.out/.vitest/{install_storybook_preview.d.ts → installStorybookPreview.d.ts} +0 -0
  192. /package/.out/.vitest/{install_storybook_preview.js → installStorybookPreview.js} +0 -0
  193. /package/.out/.vitest/{match_media.d.ts → matchMedia.d.ts} +0 -0
  194. /package/.out/.vitest/{match_media.js → matchMedia.js} +0 -0
  195. /package/.out/.vitest/{resize_observer.d.ts → resizeObserver.d.ts} +0 -0
  196. /package/.out/.vitest/{resize_observer.js → resizeObserver.js} +0 -0
  197. /package/.out/core/mobx/{field_adapter.js → FieldAdapter.js} +0 -0
  198. /package/.out/core/mobx/{field_adapters_of_values.js → FieldAdaptersOfValues.js} +0 -0
  199. /package/.out/core/mobx/{flattened_adapters_of_fields.js → FlattenedAdaptersOfFields.js} +0 -0
  200. /package/.out/core/mobx/{flattened_list_types_of_type.d.ts → FlattenedListTypesOfType.d.ts} +0 -0
  201. /package/.out/core/mobx/{flattened_list_types_of_type.js → FlattenedListTypesOfType.js} +0 -0
  202. /package/.out/core/mobx/{form_fields_of_field_adapters.js → FormFieldsOfFieldAdapters.js} +0 -0
  203. /package/.out/core/mobx/specs/{flattened_adapters_of_fields.tests.d.ts → FlattenedAdaptersOfFields.tests.d.ts} +0 -0
  204. /package/.out/core/mobx/specs/{flattened_adapters_of_fields.tests.js → FlattenedAdaptersOfFields.tests.js} +0 -0
  205. /package/.out/core/mobx/specs/{flattened_list_types_of_types.tests.d.ts → FlattenedListTypesOfTypes.tests.d.ts} +0 -0
  206. /package/.out/core/mobx/specs/{flattened_list_types_of_types.tests.js → FlattenedListTypesOfTypes.tests.js} +0 -0
  207. /package/.out/core/mobx/specs/{form_model.tests.d.ts → FormModel.tests.d.ts} +0 -0
  208. /package/.out/core/mobx/specs/{merge_field_adapters_with_two_way_converter.tests.d.ts → MergeFieldAdaptersWithTwoWayConverter.tests.d.ts} +0 -0
  209. /package/.out/core/mobx/specs/{merge_field_adapters_with_validators.tests.d.ts → MergeFieldAdaptersWithValidators.tests.d.ts} +0 -0
  210. /package/.out/core/mobx/specs/{sub_form_field_adapters.tests.d.ts → subFormFieldAdapters.tests.d.ts} +0 -0
  211. /package/.out/core/mobx/{sub_form_field_adapters.js → subFormFieldAdapters.js} +0 -0
  212. /package/.out/field_converters/{maybe_identity_converter.js → MaybeIdentityConverter.js} +0 -0
  213. /package/.out/field_converters/specs/{chain_field_converter.tests.d.ts → chainFieldConverter.tests.d.ts} +0 -0
  214. /package/.out/field_value_factories/{prototyping_field_value_factory.js → prototypingFieldValueFactory.js} +0 -0
  215. /package/.out/mantine/{error_renderer.js → ErrorRenderer.js} +0 -0
  216. /package/.out/mantine/{create_fields_view.js → createFieldsView.js} +0 -0
  217. /package/.out/mantine/{create_form.js → createForm.js} +0 -0
  218. /package/.out/mantine/specs/{checkbox_hooks.tests.d.ts → CreateFieldsView.tests.d.ts} +0 -0
  219. /package/.out/mantine/specs/{create_fields_view.tests.js → CreateFieldsView.tests.js} +0 -0
  220. /package/.out/mantine/specs/{checkbox_constants.d.ts → checkboxConstants.d.ts} +0 -0
  221. /package/.out/mantine/specs/{checkbox_constants.js → checkboxConstants.js} +0 -0
  222. /package/.out/mantine/specs/{create_fields_view.tests.d.ts → checkboxHooks.tests.d.ts} +0 -0
  223. /package/.out/mantine/specs/{field_view_hooks.stories.js → fieldViewHooks.stories.js} +0 -0
  224. /package/.out/mantine/specs/{field_view_hooks.tests.d.ts → fieldViewHooks.tests.d.ts} +0 -0
  225. /package/.out/mantine/specs/{fields_view_hooks.stories.js → fieldsViewHooks.stories.js} +0 -0
  226. /package/.out/mantine/specs/{fields_view_hooks.tests.d.ts → fieldsViewHooks.tests.d.ts} +0 -0
  227. /package/.out/mantine/specs/{form_hooks.stories.js → formHooks.stories.js} +0 -0
  228. /package/.out/mantine/specs/{form_hooks.tests.d.ts → formHooks.tests.d.ts} +0 -0
  229. /package/.out/mantine/specs/{list_hooks.stories.js → listHooks.stories.js} +0 -0
  230. /package/.out/mantine/specs/{list_hooks.tests.d.ts → listHooks.tests.d.ts} +0 -0
  231. /package/.out/mantine/specs/{radio_group_constants.d.ts → radioGroupConstants.d.ts} +0 -0
  232. /package/.out/mantine/specs/{radio_group_constants.js → radioGroupConstants.js} +0 -0
  233. /package/.out/mantine/specs/{radio_group_hooks.tests.d.ts → radioGroupHooks.tests.d.ts} +0 -0
  234. /package/.out/mantine/specs/{select_hooks.tests.d.ts → selectHooks.tests.d.ts} +0 -0
  235. /package/.out/mantine/specs/{select_hooks_constant.d.ts → selectHooksConstant.d.ts} +0 -0
  236. /package/.out/mantine/specs/{select_hooks_constant.js → selectHooksConstant.js} +0 -0
  237. /package/.out/mantine/specs/{text_input_constants.d.ts → textInputConstants.d.ts} +0 -0
  238. /package/.out/mantine/specs/{text_input_constants.js → textInputConstants.js} +0 -0
  239. /package/.out/mantine/specs/{text_input_hooks.tests.d.ts → textInputHooks.tests.d.ts} +0 -0
  240. /package/.out/mantine/specs/{value_input_constants.d.ts → valueInputConstants.d.ts} +0 -0
  241. /package/.out/mantine/specs/{value_input_constants.js → valueInputConstants.js} +0 -0
  242. /package/.out/mantine/specs/{value_input_hooks.tests.d.ts → valueInputHooks.tests.d.ts} +0 -0
  243. /package/.out/types/{all_fields_of_fields.js → AllFieldsOfFields.js} +0 -0
  244. /package/.out/types/{boolean_fields_of_fields.js → BooleanFieldsOfFields.js} +0 -0
  245. /package/.out/types/{error_of_field.js → ErrorOfField.js} +0 -0
  246. /package/.out/types/{field.d.ts → Field.d.ts} +0 -0
  247. /package/.out/types/{field.js → Field.js} +0 -0
  248. /package/.out/types/{field_converters.d.ts → FieldConverters.d.ts} +0 -0
  249. /package/.out/types/{field_converters.js → FieldConverters.js} +0 -0
  250. /package/.out/types/{flattened_validators_of_fields.js → FlattenedValidatorsOfFields.js} +0 -0
  251. /package/.out/types/{list_fields_of_fields.js → ListFieldsOfFields.js} +0 -0
  252. /package/.out/types/{specs/boolean_fields_of_fields.tests.d.ts → StringFieldsOfFields.js} +0 -0
  253. /package/.out/types/{specs/error_of_field.tests.d.ts → SubFormFields.js} +0 -0
  254. /package/.out/types/{specs/flattened_validators_of_fields.tests.d.ts → ValueTypeOfField.js} +0 -0
  255. /package/.out/types/{merge_validators.d.ts → mergeValidators.d.ts} +0 -0
  256. /package/.out/types/{merge_validators.js → mergeValidators.js} +0 -0
  257. /package/.out/types/specs/{list_fields_of_fields.tests.d.ts → BooleanFieldsOfFields.tests.d.ts} +0 -0
  258. /package/.out/types/specs/{boolean_fields_of_fields.tests.js → BooleanFieldsOfFields.tests.js} +0 -0
  259. /package/.out/types/specs/{merge_validators.tests.d.ts → ErrorOfField.tests.d.ts} +0 -0
  260. /package/.out/types/specs/{error_of_field.tests.js → ErrorOfField.tests.js} +0 -0
  261. /package/.out/types/specs/{string_fields_of_fields.tests.d.ts → FlattenedValidatorsOfFields.tests.d.ts} +0 -0
  262. /package/.out/types/specs/{flattened_validators_of_fields.tests.js → FlattenedValidatorsOfFields.tests.js} +0 -0
  263. /package/.out/types/specs/{sub_form_fields.tests.d.ts → ListFieldsOfFields.tests.d.ts} +0 -0
  264. /package/.out/types/specs/{list_fields_of_fields.tests.js → ListFieldsOfFields.tests.js} +0 -0
  265. /package/.out/types/specs/{value_type_of_field.tests.d.ts → MergeValidators.tests.d.ts} +0 -0
  266. /package/.out/types/{string_fields_of_fields.js → specs/StringFieldsOfFields.tests.d.ts} +0 -0
  267. /package/.out/types/specs/{string_fields_of_fields.tests.js → StringFieldsOfFields.tests.js} +0 -0
  268. /package/.out/types/{sub_form_fields.js → specs/SubFormFields.tests.d.ts} +0 -0
  269. /package/.out/types/specs/{sub_form_fields.tests.js → SubFormFields.tests.js} +0 -0
  270. /package/.out/types/{value_type_of_field.js → specs/ValueTypeOfField.tests.d.ts} +0 -0
  271. /package/.out/types/specs/{value_type_of_field.tests.js → ValueTypeOfField.tests.js} +0 -0
  272. /package/.out/util/{empty.d.ts → Empty.d.ts} +0 -0
  273. /package/.out/util/{empty.js → Empty.js} +0 -0
  274. /package/.out/util/{partial.d.ts → Partial.d.ts} +0 -0
  275. /package/.out/util/{partial.js → Partial.js} +0 -0
  276. /package/.vitest/{install_deterministic_random.ts → installDeterministicRandom.ts} +0 -0
  277. /package/.vitest/{install_storybook_preview.ts → installStorybookPreview.ts} +0 -0
  278. /package/.vitest/{match_media.ts → matchMedia.ts} +0 -0
  279. /package/.vitest/{resize_observer.ts → resizeObserver.ts} +0 -0
  280. /package/core/mobx/{flattened_list_types_of_type.ts → FlattenedListTypesOfType.ts} +0 -0
  281. /package/mantine/specs/__snapshots__/{checkbox_hooks.tests.tsx.snap → checkboxHooks.tests.tsx.snap} +0 -0
  282. /package/mantine/specs/__snapshots__/{field_view_hooks.tests.tsx.snap → fieldViewHooks.tests.tsx.snap} +0 -0
  283. /package/mantine/specs/__snapshots__/{fields_view_hooks.tests.tsx.snap → fieldsViewHooks.tests.tsx.snap} +0 -0
  284. /package/mantine/specs/__snapshots__/{form_hooks.tests.tsx.snap → formHooks.tests.tsx.snap} +0 -0
  285. /package/mantine/specs/__snapshots__/{list_hooks.tests.tsx.snap → listHooks.tests.tsx.snap} +0 -0
  286. /package/mantine/specs/__snapshots__/{radio_group_hooks.tests.tsx.snap → radioGroupHooks.tests.tsx.snap} +0 -0
  287. /package/mantine/specs/__snapshots__/{select_hooks.tests.tsx.snap → selectHooks.tests.tsx.snap} +0 -0
  288. /package/mantine/specs/__snapshots__/{text_input_hooks.tests.tsx.snap → textInputHooks.tests.tsx.snap} +0 -0
  289. /package/mantine/specs/__snapshots__/{value_input_hooks.tests.tsx.snap → valueInputHooks.tests.tsx.snap} +0 -0
  290. /package/mantine/specs/{checkbox_constants.ts → checkboxConstants.ts} +0 -0
  291. /package/mantine/specs/{radio_group_constants.ts → radioGroupConstants.ts} +0 -0
  292. /package/mantine/specs/{select_hooks_constant.ts → selectHooksConstant.ts} +0 -0
  293. /package/mantine/specs/{text_input_constants.ts → textInputConstants.ts} +0 -0
  294. /package/mantine/specs/{value_input_constants.ts → valueInputConstants.ts} +0 -0
  295. /package/types/{field.ts → Field.ts} +0 -0
  296. /package/types/{field_converters.ts → FieldConverters.ts} +0 -0
  297. /package/types/{merge_validators.ts → mergeValidators.ts} +0 -0
  298. /package/util/{empty.tsx → Empty.tsx} +0 -0
  299. /package/util/{partial.tsx → Partial.tsx} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  type TwoWayFieldConverter,
4
4
  type UnreliableFieldConversion,
5
5
  UnreliableFieldConversionType,
6
- } from 'types/field_converters'
6
+ } from 'types/FieldConverters'
7
7
 
8
8
  export class IntegerToStringConverter<E, ValuePath extends string, Context>
9
9
  implements TwoWayFieldConverter<number, string, E, ValuePath, Context>
@@ -2,7 +2,7 @@ import {
2
2
  type AnnotatedFieldConversion,
3
3
  type TwoWayFieldConverter,
4
4
  type UnreliableFieldConversion,
5
- } from 'types/field_converters'
5
+ } from 'types/FieldConverters'
6
6
 
7
7
  export class MaybeIdentityConverter<From, To, E, ValuePath extends string, Context>
8
8
  implements TwoWayFieldConverter<From, From | To, E, ValuePath, Context>
@@ -9,7 +9,7 @@ import {
9
9
  type TwoWayFieldConverterWithValueFactory,
10
10
  type UnreliableFieldConversion,
11
11
  UnreliableFieldConversionType,
12
- } from 'types/field_converters'
12
+ } from 'types/FieldConverters'
13
13
 
14
14
  export class NullableToBooleanConverter<
15
15
  T extends Type,
@@ -17,7 +17,7 @@ import {
17
17
  type TwoWayFieldConverterWithValueFactory,
18
18
  type UnreliableFieldConversion,
19
19
  UnreliableFieldConversionType,
20
- } from 'types/field_converters'
20
+ } from 'types/FieldConverters'
21
21
 
22
22
  export abstract class AbstractSelectValueTypeConverter<
23
23
  T extends Type,
@@ -3,7 +3,7 @@ import {
3
3
  type TwoWayFieldConverter,
4
4
  type UnreliableFieldConversion,
5
5
  UnreliableFieldConversionType,
6
- } from 'types/field_converters'
6
+ } from 'types/FieldConverters'
7
7
 
8
8
  export class TrimmingStringConverter<ValuePath extends string, Context>
9
9
  implements TwoWayFieldConverter<string, string, never, ValuePath, Context>
@@ -7,7 +7,7 @@ import {
7
7
  type UnreliableFieldConversion,
8
8
  UnreliableFieldConversionType,
9
9
  type UnreliableFieldConverter,
10
- } from 'types/field_converters'
10
+ } from 'types/FieldConverters'
11
11
 
12
12
  export function chainUnreliableFieldConverter<
13
13
  From,
@@ -2,7 +2,7 @@ import {
2
2
  type AnnotatedFieldConverter,
3
3
  UnreliableFieldConversionType,
4
4
  type UnreliableFieldConverter,
5
- } from 'types/field_converters'
5
+ } from 'types/FieldConverters'
6
6
 
7
7
  export function annotatedIdentityConverter<
8
8
  V,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  chainAnnotatedFieldConverter,
3
3
  chainUnreliableFieldConverter,
4
- } from 'field_converters/chain_field_converter'
4
+ } from 'field_converters/chainFieldConverter'
5
5
  import {
6
6
  type AnnotatedFieldConversion,
7
7
  type AnnotatedFieldConverter,
8
8
  type UnreliableFieldConversion,
9
9
  UnreliableFieldConversionType,
10
10
  type UnreliableFieldConverter,
11
- } from 'types/field_converters'
11
+ } from 'types/FieldConverters'
12
12
  import { type Mock } from 'vitest'
13
13
 
14
14
  const CONTEXT = 'ctx'
@@ -6,7 +6,7 @@ import {
6
6
  type UnreliableFieldConversion,
7
7
  UnreliableFieldConversionType,
8
8
  type UnreliableFieldConverter,
9
- } from 'types/field_converters'
9
+ } from 'types/FieldConverters'
10
10
 
11
11
  // delete this?
12
12
  export function validatingConverter<
@@ -1,4 +1,4 @@
1
- import { type FieldValueFactory } from 'types/field_converters'
1
+ import { type FieldValueFactory } from 'types/FieldConverters'
2
2
 
3
3
  export function prototypingFieldValueFactory<
4
4
  V,
package/index.ts CHANGED
@@ -1,25 +1,26 @@
1
- export * from './core/mobx/field_adapter'
2
- export * from './core/mobx/field_adapter_builder'
3
- export * from './core/mobx/field_adapters_of_values'
4
- export * from './core/mobx/flattened_adapters_of_fields'
5
- export * from './core/mobx/form_fields_of_field_adapters'
6
- export * from './core/mobx/form_model'
1
+ export * from './core/mobx/FieldAdapter'
2
+ export * from './core/mobx/fieldAdapterBuilder'
3
+ export * from './core/mobx/FieldAdaptersOfValues'
4
+ export * from './core/mobx/FlattenedAdaptersOfFields'
5
+ export * from './core/mobx/FormFieldsOfFieldAdapters'
6
+ export * from './core/mobx/FormModel'
7
7
  export * from './core/mobx/hooks'
8
- export * from './core/mobx/merge_field_adapters_with_two_way_converter'
9
- export * from './core/mobx/merge_field_adapters_with_validators'
10
- export * from './core/mobx/sub_form_field_adapters'
8
+ export * from './core/mobx/mergeFieldAdaptersWithTwoWayConverter'
9
+ export * from './core/mobx/mergeFieldAdaptersWithValidators'
10
+ export * from './core/mobx/peek'
11
+ export * from './core/mobx/subFormFieldAdapters'
11
12
  export * from './core/props'
12
- export * from './field_converters/integer_to_string_converter'
13
- export * from './field_converters/nullable_to_boolean_converter'
14
- export * from './field_converters/select_value_type_converter'
15
- export * from './field_converters/trimming_string_converter'
16
- export * from './field_converters/validating_converter'
17
- export * from './field_value_factories/prototyping_field_value_factory'
18
- export * from './mantine/error_renderer'
13
+ export * from './field_converters/IntegerToStringConverter'
14
+ export * from './field_converters/NullableToBooleanConverter'
15
+ export * from './field_converters/SelectValueTypeConverter'
16
+ export * from './field_converters/TrimmingStringConverter'
17
+ export * from './field_converters/validatingConverter'
18
+ export * from './field_value_factories/prototypingFieldValueFactory'
19
+ export * from './mantine/ErrorRenderer'
19
20
  export * from './mantine/hooks'
20
- export * from './types/error_of_field'
21
- export * from './types/field'
22
- export * from './types/field_converters'
23
- export * from './types/merge_validators'
24
- export * from './util/empty'
25
- export * from './util/partial'
21
+ export * from './types/ErrorOfField'
22
+ export * from './types/Field'
23
+ export * from './types/FieldConverters'
24
+ export * from './types/mergeValidators'
25
+ export * from './util/Empty'
26
+ export * from './util/Partial'
@@ -1,6 +1,6 @@
1
1
  import { type ComponentType } from 'react'
2
- import { type ErrorOfField } from 'types/error_of_field'
3
- import { type Fields } from 'types/field'
2
+ import { type ErrorOfField } from 'types/ErrorOfField'
3
+ import { type Fields } from 'types/Field'
4
4
 
5
5
  type InternalErrorRendererProps<E> = {
6
6
  error: E,
@@ -2,14 +2,14 @@ import {
2
2
  type CheckboxProps,
3
3
  } from '@mantine/core'
4
4
  import { type ComponentType } from 'react'
5
- import { type BooleanFieldsOfFields } from 'types/boolean_fields_of_fields'
6
- import { type ErrorOfField } from 'types/error_of_field'
7
- import { type Fields } from 'types/field'
8
- import { createUnsafePartialObserverComponent } from 'util/partial'
5
+ import { type BooleanFieldsOfFields } from 'types/BooleanFieldsOfFields'
6
+ import { type ErrorOfField } from 'types/ErrorOfField'
7
+ import { type Fields } from 'types/Field'
8
+ import { createUnsafePartialObserverComponent } from 'util/Partial'
9
9
  import {
10
10
  DefaultErrorRenderer,
11
11
  type ErrorRenderer,
12
- } from './error_renderer'
12
+ } from './ErrorRenderer'
13
13
  import {
14
14
  type MantineFieldComponent,
15
15
  type MantineForm,
@@ -3,11 +3,11 @@ import {
3
3
  type ComponentType,
4
4
  useCallback,
5
5
  } from 'react'
6
- import { type AllFieldsOfFields } from 'types/all_fields_of_fields'
7
- import { type ErrorOfField } from 'types/error_of_field'
8
- import { type Fields } from 'types/field'
9
- import { type ValueTypeOfField } from 'types/value_type_of_field'
10
- import { Empty } from 'util/empty'
6
+ import { type AllFieldsOfFields } from 'types/AllFieldsOfFields'
7
+ import { type ErrorOfField } from 'types/ErrorOfField'
8
+ import { type Fields } from 'types/Field'
9
+ import { type ValueTypeOfField } from 'types/ValueTypeOfField'
10
+ import { Empty } from 'util/Empty'
11
11
  import { type MantineForm } from './types'
12
12
 
13
13
  export type FieldViewProps<F extends Fields, K extends keyof F> = {
@@ -9,10 +9,10 @@ import type {
9
9
  ComponentProps,
10
10
  ComponentType,
11
11
  } from 'react'
12
- import type { AllFieldsOfFields } from 'types/all_fields_of_fields'
13
- import type { Fields } from 'types/field'
14
- import type { SubFormFields } from 'types/sub_form_fields'
15
- import type { ValueTypeOfField } from 'types/value_type_of_field'
12
+ import type { AllFieldsOfFields } from 'types/AllFieldsOfFields'
13
+ import type { Fields } from 'types/Field'
14
+ import type { SubFormFields } from 'types/SubFormFields'
15
+ import type { ValueTypeOfField } from 'types/ValueTypeOfField'
16
16
  import type { MantineFieldComponent } from './types'
17
17
 
18
18
  export type SubPathsOf<ValuePath extends string, SubFormValuePath extends string> = SubFormValuePath extends
@@ -8,9 +8,9 @@ import {
8
8
  type ComponentType,
9
9
  useCallback,
10
10
  } from 'react'
11
- import { type AllFieldsOfFields } from 'types/all_fields_of_fields'
12
- import { type Fields } from 'types/field'
13
- import { type ValueTypeOfField } from 'types/value_type_of_field'
11
+ import { type AllFieldsOfFields } from 'types/AllFieldsOfFields'
12
+ import { type Fields } from 'types/Field'
13
+ import { type ValueTypeOfField } from 'types/ValueTypeOfField'
14
14
  import { type MantineFieldComponent } from './types'
15
15
 
16
16
  export function createForm<
@@ -6,10 +6,10 @@ import {
6
6
  type ComponentType,
7
7
  Fragment,
8
8
  } from 'react'
9
- import { type Fields } from 'types/field'
10
- import { type ListFieldsOfFields } from 'types/list_fields_of_fields'
11
- import { type ValueTypeOfField } from 'types/value_type_of_field'
12
- import { createUnsafePartialObserverComponent } from 'util/partial'
9
+ import { type Fields } from 'types/Field'
10
+ import { type ListFieldsOfFields } from 'types/ListFieldsOfFields'
11
+ import { type ValueTypeOfField } from 'types/ValueTypeOfField'
12
+ import { createUnsafePartialObserverComponent } from 'util/Partial'
13
13
  import {
14
14
  type MantineFieldComponent,
15
15
  type MantineForm,
@@ -2,9 +2,9 @@ import {
2
2
  type PillProps,
3
3
  } from '@mantine/core'
4
4
  import { type ComponentType } from 'react'
5
- import { type AllFieldsOfFields } from 'types/all_fields_of_fields'
6
- import { type Fields } from 'types/field'
7
- import { createUnsafePartialObserverComponent } from 'util/partial'
5
+ import { type AllFieldsOfFields } from 'types/AllFieldsOfFields'
6
+ import { type Fields } from 'types/Field'
7
+ import { createUnsafePartialObserverComponent } from 'util/Partial'
8
8
  import {
9
9
  type MantineFieldComponent,
10
10
  type MantineForm,
@@ -2,10 +2,10 @@ import { type RadioProps } from '@mantine/core'
2
2
  import { type ComponentType } from 'react'
3
3
  import {
4
4
  type Fields,
5
- } from 'types/field'
6
- import { type StringFieldsOfFields } from 'types/string_fields_of_fields'
7
- import { type ValueTypeOfField } from 'types/value_type_of_field'
8
- import { createUnsafePartialObserverComponent } from 'util/partial'
5
+ } from 'types/Field'
6
+ import { type StringFieldsOfFields } from 'types/StringFieldsOfFields'
7
+ import { type ValueTypeOfField } from 'types/ValueTypeOfField'
8
+ import { createUnsafePartialObserverComponent } from 'util/Partial'
9
9
  import {
10
10
  type MantineFieldComponent,
11
11
  type MantineForm,
@@ -2,18 +2,18 @@ import {
2
2
  type RadioGroupProps,
3
3
  } from '@mantine/core'
4
4
  import { type ComponentType } from 'react'
5
- import { type ErrorOfField } from 'types/error_of_field'
5
+ import { type ErrorOfField } from 'types/ErrorOfField'
6
6
  import {
7
7
  type Fields,
8
- } from 'types/field'
9
- import { type StringFieldsOfFields } from 'types/string_fields_of_fields'
8
+ } from 'types/Field'
9
+ import { type StringFieldsOfFields } from 'types/StringFieldsOfFields'
10
10
  import {
11
11
  createUnsafePartialObserverComponent,
12
- } from 'util/partial'
12
+ } from 'util/Partial'
13
13
  import {
14
14
  DefaultErrorRenderer,
15
15
  type ErrorRenderer,
16
- } from './error_renderer'
16
+ } from './ErrorRenderer'
17
17
  import {
18
18
  type MantineFieldComponent,
19
19
  type MantineForm,
@@ -1,11 +1,11 @@
1
- import { type ErrorOfField } from 'types/error_of_field'
2
- import { type Fields } from 'types/field'
3
- import { type StringFieldsOfFields } from 'types/string_fields_of_fields'
4
- import { createUnsafePartialObserverComponent } from 'util/partial'
1
+ import { type ErrorOfField } from 'types/ErrorOfField'
2
+ import { type Fields } from 'types/Field'
3
+ import { type StringFieldsOfFields } from 'types/StringFieldsOfFields'
4
+ import { createUnsafePartialObserverComponent } from 'util/Partial'
5
5
  import {
6
6
  DefaultErrorRenderer,
7
7
  type ErrorRenderer,
8
- } from './error_renderer'
8
+ } from './ErrorRenderer'
9
9
  import {
10
10
  type MantineFieldComponent,
11
11
  type MantineForm,
@@ -1,12 +1,12 @@
1
- import { type AllFieldsOfFields } from 'types/all_fields_of_fields'
2
- import { type ErrorOfField } from 'types/error_of_field'
3
- import { type Fields } from 'types/field'
4
- import { type ValueTypeOfField } from 'types/value_type_of_field'
5
- import { createUnsafePartialObserverComponent } from 'util/partial'
1
+ import { type AllFieldsOfFields } from 'types/AllFieldsOfFields'
2
+ import { type ErrorOfField } from 'types/ErrorOfField'
3
+ import { type Fields } from 'types/Field'
4
+ import { type ValueTypeOfField } from 'types/ValueTypeOfField'
5
+ import { createUnsafePartialObserverComponent } from 'util/Partial'
6
6
  import {
7
7
  DefaultErrorRenderer,
8
8
  type ErrorRenderer,
9
- } from './error_renderer'
9
+ } from './ErrorRenderer'
10
10
  import {
11
11
  type MantineFieldComponent,
12
12
  type MantineForm,
package/mantine/hooks.tsx CHANGED
@@ -30,55 +30,55 @@ import {
30
30
  useEffect,
31
31
  useMemo,
32
32
  } from 'react'
33
- import { type AllFieldsOfFields } from 'types/all_fields_of_fields'
34
- import { type BooleanFieldsOfFields } from 'types/boolean_fields_of_fields'
35
- import { type ErrorOfField } from 'types/error_of_field'
33
+ import { type AllFieldsOfFields } from 'types/AllFieldsOfFields'
34
+ import { type BooleanFieldsOfFields } from 'types/BooleanFieldsOfFields'
35
+ import { type ErrorOfField } from 'types/ErrorOfField'
36
36
  import {
37
37
  type Fields,
38
- } from 'types/field'
39
- import { type ListFieldsOfFields } from 'types/list_fields_of_fields'
40
- import { type StringFieldsOfFields } from 'types/string_fields_of_fields'
41
- import { type SubFormFields } from 'types/sub_form_fields'
42
- import { type ValueTypeOfField } from 'types/value_type_of_field'
43
- import { type RefOfProps } from 'util/partial'
38
+ } from 'types/Field'
39
+ import { type ListFieldsOfFields } from 'types/ListFieldsOfFields'
40
+ import { type StringFieldsOfFields } from 'types/StringFieldsOfFields'
41
+ import { type SubFormFields } from 'types/SubFormFields'
42
+ import { type ValueTypeOfField } from 'types/ValueTypeOfField'
43
+ import { type RefOfProps } from 'util/Partial'
44
44
  import {
45
45
  createCheckbox,
46
46
  type SuppliedCheckboxProps,
47
- } from './create_checkbox'
48
- import {
49
- createFieldView,
50
- type FieldViewProps,
51
- } from './create_field_view'
47
+ } from './createCheckbox'
52
48
  import {
53
49
  createFieldsView,
54
50
  type FieldsView,
55
- } from './create_fields_view'
56
- import { createForm } from './create_form'
51
+ } from './createFieldsView'
52
+ import {
53
+ createFieldView,
54
+ type FieldViewProps,
55
+ } from './createFieldView'
56
+ import { createForm } from './createForm'
57
57
  import {
58
58
  createList,
59
59
  DefaultList,
60
60
  type SuppliedListProps,
61
- } from './create_list'
61
+ } from './createList'
62
62
  import {
63
63
  createPill,
64
64
  type SuppliedPillProps,
65
- } from './create_pill'
65
+ } from './createPill'
66
66
  import {
67
67
  createRadio,
68
68
  type SuppliedRadioProps,
69
- } from './create_radio'
69
+ } from './createRadio'
70
70
  import {
71
71
  createRadioGroup,
72
72
  type SuppliedRadioGroupProps,
73
- } from './create_radio_group'
73
+ } from './createRadioGroup'
74
74
  import {
75
75
  createTextInput,
76
76
  type SuppliedTextInputProps,
77
- } from './create_text_input'
77
+ } from './createTextInput'
78
78
  import {
79
79
  createValueInput,
80
80
  type SuppliedValueInputProps,
81
- } from './create_value_input'
81
+ } from './createValueInput'
82
82
  import {
83
83
  type MantineFieldComponent,
84
84
  type MantineForm,
@@ -1,4 +1,4 @@
1
- import { type CallbackMapper } from 'mantine/create_fields_view'
1
+ import { type CallbackMapper } from 'mantine/createFieldsView'
2
2
 
3
3
  describe('createFieldsView', () => {
4
4
  describe('CallbackMapper', () => {
@@ -6,8 +6,8 @@ import {
6
6
  import { type FieldsViewProps } from 'core/props'
7
7
  import { useMantineFormFields } from 'mantine/hooks'
8
8
  import { type Ref } from 'react'
9
- import { type Field } from 'types/field'
10
- import { CHECKBOX_LABEL } from './checkbox_constants'
9
+ import { type Field } from 'types/Field'
10
+ import { CHECKBOX_LABEL } from './checkboxConstants'
11
11
 
12
12
  function ErrorRenderer({ error }: { error: string }) {
13
13
  return `Error ${error}`
@@ -9,8 +9,8 @@ import {
9
9
  type Mock,
10
10
  vi,
11
11
  } from 'vitest'
12
- import { CHECKBOX_LABEL } from './checkbox_constants'
13
- import * as stories from './checkbox_hooks.stories'
12
+ import { CHECKBOX_LABEL } from './checkboxConstants'
13
+ import * as stories from './checkboxHooks.stories'
14
14
 
15
15
  const composedStories = composeStories(stories)
16
16
  const {
@@ -14,7 +14,7 @@ import {
14
14
  type ChangeEvent,
15
15
  useCallback,
16
16
  } from 'react'
17
- import { type Field } from 'types/field'
17
+ import { type Field } from 'types/Field'
18
18
 
19
19
  function Component(props: FieldsViewProps<{
20
20
  $: Field<string, string>,
@@ -3,7 +3,7 @@ import { toArray } from '@strictly/base'
3
3
  import {
4
4
  render,
5
5
  } from '@testing-library/react'
6
- import * as stories from './field_view_hooks.stories'
6
+ import * as stories from './fieldViewHooks.stories'
7
7
 
8
8
  const composedStories = composeStories(stories)
9
9
 
@@ -14,7 +14,7 @@ import {
14
14
  useCallback,
15
15
  useMemo,
16
16
  } from 'react'
17
- import { type Field } from 'types/field'
17
+ import { type Field } from 'types/Field'
18
18
 
19
19
  export function ParentFieldLabel() {
20
20
  return '$'
@@ -4,7 +4,7 @@ import {
4
4
  fireEvent,
5
5
  render,
6
6
  } from '@testing-library/react'
7
- import * as stories from './fields_view_hooks.stories'
7
+ import * as stories from './fieldsViewHooks.stories'
8
8
 
9
9
  const composedStories = composeStories(stories)
10
10
  const {
@@ -14,7 +14,7 @@ import {
14
14
  } from 'core/props'
15
15
  import { useMantineFormFields } from 'mantine/hooks'
16
16
  import { useCallback } from 'react'
17
- import { type Field } from 'types/field'
17
+ import { type Field } from 'types/Field'
18
18
 
19
19
  const onCancel = action('canceled')
20
20
 
@@ -3,7 +3,7 @@ import { toArray } from '@strictly/base'
3
3
  import {
4
4
  render,
5
5
  } from '@testing-library/react'
6
- import * as stories from './form_hooks.stories'
6
+ import * as stories from './formHooks.stories'
7
7
 
8
8
  const composedStories = composeStories(stories)
9
9
 
@@ -10,7 +10,7 @@ import {
10
10
  } from '@storybook/react'
11
11
  import { type FieldsViewProps } from 'core/props'
12
12
  import { useMantineFormFields } from 'mantine/hooks'
13
- import { type Field } from 'types/field'
13
+ import { type Field } from 'types/Field'
14
14
 
15
15
  type ListPath = `$.${number}`
16
16
 
@@ -3,7 +3,7 @@ import { toArray } from '@strictly/base'
3
3
  import {
4
4
  render,
5
5
  } from '@testing-library/react'
6
- import * as stories from './list_hooks.stories'
6
+ import * as stories from './listHooks.stories'
7
7
 
8
8
  const composedStories = composeStories(stories)
9
9
 
@@ -9,15 +9,15 @@ import {
9
9
  import { type FieldsViewProps } from 'core/props'
10
10
  import {
11
11
  type ErrorRenderer,
12
- } from 'mantine/error_renderer'
12
+ } from 'mantine/ErrorRenderer'
13
13
  import { useMantineFormFields } from 'mantine/hooks'
14
- import { type Field } from 'types/field'
14
+ import { type Field } from 'types/Field'
15
15
  import {
16
16
  RADIO_GROUP_LABEL,
17
17
  RADIO_LABELS,
18
18
  RADIO_VALUES,
19
19
  type RadioValue,
20
- } from './radio_group_constants'
20
+ } from './radioGroupConstants'
21
21
 
22
22
  function ErrorRenderer({ error }: { error: string }) {
23
23
  return `custom error ${error}`
@@ -14,8 +14,8 @@ import {
14
14
  RADIO_LABELS,
15
15
  RADIO_VALUES,
16
16
  type RadioValue,
17
- } from './radio_group_constants'
18
- import * as stories from './radio_group_hooks.stories'
17
+ } from './radioGroupConstants'
18
+ import * as stories from './radioGroupHooks.stories'
19
19
 
20
20
  const composedStories = composeStories(stories)
21
21
  const {
@@ -5,8 +5,8 @@ import {
5
5
  } from '@storybook/react'
6
6
  import { type FieldsViewProps } from 'core/props'
7
7
  import { useMantineFormFields } from 'mantine/hooks'
8
- import { type Field } from 'types/field'
9
- import { SELECT_LABEL } from './select_hooks_constant'
8
+ import { type Field } from 'types/Field'
9
+ import { SELECT_LABEL } from './selectHooksConstant'
10
10
 
11
11
  function ErrorRenderer({ error }: { error: string }) {
12
12
  return `Error ${error}`
@@ -3,7 +3,7 @@ import { toArray } from '@strictly/base'
3
3
  import {
4
4
  render,
5
5
  } from '@testing-library/react'
6
- import * as stories from './select_hooks.stories'
6
+ import * as stories from './selectHooks.stories'
7
7
 
8
8
  const composedStories = composeStories(stories)
9
9
  describe('mantine select hooks', function () {
@@ -12,14 +12,14 @@ import { type FieldsViewProps } from 'core/props'
12
12
  import {
13
13
  type SuppliedTextInputProps,
14
14
  type TextInputTarget,
15
- } from 'mantine/create_text_input'
15
+ } from 'mantine/createTextInput'
16
16
  import { useMantineFormFields } from 'mantine/hooks'
17
17
  import {
18
18
  type ComponentType,
19
19
  type Ref,
20
20
  } from 'react'
21
- import { type Field } from 'types/field'
22
- import { TEXT_INPUT_LABEL } from './text_input_constants'
21
+ import { type Field } from 'types/Field'
22
+ import { TEXT_INPUT_LABEL } from './textInputConstants'
23
23
 
24
24
  type StoryTextInputProps<T extends TextInputTarget> = SuppliedTextInputProps<T> & Pick<TextInputProps, 'label'>
25
25
 
@@ -9,8 +9,8 @@ import {
9
9
  type Mock,
10
10
  vi,
11
11
  } from 'vitest'
12
- import { TEXT_INPUT_LABEL } from './text_input_constants'
13
- import * as stories from './text_input_hooks.stories'
12
+ import { TEXT_INPUT_LABEL } from './textInputConstants'
13
+ import * as stories from './textInputHooks.stories'
14
14
 
15
15
  const composedStories = composeStories(stories)
16
16
  const {