@mittwald/flow-react-components 0.2.0-alpha.642 → 0.2.0-alpha.644

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 (83) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/assets/doc-properties.json +6112 -4124
  3. package/dist/css/all.css +1 -1
  4. package/dist/js/components/src/components/Action/Action.mjs +0 -1
  5. package/dist/js/components/src/components/Action/Action.mjs.map +1 -1
  6. package/dist/js/components/src/components/Action/models/ActionState.mjs +5 -1
  7. package/dist/js/components/src/components/Action/models/ActionState.mjs.map +1 -1
  8. package/dist/js/components/src/components/Heading/Heading.mjs.map +1 -1
  9. package/dist/js/components/src/components/Heading/Heading.module.scss.mjs +3 -1
  10. package/dist/js/components/src/components/Heading/Heading.module.scss.mjs.map +1 -1
  11. package/dist/js/components/src/components/IllustratedMessage/IllustratedMessage.mjs +1 -1
  12. package/dist/js/components/src/components/IllustratedMessage/IllustratedMessage.mjs.map +1 -1
  13. package/dist/js/components/src/components/IllustratedMessage/IllustratedMessage.module.scss.mjs +3 -1
  14. package/dist/js/components/src/components/IllustratedMessage/IllustratedMessage.module.scss.mjs.map +1 -1
  15. package/dist/js/components/src/components/propTypes/index.mjs +0 -2
  16. package/dist/js/components/src/components/propTypes/index.mjs.map +1 -1
  17. package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs +1 -15
  18. package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs.map +1 -1
  19. package/dist/js/components/src/integrations/react-hook-form/components/Form/Form.mjs +19 -36
  20. package/dist/js/components/src/integrations/react-hook-form/components/Form/Form.mjs.map +1 -1
  21. package/dist/js/components/src/integrations/react-hook-form/components/Form/useHotkeySubmit.mjs +19 -0
  22. package/dist/js/components/src/integrations/react-hook-form/components/Form/useHotkeySubmit.mjs.map +1 -0
  23. package/dist/js/components/src/integrations/react-hook-form/components/FormContextProvider/FormContextProvider.mjs +42 -0
  24. package/dist/js/components/src/integrations/react-hook-form/components/FormContextProvider/FormContextProvider.mjs.map +1 -0
  25. package/dist/js/components/src/integrations/react-hook-form/components/FormContextProvider/useFormSubmitAction.mjs +37 -0
  26. package/dist/js/components/src/integrations/react-hook-form/components/FormContextProvider/useFormSubmitAction.mjs.map +1 -0
  27. package/dist/js/components/src/integrations/react-hook-form/components/FormSubmitAction/FormSubmitAction.mjs +17 -0
  28. package/dist/js/components/src/integrations/react-hook-form/components/FormSubmitAction/FormSubmitAction.mjs.map +1 -0
  29. package/dist/js/components/src/integrations/react-hook-form/components/ResetButton/ResetButton.mjs +16 -34
  30. package/dist/js/components/src/integrations/react-hook-form/components/ResetButton/ResetButton.mjs.map +1 -1
  31. package/dist/js/components/src/integrations/react-hook-form/components/SubmitButton/SubmitButton.mjs +19 -56
  32. package/dist/js/components/src/integrations/react-hook-form/components/SubmitButton/SubmitButton.mjs.map +1 -1
  33. package/dist/js/react-hook-form.mjs +1 -1
  34. package/dist/types/components/Action/Action.d.ts.map +1 -1
  35. package/dist/types/components/Action/models/ActionState.d.ts +1 -0
  36. package/dist/types/components/Action/models/ActionState.d.ts.map +1 -1
  37. package/dist/types/components/Button/stories/lib.d.ts +3 -0
  38. package/dist/types/components/Button/stories/lib.d.ts.map +1 -1
  39. package/dist/types/components/Heading/Heading.d.ts +1 -1
  40. package/dist/types/components/Heading/Heading.d.ts.map +1 -1
  41. package/dist/types/components/Heading/stories/Default.stories.d.ts +1 -0
  42. package/dist/types/components/Heading/stories/Default.stories.d.ts.map +1 -1
  43. package/dist/types/components/IllustratedMessage/IllustratedMessage.d.ts +1 -1
  44. package/dist/types/components/IllustratedMessage/IllustratedMessage.d.ts.map +1 -1
  45. package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts +1 -0
  46. package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts.map +1 -1
  47. package/dist/types/components/List/typedList.d.ts +1 -1
  48. package/dist/types/components/propTypes/index.d.ts +0 -4
  49. package/dist/types/components/propTypes/index.d.ts.map +1 -1
  50. package/dist/types/integrations/react-hook-form/components/Field/Field.d.ts.map +1 -1
  51. package/dist/types/integrations/react-hook-form/components/Form/Form.d.ts.map +1 -1
  52. package/dist/types/integrations/react-hook-form/components/Form/stories/Form.stories.d.ts +4 -0
  53. package/dist/types/integrations/react-hook-form/components/Form/stories/Form.stories.d.ts.map +1 -1
  54. package/dist/types/integrations/react-hook-form/components/Form/useHotkeySubmit.d.ts +8 -0
  55. package/dist/types/integrations/react-hook-form/components/Form/useHotkeySubmit.d.ts.map +1 -0
  56. package/dist/types/integrations/react-hook-form/components/FormContextProvider/FormContextProvider.d.ts +21 -0
  57. package/dist/types/integrations/react-hook-form/components/FormContextProvider/FormContextProvider.d.ts.map +1 -0
  58. package/dist/types/integrations/react-hook-form/components/FormContextProvider/index.d.ts +3 -0
  59. package/dist/types/integrations/react-hook-form/components/FormContextProvider/index.d.ts.map +1 -0
  60. package/dist/types/integrations/react-hook-form/components/FormContextProvider/useFormSubmitAction.d.ts +9 -0
  61. package/dist/types/integrations/react-hook-form/components/FormContextProvider/useFormSubmitAction.d.ts.map +1 -0
  62. package/dist/types/integrations/react-hook-form/components/FormSubmitAction/FormSubmitAction.d.ts +4 -0
  63. package/dist/types/integrations/react-hook-form/components/FormSubmitAction/FormSubmitAction.d.ts.map +1 -0
  64. package/dist/types/integrations/react-hook-form/components/FormSubmitAction/index.d.ts +2 -0
  65. package/dist/types/integrations/react-hook-form/components/FormSubmitAction/index.d.ts.map +1 -0
  66. package/dist/types/integrations/react-hook-form/components/ResetButton/ResetButton.d.ts +1 -6
  67. package/dist/types/integrations/react-hook-form/components/ResetButton/ResetButton.d.ts.map +1 -1
  68. package/dist/types/integrations/react-hook-form/components/ResetButton/index.d.ts +1 -1
  69. package/dist/types/integrations/react-hook-form/components/ResetButton/index.d.ts.map +1 -1
  70. package/dist/types/integrations/react-hook-form/components/SubmitButton/SubmitButton.d.ts +1 -6
  71. package/dist/types/integrations/react-hook-form/components/SubmitButton/SubmitButton.d.ts.map +1 -1
  72. package/dist/types/integrations/react-hook-form/components/SubmitButton/index.d.ts +1 -1
  73. package/dist/types/integrations/react-hook-form/components/SubmitButton/index.d.ts.map +1 -1
  74. package/dist/types/integrations/react-hook-form/index.d.ts +1 -1
  75. package/package.json +4 -4
  76. package/dist/js/components/src/integrations/react-hook-form/components/Form/lib/useRegisterActionStateContext.mjs +0 -77
  77. package/dist/js/components/src/integrations/react-hook-form/components/Form/lib/useRegisterActionStateContext.mjs.map +0 -1
  78. package/dist/js/components/src/integrations/react-hook-form/components/context/formContext.mjs +0 -19
  79. package/dist/js/components/src/integrations/react-hook-form/components/context/formContext.mjs.map +0 -1
  80. package/dist/types/integrations/react-hook-form/components/Form/lib/useRegisterActionStateContext.d.ts +0 -7
  81. package/dist/types/integrations/react-hook-form/components/Form/lib/useRegisterActionStateContext.d.ts.map +0 -1
  82. package/dist/types/integrations/react-hook-form/components/context/formContext.d.ts +0 -19
  83. package/dist/types/integrations/react-hook-form/components/context/formContext.d.ts.map +0 -1
