@luscii-healthtech/web-ui 2.69.0 → 2.69.1

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.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Control, RegisterOptions } from "react-hook-form";
2
+ import { Control, RegisterOptions } from "react-hook-form/dist/index.ie11";
3
3
  import { TextareaProps } from "../Textarea/Textarea";
4
4
  import { FieldTextareaConfiguration, FormFieldLabelerWithFormProps } from "./form.types";
5
5
  interface FormTextareaProps extends FieldTextareaConfiguration, Omit<TextareaProps, "name">, FormFieldLabelerWithFormProps {
@@ -34,7 +34,6 @@ var htmlToDraft = _interopDefault(require('html-to-draftjs'));
34
34
  require('react-draft-wysiwyg/dist/react-draft-wysiwyg.css');
35
35
  var pick = _interopDefault(require('lodash/pick'));
36
36
  var index_ie11 = require('react-hook-form/dist/index.ie11');
37
- var reactHookForm = require('react-hook-form');
38
37
 
39
38
  function _regeneratorRuntime() {
40
39
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
@@ -8552,7 +8551,7 @@ var FormTextarea = /*#__PURE__*/React__default.forwardRef(function (_ref, innerR
8552
8551
  label: label,
8553
8552
  info: info,
8554
8553
  decoratorClassname: decoratorClassname
8555
- }, /*#__PURE__*/React__default.createElement(reactHookForm.Controller, {
8554
+ }, /*#__PURE__*/React__default.createElement(index_ie11.Controller, {
8556
8555
  name: name,
8557
8556
  control: control,
8558
8557
  rules: rules,