@linzjs/lui 10.11.0 → 10.11.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +6 -4
  3. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +1 -33
  4. package/dist/components/LuiIcon/LuiIcon.d.ts +4 -0
  5. package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +11 -0
  6. package/dist/components/LuiTabs/LuiTabs.d.ts +1 -21
  7. package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +6 -0
  8. package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +7 -0
  9. package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.d.ts +7 -0
  10. package/dist/index.d.ts +5 -1
  11. package/dist/lui.cjs.development.js +82 -72
  12. package/dist/lui.cjs.development.js.map +1 -1
  13. package/dist/lui.cjs.production.min.js +1 -1
  14. package/dist/lui.cjs.production.min.js.map +1 -1
  15. package/dist/lui.css +175 -215
  16. package/dist/lui.css.map +1 -1
  17. package/dist/lui.esm.js +80 -70
  18. package/dist/lui.esm.js.map +1 -1
  19. package/dist/scss/Components/Footer/footer.scss +5 -5
  20. package/dist/scss/Components/Header/header.scss +1 -1
  21. package/dist/scss/Components/HelpSection/help-section.scss +1 -1
  22. package/dist/scss/Components/LOLCommonMenu/LOLAuthorisedLink.scss +4 -4
  23. package/dist/scss/Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss +2 -2
  24. package/dist/scss/Components/LOLCommonMenu/LOLUserLastLogin.scss +1 -1
  25. package/dist/scss/Components/LuiFormElements/LuiFileInputBox.scss +2 -3
  26. package/dist/scss/Components/LuiTabs/LuiTabs.scss +0 -58
  27. package/dist/scss/Components/Menu/menu.scss +7 -7
  28. package/dist/scss/Components/Messaging/messaging.scss +5 -5
  29. package/dist/scss/Components/Modal/modal.scss +3 -3
  30. package/dist/scss/Components/Notifications/notifications.scss +2 -2
  31. package/dist/scss/Elements/Buttons/buttons.scss +38 -38
  32. package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +2 -2
  33. package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +3 -3
  34. package/dist/scss/Elements/Icons/icons.scss +1 -1
  35. package/dist/scss/Elements/Tables/tables.scss +8 -8
  36. package/dist/scss/Foundation/Utilities/Borders.scss +1 -1
  37. package/dist/scss/Foundation/Utilities/LuiStandardHeaderBackground.scss +2 -2
  38. package/dist/scss/Foundation/Variables/FormVars.scss +1 -1
  39. package/dist/scss/Foundation/Variables/_ExportCSS.scss +87 -59
  40. package/dist/scss/Foundation/Variables/_ExportColors.scss +52 -51
  41. package/dist/scss/Foundation/Variables/_LuiColors.scss +113 -119
  42. package/dist/scss/Global/GenericElements/Link.scss +3 -3
  43. package/dist/scss/Global/GenericElements/Todo.scss +1 -1
  44. package/dist/scss/Global/GenericElements/Typography.scss +2 -2
  45. package/dist/scss/Global/Layout/Layout.scss +3 -3
  46. package/dist/scss/Vendor/print.scss +2 -2
  47. package/dist/scss/base.scss +0 -1
  48. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## [10.11.4](https://github.com/linz/lui/compare/v10.11.3...v10.11.4) (2021-12-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * CHangelog rolled back ([#479](https://github.com/linz/lui/issues/479)) ([e3af886](https://github.com/linz/lui/commit/e3af8867a80dcdc996d7e7b31be872b266a0a584))
