@linzjs/lui 17.45.3 → 17.45.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [17.45.4](https://github.com/linz/lui/compare/v17.45.3...v17.45.4) (2023-03-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * To trigger publishing ([#905](https://github.com/linz/lui/issues/905)) ([43e3ebd](https://github.com/linz/lui/commit/43e3ebd3669e6e866b5152909e79c58cc615a1c1))
7
+
1
8
  ## [17.45.3](https://github.com/linz/lui/compare/v17.45.2...v17.45.3) (2023-03-22)
2
9
 
3
10
 
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { LuiTextInput } from '../LuiTextInput/LuiTextInput';
3
3
  declare type Props = Omit<Parameters<typeof LuiTextInput>[0], 'as'>;
4
- export declare const LuiDateInput: ({ inputProps, ...rest }: Props) => JSX.Element;
4
+ export declare const LuiDateInput: React.ForwardRefExoticComponent<Pick<Props, keyof import("../LuiTextInput/LuiTextInput").LuiTextInputProps | "key"> & React.RefAttributes<HTMLInputElement>>;
5
5
  export {};
package/dist/index.js CHANGED
@@ -15793,11 +15793,11 @@ var LuiTextAreaInput = function (props) {
15793
15793
  props.warning))));
15794
15794
  };
15795
15795
 
15796
- var LuiDateInput = function (_a) {
15796
+ var LuiDateInput = React__default["default"].forwardRef(function (_a, ref) {
15797
15797
  var inputProps = _a.inputProps, rest = __rest$1(_a, ["inputProps"]);
15798
15798
  var mapped = __assign$3({ inputProps: __assign$3(__assign$3({}, inputProps), { type: 'date' }) }, rest);
15799
- return React__default["default"].createElement(LuiTextInput, __assign$3({}, mapped));
15800
- };
15799
+ return React__default["default"].createElement(LuiTextInput, __assign$3({}, mapped, { ref: ref }));
15800
+ });
15801
15801
 
15802
15802
  // @NOTE Can use LuiRadioInput in block form and pass through your own legend (label)
15803
15803
  var LuiRadioInput = function (props) {