@@ -1,49 +1,31 @@
1
1
  "use client"
2
2
  /* */
3
3
  import { jsx } from 'react/jsx-runtime';
4
- import { Button } from '../../../../components/Button/Button.mjs';
5
- import { flowComponent } from '../../../../lib/componentFactory/flowComponent.mjs';
6
- import { useFormContext } from '../context/formContext.mjs';
7
- import '../../../../lib/propsContext/propsContext.mjs';
8
- import '../../../../lib/propsContext/components/PropsContextProvider.mjs';
9
- import { useMemo } from 'react';
10
- import 'react-hook-form';
11
- import 'react-hotkeys-hook';
12
- import 'react-aria';
13
- import '../../../../views/FieldErrorView.mjs';
14
- import '@react-aria/utils';
15
- import 'mobx';
16
- import '../../../../lib/controller/overlay/context.mjs';
17
- import 'invariant';
18
- import '../../../../components/Action/context.mjs';
19
- import '../../../../components/Action/models/ActionStateContext.mjs';
20
- import 'remeda';
21
- import '../SubmitButton/SubmitButton.mjs';
4
+ import '../../../../components/Button/Button.mjs';
5
+ import { useFormContext } from '../FormContextProvider/FormContextProvider.mjs';
6
+ import ButtonView from '../../../../views/ButtonView.mjs';
22
7
 
23
- const ResetButton = flowComponent("ResetButton", (props) => {
24
- const {
25
- children,
26
- ref,
27
- buttonComponent: ButtonComponent = Button,
28
- ...rest
29
- } = props;
30
- const { id: formId = props.form, form, formActionModel } = useFormContext();
31
- const ButtonViewComponent = useMemo(() => ButtonComponent, [formId]);
32
- const actionState = formActionModel.state.useValue();
8
+ const ResetButton = (props) => {
9
+ const { children, onPress, isReadOnly: isReadOnlyProp, ...rest } = props;
10
+ const formContext = useFormContext();
11
+ const isReadOnly = isReadOnlyProp || formContext.isReadOnly;
12
+ const handleOnPress = (e) => {
13
+ formContext.form.reset();
14
+ onPress?.(e);
15
+ };
33
16
  return /* @__PURE__ */ jsx(
34
- ButtonViewComponent,
17
+ ButtonView,
35
18
  {
36
19
  color: "secondary",
37
20
  variant: "soft",
38
21
  ...rest,
39
- ref,
40
- isReadOnly: actionState === "isExecuting" || actionState === "isPending",
41
- onPress: () => form.reset(),
42
- form: formId,
22
+ type: "button",
23
+ onPress: handleOnPress,
24
+ isReadOnly,
43
25
  children
44
26
  }
45
27
  );
46
- });
28
+ };
47
29
 
48
30
  export { ResetButton, ResetButton as default };
