@linzjs/lui 17.45.2 → 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,17 @@
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
+
8
+ ## [17.45.3](https://github.com/linz/lui/compare/v17.45.2...v17.45.3) (2023-03-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * removed electric link colour override ([#904](https://github.com/linz/lui/issues/904)) ([c39b792](https://github.com/linz/lui/commit/c39b792d230553e3407506298811900e33ea001a))
14
+
1
15
  ## [17.45.2](https://github.com/linz/lui/compare/v17.45.1...v17.45.2) (2023-03-22)
2
16
 
3
17
 
@@ -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) {
@@ -39959,7 +39959,7 @@ function isChromatic() {
39959
39959
  (window === null || window === void 0 ? void 0 : window.location.href.match(/chromatic=true/)));
39960
39960
  }
39961
39961
 
39962
- var css_248z$7 = ":export {\n charcoal: #2a292c;\n fuscous: #6b6966;\n gray: #989189;\n silver: #beb9b4;\n lily: #eaeaea;\n dew: #DAD7D6;\n hint: #f9f9f9;\n snow: #ffffff;\n white: #ffffff;\n teal: #00425d;\n sea: #007198;\n electric: #0096cc;\n spray: #73c8e1;\n polar: #e2f3f7;\n memesia: #1F69C3;\n sherpa: #004b50;\n surfie: #017a76;\n persian: #00a599;\n downy: #73cdc8;\n iceberg: #dcf5f0;\n sacramento: #004e32;\n salem: #08814d;\n pigment: #0aa245;\n granny: #9bd79b;\n panache: #e9fae7;\n brand-primary: #004b50;\n brand-secondary: #017a76;\n engine: #cc0000;\n carrot: #EA6A2E;\n kendall: #F5CCCC;\n elizabeth: #FBDED0;\n andrea: #3A7CDF;\n celestial: #D7E5F9;\n golf: #0AA345;\n error: #cc0000;\n error-bg: #F5CCCC;\n error-focus: #5a0000;\n warning: #EA6A2E;\n warning-bg: #fbdfd2;\n warning-focus: #b33a01;\n success: #0aa245;\n success-bg: #e9fae7;\n info: #3A7CDF;\n info-bg: #d8e5f9;\n visited: #00425d;\n green-hover: #107c3a;\n green-active: #094a22;\n green-btn: #0aa245;\n txt-link: #0096cc;\n primary-hover-btn: #005678;\n selection: #c7e9f3;\n heading-color: #017a76;\n heading-color--secondary: #2a292c;\n base-type-color: #2a292c;\n input-text: #2a292c;\n input-placeholder: #6b6966;\n input-placeholder-when-disabled: #989189;\n base-icon-color: #007198;\n disabled-color: #989189;\n disabled-color-dark: #6b6966;\n linz-color-primary: #023d48;\n linz-color-primary-hover: #01818a;\n linz-color-tertiary: #e1e44a;\n linz-color-tertiary-hover: #cdcf59;\n color-test-pink: #f09;\n linz-linear-gradient-blue: linear-gradient(70deg, #00425d 12%, #007198 100%);\n linz-linear-gradient-teal: linear-gradient(270deg, #00a599 1%, #73cdc8 100%);\n}";
39962
+ var css_248z$7 = ":export {\n charcoal: #2a292c;\n fuscous: #6b6966;\n gray: #989189;\n silver: #beb9b4;\n lily: #eaeaea;\n dew: #DAD7D6;\n hint: #f9f9f9;\n snow: #ffffff;\n white: #ffffff;\n teal: #00425d;\n sea: #007198;\n electric: #0096cc;\n spray: #73c8e1;\n polar: #e2f3f7;\n memesia: #1F69C3;\n sherpa: #004b50;\n surfie: #017a76;\n persian: #00a599;\n downy: #73cdc8;\n iceberg: #dcf5f0;\n sacramento: #004e32;\n salem: #08814d;\n pigment: #0aa245;\n granny: #9bd79b;\n panache: #e9fae7;\n brand-primary: #004b50;\n brand-secondary: #017a76;\n engine: #cc0000;\n carrot: #EA6A2E;\n kendall: #F5CCCC;\n elizabeth: #FBDED0;\n andrea: #3A7CDF;\n celestial: #D7E5F9;\n golf: #0AA345;\n error: #cc0000;\n error-bg: #F5CCCC;\n error-focus: #5a0000;\n warning: #EA6A2E;\n warning-bg: #fbdfd2;\n warning-focus: #b33a01;\n success: #0aa245;\n success-bg: #e9fae7;\n info: #3A7CDF;\n info-bg: #d8e5f9;\n visited: #00425d;\n green-hover: #107c3a;\n green-active: #094a22;\n green-btn: #0aa245;\n txt-link: #1F69C3;\n primary-hover-btn: #005678;\n selection: #c7e9f3;\n heading-color: #017a76;\n heading-color--secondary: #2a292c;\n base-type-color: #2a292c;\n input-text: #2a292c;\n input-placeholder: #6b6966;\n input-placeholder-when-disabled: #989189;\n base-icon-color: #007198;\n disabled-color: #989189;\n disabled-color-dark: #6b6966;\n linz-color-primary: #023d48;\n linz-color-primary-hover: #01818a;\n linz-color-tertiary: #e1e44a;\n linz-color-tertiary-hover: #cdcf59;\n color-test-pink: #f09;\n linz-linear-gradient-blue: linear-gradient(70deg, #00425d 12%, #007198 100%);\n linz-linear-gradient-teal: linear-gradient(270deg, #00a599 1%, #73cdc8 100%);\n}";
39963
39963
  styleInject(css_248z$7);
39964
39964
 
39965
39965
  var _excluded = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"];