@linzjs/lui 12.1.4 → 12.2.0-roll-up.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 +7 -0
- package/package.json +14 -10
- package/dist/assets/docs/lui-workflow-visual.png +0 -0
- package/dist/assets/docs/mountain-broken.svg +0 -119
- package/dist/assets/docs/simple-components and grids.svg +0 -1
- package/dist/assets/fonts/OpenSans-Bold.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-Italic.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-Light.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-Regular.woff2 +0 -0
- package/dist/assets/fonts/OpenSans-SemiBold.woff2 +0 -0
- package/dist/assets/icons/account_circle.svg +0 -1
- package/dist/assets/icons/add_circle.svg +0 -1
- package/dist/assets/icons/add_circle_outline.svg +0 -1
- package/dist/assets/icons/arrow_back.svg +0 -1
- package/dist/assets/icons/arrow_back_ios.svg +0 -1
- package/dist/assets/icons/arrow_drop_down.svg +0 -1
- package/dist/assets/icons/arrow_drop_up.svg +0 -1
- package/dist/assets/icons/arrow_forward_ios.svg +0 -1
- package/dist/assets/icons/attachment.svg +0 -1
- package/dist/assets/icons/border_color.svg +0 -1
- package/dist/assets/icons/check.svg +0 -1
- package/dist/assets/icons/check_circle.svg +0 -1
- package/dist/assets/icons/check_circle_outline.svg +0 -1
- package/dist/assets/icons/clear.svg +0 -1
- package/dist/assets/icons/corporate_fare.svg +0 -1
- package/dist/assets/icons/create.svg +0 -1
- package/dist/assets/icons/error.svg +0 -1
- package/dist/assets/icons/error_outline.svg +0 -1
- package/dist/assets/icons/expand_less.svg +0 -1
- package/dist/assets/icons/expand_more.svg +0 -1
- package/dist/assets/icons/filter_list.svg +0 -1
- package/dist/assets/icons/flag.svg +0 -1
- package/dist/assets/icons/forward.svg +0 -1
- package/dist/assets/icons/insert_invitation.svg +0 -1
- package/dist/assets/icons/insert_photo.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_down.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_left.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_right.svg +0 -1
- package/dist/assets/icons/keyboard_arrow_up.svg +0 -1
- package/dist/assets/icons/lock.svg +0 -1
- package/dist/assets/icons/navigate_before.svg +0 -1
- package/dist/assets/icons/navigate_next.svg +0 -1
- package/dist/assets/icons/people_outline.svg +0 -1
- package/dist/assets/icons/person.svg +0 -1
- package/dist/assets/icons/person_add.svg +0 -1
- package/dist/assets/icons/remove_circle.svg +0 -1
- package/dist/assets/icons/remove_circle_outline.svg +0 -1
- package/dist/assets/icons/send.svg +0 -1
- package/dist/assets/icons/tick.svg +0 -3
- package/dist/assets/icons/view_week.svg +0 -1
- package/dist/assets/icons/warning.svg +0 -1
- package/dist/assets/images/dummy-map.png +0 -0
- package/dist/assets/images/icon-guaranteed-title-on.svg +0 -1
- package/dist/assets/images/icon-guaranteed-title.svg +0 -1
- package/dist/assets/images/icon-historic-title-on.svg +0 -1
- package/dist/assets/images/icon-historic-title.svg +0 -1
- package/dist/assets/images/icon-title-diagram-on.svg +0 -1
- package/dist/assets/images/icon-title-diagram.svg +0 -1
- package/dist/assets/images/linz-logo-col-n-white-txt.svg +0 -256
- package/dist/assets/images/linz-logo-footer.svg +0 -166
- package/dist/assets/images/linz-motif.svg +0 -124
- package/dist/assets/images/logo-cc-visa-mc.png +0 -0
- package/dist/assets/images/lui-icon-logout.svg +0 -1
- package/dist/assets/images/lui-icon-maori-land-rev.svg +0 -1
- package/dist/assets/images/lui-icon-maori-land.svg +0 -1
- package/dist/assets/images/lui-icon-noc-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-noc-app-link.svg +0 -1
- package/dist/assets/images/lui-icon-open-externally.svg +0 -1
- package/dist/assets/images/lui-icon-search-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-search-app-link.svg +0 -1
- package/dist/assets/images/lui-icon-survey-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-survey-app-link.svg +0 -1
- package/dist/assets/images/lui-icon-titles-app-link-active.svg +0 -1
- package/dist/assets/images/lui-icon-titles-app-link.svg +0 -1
- package/dist/assets/images/mountain-broken.svg +0 -1
- package/dist/assets/images/nz-govt-logo-rev.svg +0 -11
- package/dist/assets/images/search-feature-img-lg.png +0 -0
- package/dist/assets/images/search-feature-img-mob.png +0 -0
- package/dist/assets/images/title-on.svg +0 -1
- package/dist/assets/images/title.svg +0 -1
- package/dist/assets/lui-worm.png +0 -0
- package/dist/assets/svg-content.d.ts +0 -41
- package/dist/assets/svg-content.tsx +0 -249
- package/dist/components/LuiBadge/LuiBadge.d.ts +0 -8
- package/dist/components/LuiBadge/LuiBadge.stories.d.ts +0 -9
- package/dist/components/LuiBadge/LuiBadge.test.d.ts +0 -1
- package/dist/components/LuiBanner/LuiBanner.d.ts +0 -9
- package/dist/components/LuiBanner/LuiBanner.stories.d.ts +0 -11
- package/dist/components/LuiBanner/LuiBanner.test.d.ts +0 -1
- package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +0 -19
- package/dist/components/LuiButton/LuiButton.d.ts +0 -26
- package/dist/components/LuiButton/LuiButton.stories.d.ts +0 -28
- package/dist/components/LuiButton/LuiButton.test.d.ts +0 -1
- package/dist/components/LuiButton/LuiButtonGroup.stories.d.ts +0 -6
- package/dist/components/LuiError/LuiError.d.ts +0 -8
- package/dist/components/LuiErrorPage/LuiErrorPage.d.ts +0 -6
- package/dist/components/LuiErrorPage/LuiErrorPage.stories.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.stories.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.test.d.ts +0 -1
- package/dist/components/LuiFilterContainer/LuiFilterContainer.d.ts +0 -13
- package/dist/components/LuiFilterContainer/LuiFilterContainer.stories.d.ts +0 -18
- package/dist/components/LuiFilterContainer/LuiFilterContainer.test.d.ts +0 -1
- package/dist/components/LuiFilterMenu/LuiFilterMenu.d.ts +0 -16
- package/dist/components/LuiFilterMenu/LuiFilterMenu.test.d.ts +0 -1
- package/dist/components/LuiFooter/LuiFooter.d.ts +0 -10
- package/dist/components/LuiFooter/LuiFooter.stories.d.ts +0 -7
- package/dist/components/LuiFooter/LuiFooter.test.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.d.ts +0 -11
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.stories.d.ts +0 -21
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +0 -32
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +0 -8
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.test.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.d.ts +0 -12
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.stories.d.ts +0 -24
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInputWithFormik.stories.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.stories.d.ts +0 -35
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +0 -10
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.stories.d.ts +0 -34
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.test.d.ts +0 -2
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts +0 -22
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +0 -19
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +0 -39
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.test.d.ts +0 -2
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInputWithFormik.stories.d.ts +0 -22
- package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.d.ts +0 -9
- package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.test.d.ts +0 -5
- package/dist/components/LuiFormikForms/LuiFormikForm.d.ts +0 -10
- package/dist/components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel.d.ts +0 -8
- package/dist/components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton.d.ts +0 -6
- package/dist/components/LuiFormikForms/LuiFormikForms.integration.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikForms.stories.d.ts +0 -20
- package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.d.ts +0 -8
- package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup.d.ts +0 -7
- package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.d.ts +0 -11
- package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.d.ts +0 -17
- package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.test.d.ts +0 -1
- package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.d.ts +0 -21
- package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +0 -112
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.d.ts +0 -7
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.stories.d.ts +0 -5
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.test.d.ts +0 -1
- package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.d.ts +0 -6
- package/dist/components/LuiHeader/LuiHeader.d.ts +0 -64
- package/dist/components/LuiHeader/LuiHeader.stories.d.ts +0 -49
- package/dist/components/LuiHeader/LuiHeader.test.d.ts +0 -1
- package/dist/components/LuiHeaderMenu/LuiHeaderMenus.d.ts +0 -39
- package/dist/components/LuiHeaderMenu/LuiHeaderMenus.test.d.ts +0 -1
- package/dist/components/LuiIcon/LuiIcon.d.ts +0 -76
- package/dist/components/LuiIcon/LuiIcon.stories.d.ts +0 -11
- package/dist/components/LuiIcon/LuiIcon.test.d.ts +0 -1
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.d.ts +0 -15
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +0 -13
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.test.d.ts +0 -1
- package/dist/components/LuiMenu/LuiMenu.d.ts +0 -44
- package/dist/components/LuiMenu/LuiMenu.stories.d.ts +0 -19
- package/dist/components/LuiMenu/LuiMenu.test.d.ts +0 -1
- package/dist/components/LuiModal/LuiModal.d.ts +0 -21
- package/dist/components/LuiModal/LuiModal.stories.d.ts +0 -12
- package/dist/components/LuiModal/LuiModal.test.d.ts +0 -1
- package/dist/components/LuiModal/LuiModalContext.d.ts +0 -6
- package/dist/components/LuiModal/LuiModalContext.test.d.ts +0 -1
- package/dist/components/LuiShadow/LuiShadow.d.ts +0 -5
- package/dist/components/LuiShadow/LuiShadow.stories.d.ts +0 -7
- package/dist/components/LuiStaticMessage/LuiStaticMessage.d.ts +0 -5
- package/dist/components/LuiStaticMessage/LuiStaticMessage.stories.d.ts +0 -12
- package/dist/components/LuiStaticMessage/LuiStaticMessage.test.d.ts +0 -1
- package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +0 -10
- package/dist/components/LuiTabs/LuiTabs.d.ts +0 -10
- package/dist/components/LuiTabs/LuiTabs.stories.d.ts +0 -7
- package/dist/components/LuiTabs/LuiTabs.test.d.ts +0 -1
- package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +0 -5
- package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +0 -6
- package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.d.ts +0 -7
- package/dist/components/LuiToastMessage/LuiToastMessage.auto.stories.d.ts +0 -19
- package/dist/components/LuiToastMessage/LuiToastMessage.d.ts +0 -18
- package/dist/components/LuiToastMessage/LuiToastMessage.test.d.ts +0 -1
- package/dist/components/LuiTooltip/LuiTooltip.d.ts +0 -12
- package/dist/components/LuiTooltip/LuiTooltip.stories.d.ts +0 -10
- package/dist/components/LuiUpdateSplashModal/LuiUpdateSplashModal.stories.d.ts +0 -7
- package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +0 -8
- package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.test.d.ts +0 -1
- package/dist/components/common/Hooks.d.ts +0 -16
- package/dist/components/common/ResponsiveUtils.d.ts +0 -7
- package/dist/components/common/ResponsiveUtils.test.d.ts +0 -1
- package/dist/components/common/StorybookSupport.d.ts +0 -6
- package/dist/components/lol/LOLActiveFirmMessage.d.ts +0 -5
- package/dist/components/lol/LOLActiveFirmMessage.test.d.ts +0 -1
- package/dist/components/lol/LOLAppLauncherMenu.d.ts +0 -11
- package/dist/components/lol/LOLAppLauncherMenu.test.d.ts +0 -56
- package/dist/components/lol/LOLAuthorisedLink.d.ts +0 -13
- package/dist/components/lol/LOLAuthorisedLink.test.d.ts +0 -43
- package/dist/components/lol/LOLCommonDrawerMenu.d.ts +0 -17
- package/dist/components/lol/LOLCommonDrawerMenu.test.d.ts +0 -43
- package/dist/components/lol/LOLComponents.stories.d.ts +0 -55
- package/dist/components/lol/LOLDrawerMenuFirmSwitcher.d.ts +0 -5
- package/dist/components/lol/LOLDrawerMenuFirmSwitcher.test.d.ts +0 -1
- package/dist/components/lol/LOLFirmSwitcher.d.ts +0 -23
- package/dist/components/lol/LOLFirmSwitcher.test.d.ts +0 -43
- package/dist/components/lol/LOLLogoutLink.d.ts +0 -4
- package/dist/components/lol/LOLLogoutLink.test.d.ts +0 -1
- package/dist/components/lol/LOLUserLastLogin.d.ts +0 -2
- package/dist/components/lol/LOLUserLastLogin.test.d.ts +0 -1
- package/dist/components/lol/MockBackendUtils.d.ts +0 -141
- package/dist/components/lol/contexts/LOLGlobalClientRefContext.d.ts +0 -19
- package/dist/components/lol/contexts/LOLGlobalClientRefContext.test.d.ts +0 -1
- package/dist/components/lol/contexts/LOLUserContext.d.ts +0 -37
- package/dist/components/lol/contexts/LOLUserContext.test.d.ts +0 -1
- package/dist/components/lol/contexts/LOLUserContextSupport.d.ts +0 -3
- package/dist/components/lol/handlers.d.ts +0 -13
- package/dist/contexts/LuiMessagingContextProvider.d.ts +0 -14
- package/dist/contexts/UIMessagingContextProvider.tests.d.ts +0 -1
- package/dist/fonts.d.ts +0 -10
- package/dist/fonts.ts +0 -10
- package/dist/govNZ-DS/FlexColumn.scss +0 -646
- package/dist/govNZ-DS/FlexContainer.scss +0 -28
- package/dist/govNZ-DS/FlexRow.scss +0 -22
- package/dist/govNZ-DS/FooterStandard.scss +0 -107
- package/dist/govNZ-DS/FooterWrapper.scss +0 -4
- package/dist/govNZ-DS/_index.scss +0 -5
- package/dist/hooks/__tests__/useClickedOutsideElement.test.d.ts +0 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/useClickedOutsideElement.d.ts +0 -14
- package/dist/index.d.ts +0 -51
- package/dist/index.js +0 -8
- package/dist/lui.cjs.development.js +0 -20537
- package/dist/lui.cjs.development.js.map +0 -1
- package/dist/lui.cjs.production.min.js +0 -2
- package/dist/lui.cjs.production.min.js.map +0 -1
- package/dist/lui.css +0 -4956
- package/dist/lui.css.map +0 -1
- package/dist/lui.esm.js +0 -20447
- package/dist/lui.esm.js.map +0 -1
- package/dist/needs-revision/LuiHtml.stories.d.ts +0 -32
- package/dist/scss/Components/ContextMenu/context-menu.scss +0 -7
- package/dist/scss/Components/ExpandingSection/expanding-section.scss +0 -61
- package/dist/scss/Components/Footer/footer.scss +0 -136
- package/dist/scss/Components/Header/header.scss +0 -193
- package/dist/scss/Components/HelpSection/help-section.scss +0 -43
- package/dist/scss/Components/LOLCommonMenu/LOLAuthorisedLink.scss +0 -37
- package/dist/scss/Components/LOLCommonMenu/LOLDrawerMenu.scss +0 -32
- package/dist/scss/Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss +0 -42
- package/dist/scss/Components/LOLCommonMenu/LOLUserLastLogin.scss +0 -13
- package/dist/scss/Components/LuiBadge/LuiBadge.scss +0 -51
- package/dist/scss/Components/LuiError/LuiError.scss +0 -14
- package/dist/scss/Components/LuiErrorPage/LuiErrorPage.scss +0 -34
- package/dist/scss/Components/LuiFilterContainer/LuiFilterContainer.scss +0 -5
- package/dist/scss/Components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.scss +0 -155
- package/dist/scss/Components/LuiFormElements/LuiFileInputBox.scss +0 -78
- package/dist/scss/Components/LuiFormElements/LuiRadioInput/LuiRadioInput.scss +0 -86
- package/dist/scss/Components/LuiFormElements/LuiSelectInput/LuiSelectInput.scss +0 -113
- package/dist/scss/Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss +0 -115
- package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +0 -150
- package/dist/scss/Components/LuiFormSection/LuiFormSectionHeader.scss +0 -46
- package/dist/scss/Components/LuiFormSection/LuiHelpInfo/LuiHelpInfo.scss +0 -16
- package/dist/scss/Components/LuiForms/LuiComboSelect/LuiComboSelect.scss +0 -35
- package/dist/scss/Components/LuiIcon/LuiIcons.scss +0 -91
- package/dist/scss/Components/LuiShadow/LuiShadow.scss +0 -16
- package/dist/scss/Components/LuiTabs/LuiTab/LuiTab.scss +0 -45
- package/dist/scss/Components/LuiTabs/LuiTabs.scss +0 -3
- package/dist/scss/Components/LuiTabs/LuiTabsGroup/LuiTabsGroup.scss +0 -10
- package/dist/scss/Components/LuiTabs/LuiTabsPanel/LuiTabsPanel.scss +0 -9
- package/dist/scss/Components/Menu/menu.scss +0 -145
- package/dist/scss/Components/Messaging/messaging.scss +0 -210
- package/dist/scss/Components/Modal/modal.scss +0 -104
- package/dist/scss/Components/NavDrawer/nav-drawer.scss +0 -9
- package/dist/scss/Components/Notifications/notifications.scss +0 -63
- package/dist/scss/Components/Scrim/scrim.scss +0 -28
- package/dist/scss/Components/Spinner/spinner.scss +0 -7
- package/dist/scss/Core.scss +0 -1
- package/dist/scss/Elements/Buttons/buttons-linz.scss +0 -36
- package/dist/scss/Elements/Buttons/buttons.scss +0 -760
- package/dist/scss/Elements/Forms/FormComponents/FormSpacing.scss +0 -32
- package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +0 -173
- package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +0 -123
- package/dist/scss/Elements/Forms/forms.scss +0 -51
- package/dist/scss/Elements/Forms/plain-form-common.scss +0 -4
- package/dist/scss/Elements/Icons/icons.scss +0 -50
- package/dist/scss/Elements/Tables/tables.scss +0 -147
- package/dist/scss/Elements/Tooltips/tippy.scss +0 -85
- package/dist/scss/Foundation/Utilities/Appearance.scss +0 -12
- package/dist/scss/Foundation/Utilities/AspectRatio.scss +0 -25
- package/dist/scss/Foundation/Utilities/Borders.scss +0 -23
- package/dist/scss/Foundation/Utilities/BoxShadow.scss +0 -7
- package/dist/scss/Foundation/Utilities/Breakpoint.scss +0 -29
- package/dist/scss/Foundation/Utilities/DLColumns.scss +0 -52
- package/dist/scss/Foundation/Utilities/Ease.scss +0 -41
- package/dist/scss/Foundation/Utilities/FitMedia.scss +0 -53
- package/dist/scss/Foundation/Utilities/FluidType.scss +0 -85
- package/dist/scss/Foundation/Utilities/Hover.scss +0 -23
- package/dist/scss/Foundation/Utilities/LuiStandardHeaderBackground.scss +0 -32
- package/dist/scss/Foundation/Utilities/Placeholder.scss +0 -43
- package/dist/scss/Foundation/Utilities/REM.scss +0 -13
- package/dist/scss/Foundation/Utilities/ScreenReadersOnly.scss +0 -15
- package/dist/scss/Foundation/Utilities/_index.scss +0 -14
- package/dist/scss/Foundation/Variables/BreakpointVars.scss +0 -19
- package/dist/scss/Foundation/Variables/ColorVars.scss +0 -7
- package/dist/scss/Foundation/Variables/FontVars.scss +0 -66
- package/dist/scss/Foundation/Variables/FormVars.scss +0 -44
- package/dist/scss/Foundation/Variables/MiscVars.scss +0 -20
- package/dist/scss/Foundation/Variables/SpacingVars.scss +0 -34
- package/dist/scss/Foundation/Variables/_ExportCSS.scss +0 -121
- package/dist/scss/Foundation/Variables/_ExportColors.scss +0 -87
- package/dist/scss/Foundation/Variables/_LuiColors.scss +0 -139
- package/dist/scss/Foundation/Variables/_index.scss +0 -6
- package/dist/scss/Foundation/_index.scss +0 -2
- package/dist/scss/Global/GenericElements/Buttons.scss +0 -75
- package/dist/scss/Global/GenericElements/Icon.scss +0 -45
- package/dist/scss/Global/GenericElements/Link.scss +0 -80
- package/dist/scss/Global/GenericElements/Lists.scss +0 -28
- package/dist/scss/Global/GenericElements/Todo.scss +0 -76
- package/dist/scss/Global/GenericElements/Typography.scss +0 -185
- package/dist/scss/Global/GenericElements/_index.scss +0 -7
- package/dist/scss/Global/Layout/Container.scss +0 -60
- package/dist/scss/Global/Layout/Layout.scss +0 -67
- package/dist/scss/Global/Layout/_index.scss +0 -2
- package/dist/scss/Global/_index.scss +0 -2
- package/dist/scss/Global/helpers.scss +0 -862
- package/dist/scss/Vendor/_index.scss +0 -1
- package/dist/scss/Vendor/naturalize.scss +0 -209
- package/dist/scss/Vendor/print.scss +0 -34
- package/dist/scss/base.scss +0 -80
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import '../../scss/base.scss';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const SuccessWhereConsumerRemovesFromDom: React.FC;
|
|
8
|
-
export declare const ToastUsingLuiMessagingContextProvider: React.FC;
|
|
9
|
-
export declare const ToastUsingLuiMessagingContextProviderOpen: React.FC;
|
|
10
|
-
export declare const StackedToast: React.FC;
|
|
11
|
-
export declare const ToastThatStaysForEver: React.FC;
|
|
12
|
-
export declare const Info: React.FC;
|
|
13
|
-
export declare const ErrorRequireDismiss: React.FC;
|
|
14
|
-
export declare const ToastMessageSubmitType: React.FC;
|
|
15
|
-
export declare const ToastMessageButtonType: React.FC;
|
|
16
|
-
export declare const WarningRequireDismiss: () => JSX.Element;
|
|
17
|
-
export declare const NoReadMore: () => JSX.Element;
|
|
18
|
-
export declare const ChangingMessages: React.FC;
|
|
19
|
-
export declare const ToastOverTopOfModal: React.FC;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type ILuiToastMessageLevels = 'success' | 'info' | 'warning' | 'error';
|
|
3
|
-
interface ILuiToastMessageProps {
|
|
4
|
-
/** "success" | "info" | "warning" | "error" */
|
|
5
|
-
level: ILuiToastMessageLevels;
|
|
6
|
-
/** 0 means it will not disolve @default 4000 */
|
|
7
|
-
displayTimeout?: number;
|
|
8
|
-
/** allows the consumer to control when Toast fades @default true */
|
|
9
|
-
display?: boolean;
|
|
10
|
-
/** adds an X in the corner @default false */
|
|
11
|
-
requireDismiss?: boolean;
|
|
12
|
-
/** called when all said and done, allows the consumer to remove from React Dom */
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
type?: 'button' | 'submit' | 'reset';
|
|
16
|
-
}
|
|
17
|
-
export declare const LuiToastMessage: React.FC<ILuiToastMessageProps>;
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Placement } from 'tippy.js';
|
|
3
|
-
import 'tippy.js/dist/tippy.css';
|
|
4
|
-
import 'tippy.js/dist/border.css';
|
|
5
|
-
export interface ILuiTooltipProperties {
|
|
6
|
-
message: string;
|
|
7
|
-
placement?: Placement;
|
|
8
|
-
trigger?: string;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
animation?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const LuiTooltip: (props: ILuiTooltipProperties) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
LuiTooltip: (props: import("./LuiTooltip").ILuiTooltipProperties) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const TooltipTopBottom: Story<{}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* A hook which allows you to register a handler when the escape key is pressed
|
|
4
|
-
*
|
|
5
|
-
* @param onEscape the handler function
|
|
6
|
-
*/
|
|
7
|
-
export declare const useEscapeFunction: (onEscape: () => void) => void;
|
|
8
|
-
/**
|
|
9
|
-
* A hook which allows handling of click event anywhere on the page.
|
|
10
|
-
* Provides a way of handling clicks done inside or outside the element bound to the returned react ref.
|
|
11
|
-
*
|
|
12
|
-
* @param onClickInsideArg handler for mouse clicks inside the element
|
|
13
|
-
* @param onClickOutsideArg handler for mouse clicks outside the element
|
|
14
|
-
* @return a react ref which can be bound to an html element
|
|
15
|
-
*/
|
|
16
|
-
export declare const usePageClickFunction: <H extends Element>(onClickInsideArg: (event: MouseEvent) => void, onClickOutsideArg: (event: MouseEvent) => void) => import("react").RefObject<H>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface ILOLAppLauncherMenuProps {
|
|
2
|
-
pathname: string;
|
|
3
|
-
enableNOCLink?: boolean;
|
|
4
|
-
enableSurveyLink?: boolean;
|
|
5
|
-
enableTitlesLink?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const SEARCH_LABEL = "Search";
|
|
8
|
-
export declare const NOC_LABEL = "Post registered NoC";
|
|
9
|
-
export declare const SURVEY_LABEL = "Survey";
|
|
10
|
-
export declare const TITLES_LABEL = "Titles";
|
|
11
|
-
export declare const LOLAppLauncherMenu: (props: ILOLAppLauncherMenuProps) => JSX.Element | null;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
export declare const mockGetUserInfo: (loginType: 'INTN' | 'EXTN') => jest.Mock<import("msw/lib/types").AsyncResponseResolverReturnType<import("msw/lib/types").MockedResponse<{
|
|
3
|
-
user: {
|
|
4
|
-
id: string;
|
|
5
|
-
idHash: string;
|
|
6
|
-
email: string;
|
|
7
|
-
givenNames: string;
|
|
8
|
-
surname: string;
|
|
9
|
-
loginType: {
|
|
10
|
-
code: "INTN" | "EXTN";
|
|
11
|
-
desc: string;
|
|
12
|
-
};
|
|
13
|
-
preferredName: string;
|
|
14
|
-
firms: {
|
|
15
|
-
name: string;
|
|
16
|
-
id: string;
|
|
17
|
-
privileges: string[];
|
|
18
|
-
}[];
|
|
19
|
-
passwordChangeRequired: boolean;
|
|
20
|
-
roles: never[];
|
|
21
|
-
lastLogin: string;
|
|
22
|
-
};
|
|
23
|
-
}>>, [import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, import("msw/lib/types").ResponseComposition<{
|
|
24
|
-
user: {
|
|
25
|
-
id: string;
|
|
26
|
-
idHash: string;
|
|
27
|
-
email: string;
|
|
28
|
-
givenNames: string;
|
|
29
|
-
surname: string;
|
|
30
|
-
loginType: {
|
|
31
|
-
code: "INTN" | "EXTN";
|
|
32
|
-
desc: string;
|
|
33
|
-
};
|
|
34
|
-
preferredName: string;
|
|
35
|
-
firms: {
|
|
36
|
-
name: string;
|
|
37
|
-
id: string;
|
|
38
|
-
privileges: string[];
|
|
39
|
-
}[];
|
|
40
|
-
passwordChangeRequired: boolean;
|
|
41
|
-
roles: never[];
|
|
42
|
-
lastLogin: string;
|
|
43
|
-
};
|
|
44
|
-
}>, {
|
|
45
|
-
set: typeof import("msw/lib/types/context").set;
|
|
46
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
47
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
48
|
-
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw/lib/types").ResponseTransformer<BodyType>;
|
|
49
|
-
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw/lib/types").ResponseTransformer<BodyType_1>;
|
|
50
|
-
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
51
|
-
merge?: boolean | undefined;
|
|
52
|
-
} | undefined) => import("msw/lib/types").ResponseTransformer<BodyTypeJSON>;
|
|
53
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw/lib/types").ResponseTransformer<BodyType_2>;
|
|
54
|
-
delay: (durationMs?: number | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
55
|
-
fetch: (input: string | import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
56
|
-
}]>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface LOLAuthorisedLinkProps {
|
|
2
|
-
label: string;
|
|
3
|
-
path: string;
|
|
4
|
-
icon: string;
|
|
5
|
-
activeIcon: string;
|
|
6
|
-
active: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* User must have at least one of these privileges to see the link.
|
|
9
|
-
*/
|
|
10
|
-
anyPrivileges: string[];
|
|
11
|
-
openExternally?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const LOLAuthorisedLink: (props: LOLAuthorisedLinkProps) => JSX.Element | null;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
import { IFirm } from '../..';
|
|
3
|
-
export declare const mockGetUserInfo: (firms: IFirm[]) => jest.Mock<import("msw/lib/types").AsyncResponseResolverReturnType<import("msw/lib/types").MockedResponse<{
|
|
4
|
-
user: {
|
|
5
|
-
id: string;
|
|
6
|
-
idHash: string;
|
|
7
|
-
email: string;
|
|
8
|
-
givenNames: string;
|
|
9
|
-
surname: string;
|
|
10
|
-
loginType: string;
|
|
11
|
-
preferredName: string;
|
|
12
|
-
firms: IFirm[];
|
|
13
|
-
passwordChangeRequired: boolean;
|
|
14
|
-
roles: never[];
|
|
15
|
-
lastLogin: string;
|
|
16
|
-
};
|
|
17
|
-
}>>, [import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, import("msw/lib/types").ResponseComposition<{
|
|
18
|
-
user: {
|
|
19
|
-
id: string;
|
|
20
|
-
idHash: string;
|
|
21
|
-
email: string;
|
|
22
|
-
givenNames: string;
|
|
23
|
-
surname: string;
|
|
24
|
-
loginType: string;
|
|
25
|
-
preferredName: string;
|
|
26
|
-
firms: IFirm[];
|
|
27
|
-
passwordChangeRequired: boolean;
|
|
28
|
-
roles: never[];
|
|
29
|
-
lastLogin: string;
|
|
30
|
-
};
|
|
31
|
-
}>, {
|
|
32
|
-
set: typeof import("msw/lib/types/context").set;
|
|
33
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
34
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
35
|
-
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw/lib/types").ResponseTransformer<BodyType>;
|
|
36
|
-
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw/lib/types").ResponseTransformer<BodyType_1>;
|
|
37
|
-
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
38
|
-
merge?: boolean | undefined;
|
|
39
|
-
} | undefined) => import("msw/lib/types").ResponseTransformer<BodyTypeJSON>;
|
|
40
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw/lib/types").ResponseTransformer<BodyType_2>;
|
|
41
|
-
delay: (durationMs?: number | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
42
|
-
fetch: (input: string | import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
43
|
-
}]>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ILOLAppLauncherMenuProps } from './LOLAppLauncherMenu';
|
|
3
|
-
export declare const LOLDrawerMenu: (props: {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
hasStickyHeader?: boolean;
|
|
6
|
-
}) => JSX.Element;
|
|
7
|
-
export declare type ILOLCommonDrawerMenuProps = Omit<ILOLAppLauncherMenuProps, 'pathname'> & {
|
|
8
|
-
appSpecificSections?: ReactNode;
|
|
9
|
-
appSpecificLinks?: ReactNode;
|
|
10
|
-
path: string;
|
|
11
|
-
hasStickyHeader?: boolean;
|
|
12
|
-
showRequestsLink?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare const LOLCommonDrawerMenu: (props: ILOLCommonDrawerMenuProps) => JSX.Element;
|
|
15
|
-
export declare const LOLCommonDrawerMenuAfterLinks: (props: {
|
|
16
|
-
path: string;
|
|
17
|
-
}) => JSX.Element | null;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
import { IFirm } from './contexts/LOLUserContext';
|
|
3
|
-
export declare const mockGetUserInfo: (firms: IFirm[]) => jest.Mock<import("msw/lib/types").AsyncResponseResolverReturnType<import("msw/lib/types").MockedResponse<{
|
|
4
|
-
user: {
|
|
5
|
-
id: string;
|
|
6
|
-
idHash: string;
|
|
7
|
-
email: string;
|
|
8
|
-
givenNames: string;
|
|
9
|
-
surname: string;
|
|
10
|
-
loginType: string;
|
|
11
|
-
preferredName: string;
|
|
12
|
-
firms: IFirm[];
|
|
13
|
-
passwordChangeRequired: boolean;
|
|
14
|
-
roles: never[];
|
|
15
|
-
lastLogin: string;
|
|
16
|
-
};
|
|
17
|
-
}>>, [import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, import("msw/lib/types").ResponseComposition<{
|
|
18
|
-
user: {
|
|
19
|
-
id: string;
|
|
20
|
-
idHash: string;
|
|
21
|
-
email: string;
|
|
22
|
-
givenNames: string;
|
|
23
|
-
surname: string;
|
|
24
|
-
loginType: string;
|
|
25
|
-
preferredName: string;
|
|
26
|
-
firms: IFirm[];
|
|
27
|
-
passwordChangeRequired: boolean;
|
|
28
|
-
roles: never[];
|
|
29
|
-
lastLogin: string;
|
|
30
|
-
};
|
|
31
|
-
}>, {
|
|
32
|
-
set: typeof import("msw/lib/types/context").set;
|
|
33
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
34
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
35
|
-
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw/lib/types").ResponseTransformer<BodyType>;
|
|
36
|
-
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw/lib/types").ResponseTransformer<BodyType_1>;
|
|
37
|
-
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
38
|
-
merge?: boolean | undefined;
|
|
39
|
-
} | undefined) => import("msw/lib/types").ResponseTransformer<BodyTypeJSON>;
|
|
40
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw/lib/types").ResponseTransformer<BodyType_2>;
|
|
41
|
-
delay: (durationMs?: number | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
42
|
-
fetch: (input: string | import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
43
|
-
}]>;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
import { ILOLFirmSwitcherMenu } from './LOLFirmSwitcher';
|
|
4
|
-
import { LOLUserContextProvider } from './contexts/LOLUserContext';
|
|
5
|
-
import { LOLAuthorisedLinkProps } from './LOLAuthorisedLink';
|
|
6
|
-
import { Size } from '../common/ResponsiveUtils';
|
|
7
|
-
declare const _default: {
|
|
8
|
-
title: string;
|
|
9
|
-
subcomponents: {
|
|
10
|
-
LOLFirmSwitcherMenu: React.FC<ILOLFirmSwitcherMenu>;
|
|
11
|
-
LOLLogoutLink: (props: import("./LOLLogoutLink").Props) => JSX.Element | null;
|
|
12
|
-
LOLUserContextProvider: typeof LOLUserContextProvider;
|
|
13
|
-
LOLAuthorisedLink: (props: LOLAuthorisedLinkProps) => JSX.Element | null;
|
|
14
|
-
LOLAppLauncherMenu: (props: import("./LOLAppLauncherMenu").ILOLAppLauncherMenuProps) => JSX.Element | null;
|
|
15
|
-
LOLDrawerMenuFirmSwitcher: React.FC<import("./LOLDrawerMenuFirmSwitcher").ILOLDrawerMenuFirmSwitcherProperties>;
|
|
16
|
-
LOLDrawerMenu: (props: {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
hasStickyHeader?: boolean | undefined;
|
|
19
|
-
}) => JSX.Element;
|
|
20
|
-
LOLCommonDrawerMenu: (props: import("./LOLCommonDrawerMenu").ILOLCommonDrawerMenuProps) => JSX.Element;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
24
|
-
export declare const FirmSwitcherMenu: Story<ILOLFirmSwitcherMenu>;
|
|
25
|
-
export declare const SingleFirmNoSwitcherMenu: Story<ILOLFirmSwitcherMenu>;
|
|
26
|
-
interface ITestLOLDrawerMenuFirmSwitcherProperties {
|
|
27
|
-
firmCount: number;
|
|
28
|
-
minimumFilterCount: number;
|
|
29
|
-
}
|
|
30
|
-
export declare const DrawerMenuFirmSwitcher: Story<ITestLOLDrawerMenuFirmSwitcherProperties>;
|
|
31
|
-
export declare const LogoutLink: Story<{}>;
|
|
32
|
-
interface ActiveFirmMessageProps {
|
|
33
|
-
showFrom: Size;
|
|
34
|
-
firmNames: string[];
|
|
35
|
-
}
|
|
36
|
-
export declare const ActiveFirmMessage: Story<ActiveFirmMessageProps>;
|
|
37
|
-
export declare const AuthorisedLink: Story<LOLAuthorisedLinkProps>;
|
|
38
|
-
interface AppLauncherMenuTemplateProps {
|
|
39
|
-
givenPrivileges: string[];
|
|
40
|
-
location: string;
|
|
41
|
-
loginType: string;
|
|
42
|
-
}
|
|
43
|
-
export declare const AppLauncherMenu: Story<AppLauncherMenuTemplateProps>;
|
|
44
|
-
export declare const UserLastLogin: Story<{}>;
|
|
45
|
-
interface CommonDrawerMenuTemplateProps {
|
|
46
|
-
smallHeader: boolean;
|
|
47
|
-
loginType: string;
|
|
48
|
-
stickyHeader: boolean;
|
|
49
|
-
showRequestsLink: boolean;
|
|
50
|
-
}
|
|
51
|
-
export declare const CommonDrawerMenu: Story<CommonDrawerMenuTemplateProps>;
|
|
52
|
-
interface DrawerMenuTemplateProps {
|
|
53
|
-
smallHeader: boolean;
|
|
54
|
-
}
|
|
55
|
-
export declare const DrawerMenu: Story<DrawerMenuTemplateProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IFirm } from './contexts/LOLUserContext';
|
|
3
|
-
import { ILuiDropdownMenu } from '../LuiHeaderMenu/LuiHeaderMenus';
|
|
4
|
-
export declare type ILOLFirmSwitcherMenu = Omit<ILuiDropdownMenu, 'icon' | 'label'> & {
|
|
5
|
-
showClientRef?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const LOLFirmSwitcherMenu: React.FC<ILOLFirmSwitcherMenu>;
|
|
8
|
-
interface ILOLFirmSwitcherMenuContent {
|
|
9
|
-
firms: IFirm[];
|
|
10
|
-
selectedFirm: IFirm | undefined;
|
|
11
|
-
changeFirm: (firmId: string) => void;
|
|
12
|
-
collapsible?: boolean;
|
|
13
|
-
minimumFilterCount?: number;
|
|
14
|
-
}
|
|
15
|
-
export declare const LOLFirmSwitcherMenuContent: React.FC<ILOLFirmSwitcherMenuContent>;
|
|
16
|
-
interface IFirmOption {
|
|
17
|
-
value: IFirm;
|
|
18
|
-
selected: boolean;
|
|
19
|
-
onSelect: (optionId: string) => void;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const FirmOption: React.FC<IFirmOption>;
|
|
23
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
import { IFirm } from '../..';
|
|
3
|
-
export declare const mockGetUserInfo: (firms: IFirm[]) => jest.Mock<import("msw/lib/types").AsyncResponseResolverReturnType<import("msw/lib/types").MockedResponse<{
|
|
4
|
-
user: {
|
|
5
|
-
id: string;
|
|
6
|
-
idHash: string;
|
|
7
|
-
email: string;
|
|
8
|
-
givenNames: string;
|
|
9
|
-
surname: string;
|
|
10
|
-
loginType: string;
|
|
11
|
-
preferredName: string;
|
|
12
|
-
firms: IFirm[];
|
|
13
|
-
passwordChangeRequired: boolean;
|
|
14
|
-
roles: never[];
|
|
15
|
-
lastLogin: string;
|
|
16
|
-
};
|
|
17
|
-
}>>, [import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, import("msw/lib/types").ResponseComposition<{
|
|
18
|
-
user: {
|
|
19
|
-
id: string;
|
|
20
|
-
idHash: string;
|
|
21
|
-
email: string;
|
|
22
|
-
givenNames: string;
|
|
23
|
-
surname: string;
|
|
24
|
-
loginType: string;
|
|
25
|
-
preferredName: string;
|
|
26
|
-
firms: IFirm[];
|
|
27
|
-
passwordChangeRequired: boolean;
|
|
28
|
-
roles: never[];
|
|
29
|
-
lastLogin: string;
|
|
30
|
-
};
|
|
31
|
-
}>, {
|
|
32
|
-
set: typeof import("msw/lib/types/context").set;
|
|
33
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
34
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
35
|
-
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw/lib/types").ResponseTransformer<BodyType>;
|
|
36
|
-
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw/lib/types").ResponseTransformer<BodyType_1>;
|
|
37
|
-
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
38
|
-
merge?: boolean | undefined;
|
|
39
|
-
} | undefined) => import("msw/lib/types").ResponseTransformer<BodyTypeJSON>;
|
|
40
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw/lib/types").ResponseTransformer<BodyType_2>;
|
|
41
|
-
delay: (durationMs?: number | undefined) => import("msw/lib/types").ResponseTransformer<any>;
|
|
42
|
-
fetch: (input: string | import("msw/lib/types").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw/lib/types").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
43
|
-
}]>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|