49
31
  //# sourceMappingURL=ResetButton.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResetButton.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/ResetButton/ResetButton.tsx"],"sourcesContent":["import { Button, type ButtonProps } from \"@/components/Button\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { useFormContext } from \"@/integrations/react-hook-form\";\nimport { type FC, useMemo } from \"react\";\n\nexport type ResetButtonProps = Omit<\n ButtonProps,\n \"isFailed\" | \"isSucceeded\" | \"isPending\" | \"isReadOnly\" | \"type\"\n> & {\n buttonComponent?: FC<Omit<ButtonProps, \"ref\">>;\n};\n\nexport const ResetButton = flowComponent(\"ResetButton\", (props) => {\n const {\n children,\n ref,\n buttonComponent: ButtonComponent = Button,\n ...rest\n } = props;\n\n const { id: formId = props.form, form, formActionModel } = useFormContext();\n\n const ButtonViewComponent = useMemo(() => ButtonComponent, [formId]);\n const actionState = formActionModel.state.useValue();\n\n return (\n <ButtonViewComponent\n color=\"secondary\"\n variant=\"soft\"\n {...rest}\n ref={ref}\n isReadOnly={actionState === \"isExecuting\" || actionState === \"isPending\"}\n onPress={() => form.reset()}\n form={formId}\n >\n {children}\n </ButtonViewComponent>\n );\n});\n\nexport default ResetButton;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAYO,MAAM,WAAA,GAAc,aAAA,CAAc,aAAA,EAAe,CAAC,KAAA,KAAU;AACjE,EAAA,MAAM;AAAA,IACJ,QAAA;AAAA,IACA,GAAA;AAAA,IACA,iBAAiB,eAAA,GAAkB,MAAA;AAAA,IACnC,GAAG;AAAA,GACL,GAAI,KAAA;AAEJ,EAAA,MAAM,EAAE,IAAI,MAAA,GAAS,KAAA,CAAM,MAAM,IAAA,EAAM,eAAA,KAAoB,cAAA,EAAe;AAE1E,EAAA,MAAM,sBAAsB,OAAA,CAAQ,MAAM,eAAA,EAAiB,CAAC,MAAM,CAAC,CAAA;AACnE,EAAA,MAAM,WAAA,GAAc,eAAA,CAAgB,KAAA,CAAM,QAAA,EAAS;AAEnD,EAAA,uBACE,GAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,KAAA,EAAM,WAAA;AAAA,MACN,OAAA,EAAQ,MAAA;AAAA,MACP,GAAG,IAAA;AAAA,MACJ,GAAA;AAAA,MACA,UAAA,EAAY,WAAA,KAAgB,aAAA,IAAiB,WAAA,KAAgB,WAAA;AAAA,MAC7D,OAAA,EAAS,MAAM,IAAA,CAAK,KAAA,EAAM;AAAA,MAC1B,IAAA,EAAM,MAAA;AAAA,MAEL;AAAA;AAAA,GACH;AAEJ,CAAC;;;;"}
1
+ {"version":3,"file":"ResetButton.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/ResetButton/ResetButton.tsx"],"sourcesContent":["import { type ButtonProps } from \"@/components/Button\";\nimport { useFormContext } from \"@/integrations/react-hook-form/components/FormContextProvider\";\nimport ButtonView from \"@/views/ButtonView\";\nimport type { FC } from \"react\";\nimport type { PressEvent } from \"react-aria\";\n\nexport const ResetButton: FC<ButtonProps> = (props) => {\n const { children, onPress, isReadOnly: isReadOnlyProp, ...rest } = props;\n\n const formContext = useFormContext();\n\n const isReadOnly = isReadOnlyProp || formContext.isReadOnly;\n\n const handleOnPress = (e: PressEvent) => {\n formContext.form.reset();\n onPress?.(e);\n };\n\n return (\n <ButtonView\n color=\"secondary\"\n variant=\"soft\"\n {...rest}\n type=\"button\"\n onPress={handleOnPress}\n isReadOnly={isReadOnly}\n >\n {children}\n </ButtonView>\n );\n};\n\nexport default ResetButton;\n"],"names":[],"mappings":";;;;;AAMO,MAAM,WAAA,GAA+B,CAAC,KAAA,KAAU;AACrD,EAAA,MAAM,EAAE,QAAA,EAAU,OAAA,EAAS,YAAY,cAAA,EAAgB,GAAG,MAAK,GAAI,KAAA;AAEnE,EAAA,MAAM,cAAc,cAAA,EAAe;AAEnC,EAAA,MAAM,UAAA,GAAa,kBAAkB,WAAA,CAAY,UAAA;AAEjD,EAAA,MAAM,aAAA,GAAgB,CAAC,CAAA,KAAkB;AACvC,IAAA,WAAA,CAAY,KAAK,KAAA,EAAM;AACvB,IAAA,OAAA,GAAU,CAAC,CAAA;AAAA,EACb,CAAA;AAEA,EAAA,uBACE,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACC,KAAA,EAAM,WAAA;AAAA,MACN,OAAA,EAAQ,MAAA;AAAA,MACP,GAAG,IAAA;AAAA,MACJ,IAAA,EAAK,QAAA;AAAA,MACL,OAAA,EAAS,aAAA;AAAA,MACT,UAAA;AAAA,MAEC;AAAA;AAAA,GACH;AAEJ;;;;"}
@@ -1,63 +1,26 @@
1
1
  "use client"
2
2
  /* */
3
3
  import { jsx } from 'react/jsx-runtime';
