@micromerce/formbuilder-react 1.0.1009 → 1.0.1010
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.ts
CHANGED
|
@@ -16,8 +16,10 @@ import TrafficLightCardSelect from "./components/controls/TrafficLightCardSelect
|
|
|
16
16
|
import { useValueGenerator } from "./hooks/useValueGenerator/useValueGenerator";
|
|
17
17
|
import { queryControl } from "./components/QueryControl/data/defaultControls";
|
|
18
18
|
import { FormBuilderConfig } from "./types";
|
|
19
|
+
import { compactVatId, vatIdProblem } from "./components/controls/SubtypeInput/vatId";
|
|
20
|
+
import type { VatIdProblem } from "./components/controls/SubtypeInput/vatId";
|
|
19
21
|
import { FormBuilderThemeProvider, FORM_BUILDER_TOKENS, LEGACY_CSS_VARS, toCssVars } from "./theme";
|
|
20
22
|
import type { FormBuilderTheme, FormBuilderThemeKey, FormBuilderThemePreset } from "./theme";
|
|
21
|
-
export type { FormBuilderTheme, FormBuilderThemeKey, FormBuilderThemePreset };
|
|
22
|
-
export { FormBuilderThemeProvider, FORM_BUILDER_TOKENS, LEGACY_CSS_VARS, toCssVars, FormBuilder, FormBuilderConfig, queryControl, Select, MultiSelect, Checkbox, ControlWrapper, FormFooter, Input, InputFreeSolo, FormList, FormGroup, MrnInput, PasswordInput, Textarea, TrafficLightCardSelect, useValueGenerator, };
|
|
23
|
+
export type { FormBuilderTheme, FormBuilderThemeKey, FormBuilderThemePreset, VatIdProblem };
|
|
24
|
+
export { FormBuilderThemeProvider, FORM_BUILDER_TOKENS, LEGACY_CSS_VARS, toCssVars, FormBuilder, FormBuilderConfig, queryControl, Select, MultiSelect, Checkbox, ControlWrapper, FormFooter, Input, InputFreeSolo, FormList, FormGroup, MrnInput, PasswordInput, Textarea, TrafficLightCardSelect, useValueGenerator, compactVatId, vatIdProblem, };
|
|
23
25
|
export default FormBuilder;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* positive case only (a check mark) and never blocks a submit.
|
|
8
8
|
*/
|
|
9
9
|
import { compactBic } from "../../components/controls/SubtypeInput/bankAccount";
|
|
10
|
-
export type Normalize = "compact-upper" | "upper" | "e164";
|
|
10
|
+
export type Normalize = "compact-upper" | "compact-id" | "upper" | "e164";
|
|
11
11
|
export interface ISubtype {
|
|
12
12
|
/** The server refuses a value that fails `check`. */
|
|
13
13
|
checked: boolean;
|