hrm_ui_lib 1.6.21 → 1.6.23

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.
@@ -174,9 +174,10 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
174
174
  ref: _ref2,
175
175
  type: type,
176
176
  placeholder: placeHolder,
177
- onChange: changeHandler,
178
177
  "data-id": dataId
179
- }, rest, currentValue !== undefined ? {
178
+ }, rest, {
179
+ onChange: changeHandler
180
+ }, currentValue !== undefined ? {
180
181
  value: currentValue
181
182
  } : {}));
182
183
  return /*#__PURE__*/React.createElement("div", {
@@ -109,9 +109,10 @@ var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
109
109
  "data-id": dataId,
110
110
  disabled: disabled,
111
111
  ref: ref,
112
- placeholder: placeHolder,
112
+ placeholder: placeHolder
113
+ }, rest, {
113
114
  onChange: handleChange
114
- }, rest, currentValue ? {
115
+ }, currentValue ? {
115
116
  value: currentValue
116
117
  } : {}))), error || successMessage || helperText || maxCount ? /*#__PURE__*/React.createElement("div", {
117
118
  className: "textarea__message mt-8"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hrm_ui_lib",
3
- "version": "1.6.21",
3
+ "version": "1.6.23",
4
4
  "description": "UI library for Dino",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -20,7 +20,7 @@
20
20
  "@hookform/resolvers": "^2.9.11",
21
21
  "classnames": "^2.3.2",
22
22
  "dayjs": "^1.11.10",
23
- "framer-motion": "12.6.3",
23
+ "framer-motion": "12.8.0",
24
24
  "react-datepicker": "^4.25.0",
25
25
  "react-dropzone": "^11.4.2",
26
26
  "react-hook-form": "^7.50.0",