4
- import { Button } from '../../../../components/Button/Button.mjs';
5
- import { flowComponent } from '../../../../lib/componentFactory/flowComponent.mjs';
6
- import { useFormContext } from '../context/formContext.mjs';
7
- import '../../../../lib/propsContext/propsContext.mjs';
8
- import '../../../../lib/propsContext/components/PropsContextProvider.mjs';
9
- import { useMemo } from 'react';
10
- import 'react-hook-form';
11
- import 'react-hotkeys-hook';
12
- import 'react-aria';
13
- import '../../../../views/FieldErrorView.mjs';
14
- import { useObjectRef } from '@react-aria/utils';
15
- import 'mobx';
16
- import '../../../../lib/controller/overlay/context.mjs';
17
- import 'invariant';
18
- import '../../../../components/Action/context.mjs';
19
- import '../../../../components/Action/models/ActionStateContext.mjs';
20
- import 'remeda';
21
- import '../ResetButton/ResetButton.mjs';
22
- import { Action } from '../../../../components/Action/Action.mjs';
23
- import '@react-aria/live-announcer';
24
- import { useMergeRefs } from 'use-callback-ref';
4
+ import '../../../../components/Button/Button.mjs';
5
+ import { useFormContext } from '../FormContextProvider/FormContextProvider.mjs';
6
+ import { FormSubmitAction } from '../FormSubmitAction/FormSubmitAction.mjs';
7
+ import ButtonView from '../../../../views/ButtonView.mjs';
25
8
 
26
- const SubmitButton = flowComponent(
27
- "SubmitButton",
28
- (props) => {
29
- const {
30
- children,
31
- ref,
32
- buttonComponent: ButtonComponent = Button,
33
- ...rest
34
- } = props;
35
- const {
36
- id: formId = props.form,
37
- formActionModel,
38
- submitButtonRef: submitButtonRefFromFormContext
39
- } = useFormContext();
40
- const ButtonViewComponent = useMemo(() => ButtonComponent, [formId]);
41
- const submitButtonRefFromProps = useObjectRef(ref);
42
- const submitButtonRef = useMergeRefs([
43
- submitButtonRefFromProps,
44
- submitButtonRefFromFormContext
45
- ]);
46
- return /* @__PURE__ */ jsx(Action, { actionModel: formActionModel, children: /* @__PURE__ */ jsx(
47
- ButtonViewComponent,
48
- {
49
- ...rest,
50
- ref: submitButtonRef,
51
- type: "submit",
52
- form: formId,
53
- children
54
- }
55
- ) });
56
- },
57
- {
58
- type: "provider"
59
- }
60
- );
9
+ const SubmitButton = (props) => {
10
+ const { children, isReadOnly: isReadOnlyProp, ...rest } = props;
11
+ const formContext = useFormContext();
12
+ const isReadOnly = isReadOnlyProp || formContext.isReadOnly;
13
+ return /* @__PURE__ */ jsx(FormSubmitAction, { children: /* @__PURE__ */ jsx(
14
+ ButtonView,
15
+ {
16
+ ...rest,
17
+ type: "submit",
18
+ form: formContext.id,
19
+ isReadOnly,
20
+ children
21
+ }
22
+ ) });
23
+ };
61
24
 
62
25
  export { SubmitButton, SubmitButton as default };
63
26
  //# sourceMappingURL=SubmitButton.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubmitButton.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/SubmitButton/SubmitButton.tsx"],"sourcesContent":["import { Button, type ButtonProps } from \"@/components/Button\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { useFormContext } from \"@/integrations/react-hook-form\";\nimport { Action } from \"@/components/Action\";\nimport { useObjectRef } from \"@react-aria/utils\";\nimport { useMergeRefs } from \"use-callback-ref\";\nimport { type FC, useMemo } from \"react\";\n\nexport type SubmitButtonProps = Omit<\n ButtonProps,\n \"isFailed\" | \"isSucceeded\" | \"isPending\" | \"isReadOnly\" | \"type\"\n> & {\n buttonComponent?: FC<Omit<ButtonProps, \"ref\">>;\n};\n\nexport const SubmitButton = flowComponent(\n \"SubmitButton\",\n (props) => {\n const {\n children,\n ref,\n buttonComponent: ButtonComponent = Button,\n ...rest\n } = props;\n\n const {\n id: formId = props.form,\n formActionModel,\n submitButtonRef: submitButtonRefFromFormContext,\n } = useFormContext();\n const ButtonViewComponent = useMemo(() => ButtonComponent, [formId]);\n\n const submitButtonRefFromProps = useObjectRef(ref);\n const submitButtonRef = useMergeRefs([\n submitButtonRefFromProps,\n submitButtonRefFromFormContext,\n ]);\n\n return (\n <Action actionModel={formActionModel}>\n <ButtonViewComponent\n {...rest}\n ref={submitButtonRef}\n type=\"submit\"\n form={formId}\n >\n {children}\n </ButtonViewComponent>\n </Action>\n );\n },\n {\n type: \"provider\",\n },\n);\n\nexport default SubmitButton;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAeO,MAAM,YAAA,GAAe,aAAA;AAAA,EAC1B,cAAA;AAAA,EACA,CAAC,KAAA,KAAU;AACT,IAAA,MAAM;AAAA,MACJ,QAAA;AAAA,MACA,GAAA;AAAA,MACA,iBAAiB,eAAA,GAAkB,MAAA;AAAA,MACnC,GAAG;AAAA,KACL,GAAI,KAAA;AAEJ,IAAA,MAAM;AAAA,MACJ,EAAA,EAAI,SAAS,KAAA,CAAM,IAAA;AAAA,MACnB,eAAA;AAAA,MACA,eAAA,EAAiB;AAAA,QACf,cAAA,EAAe;AACnB,IAAA,MAAM,sBAAsB,OAAA,CAAQ,MAAM,eAAA,EAAiB,CAAC,MAAM,CAAC,CAAA;AAEnE,IAAA,MAAM,wBAAA,GAA2B,aAAa,GAAG,CAAA;AACjD,IAAA,MAAM,kBAAkB,YAAA,CAAa;AAAA,MACnC,wBAAA;AAAA,MACA;AAAA,KACD,CAAA;AAED,IAAA,uBACE,GAAA,CAAC,MAAA,EAAA,EAAO,WAAA,EAAa,eAAA,EACnB,QAAA,kBAAA,GAAA;AAAA,MAAC,mBAAA;AAAA,MAAA;AAAA,QACE,GAAG,IAAA;AAAA,QACJ,GAAA,EAAK,eAAA;AAAA,QACL,IAAA,EAAK,QAAA;AAAA,QACL,IAAA,EAAM,MAAA;AAAA,QAEL;AAAA;AAAA,KACH,EACF,CAAA;AAAA,EAEJ,CAAA;AAAA,EACA;AAAA,IACE,IAAA,EAAM;AAAA;AAEV;;;;"}