7
+
8
+ ## [10.11.3](https://github.com/linz/lui/compare/v10.11.2...v10.11.3) (2021-11-29)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * make story book a dev dependency so its not force on lui's dependants ([#475](https://github.com/linz/lui/issues/475)) ([4e1d67d](https://github.com/linz/lui/commit/4e1d67db4c8e1ca62eeee29a6dc7c5aae88367d5))
14
+
15
+ ## [10.11.2](https://github.com/linz/lui/compare/v10.11.1...v10.11.2) (2021-11-19)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * Adds LuiIcon Import scss ([#472](https://github.com/linz/lui/issues/472)) ([5e69e4b](https://github.com/linz/lui/commit/5e69e4b2365dfb68366d9ded8c490fdc89ee5661))
21
+
22
+ ## [10.11.1](https://github.com/linz/lui/compare/v10.11.0...v10.11.1) (2021-11-17)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * LuiComboSelect now styled appropriately everywhere ([#471](https://github.com/linz/lui/issues/471)) ([17a36db](https://github.com/linz/lui/commit/17a36db7eff91e579efbf513db16f3404ce76f09))
28
+
1
29
  # [10.11.0](https://github.com/linz/lui/compare/v10.10.0...v10.11.0) (2021-11-15)
2
30
 
3
31
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Lui - Linz User Interface
2
2
 
3
- >It's written in CSS and has a React wrapper!
3
+ > It's written in CSS and has a React wrapper!
4
4
  >
5
5
  > ## You do not need to be using React to use Lui
6
6
  >
