@linzjs/lui 11.2.2 → 11.5.0
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 +28 -0
- package/dist/assets/icons/tick.svg +3 -0
- package/dist/components/LuiError/LuiError.d.ts +1 -1
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.d.ts +0 -1
- package/dist/components/LuiFormElements/{RadioInput → LuiRadioInput}/LuiRadioInput.d.ts +5 -5
- package/dist/components/LuiFormElements/{RadioInput → LuiRadioInput}/LuiRadioInput.stories.d.ts +1 -1
- package/dist/components/LuiFormElements/{RadioInput → LuiRadioInput}/LuiRadioInputWithFormik.stories.d.ts +1 -1
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +4 -1
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +4 -0
- package/dist/components/LuiIcon/LuiIcon.stories.d.ts +1 -2
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +1 -1
- package/dist/components/LuiShadow/LuiShadow.d.ts +0 -1
- package/dist/components/LuiShadow/LuiShadow.stories.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/lui.cjs.development.js +28 -43
- package/dist/lui.cjs.development.js.map +1 -1
- package/dist/lui.cjs.production.min.js +1 -1
- package/dist/lui.cjs.production.min.js.map +1 -1
- package/dist/lui.css +517 -0
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +28 -43
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiError/LuiError.scss +14 -0
- package/dist/scss/Components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.scss +151 -0
- package/dist/scss/Components/LuiFormElements/LuiRadioInput/LuiRadioInput.scss +86 -0
- package/dist/scss/Components/LuiFormElements/LuiSelectInput/LuiSelectInput.scss +89 -0
- package/dist/scss/Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss +83 -0
- package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +131 -0
- package/dist/scss/Components/LuiShadow/LuiShadow.scss +16 -0
- package/dist/scss/base.scss +10 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# [11.5.0](https://github.com/linz/lui/compare/v11.4.0...v11.5.0) (2022-01-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **LuiSelectInput:** Remove width limitation ([#504](https://github.com/linz/lui/issues/504)) ([2531015](https://github.com/linz/lui/commit/253101530422711ae154b1adca32ebbfe1213b13))
|
|
7
|
+
|
|
8
|
+
# [11.4.0](https://github.com/linz/lui/compare/v11.3.1...v11.4.0) (2022-01-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* Exposes styles for all non-formik form elements ([#503](https://github.com/linz/lui/issues/503)) ([5f7e508](https://github.com/linz/lui/commit/5f7e508d426adc02dbe768d3b3a19e778567ab83))
|
|
14
|
+
|
|
15
|
+
## [11.3.1](https://github.com/linz/lui/compare/v11.3.0...v11.3.1) (2021-12-21)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* Adds Styles for LuiRadioInput ([#500](https://github.com/linz/lui/issues/500)) ([038434e](https://github.com/linz/lui/commit/038434e19e449ae8946d6dc389bd5037b9be0f1f))
|
|
21
|
+
|
|
22
|
+
# [11.3.0](https://github.com/linz/lui/compare/v11.2.2...v11.3.0) (2021-12-20)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **LuiTextInput:** Added mandatory star ([#502](https://github.com/linz/lui/issues/502)) ([e6f6bde](https://github.com/linz/lui/commit/e6f6bde0a5dbff3de1f32a7f32820910a21eaed9))
|
|
28
|
+
|
|
1
29
|
## [11.2.2](https://github.com/linz/lui/compare/v11.2.1...v11.2.2) (2021-12-20)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11">
|
|
2
|
+
<path fill="#FFF" d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z"/>
|
|
3
|
+
</svg>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ChangeEventHandler, InputHTMLAttributes } from 'react';
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export interface LuiRadioProps {
|
|
3
|
+
onChange: ChangeEventHandler<HTMLInputElement>;
|
|
4
|
+
selectedValue: string;
|
|
5
5
|
options: string[];
|
|
6
|
+
legend?: JSX.Element | string;
|
|
6
7
|
error?: string;
|
|
7
|
-
selectedValue: string;
|
|
8
8
|
isOptionDisabled?: (index: number) => boolean;
|
|
9
9
|
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
10
10
|
renderLabelFor?: (value: string) => JSX.Element;
|
|
11
11
|
}
|
|
12
|
-
export declare const LuiRadioInput: (props:
|
|
12
|
+
export declare const LuiRadioInput: (props: LuiRadioProps) => JSX.Element;
|
package/dist/components/LuiFormElements/{RadioInput → LuiRadioInput}/LuiRadioInput.stories.d.ts
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: import("./LuiRadioInput").
|
|
5
|
+
component: (props: import("./LuiRadioInput").LuiRadioProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
badges: BADGE[];
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (props: import("./LuiRadioInput").
|
|
4
|
+
component: (props: import("./LuiRadioInput").LuiRadioProps) => JSX.Element;
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const LuiRadioButtonInputWithFormikHooks: {
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { ChangeEventHandler, InputHTMLAttributes } from 'react';
|
|
2
|
-
import './LuiTextInput.scss';
|
|
3
2
|
export interface LuiTextInputProps {
|
|
4
3
|
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
5
4
|
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
6
5
|
error?: string;
|
|
7
6
|
hideLabel?: boolean;
|
|
8
7
|
label: JSX.Element | string;
|
|
8
|
+
/**
|
|
9
|
+
* A red star will be shown next to the label, no validation will be performed based on this prop.
|
|
10
|
+
*/
|
|
11
|
+
mandatory?: boolean;
|
|
9
12
|
value: string;
|
|
10
13
|
}
|
|
11
14
|
export declare function useGenerateOrDefaultId(idFromProps?: string): string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import './
|
|
3
|
-
import './LuiIcon.scss';
|
|
2
|
+
import './iconStory.scss';
|
|
4
3
|
declare const _default: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: ({ name, className, size, title, alt, status, spanProps, }: import("./LuiIcon").LuiIconProps) => JSX.Element | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export { LuiFileInputBox } from './components/LuiFormElements/LuiFileInputBox/Lu
|
|
|
18
18
|
export { LuiSelectInput } from './components/LuiFormElements/LuiSelectInput/LuiSelectInput';
|
|
19
19
|
export { LuiTextAreaInput } from './components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput';
|
|
20
20
|
export { LuiTextInput } from './components/LuiFormElements/LuiTextInput/LuiTextInput';
|
|
21
|
-
export { LuiRadioInput } from './components/LuiFormElements/
|
|
21
|
+
export { LuiRadioInput } from './components/LuiFormElements/LuiRadioInput/LuiRadioInput';
|
|
22
22
|
export { LuiFormikCheckbox } from './components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox';
|
|
23
23
|
export { LuiFormikTextInput } from './components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput';
|
|
24
24
|
export { LuiFormikFormLabel } from './components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel';
|
|
@@ -619,11 +619,6 @@ function LuiFormikForm(props) {
|
|
|
619
619
|
}, React__default.createElement(formik.Form, null, props.children, " ")));
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
623
|
-
|
|
624
|
-
var css = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n:root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\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 --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\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}\n\n.LuiCheckboxInput_LuiCheckboxInput__6b87fd8c {\n margin-bottom: 24px;\n box-sizing: border-box;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputGroup__6b87fd8c {\n display: block;\n user-select: none;\n cursor: pointer;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n padding: 2px;\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: 600;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5rem;\n color: #2a292c;\n margin-bottom: 0;\n}\n.LuiCheckboxInput_isDisabled__6b87fd8c .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c {\n cursor: not-allowed;\n color: #989189;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputInput__6b87fd8c {\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before {\n font-size: 18px;\n line-height: 10px;\n content: \" \";\n display: block;\n text-align: center;\n color: transparent;\n width: 23px;\n height: 23px;\n border: 2px solid #007198;\n margin-right: 0.5rem;\n border-radius: 5px;\n transition: all 0.2s ease-in-out;\n}\n.LuiCheckboxInput_hasError__6b87fd8c .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before {\n border-color: #eb5757;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputError__6b87fd8c {\n margin-top: 2px;\n text-align: left;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputErrorIcon__6b87fd8c {\n margin-left: 2rem;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputInput__6b87fd8c:checked + .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before,\n.LuiCheckboxInput_LuiCheckboxInput_IsChecked__6b87fd8c .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before {\n color: white;\n background: #007198 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNCAxMSI+CiAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNLjI5NyA0LjkzNGExLjAxMyAxLjAxMyAwIDAgMSAxLjM0NC0uMDc4bC4wODguMDc4TDUuMjU0IDguNDYgMTIuMjE5LjM1M2ExLjAxMyAxLjAxMyAwIDAgMSAxLjMzNC0uMThsLjA5NC4wNzJjLjM5NC4zMzguNDY0LjkxNC4xOCAxLjMzNGwtLjA3Mi4wOTQtNy42NzYgOC45MzVhMS4wMTMgMS4wMTMgMCAwIDEtMS4zOTguMTM0bC0uMDg3LS4wNzhMLjI5NyA2LjM2N2ExLjAxMyAxLjAxMyAwIDAgMSAwLTEuNDMzWiIvPgo8L3N2Zz4=\") no-repeat 50% 50%;\n background-size: 15px;\n}\n\n.LuiCheckboxInput_LuiCheckboxInput_HasError__6b87fd8c .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before {\n border-color: #cc0000;\n}\n\n.LuiCheckboxInput_LuiCheckboxInput_HasError__6b87fd8c.LuiCheckboxInput_LuiCheckboxInput_IsChecked__6b87fd8c .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before {\n background-color: #cc0000;\n border-color: #cc0000;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputInput__6b87fd8c:disabled + .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before,\n.LuiCheckboxInput_LuiCheckboxInput_IsDisabled__6b87fd8c .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before {\n background-color: #989189;\n border-color: #989189;\n}\n\n.LuiCheckboxInput_LuiCheckboxInputInput__6b87fd8c:checked:disabled + .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before,\n.LuiCheckboxInput_LuiCheckboxInput_IsChecked__6b87fd8c.LuiCheckboxInput_LuiCheckboxInput_IsDisabled__6b87fd8c .LuiCheckboxInput_LuiCheckboxInputLabel__6b87fd8c::before {\n color: white;\n background-color: #989189;\n border-color: #989189;\n}\n\n.LuiCheckboxInput_LuiCheckboxInput_Inline__6b87fd8c {\n display: inline-block;\n}\n.LuiCheckboxInput_LuiCheckboxInput_Inline__6b87fd8c:not(:last-child) {\n margin-bottom: 0;\n margin-right: 24px;\n}";
|
|
625
|
-
n(css,{});
|
|
626
|
-
|
|
627
622
|
// NOTE: This is a generated file, nothing you do here matters
|
|
628
623
|
|
|
629
624
|
var ic_account_circle = /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -950,8 +945,10 @@ var LuiIcon = function LuiIcon(_ref) {
|
|
|
950
945
|
}, spanProps), iconSVG);
|
|
951
946
|
};
|
|
952
947
|
|
|
953
|
-
var
|
|
954
|
-
|
|
948
|
+
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
949
|
+
|
|
950
|
+
var css = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n:root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\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 --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\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}\n\n.LuiError_LuiError__b4d4eed5 {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: 600;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5rem;\n color: #2a292c;\n}\n.LuiError_LuiErrorErrorIcon__b4d4eed5 {\n vertical-align: middle;\n display: inline-block;\n}\n.LuiError_LuiErrorErrorText__b4d4eed5 {\n margin-left: 0.5rem;\n}";
|
|
951
|
+
n(css,{});
|
|
955
952
|
|
|
956
953
|
var LuiError = function LuiError(_ref) {
|
|
957
954
|
var error = _ref.error,
|
|
@@ -969,9 +966,6 @@ var LuiError = function LuiError(_ref) {
|
|
|
969
966
|
}, error));
|
|
970
967
|
};
|
|
971
968
|
|
|
972
|
-
var css$2 = ":root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\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 --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\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}\n\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiTextInput_LuiTextInput__947a60fa {\n margin-bottom: 24px;\n}\n.LuiTextInput_LuiTextInputLabel__947a60fa {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: 600;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5rem;\n color: #2a292c;\n}\n\n.LuiTextInput_LuiTextInputInputWrapper__947a60fa {\n position: relative;\n display: block;\n box-shadow: -1px 0 0 0 transparent;\n border-radius: 4px;\n transition: box-shadow 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s, border-color 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;\n}\n.LuiTextInput_hasError__947a60fa .LuiTextInput_LuiTextInputInputWrapper__947a60fa {\n box-shadow: -8px 0px 0 0 #cc0000;\n border-radius: 4px;\n}\n\n.LuiTextInput_LuiTextInputPasswordReveal__947a60fa {\n position: absolute;\n background: transparent;\n min-height: 0;\n min-width: 0;\n margin: 0;\n padding: 12px;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n}\n.LuiTextInput_LuiTextInputPasswordReveal__947a60fa:hover {\n background: transparent;\n}\n\n.LuiTextInput_LuiTextInputInput__947a60fa {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n margin-bottom: 0;\n border: 1px solid #b2b2b2;\n border-radius: 4px;\n height: 48px;\n color: #000000;\n caret-color: #000000;\n padding-top: 14px;\n padding-right: 32px;\n padding-bottom: 14px;\n padding-left: 16px;\n min-width: 300px;\n transition: all 0.15 ease-in-out;\n transition: border 0.2s ease;\n}\n.LuiTextInput_LuiTextInputInput__947a60fa::placeholder {\n font-weight: normal;\n color: #6b6966;\n opacity: 1;\n}\n.LuiTextInput_isDisabled__947a60fa .LuiTextInput_LuiTextInputInput__947a60fa::placeholder {\n color: #989189;\n}\n.LuiTextInput_LuiTextInputInput__947a60fa:hover, .LuiTextInput_LuiTextInputInput__947a60fa:active {\n border-color: #053d52;\n}\n.LuiTextInput_LuiTextInputInput__947a60fa:focus {\n outline: none;\n border-color: #053d52;\n}\n.LuiTextInput_hasError__947a60fa .LuiTextInput_LuiTextInputInput__947a60fa {\n border-color: #cc0000 !important;\n}\n.LuiTextInput_isDisabled__947a60fa .LuiTextInput_LuiTextInputInput__947a60fa {\n border-color: #beb9b4;\n background-color: #eaeaea;\n cursor: not-allowed;\n}\n\n.LuiTextInput_LuiTextInputError__947a60fa {\n position: relative;\n display: flex;\n color: #cc0000;\n text-align: left;\n padding-left: 22px;\n font-size: 14px;\n line-height: 20px;\n margin-top: 2px;\n}\n\n.LuiTextInput_LuiTextInputErrorIcon__947a60fa {\n position: absolute;\n left: 0;\n top: 2px;\n}\n\n.LuiTextInput_LuiFieldWrapper__947a60fa {\n position: relative;\n box-shadow: -1px 0 0 0 transparent;\n border-radius: 4px;\n transition: box-shadow 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s, border-color 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;\n}\n.LuiTextInput_LuiFieldWrapper__947a60fa input {\n transition: border 0.2s ease;\n}\n.LuiTextInput_LuiFieldWrapper__947a60fa.LuiTextInput_LuiFieldWrapper_Error__947a60fa {\n box-shadow: -12px 0px 0 0 #cc0000;\n border-radius: 4px;\n}\n.LuiTextInput_LuiFieldWrapper__947a60fa.LuiTextInput_LuiFieldWrapper_Error__947a60fa input {\n border-color: #cc0000;\n}";
|
|
973
|
-
n(css$2,{});
|
|
974
|
-
|
|
975
969
|
function useGenerateOrDefaultId(idFromProps) {
|
|
976
970
|
var _useState = React.useState(idFromProps ? idFromProps : uuid.v4()),
|
|
977
971
|
id = _useState[0];
|
|
@@ -987,7 +981,9 @@ var LuiTextInput = function LuiTextInput(props) {
|
|
|
987
981
|
}, React__default.createElement("label", {
|
|
988
982
|
className: 'LuiTextInput-label',
|
|
989
983
|
htmlFor: id
|
|
990
|
-
}, React__default.createElement("span", {
|
|
984
|
+
}, props.mandatory && React__default.createElement("span", {
|
|
985
|
+
className: "LuiTextInput-mandatory"
|
|
986
|
+
}, "*"), React__default.createElement("span", {
|
|
991
987
|
className: clsx(props.hideLabel ? 'LuiScreenReadersOnly' : '')
|
|
992
988
|
}, props.label), React__default.createElement("span", {
|
|
993
989
|
className: "LuiTextInput-inputWrapper"
|
|
@@ -1169,9 +1165,6 @@ var extensionsAsHumanReadableList = function extensionsAsHumanReadableList(exten
|
|
|
1169
1165
|
return uppercaseExtensions.slice(0, -1).join(', ') + " or " + uppercaseExtensions[extensions.length - 1];
|
|
1170
1166
|
};
|
|
1171
1167
|
|
|
1172
|
-
var css$3 = ":root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\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 --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\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}\n\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiSelectInput_LuiSelect__c0e7e1aa {\n margin-bottom: 24px;\n}\n\n.LuiSelectInput_LuiSelectLabelText__c0e7e1aa {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: 600;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5rem;\n color: #2a292c;\n}\n\n.LuiSelectInput_LuiSelectSelect__c0e7e1aa {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n margin-bottom: 0;\n border: 1px solid #b2b2b2;\n border-radius: 4px;\n display: block;\n height: 48px;\n color: #000000;\n caret-color: #000000;\n padding-right: 32px;\n padding-left: 16px;\n width: 100%;\n transition: all 0.15 ease-in-out;\n appearance: none;\n}\n.LuiSelectInput_LuiSelectSelect__c0e7e1aa:hover, .LuiSelectInput_LuiSelectSelect__c0e7e1aa:active {\n border-color: #053d52;\n cursor: pointer;\n}\n.LuiSelectInput_LuiSelectSelect__c0e7e1aa:focus {\n outline: none;\n border-color: #053d52;\n}\n.LuiSelectInput_hasError__c0e7e1aa .LuiSelectInput_LuiSelectSelect__c0e7e1aa {\n border-color: #eb5757;\n}\n.LuiSelectInput_isDisabled__c0e7e1aa .LuiSelectInput_LuiSelectSelect__c0e7e1aa {\n border-color: #b2b2b2;\n background-color: #fff;\n color: #b2b2b2;\n opacity: 0.3;\n cursor: not-allowed;\n}\n.LuiSelectInput_hasPlaceholder__c0e7e1aa .LuiSelectInput_LuiSelectSelect__c0e7e1aa {\n color: #b2b2b2;\n}\n.LuiSelectInput_hasValue__c0e7e1aa .LuiSelectInput_LuiSelectSelect__c0e7e1aa {\n color: #2a292c;\n}\n\n.LuiSelectInput_LuiSelectWrapper__c0e7e1aa {\n position: relative;\n max-width: 300px;\n}\n\n.LuiSelectInput_LuiSelectChevronIcon__c0e7e1aa {\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n pointer-events: none;\n}\n\n.LuiSelectInput_LuiSelectError__c0e7e1aa {\n position: relative;\n display: flex;\n color: #eb5757;\n text-align: left;\n padding-left: 22px;\n font-size: 14px;\n line-height: 20px;\n margin-top: 2px;\n}\n\n.LuiSelectInput_LuiSelectErrorIcon__c0e7e1aa {\n position: absolute;\n left: 0;\n top: 2px;\n}";
|
|
1173
|
-
n(css$3,{});
|
|
1174
|
-
|
|
1175
1168
|
var LuiSelectInput = function LuiSelectInput(props) {
|
|
1176
1169
|
var _props$selectProps;
|
|
1177
1170
|
|
|
@@ -1214,9 +1207,6 @@ var LuiSelectInput = function LuiSelectInput(props) {
|
|
|
1214
1207
|
}), props.error)));
|
|
1215
1208
|
};
|
|
1216
1209
|
|
|
1217
|
-
var css$4 = ":root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\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 --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\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}\n\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 {\n width: 100%;\n margin-bottom: 24px;\n position: relative;\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n border-radius: 4px;\n border: solid 1px #b2b2b2;\n background: #fff;\n padding-top: 14px;\n padding-right: 32px;\n padding-bottom: 14px;\n padding-left: 16px;\n box-sizing: border-box;\n width: 100%;\n resize: vertical;\n min-height: 100px;\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea {\n font-size: 14px;\n}\n@media screen and (min-width: 1px) {\n .LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea {\n font-size: calc(\n 14px + 2 *\n (\n (100vw - 1px) / 1279\n )\n );\n }\n}\n@media screen and (min-width: 1280px) {\n .LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea {\n font-size: 16px;\n }\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea::placeholder {\n font-weight: normal;\n color: #6b6966;\n opacity: 1;\n}\n.LuiTextAreaInput_isDisabled__02f8c8a8 .LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea::placeholder {\n color: #989189;\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea:focus {\n outline: none;\n border-color: #053d52;\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 label,\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8 textarea {\n display: block;\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8.LuiTextAreaInput_hasError__02f8c8a8 textarea,\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8.LuiTextAreaInput_hasError__02f8c8a8 select {\n border-color: #eb5757;\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8.LuiTextAreaInput_isDisabled__02f8c8a8 textarea {\n border-color: #b2b2b2;\n background-color: #fff;\n cursor: not-allowed;\n opacity: 0.3;\n}\n.LuiTextAreaInput_LuiTextAreaInput__02f8c8a8.LuiTextAreaInput_isDisabled__02f8c8a8 label {\n opacity: 0.3;\n}\n\n.LuiTextAreaInput_LuiTextAreaInputLabel__02f8c8a8 {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: 600;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.5rem;\n color: #2a292c;\n}\n\n.LuiTextAreaInput_LuiTextAreaInputError__02f8c8a8 {\n position: relative;\n display: flex;\n color: #eb5757;\n text-align: left;\n padding-left: 22px;\n font-size: 14px;\n line-height: 20px;\n margin-top: 2px;\n}\n\n.LuiTextAreaInput_LuiTextAreaInputErrorIcon__02f8c8a8 {\n position: absolute;\n left: 0;\n top: 2px;\n}";
|
|
1218
|
-
n(css$4,{});
|
|
1219
|
-
|
|
1220
1210
|
var LuiTextAreaInput = function LuiTextAreaInput(props) {
|
|
1221
1211
|
var _props$inputProps;
|
|
1222
1212
|
|
|
@@ -1247,45 +1237,43 @@ var LuiRadioInput = function LuiRadioInput(props) {
|
|
|
1247
1237
|
var _props$inputProps;
|
|
1248
1238
|
|
|
1249
1239
|
var id = useGenerateOrDefaultId((_props$inputProps = props.inputProps) == null ? void 0 : _props$inputProps.id);
|
|
1250
|
-
return React__default.createElement("
|
|
1251
|
-
className: 'LuiRadioInput'
|
|
1240
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
1241
|
+
className: clsx('LuiRadioInput', {
|
|
1242
|
+
'LuiRadioInput--hasError': props.error
|
|
1243
|
+
})
|
|
1244
|
+
}, React__default.createElement("fieldset", {
|
|
1245
|
+
className: 'LuiRadioInput-fieldset'
|
|
1252
1246
|
}, props.legend && React__default.createElement("legend", {
|
|
1253
1247
|
className: "LuiRadioInput-legend"
|
|
1254
1248
|
}, props.legend), props.options.map(function (option, index) {
|
|
1255
1249
|
var radioId = id + "-" + index;
|
|
1256
|
-
var
|
|
1250
|
+
var isSelected = props.selectedValue === option;
|
|
1257
1251
|
var isDisabled = props.isOptionDisabled && props.isOptionDisabled(index);
|
|
1258
|
-
return React__default.createElement("
|
|
1259
|
-
className: clsx('LuiRadioInput-option', {
|
|
1260
|
-
isDisabled: isDisabled
|
|
1261
|
-
}),
|
|
1262
|
-
key: radioId
|
|
1263
|
-
}, React__default.createElement("label", {
|
|
1252
|
+
return React__default.createElement("label", {
|
|
1264
1253
|
htmlFor: radioId,
|
|
1265
|
-
className:
|
|
1254
|
+
className: clsx('LuiRadioInput-label', {
|
|
1255
|
+
'LuiRadioInput-label--isDisabled': isDisabled,
|
|
1256
|
+
'LuiRadioInput-label--isSelected': isSelected
|
|
1257
|
+
}),
|
|
1266
1258
|
key: radioId
|
|
1267
1259
|
}, React__default.createElement("input", Object.assign({
|
|
1268
1260
|
disabled: isDisabled,
|
|
1269
|
-
className: "LuiRadioInput-
|
|
1261
|
+
className: "LuiRadioInput-input",
|
|
1270
1262
|
type: "radio",
|
|
1271
1263
|
id: radioId,
|
|
1272
1264
|
name: option,
|
|
1273
1265
|
value: option,
|
|
1274
|
-
checked:
|
|
1266
|
+
checked: isSelected,
|
|
1275
1267
|
onChange: props.onChange
|
|
1276
|
-
}, props.inputProps)),
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
})
|
|
1280
|
-
}), props.renderLabelFor ? props.renderLabelFor(option) : option));
|
|
1281
|
-
}), props.error && React__default.createElement("div", {
|
|
1282
|
-
className: "LuiRadioInput-error"
|
|
1268
|
+
}, props.inputProps)), props.renderLabelFor ? props.renderLabelFor(option) : option);
|
|
1269
|
+
})), props.error && React__default.createElement("div", {
|
|
1270
|
+
className: "LuiRadioInput-errorMsg"
|
|
1283
1271
|
}, React__default.createElement(LuiIcon, {
|
|
1284
1272
|
alt: 'error',
|
|
1285
1273
|
name: "ic_error",
|
|
1286
|
-
size: "
|
|
1274
|
+
size: "md",
|
|
1287
1275
|
status: "error"
|
|
1288
|
-
}), React__default.createElement("
|
|
1276
|
+
}), React__default.createElement("p", null, props.error))));
|
|
1289
1277
|
};
|
|
1290
1278
|
|
|
1291
1279
|
function LuiFormikCheckbox(props) {
|
|
@@ -18113,9 +18101,9 @@ function isChromatic() {
|
|
|
18113
18101
|
return !!((_window = window) != null && _window.navigator.userAgent.match(/Chromatic/) || (_window2 = window) != null && _window2.location.href.match(/chromatic=true/));
|
|
18114
18102
|
}
|
|
18115
18103
|
|
|
18116
|
-
var css$
|
|
18104
|
+
var css$1 = ":root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\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 --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\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}";
|
|
18117
18105
|
var modules_5b17bb95 = {"charcoal":"#2a292c","fuscous":"#6b6966","gray":"#989189","silver":"#beb9b4","lily":"#eaeaea","hint":"#f9f9f9","snow":"#ffffff","white":"#ffffff","teal":"#00425d","sea":"#007198","electric":"#0096cc","spray":"#73c8e1","polar":"#e2f3f7","sherpa":"#004b50","surfie":"#017a76","persian":"#00a599","downy":"#73cdc8","iceberg":"#dcf5f0","sacramento":"#004e32","salem":"#08814d","pigment":"#0aa245","granny":"#9bd79b","panache":"#e9fae7","brand-primary":"#004b50","brand-secondary":"#017a76","error":"#cc0000","error-bg":"#f5cccc","error-focus":"#5a0000","warning":"#ea6a2e","warning-bg":"#fbdfd2","warning-focus":"#b33a01","success":"#0aa245","success-bg":"#e9fae7","info":"#3a7cdf","info-bg":"#d8e5f9","visited":"#00425d","green-hover":"#08814d","green-active":"#004e32","green-btn":"#0aa245","txt-link":"#0096cc","primary-hover-btn":"#007198","selection":"#c7e9f3","heading-color":"#017a76","heading-color--secondary":"#2a292c","base-type-color":"#2a292c","base-icon-color":"#007198","disabled-color":"#989189","disabled-color-dark":"#6b6966","linz-color-primary":"#023d48","linz-color-primary-hover":"#01818a","linz-color-tertiary":"#e1e44a","linz-color-tertiary-hover":"#cdcf59","color-test-pink":"#f09","linz-linear-gradient-blue":"linear-gradient(70deg, #00425d 12%, #007198 100%)","linz-linear-gradient-teal":"linear-gradient(270deg, #00a599 1%, #73cdc8 100%)"};
|
|
18118
|
-
n(css$
|
|
18106
|
+
n(css$1,{});
|
|
18119
18107
|
|
|
18120
18108
|
/**
|
|
18121
18109
|
* A wrapper around React Select with Lui styling
|
|
@@ -18197,9 +18185,6 @@ function LuiComboSelectActual(givenProps, ref) {
|
|
|
18197
18185
|
}));
|
|
18198
18186
|
}
|
|
18199
18187
|
|
|
18200
|
-
var css$6 = ":root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\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 --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\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}\n\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiShadow_LuiShadow__a0705fc2 {\n box-shadow: 0 0 1.5rem 1px rgba(0, 113, 152, 0.1);\n border-radius: 5px;\n padding: 1.5rem;\n margin-top: 0.75rem;\n background-color: #ffffff;\n}";
|
|
18201
|
-
n(css$6,{});
|
|
18202
|
-
|
|
18203
18188
|
var LuiShadow = function LuiShadow(props) {
|
|
18204
18189
|
return React__default.createElement("div", {
|
|
18205
18190
|
className: clsx('LuiShadow', props.className)
|