1
+ {"version":3,"file":"SubmitButton.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/SubmitButton/SubmitButton.tsx"],"sourcesContent":["import { type ButtonProps } from \"@/components/Button\";\nimport { useFormContext } from \"@/integrations/react-hook-form/components/FormContextProvider\";\nimport FormSubmitAction from \"@/integrations/react-hook-form/components/FormSubmitAction\";\nimport ButtonView from \"@/views/ButtonView\";\nimport type { FC } from \"react\";\n\nexport const SubmitButton: FC<ButtonProps> = (props) => {\n const { children, isReadOnly: isReadOnlyProp, ...rest } = props;\n\n const formContext = useFormContext();\n\n const isReadOnly = isReadOnlyProp || formContext.isReadOnly;\n\n return (\n <FormSubmitAction>\n <ButtonView\n {...rest}\n type=\"submit\"\n form={formContext.id}\n isReadOnly={isReadOnly}\n >\n {children}\n </ButtonView>\n </FormSubmitAction>\n );\n};\n\nexport default SubmitButton;\n"],"names":[],"mappings":";;;;;;AAMO,MAAM,YAAA,GAAgC,CAAC,KAAA,KAAU;AACtD,EAAA,MAAM,EAAE,QAAA,EAAU,UAAA,EAAY,cAAA,EAAgB,GAAG,MAAK,GAAI,KAAA;AAE1D,EAAA,MAAM,cAAc,cAAA,EAAe;AAEnC,EAAA,MAAM,UAAA,GAAa,kBAAkB,WAAA,CAAY,UAAA;AAEjD,EAAA,2BACG,gBAAA,EAAA,EACC,QAAA,kBAAA,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,IAAA,EAAK,QAAA;AAAA,MACL,MAAM,WAAA,CAAY,EAAA;AAAA,MAClB,UAAA;AAAA,MAEC;AAAA;AAAA,GACH,EACF,CAAA;AAEJ;;;;"}
@@ -4,5 +4,5 @@ export { Field, typedField } from './components/src/integrations/react-hook-form
4
4
  export { Form } from './components/src/integrations/react-hook-form/components/Form/Form.mjs';
5
5
  export { SubmitButton } from './components/src/integrations/react-hook-form/components/SubmitButton/SubmitButton.mjs';
6
6
  export { ResetButton } from './components/src/integrations/react-hook-form/components/ResetButton/ResetButton.mjs';
7
- export { useFormContext, useOptionalFormContext } from './components/src/integrations/react-hook-form/components/context/formContext.mjs';
7
+ export { useFormContext, useOptionalFormContext } from './components/src/integrations/react-hook-form/components/FormContextProvider/FormContextProvider.mjs';
8
8
  //# sourceMappingURL=react-hook-form.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/components/Action/Action.tsx"],"names":[],"mappings":"AAgDA,eAAO,MAAM,MAAM,kHA6DlB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/components/Action/Action.tsx"],"names":[],"mappings":"AAgDA,eAAO,MAAM,MAAM,kHA2DlB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -23,6 +23,7 @@ export declare class ActionState {
23
23
  private startFailedFeedback;
24
24
  private startSucceededFeedback;
25
25
  private resetAfterDone;
26
+ private clearPendingTimeout;
26
27
  private onDone;
27
28
  private startPending;
28
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ActionState.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/models/ActionState.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,aAAa,GACb,WAAW,GACX,aAAa,GACb,UAAU,CAAC;AAEf,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,qBAAa,WAAW;IACtB,OAAO,CAAC,YAAY,CAAC,CAAU;IACxB,KAAK,EAAE,gBAAgB,CAAY;IAC1C,OAAO,CAAC,iBAAiB,CAAqB;IACvC,KAAK,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,OAAO,CAAS;;WAUV,MAAM,IAAI,WAAW;IAI5B,WAAW,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAI7C,QAAQ,IAAI,gBAAgB;IAI5B,SAAS,IAAI,OAAO;IAI3B,IAAW,MAAM,IAAI,OAAO,CAE3B;IAEM,YAAY,IAAI,IAAI;IASd,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAK9C,YAAY,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,WAAW;YAKtC,mBAAmB;YAMnB,sBAAsB;IAMpC,OAAO,CAAC,cAAc;YAMR,MAAM;IAgBpB,OAAO,CAAC,YAAY;CAGrB"}
1
+ {"version":3,"file":"ActionState.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/models/ActionState.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,aAAa,GACb,WAAW,GACX,aAAa,GACb,UAAU,CAAC;AAEf,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,qBAAa,WAAW;IACtB,OAAO,CAAC,YAAY,CAAC,CAAU;IACxB,KAAK,EAAE,gBAAgB,CAAY;IAC1C,OAAO,CAAC,iBAAiB,CAAqB;IACvC,KAAK,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,OAAO,CAAS;;WAUV,MAAM,IAAI,WAAW;IAI5B,WAAW,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAI7C,QAAQ,IAAI,gBAAgB;IAI5B,SAAS,IAAI,OAAO;IAI3B,IAAW,MAAM,IAAI,OAAO,CAE3B;IAEM,YAAY,IAAI,IAAI;IAUd,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAK9C,YAAY,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,WAAW;YAKtC,mBAAmB;YAMnB,sBAAsB;IAMpC,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,mBAAmB;YAMb,MAAM;IAcpB,OAAO,CAAC,YAAY;CAGrB"}
@@ -1,5 +1,8 @@
1
1
  export declare const syncFunction: import('storybook/actions').HandlerFunction;