@@ -11,7 +11,8 @@
11
11
  [![npm version](https://badge.fury.io/js/%40linzjs%2Flui.svg)](https://badge.fury.io/js/%40linzjs%2Flui)
12
12
 
13
13
  ![https://en.wikipedia.org/wiki/Onychophora](lui-worm.png)
14
- > Lui *[Onychophora](https://en.wikipedia.org/wiki/Onychophora)*, the happy UI worm!
14
+
15
+ > Lui _[Onychophora](https://en.wikipedia.org/wiki/Onychophora)_, the happy UI worm!
15
16
 
16
17
  Nomenclature: Lui is a backronym for Linz User Interface. Lui the library, is named after Lui the worm.
17
18
 
@@ -21,6 +22,7 @@ _It was foreseen in the stars that Lui was destined for greatness, a UI library
21
22
  - [🎨 Lui on Figma](https://www.figma.com/file/E7g3n5ziI7bR8MisISayia/LUI-components)
22
23
  - [🔁 Lui on Github](https://github.com/linz/Lui)
23
24
  - [🔎 Lui on Chromatic](https://www.chromatic.com/builds?appId=5eaf53c737a54a0022e6749c)
25
+ - [📄 Lui on UX Confluence](https://confluence.linz.govt.nz/display/STEP/Lui+%28LINZ+User+Interface%29+Design+system)
24
26
  - [💬 Lui Community of Practice on LINZ Slack - #cop-lui](https://linz.slack.com/archives/CP807EN31)
25
27
 
26
28
  and...
@@ -29,11 +31,11 @@ and...
29
31
 
30
32
  ---
31
33
 
32
- *Lui* is a collection of generic UI components that adhere to the new LINZ digital style guide, lead by STEP and welcoming contributions from across LINZ.
34
+ _Lui_ is a collection of generic UI components that adhere to the new LINZ digital style guide, lead by STEP and welcoming contributions from across LINZ.
33
35
 
34
36
  It aims to solve the problem of consistent UI across LINZ, while giving squads a bunch of base elements they can start using out of the box.
35
37
 
36
- We aim to make each component generic, extendable and assessable.
38
+ We aim to make each component generic, extendable, accessible, and amazing.
37
39
 
38
40
  All styles are implemented in SASS and compiled to plain CSS. This means any team can use the CSS. A ReactJS wrapper over the CSS is part of this project.
39
41
 
@@ -1,37 +1,5 @@
1
1
  import React from 'react';
2
- import './LuiComboSelect.stories.scss';
3
- declare const _default: {
4
- title: string;
5
- component: React.ForwardRefExoticComponent<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
6
- argTypes: {
7
- value: {
8
- /** a list of simple values */
9
- options: string[];
10
- /** a map between the simple values for display in Storybook to OBJECTS for react-select */
11
- mapping: {
12
- [k: string]: {
13
- value: string;
14
- label: string;
15
- isDisabled?: undefined;
16
- } | {
17
- value: string;
18
- label: string;
19
- isDisabled: boolean;
20
- };
21
- };
22
- control: {
23
- type: string;
24
- /** a map from the simple value to the display string for storybook */
25
- labels: {
26
- [k: string]: string;
27
- };
28
- };
29
- };
30
- onChange: {
31
- action: string;
32
- };
33
- };
34
- };
2
+ declare const _default: import("@storybook/react").Meta<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
35
3
  export default _default;
36
4
  export declare const blank: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
37
5
  export declare const focus: import("@storybook/react").Story<Partial<import("react-select").Props<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>> & React.RefAttributes<import("react-select").SelectInstance<import("./LuiComboSelect").LuiComboSelectOption, boolean, import("react-select").GroupBase<any>>>>;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import './LuiIcon.scss';
2
3
  export declare const ICONS: {
3
4
  ic_account_circle: JSX.Element;
4
5
  ic_add_circle_outline: JSX.Element;
@@ -68,6 +69,9 @@ export declare const ICON_STATUS: {
68
69
  none: string;
69
70
  error: string;
70
71
  warning: string;
72
+ success: string;
73
+ interactive: string;
74
+ disabled: string;
71
75
  };
72
76
  export declare const LuiIcon: ({ name, className, size, title, alt, status, spanProps, }: LuiIconProps) => JSX.Element | null;
73
77
  export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './LuiTab.scss';
3
+ interface LuiTabProps {
4
+ onClick: () => void;
5
+ active: boolean;
6
+ id: string;
7
+ ariaControls: string;
8
+ children: React.ReactNode;
9
+ }
10
+ export declare const LuiTab: React.FC<LuiTabProps>;
11
+ export {};
@@ -4,27 +4,7 @@ interface ILuiTabsContext {
4
4
  setActivePanel: (activePanel: string) => void;
5
5
  }
6
6
  export declare const LuiTabsContext: React.Context<ILuiTabsContext>;
7
- export declare const LuiTabsPanelWrapper: React.FC<{
7
+ export declare const LuiTabs: React.FC<{
8
8
  defaultPanel: string;
9
9
  }>;
10
- export declare const LuiTabGroup: React.FC<{
11
- ariaLabel: string;
12
- justify?: boolean;
13
- }>;
14
- interface LuiTabsPanelSwitch {
15
- targetPanel: string;
16
- setActivePanel?: (targetPanel: string) => {};
17
- }
18
- export declare const LuiTabsPanelSwitch: React.FC<LuiTabsPanelSwitch>;
19
- interface LuiTabProps {
20
- onClick: () => void;
21
- active: boolean;
22
- id: string;
23
- ariaControls: string;
24
- }
25
- export declare const LuiTab: React.FC<LuiTabProps>;
26
- interface LuiTabPanelProps {
27
- panel: string;
28
- }
29
- export declare const LuiTabPanel: React.FC<LuiTabPanelProps>;
30
10
  export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import './LuiTabsGroup.scss';
3
+ export declare const LuiTabsGroup: React.FC<{
4
+ ariaLabel: string;
5
+ justify?: boolean;
6
+ }>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './LuiTabsPanel.scss';
3
+ interface LuiTabsPanelProps {
4
+ panel: string;
5
+ }
6
+ export declare const LuiTabsPanel: React.FC<LuiTabsPanelProps>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface LuiTabsPanelSwitch {
3
+ targetPanel: string;
4
+ setActivePanel?: (targetPanel: string) => {};
5
+ }
6
+ export declare const LuiTabsPanelSwitch: React.FC<LuiTabsPanelSwitch>;
7
+ export {};
package/dist/index.d.ts CHANGED
@@ -7,7 +7,11 @@ export { LuiButtonGroup } from './components/LuiButton/LuiButton';
7
7
  export { LuiExpandableBanner } from './components/LuiExpandableBanner/LuiExpandableBanner';
8
8
  export { LuiMenu, LuiControlledMenu, LuiMenuItem, LuiMenuDivider, LuiMenuHeader, } from './components/LuiMenu/LuiMenu';
9
9
  export { LuiFilterMenu } from './components/LuiFilterMenu/LuiFilterMenu';
10
- export * from './components/LuiTabs/LuiTabs';
10
+ export { LuiTabs, LuiTabsContext } from './components/LuiTabs/LuiTabs';
11
+ export { LuiTab } from './components/LuiTabs/LuiTab/LuiTab';
12
+ export { LuiTabsGroup } from './components/LuiTabs/LuiTabsGroup/LuiTabsGroup';
13
+ export { LuiTabsPanel } from './components/LuiTabs/LuiTabsPanel/LuiTabsPanel';
14
+ export { LuiTabsPanelSwitch } from './components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch';
11
15
  export { LuiCommonInputProps, LuiFormikForm, } from './components/LuiFormikForms/LuiFormikForm';
12
16
  export { LuiFormikCheckbox } from './components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox';
13
17
  export { LuiFormikTextInput } from './components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput';
@@ -548,13 +548,13 @@ var LuiTabsContext = /*#__PURE__*/React__default.createContext({
548
548
  activePanel: null,
549
549
  setActivePanel: function setActivePanel() {}
550
550
  });
551
- var LuiTabsPanelWrapper = function LuiTabsPanelWrapper(props) {
551
+ var LuiTabs = function LuiTabs(props) {
552
552
  var _useState = React.useState(props.defaultPanel),
553
553
  activePanel = _useState[0],
554
554
  setActivePanel = _useState[1];
555
555
 
556
556
  return React__default.createElement("div", {
557
- className: 'lui-tabs'
557
+ className: "LuiTabs"
558
558
  }, React__default.createElement(LuiTabsContext.Provider, {
559
559
  value: {
560
560
  activePanel: activePanel,
@@ -562,30 +562,15 @@ var LuiTabsPanelWrapper = function LuiTabsPanelWrapper(props) {
562
562
  }
563
563
  }, props.children));
564
564
  };
565
- var LuiTabGroup = function LuiTabGroup(props) {
566
- return React__default.createElement("div", {
567
- className: 'lui-tabs-style-underline'
568
- }, React__default.createElement("div", {
569
- className: "lui-tab-group " + (props.justify ? 'lui-tab-group-justified' : ''),
570
- role: "tablist",
571
- "aria-label": props.ariaLabel
572
- }, props.children));
573
- };
574
- var LuiTabsPanelSwitch = function LuiTabsPanelSwitch(props) {
575
- var context = React.useContext(LuiTabsContext);
576
- var active = context.activePanel === props.targetPanel;
577
- return React__default.createElement(LuiTab, {
578
- id: props.targetPanel + "-tab",
579
- ariaControls: props.targetPanel + "-tab-panel",
580
- active: active,
581
- onClick: function onClick() {
582
- if (context.setActivePanel) context.setActivePanel(props.targetPanel);
583
- }
584
- }, props.children);
585
- };
565
+
566
+ 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}}
567
+
568
+ var css = ":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.LuiTab_LuiTab__5d8d8010 {\n background: transparent;\n border-radius: 0;\n color: #2a292c;\n min-width: 10rem;\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n}\n.LuiTab_LuiTab__5d8d8010:focus {\n background-color: rgba(0, 165, 153, 0.2);\n}\n.LuiTab_LuiTabsGroup_Justified__5d8d8010 .LuiTab_LuiTab__5d8d8010 {\n width: 100%;\n}\n\n.LuiTab_LuiTab_Active__5d8d8010,\n.LuiTab_LuiTab_Active__5d8d8010:focus {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: 600;\n position: relative;\n outline: none;\n background: transparent;\n}\n.LuiTab_LuiTab_Active__5d8d8010:after,\n.LuiTab_LuiTab_Active__5d8d8010:focus:after {\n content: \"\";\n display: block;\n height: 4px;\n width: 100%;\n padding: 0 32px;\n left: 0;\n right: 0;\n bottom: -1px;\n box-sizing: border-box;\n background: linear-gradient(270deg, #73cdc8 1%, #00a599 100%);\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n position: absolute;\n}";
569
+ n(css,{});
570
+
586
571
  var LuiTab = function LuiTab(props) {
587
572
  return React__default.createElement("button", {
588
- className: clsx('lui-tab', props.active && 'lui-tab-active'),
573
+ className: clsx('LuiTab', props.active && 'LuiTab--active'),
589
574
  id: props.id,
590
575
  role: "tab",
591
576
  "aria-selected": props.active,
@@ -593,17 +578,45 @@ var LuiTab = function LuiTab(props) {
593
578
  onClick: props.onClick
594
579
  }, props.children);
595
580
  };
596
- var LuiTabPanel = function LuiTabPanel(props) {
581
+
582
+ 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}\n\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiTabsGroup_LuiTabsGroup__b045736d {\n border-bottom: 1px solid #beb9b4;\n}\n\n.LuiTabsGroup_LuiTabsGroup_Justified__b045736d {\n display: flex;\n justify-content: space-between;\n}";
583
+ n(css$1,{});
584
+
585
+ var LuiTabsGroup = function LuiTabsGroup(props) {
586
+ return React__default.createElement("div", {
587
+ className: "LuiTabsGroup " + (props.justify ? 'LuiTabsGroup--justified' : ''),
588
+ role: "tablist",
589
+ "aria-label": props.ariaLabel
590
+ }, props.children);
591
+ };
592
+
593
+ 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.LuiTabsPanel_LuiTabsPanel__8085964d {\n display: none;\n}\n\n.LuiTabsPanel_LuiTabsPanel_Active__8085964d {\n display: block;\n overflow: auto;\n}";
594
+ n(css$2,{});
595
+
596
+ var LuiTabsPanel = function LuiTabsPanel(props) {
597
597
  var context = React.useContext(LuiTabsContext);
598
598
  var active = context.activePanel === props.panel;
599
599
  return React__default.createElement("div", {
600
- className: clsx('lui-tab-panel', active && 'lui-tab-panel-active'),
600
+ className: clsx('LuiTabsPanel', active && 'LuiTabsPanel--active'),
601
601
  id: props.panel + "-tab-panel",
602
602
  role: "tabpanel",
603
603
  "aria-labelledby": props.panel + "-tab"
604
604
  }, props.children);
605
605
  };
606
606
 
607
+ var LuiTabsPanelSwitch = function LuiTabsPanelSwitch(props) {
608
+ var context = React.useContext(LuiTabsContext);
609
+ var active = context.activePanel === props.targetPanel;
610
+ return React__default.createElement(LuiTab, {
611
+ id: props.targetPanel + "-tab",
612
+ ariaControls: props.targetPanel + "-tab-panel",
613
+ active: active,
614
+ onClick: function onClick() {
615
+ if (context.setActivePanel) context.setActivePanel(props.targetPanel);
616
+ }
617
+ }, props.children);
618
+ };
619
+
607
620
  var _excluded$1 = ["className"];
608
621
  function LuiFormikForm(props) {
609
622
  // this spreads all keys, except className
@@ -642,6 +655,19 @@ function LuiFormikCheckbox(props) {
642
655
  }));
643
656
  }
644
657
 
658
+ var LuiFormikFormLabel = function LuiFormikFormLabel(props) {
659
+ return React__default.createElement("div", {
660
+ className: clsx('LuiFormLabel-wrapper', props.className && "" + props.className)
661
+ }, props.children, React__default.createElement("label", {
662
+ className: "LuiFormLabel",
663
+ htmlFor: props["for"]
664
+ }, props.required && React__default.createElement("span", {
665
+ className: "lui-required-input-icon"
666
+ }, "*"), props.label), props.tooltip && React__default.createElement("i", {
667
+ className: "material-icons-round"
668
+ }, "help"));
669
+ };
670
+
645
671
  var LuiFormikTextInput = /*#__PURE__*/formik.connect(function (props) {
646
672
  var error = formik.getIn(props.formik.errors, props.name);
647
673
  var touch = formik.getIn(props.formik.touched, props.name);
@@ -719,19 +745,6 @@ var LuiFormikTextInput = /*#__PURE__*/formik.connect(function (props) {
719
745
  }));
720
746
  });
721
747
 
722
- var LuiFormikFormLabel = function LuiFormikFormLabel(props) {
723
- return React__default.createElement("div", {
724
- className: clsx('LuiFormLabel-wrapper', props.className && "" + props.className)
725
- }, props.children, React__default.createElement("label", {
726
- className: "LuiFormLabel",
727
- htmlFor: props["for"]
728
- }, props.required && React__default.createElement("span", {
729
- className: "lui-required-input-icon"
730
- }, "*"), props.label), props.tooltip && React__default.createElement("i", {
731
- className: "material-icons-round"
732
- }, "help"));
733
- };
734
-
735
748
  var LuiFormikRadioButton = function LuiFormikRadioButton(props) {
736
749
  var _useField = formik.useField(props),
737
750
  field = _useField[0],
@@ -825,6 +838,9 @@ var LuiFormikSelect = /*#__PURE__*/formik.connect(function (props) {
825
838
  })));
826
839
  });
827
840
 
841
+ 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.LuiIcon_LuiIcon__5008522b {\n display: inline-block;\n height: 100%;\n width: 100%;\n}\n\n.LuiIcon_LuiIcon_Xl__5008522b {\n max-height: 64px;\n max-width: 64px;\n}\n.LuiIcon_LuiIcon_Xl__5008522b > svg {\n height: 64px;\n width: 64px;\n}\n\n.LuiIcon_LuiIcon_Lg__5008522b {\n max-height: 48px;\n max-width: 48px;\n}\n.LuiIcon_LuiIcon_Lg__5008522b > svg {\n height: 48px;\n width: 48px;\n}\n\n.LuiIcon_LuiIcon_Md__5008522b {\n height: 24px;\n max-height: 24px;\n max-width: 24px;\n width: 24px;\n}\n.LuiIcon_LuiIcon_Md__5008522b > svg {\n height: 24px;\n width: 24px;\n}\n\n.LuiIcon_LuiIcon_Sm__5008522b {\n max-height: 16px;\n max-width: 16px;\n}\n.LuiIcon_LuiIcon_Sm__5008522b > svg {\n height: 16px;\n width: 16px;\n}\n\n.LuiIcon_LuiIcon_Xs__5008522b {\n max-height: 12px;\n max-width: 12px;\n}\n.LuiIcon_LuiIcon_Xs__5008522b > svg {\n height: 12px;\n width: 12px;\n}\n\n.LuiIcon_LuiIcon_Warning__5008522b {\n fill: #ea6a2e;\n}\n\n.LuiIcon_LuiIcon_Error__5008522b {\n fill: #cc0000;\n}\n\n.LuiIcon_LuiIcon_Success__5008522b {\n fill: #0aa245;\n}\n\n.LuiIcon_LuiIcon_Interactive__5008522b {\n fill: #007198;\n}\n\n.LuiIcon_LuiIcon_Disabled__5008522b {\n fill: #989189;\n}";
842
+ n(css$3,{});
843
+
828
844
  // NOTE: This is a generated file, nothing you do here matters
829
845
 
830
846
  var ic_account_circle = /*#__PURE__*/React__default.createElement("svg", {
@@ -1121,7 +1137,10 @@ var ICON_SIZES = {
1121
1137
  var ICON_STATUS = {
1122
1138
  none: '',
1123
1139
  error: 'LuiIcon--error',
1124
- warning: 'LuiIcon--warning'
1140
+ warning: 'LuiIcon--warning',
1141
+ success: 'LuiIcon--success',
1142
+ interactive: 'LuiIcon--interactive',
1143
+ disabled: 'LuiIcon--disabled'
1125
1144
  };
1126
1145
  var LuiIcon = function LuiIcon(_ref) {
1127
1146
  var name = _ref.name,
@@ -4647,11 +4666,9 @@ function isChromatic() {
4647
4666
  return !!(window.navigator.userAgent.match(/Chromatic/) || window.location.href.match(/chromatic=true/));
4648
4667
  }
4649
4668
 
4650
- 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}}
4651
-
4652
- var css = ":root {\n --color-grey-80: #414042;\n --color-grey-60: #55504b;\n --color-grey-30: #989189;\n --color-grey-20: #beb9b4;\n --color-grey-10: #eaeaea;\n --color-grey-05: #f9f9f9;\n --color-blue-100: #00425d;\n --color-blue-75: #007198;\n --color-blue-50: #0096cc;\n --color-blue-25: #73c8e1;\n --color-blue-05: #e2f3f7;\n --color-teal-100: #004b50;\n --color-teal-75: #017a76;\n --color-teal-50: #00a599;\n --color-teal-25: #73cdc8;\n --color-teal-05: #dcf5f0;\n --color-green-100: #004e32;\n --color-green-75: #08814d;\n --color-green-50: #0aa245;\n --color-green-25: #9bd79b;\n --color-green-05: #e9fae7;\n --brand-primary: #00425d;\n --brand-secondary: #017a76;\n --color-success: #0aa245;\n --color-success-bg: #e9fae7;\n --color-info: #3a7cdf;\n --color-info-bg: #d8e5f9;\n --color-warning: #ea6a2e;\n --color-warning-bg: #fbdfd2;\n --color-error: #cc0000;\n --color-error-focus: #5a0000;\n --color-error-bg: #f5cccc;\n --color-visited: #4c2c92;\n --color-green-hover: #205f12;\n --color-green-active: #16430c;\n --color-green-btn: #2e881a;\n --color-txt-link: #1f69c3;\n --color-primary-hover-btn: #004e6a;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #414042;\n --base-type-color: #414042;\n --base-icon-color: #007198;\n --disabled-color: #989189;\n --disabled-color-dark: #55504b;\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}";
4653
- var modules_5b17bb95 = {"color-grey-80":"#414042","color-grey-60":"#55504b","color-grey-30":"#989189","color-grey-20":"#beb9b4","color-grey-10":"#eaeaea","color-grey-05":"#f9f9f9","color-blue-100":"#00425d","color-blue-75":"#007198","color-blue-50":"#0096cc","color-blue-25":"#73c8e1","color-blue-05":"#e2f3f7","color-teal-100":"#004b50","color-teal-75":"#017a76","color-teal-50":"#00a599","color-teal-25":"#73cdc8","color-teal-05":"#dcf5f0","color-green-100":"#004e32","color-green-75":"#08814d","color-green-50":"#0aa245","color-green-25":"#9bd79b","color-green-05":"#e9fae7","brand-primary":"#00425d","brand-secondary":"#017a76","color-success":"#0aa245","color-success-bg":"#e9fae7","color-info":"#3a7cdf","color-info-bg":"#d8e5f9","color-warning":"#ea6a2e","color-warning-bg":"#fbdfd2","color-error":"#cc0000","color-error-focus":"#5a0000","color-error-bg":"#f5cccc","color-visited":"#4c2c92","color-green-hover":"#205f12","color-green-active":"#16430c","color-green-btn":"#2e881a","color-txt-link":"#1f69c3","color-primary-hover-btn":"#004e6a","color-selection":"#c7e9f3","heading-color":"#017a76","heading-color--secondary":"#414042","base-type-color":"#414042","base-icon-color":"#007198","disabled-color":"#989189","disabled-color-dark":"#55504b","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%)"};
4654
- n(css,{});
4669
+ 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}";
4670
+ 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%)"};
4671
+ n(css$4,{});
4655
4672
 
4656
4673
  /**
4657
4674
  * A wrapper around React Select with Lui styling
@@ -4687,16 +4704,16 @@ function LuiComboSelectActual(givenProps, ref) {
4687
4704
  primary75: modules_5b17bb95['color-blue-50'],
4688
4705
  primary50: modules_5b17bb95['color-blue-25'],
4689
4706
  primary25: modules_5b17bb95['color-blue-05'],
4690
- neutral90: modules_5b17bb95['color-grey-80'],
4691
- neutral80: modules_5b17bb95['color-grey-80'],
4692
- neutral70: modules_5b17bb95['color-grey-80'],
4693
- neutral60: modules_5b17bb95['color-grey-60'],
4694
- neutral50: modules_5b17bb95['color-grey-60'],
4695
- neutral40: modules_5b17bb95['color-grey-30'],
4696
- neutral30: modules_5b17bb95['color-grey-30'],
4697
- neutral20: modules_5b17bb95['color-grey-20'],
4698
- neutral10: modules_5b17bb95['color-grey-10'],
4699
- neutral5: modules_5b17bb95['color-grey-05'],
4707
+ neutral90: modules_5b17bb95['grey-80'],
4708
+ neutral80: modules_5b17bb95['grey-80'],
4709
+ neutral70: modules_5b17bb95['grey-80'],
4710
+ neutral60: modules_5b17bb95['grey-60'],
4711
+ neutral50: modules_5b17bb95['grey-60'],
4712
+ neutral40: modules_5b17bb95['$gray'],
4713
+ neutral30: modules_5b17bb95['$gray'],
4714
+ neutral20: modules_5b17bb95['grey-20'],
4715
+ neutral10: modules_5b17bb95['grey-10'],
4716
+ neutral5: modules_5b17bb95['grey-05'],
4700
4717
  danger: modules_5b17bb95['error'],
4701
4718
  dangerLight: modules_5b17bb95['error-bg']
4702
4719
  })
@@ -4711,29 +4728,22 @@ function LuiComboSelectActual(givenProps, ref) {
4711
4728
  input: function input(provided) {
4712
4729
  return _extends({}, provided, {
4713
4730
  height: '40px',
4714
- minHeight: '38px'
4715
- });
4716
- },
4717
- control: function control(provided) {
4718
- return _extends({}, provided, {
4719
- lineHeight: 2.8
4731
+ minHeight: '40px',
4732
+ fontWeight: 400,
4733
+ input: {
4734
+ height: '38px !important'
4735
+ }
4720
4736
  });
4721
4737
  },
4722
4738
  singleValue: function singleValue(provided) {
4723
4739
  return _extends({}, provided, {
4724
- fontWeight: 400,
4725
4740
  color: '#414042',
4726
- position: 'fixed'
4727
- });
4728
- },
4729
- valueContainer: function valueContainer(provided) {
4730
- return _extends({}, provided, {
4731
- position: 'inherit'
4741
+ fontWeight: 400
4732
4742
  });
4733
4743
  },
4734
4744
  placeholder: function placeholder(provided) {
4735
4745
  return _extends({}, provided, {
4736
- position: 'fixed'
4746
+ fontWeight: 400
4737
4747
  });
4738
4748
  }
4739
4749
  }
@@ -7085,11 +7095,11 @@ exports.LuiModal = LuiModal;
7085
7095
  exports.LuiStaticMessage = LuiStaticMessage;
7086
7096
  exports.LuiStatusSpinner = LuiStatusSpinner;
7087
7097
  exports.LuiTab = LuiTab;
7088
- exports.LuiTabGroup = LuiTabGroup;
7089
- exports.LuiTabPanel = LuiTabPanel;
7098
+ exports.LuiTabs = LuiTabs;
7090
7099
  exports.LuiTabsContext = LuiTabsContext;
7100
+ exports.LuiTabsGroup = LuiTabsGroup;
7101
+ exports.LuiTabsPanel = LuiTabsPanel;
7091
7102
  exports.LuiTabsPanelSwitch = LuiTabsPanelSwitch;
7092
- exports.LuiTabsPanelWrapper = LuiTabsPanelWrapper;
7093
7103
  exports.LuiToastMessage = LuiToastMessage;
7094
7104
  exports.LuiTooltip = LuiTooltip;
7095
7105
  exports.LuiUpdatesSplashModal = LuiUpdatesSplashModal;