@bluemarble/bm-components 0.1.0 → 0.1.2
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/dist/index.d.mts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4082,6 +4082,9 @@ function useLoading() {
|
|
|
4082
4082
|
import React28 from "react";
|
|
4083
4083
|
import { createContext as createContext3 } from "react";
|
|
4084
4084
|
var FormHelperContext = createContext3({});
|
|
4085
|
+
var FormHelperProvider = ({ formatErrorMessage, api, children }) => {
|
|
4086
|
+
return /* @__PURE__ */ React28.createElement(FormHelperContext.Provider, { value: { formatErrorMessage, api } }, children);
|
|
4087
|
+
};
|
|
4085
4088
|
|
|
4086
4089
|
// src/hooks/useFormHelper.ts
|
|
4087
4090
|
function useFormHelper() {
|
|
@@ -4396,6 +4399,8 @@ export {
|
|
|
4396
4399
|
Checkbox,
|
|
4397
4400
|
Dialog,
|
|
4398
4401
|
EditableTableCell,
|
|
4402
|
+
FormHelperContext,
|
|
4403
|
+
FormHelperProvider,
|
|
4399
4404
|
GetInputLabel,
|
|
4400
4405
|
Grid_default as Grid,
|
|
4401
4406
|
HttpError,
|