2
+ export declare const syncFunctionWithError: () => never;
2
3
  export declare const asyncFunction: (...args: unknown[]) => Promise<void>;
3
4
  export declare const asyncLongFunction: (...args: unknown[]) => Promise<void>;
5
+ export declare const asyncLongFunctionWithError: (...args: unknown[]) => Promise<never>;
6
+ export declare const asyncFunctionWithError: (...args: unknown[]) => Promise<never>;
4
7
  export declare const button: import("react/jsx-runtime").JSX.Element;
5
8
  //# sourceMappingURL=lib.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/stories/lib.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,6CAAiB,CAAC;AAK3C,eAAO,MAAM,aAAa,GAAU,GAAG,MAAM,OAAO,EAAE,kBAIrD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,GAAG,MAAM,OAAO,EAAE,kBAMzD,CAAC;AAEF,eAAO,MAAM,MAAM,yCAAkD,CAAC"}
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/stories/lib.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,6CAAiB,CAAC;AAC3C,eAAO,MAAM,qBAAqB,aAGjC,CAAC;AAKF,eAAO,MAAM,aAAa,GAAU,GAAG,MAAM,OAAO,EAAE,kBAIrD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,GAAG,MAAM,OAAO,EAAE,kBAMzD,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAU,GAAG,MAAM,OAAO,EAAE,mBAGlE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAU,GAAG,MAAM,OAAO,EAAE,mBAG9D,CAAC;AAEF,eAAO,MAAM,MAAM,yCAAkD,CAAC"}
@@ -5,7 +5,7 @@ export interface HeadingProps extends Aria.HeadingProps, FlowComponentProps {
5
5
  /** The font size of the heading. */
6
6
  size?: "xs" | "s" | "m" | "l" | "xl" | "xxl";
7
7
  /** The color of the heading. @default "primary" */
8
- color?: "primary" | "danger" | "dark" | "light";
8
+ color?: "primary" | "danger" | "unavailable" | "dark" | "light";
9
9
  /** The text-wrap property of the text. @default undefined */
10
10
  wrap?: "wrap" | "balance";
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAKvB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,YAAY,EAAE,kBAAkB;IACzE,oCAAoC;IACpC,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC;IAC7C,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAChD,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,wBAAwB;AACxB,eAAO,MAAM,OAAO,iGA6DlB,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAKvB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,YAAY,EAAE,kBAAkB;IACzE,oCAAoC;IACpC,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC;IAC7C,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC;IAChE,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,wBAAwB;AACxB,eAAO,MAAM,OAAO,iGA6DlB,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -9,5 +9,6 @@ export declare const WithCustomSize: Story;
9
9
  export declare const Dark: Story;
10
10
  export declare const Light: Story;
11
11
  export declare const Danger: Story;
12
+ export declare const Unavailable: Story;
12
13
  export declare const Wrap: Story;
13
14
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Heading/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,OAAO,MAAM,YAAY,CAAC;AAKjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAqB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Heading/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,OAAO,MAAM,YAAY,CAAC;AAKjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAqB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
@@ -2,7 +2,7 @@ import { ComponentProps, PropsWithChildren } from 'react';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
3
  export interface IllustratedMessageProps extends PropsWithChildren<ComponentProps<"div">>, FlowComponentProps {
4
4
  /** The color of the illustrated message. @default "primary" */
5
- color?: "primary" | "danger" | "light" | "dark";
5
+ color?: "primary" | "danger" | "unavailable" | "light" | "dark";
6
6
  }
7
7
  /** @flr-generate all */
8
8
  export declare const IllustratedMessage: import('react').FunctionComponent<IllustratedMessageProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"IllustratedMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/IllustratedMessage/IllustratedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,uBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAC9C,kBAAkB;IACpB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;CACjD;AAED,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,4GA4C9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"IllustratedMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/IllustratedMessage/IllustratedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,uBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAC9C,kBAAkB;IACpB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;CACjE;AAED,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,4GA4C9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -5,6 +5,7 @@ export default meta;
5
5
  type Story = StoryObj<typeof IllustratedMessage>;
6
6
  export declare const Default: Story;
7
7
  export declare const Danger: Story;
8
+ export declare const Unavailable: Story;
8
9
  export declare const Dark: Story;
9
10
  export declare const Light: Story;
10
11
  export declare const WithActionGroup: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/IllustratedMessage/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAkBvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAiBzC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAc7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/IllustratedMessage/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAmBvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAiBzC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAc7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC"}
@@ -99,8 +99,8 @@ export declare const typedList: <T, TMeta = unknown>() => {
99
99
  onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLTableRowElement> | undefined;
100
100
  id?: import('react-aria').Key | undefined;
101
101
  rel?: string | undefined;
102
- href?: import('@react-types/shared').Href | undefined;
103
102
  target?: import('react').HTMLAttributeAnchorTarget | undefined;
103
+ href?: import('@react-types/shared').Href | undefined;
104
104
  isDisabled?: boolean | undefined;
105
105
  onPress?: ((e: import('react-aria').PressEvent) => void) | undefined;
106
106
  onPressStart?: ((e: import('react-aria').PressEvent) => void) | undefined;
@@ -67,8 +67,6 @@ import { NavigationGroupProps } from '../Navigation/components/NavigationGroup';
67
67
  import { AutocompleteProps } from '../Autocomplete/Autocomplete';
68
68
  import { OptionsProps } from '../Options/Options';
69
69
  import { MarkdownEditorProps } from '../MarkdownEditor';
70
- import { SubmitButtonProps } from '../../integrations/react-hook-form/components/SubmitButton/SubmitButton';
71
- import { ResetButtonProps } from '../../integrations/react-hook-form/components/ResetButton/ResetButton';
72
70
  import { AlertTextProps } from '../AlertText';
73
71
  import { IllustratedMessageProps } from '../IllustratedMessage';
74
72
  import type * as Aria from "react-aria-components";
@@ -144,8 +142,6 @@ export interface FlowComponentPropsTypes {
144
142
  SegmentedControl: SegmentedControlProps;
145
143
  Select: SelectProps;
146
144
  Slider: SliderProps;
147
- SubmitButton: SubmitButtonProps;
148
- ResetButton: ResetButtonProps;
149
145
  Switch: SwitchProps;
150
146
  Tabs: TabsProps;
151
147
  TabTitle: TabsProps;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/propTypes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAq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S,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IACvB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,cAAc,EAAE,mBAAmB,CAAC;IACpC,QAAQ,EAAE,aAAa,CAAC;IACxB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,YAAY,CAAC;IACtB,aAAa,EAAE,kBAAkB,CAAC;IAClC,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,eAAe,CAAC;IAC5B,eAAe,EAAE,oBAAoB,CAAC;IACtC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,YAAY,CAAC;IACtB,cAAc,EAAE,mBAAmB,CAAC;IACpC,qBAAqB,EAAE,0BAA0B,CAAC;IAClD,WAAW,EAAE,gBAAgB,CAAC;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,UAAU,EAAE,eAAe,CAAC;IAC5B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,YAAY,CAAC;IACtB,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,cAAc,CAAC;CAC3B;AAsFD,eAAO,MAAM,gCAAgC,EAExC,iBAAiB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"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AC,CAAC,CAAU,CAAC;AAE5B,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,EAAE,EAEP,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,GAAG,EAKT,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACd,MAAM,iBAAiB,CAAC;AAIzB,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,WAAW,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;AAE1E,KAAK,iBAAiB,GAAG,EAAE,CACzB,iBAAiB,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACzD,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;CAC5B,CAAC,CACH,CAAC;AAEF,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,WAAW,CAC9C,SAAQ,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,EAC9C,iBAAiB;IACnB,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACvB,QAAQ,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAC;IACnD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAID,wBAAgB,IAAI,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,2CAsE9D;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Form/Form.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,EAAE,EAEP,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,GAAG,EAGT,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACd,MAAM,iBAAiB,CAAC;AAGzB,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,WAAW,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;AAE1E,KAAK,iBAAiB,GAAG,EAAE,CACzB,iBAAiB,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACzD,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;CAC5B,CAAC,CACH,CAAC;AAEF,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,WAAW,CAC9C,SAAQ,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,EAC9C,iBAAiB;IACnB,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACvB,QAAQ,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAC;IACnD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAID,wBAAgB,IAAI,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,2CA6C9D;AAED,eAAe,IAAI,CAAC"}
@@ -5,4 +5,8 @@ export default meta;
5
5
  type Story = StoryObj<typeof Form>;
6
6
  export declare const Default: Story;
7
7
  export declare const ReadOnly: Story;
8
+ export declare const WithHandledSubmitError: Story;
9
+ export declare const WithUnhandledSubmitError: Story;
10
+ export declare const WithUnhandledSubmitErrorSync: Story;
11
+ export declare const WithValidationError: Story;
8
12
  //# sourceMappingURL=Form.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Form.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Form/stories/Form.stories.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAG3E,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAgD3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAAsC,CAAC"}
1
+ {"version":3,"file":"Form.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Form/stories/Form.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAE3E,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAqBvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA2B3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAAsC,CAAC;AAE9D,eAAO,MAAM,sBAAsB,EAAE,KAgCpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAwBtC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,KAwB1C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAgCjC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Ref } from 'react';
2
+ interface Options {
3
+ ref: Ref<HTMLFormElement> | undefined;
4
+ handleSubmit: () => void;
5
+ }
6
+ export declare const useHotkeySubmit: (options: Options) => import('react').MutableRefObject<HTMLFormElement | null>;
7
+ export {};
8
+ //# sourceMappingURL=useHotkeySubmit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useHotkeySubmit.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Form/useHotkeySubmit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKjC,UAAU,OAAO;IACf,GAAG,EAAE,GAAG,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IACtC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,6DAU/C,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
3
+ import { ActionModel } from '../../../../components/Action/models/ActionModel';
4
+ interface FormContext {
5
+ form: UseFormReturn;
6
+ id: string;
7
+ isReadOnly: boolean;
8
+ setReadOnly: Dispatch<SetStateAction<boolean>>;
9
+ formSubmitAction: ActionModel;
10
+ }
11
+ export declare const FormContext: import('react').Context<FormContext | undefined>;
12
+ export interface FormContextProviderProps extends PropsWithChildren {
13
+ form: UseFormReturn;
14
+ id: string;
15
+ isReadOnly?: boolean;
16
+ }
17
+ export declare const FormContextProvider: (props: FormContextProviderProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const useFormContext: () => FormContext;
19
+ export declare const useOptionalFormContext: () => FormContext | undefined;
20
+ export default FormContextProvider;
21
+ //# sourceMappingURL=FormContextProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormContextProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/FormContextProvider/FormContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAI1E,UAAU,WAAW;IACnB,IAAI,EAAE,aAAa,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/C,gBAAgB,EAAE,WAAW,CAAC;CAC/B;AAED,eAAO,MAAM,WAAW,kDAAoD,CAAC;AAE7E,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,IAAI,EAAE,aAAa,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,4CAwBlE,CAAC;AAEF,eAAO,MAAM,cAAc,mBAO1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,+BAAgC,CAAC;AAEpE,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './FormContextProvider';
2
+ export { FormContextProvider, type FormContextProviderProps, useFormContext, useOptionalFormContext, } from './FormContextProvider';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/FormContextProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mFAAmF,CAAC;AAC5G,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,cAAc,EACd,sBAAsB,GACvB,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { ActionModel } from '../../../../components/Action/models/ActionModel';
2
+ import { UseFormReturn } from 'react-hook-form';
3
+ interface Options {
4
+ form: UseFormReturn;
5
+ setReadOnly: (isReadOnly: boolean) => void;
6
+ }
7
+ export declare const useFormSubmitAction: (options: Options) => ActionModel;
8
+ export {};
9
+ //# sourceMappingURL=useFormSubmitAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFormSubmitAction.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/FormContextProvider/useFormSubmitAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,OAAO;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,gBAiCnD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ export declare const FormSubmitAction: FC<PropsWithChildren>;
3
+ export default FormSubmitAction;
4
+ //# sourceMappingURL=FormSubmitAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormSubmitAction.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/FormSubmitAction/FormSubmitAction.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAIlD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default, FormSubmitAction } from './FormSubmitAction';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/FormSubmitAction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,10 +1,5 @@
1
1
  import { ButtonProps } from '../../../../components/Button';
2
2
  import { FC } from 'react';
3
- export type ResetButtonProps = Omit<ButtonProps, "isFailed" | "isSucceeded" | "isPending" | "isReadOnly" | "type"> & {
4
- buttonComponent?: FC<Omit<ButtonProps, "ref">>;
5
- };
6
- export declare const ResetButton: import('react').FunctionComponent<Omit<ButtonProps, "isFailed" | "isSucceeded" | "isPending" | "isReadOnly" | "type"> & {
7
- buttonComponent?: FC<Omit<ButtonProps, "ref">>;
8
- } & import('react').RefAttributes<HTMLButtonElement>>;
3
+ export declare const ResetButton: FC<ButtonProps>;
9
4
  export default ResetButton;
10
5
  //# sourceMappingURL=ResetButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResetButton.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/ResetButton/ResetButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/D,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAEzC,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,WAAW,EACX,UAAU,GAAG,aAAa,GAAG,WAAW,GAAG,YAAY,GAAG,MAAM,CACjE,GAAG;IACF,eAAe,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,WAAW;sBAHJ,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;qDA6B9C,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ResetButton.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/ResetButton/ResetButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGvD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,WAAW,CAwBvC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { default } from './ResetButton';
2
- export { ResetButton, type ResetButtonProps } from './ResetButton';
2
+ export { ResetButton } from './ResetButton';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/ResetButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mEAAmE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/ResetButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mEAAmE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1,10 +1,5 @@
1
1
  import { ButtonProps } from '../../../../components/Button';
2
2
  import { FC } from 'react';
3
- export type SubmitButtonProps = Omit<ButtonProps, "isFailed" | "isSucceeded" | "isPending" | "isReadOnly" | "type"> & {
4
- buttonComponent?: FC<Omit<ButtonProps, "ref">>;
5
- };
6
- export declare const SubmitButton: import('react').FunctionComponent<Omit<ButtonProps, "isFailed" | "isSucceeded" | "isPending" | "isReadOnly" | "type"> & {
7
- buttonComponent?: FC<Omit<ButtonProps, "ref">>;
8
- } & import('react').RefAttributes<HTMLButtonElement>>;
3
+ export declare const SubmitButton: FC<ButtonProps>;
9
4
  export default SubmitButton;
10
5
  //# sourceMappingURL=SubmitButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubmitButton.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/SubmitButton/SubmitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAM/D,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,WAAW,EACX,UAAU,GAAG,aAAa,GAAG,WAAW,GAAG,YAAY,GAAG,MAAM,CACjE,GAAG;IACF,eAAe,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,YAAY;sBAHL,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;qDA0C/C,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"SubmitButton.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/SubmitButton/SubmitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAIvD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CAmBxC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { default } from './SubmitButton';
2
- export { SubmitButton, type SubmitButtonProps } from './SubmitButton';
2
+ export { SubmitButton } from './SubmitButton';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/SubmitButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qEAAqE,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/SubmitButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qEAAqE,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -2,5 +2,5 @@ export * from './components/Field';
2
2
  export * from './components/Form';
3
3
  export * from './components/SubmitButton';
4
4
  export * from './components/ResetButton';
5
- export { useFormContext, useOptionalFormContext, } from './components/context/formContext';
5
+ export { useFormContext, useOptionalFormContext, } from './components/FormContextProvider';
6
6
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.642",
3
+ "version": "0.2.0-alpha.644",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "@internationalized/string-compiler": "^3.2.6",
60
60
  "@mittwald/password-tools-js": "3.0.0-alpha.18",
61
- "@mittwald/react-tunnel": "0.2.0-alpha.642",
61
+ "@mittwald/react-tunnel": "0.2.0-alpha.644",
62
62
  "@mittwald/react-use-promise": "^4.2.2",
63
63
  "@react-aria/form": "^3.1.2",
64
64
  "@react-aria/live-announcer": "^3.4.4",
@@ -103,7 +103,7 @@
103
103
  "@faker-js/faker": "^10.1.0",
104
104
  "@internationalized/date": "^3.10.0",
105
105
  "@mittwald/flow-core": "",
106
- "@mittwald/flow-design-tokens": "0.2.0-alpha.642",
106
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.644",
107
107
  "@mittwald/react-use-promise": "^4.2.2",
108
108
  "@mittwald/remote-dom-react": "1.2.2-mittwald.10",
109
109
  "@mittwald/typescript-config": "",
@@ -172,5 +172,5 @@
172
172
  "optional": true
173
173
  }
174
174
  },
175
- "gitHead": "b0ee1ce517896287d5ef55c61bdd6690f1868f2a"
175
+ "gitHead": "3bc2ceb53f59c3d00acd0560d0cdc59afb8ac310"
176
176
  }